LLVM API Documentation

ValueEnumerator.cpp File Reference

#include "ValueEnumerator.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/TypeSymbolTable.h"
#include "llvm/ValueSymbolTable.h"
#include "llvm/Instructions.h"
#include <algorithm>

Include dependency graph for ValueEnumerator.cpp:

Go to the source code of this file.

Functions

static bool isSingleValueType (const std::pair< const llvm::Type *, unsigned int > &P)
static bool isIntegerValue (const std::pair< const Value *, unsigned > &V)
static bool CompareByFrequency (const std::pair< const llvm::Type *, unsigned int > &P1, const std::pair< const llvm::Type *, unsigned int > &P2)


Function Documentation

static bool CompareByFrequency ( const std::pair< const llvm::Type *, unsigned int > &  P1,
const std::pair< const llvm::Type *, unsigned int > &  P2 
) [static]

Definition at line 33 of file ValueEnumerator.cpp.

References P1, and P2.

Referenced by llvm::ValueEnumerator::ValueEnumerator().

static bool isIntegerValue ( const std::pair< const Value *, unsigned > &  V  )  [static]

Definition at line 29 of file ValueEnumerator.cpp.

static bool isSingleValueType ( const std::pair< const llvm::Type *, unsigned int > &  P  )  [static]

Definition at line 24 of file ValueEnumerator.cpp.

Referenced by llvm::ValueEnumerator::ValueEnumerator().


Variable Documentation




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.