LLVM API Documentation

Classes | Namespaces | Functions
Record.cpp File Reference
#include "llvm/TableGen/Record.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/TableGen/Error.h"
Include dependency graph for Record.cpp:

Go to the source code of this file.

Classes

class  llvm::TableGenStringKey
struct  llvm::DenseMapInfo< TableGenStringKey >
 Specialize DenseMapInfo for TableGenStringKey. More...

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

static bool canFitInBitfield (int64_t Value, unsigned NumBits)
static void ProfileBitsInit (FoldingSetNodeID &ID, ArrayRef< Init * > Range)
static InitfixBitInit (const RecordVal *RV, Init *Before, Init *After)
static void ProfileListInit (FoldingSetNodeID &ID, ArrayRef< Init * > Range, RecTy *EltTy)
static InitForeachHelper (Init *LHS, Init *MHS, Init *RHS, RecTy *Type, Record *CurRec, MultiClass *CurMultiClass)
static InitEvaluateOperation (OpInit *RHSo, Init *LHS, Init *Arg, RecTy *Type, Record *CurRec, MultiClass *CurMultiClass)
static void ProfileDagInit (FoldingSetNodeID &ID, Init *V, const std::string &VN, ArrayRef< Init * > ArgRange, ArrayRef< std::string > NameRange)

Function Documentation

static bool canFitInBitfield ( int64_t  Value,
unsigned  NumBits 
) [static]

canFitInBitfield - Return true if the number of bits is large enough to hold the integer value.

Definition at line 173 of file Record.cpp.

Referenced by llvm::BitsRecTy::convertValue().

static Init* EvaluateOperation ( OpInit RHSo,
Init LHS,
Init Arg,
RecTy Type,
Record CurRec,
MultiClass CurMultiClass 
) [static]
static Init* fixBitInit ( const RecordVal RV,
Init Before,
Init After 
) [static]

Definition at line 519 of file Record.cpp.

References llvm::UnsetInit::get().

Referenced by llvm::BitsInit::resolveReferences().

static Init * ForeachHelper ( Init LHS,
Init MHS,
Init RHS,
RecTy Type,
Record CurRec,
MultiClass CurMultiClass 
) [static]
static void ProfileBitsInit ( FoldingSetNodeID ID,
ArrayRef< Init * >  Range 
) [static]
static void ProfileDagInit ( FoldingSetNodeID ID,
Init V,
const std::string &  VN,
ArrayRef< Init * >  ArgRange,
ArrayRef< std::string >  NameRange 
) [static]
static void ProfileListInit ( FoldingSetNodeID ID,
ArrayRef< Init * >  Range,
RecTy EltTy 
) [static]