LLVM  6.0.0svn
Functions | Variables
Record.cpp File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include <cassert>
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for Record.cpp:

Go to the source code of this file.

Functions

static void ProfileBitsInit (FoldingSetNodeID &ID, ArrayRef< Init *> Range)
 
static InitfixBitInit (const RecordVal *RV, Init *Before, Init *After)
 
static bool canFitInBitfield (int64_t Value, unsigned NumBits)
 
static void ProfileListInit (FoldingSetNodeID &ID, ArrayRef< Init *> Range, RecTy *EltTy)
 
static void ProfileUnOpInit (FoldingSetNodeID &ID, unsigned Opcode, Init *Op, RecTy *Type)
 
static void ProfileBinOpInit (FoldingSetNodeID &ID, unsigned Opcode, Init *LHS, Init *RHS, RecTy *Type)
 
static StringInitConcatStringInits (const StringInit *I0, const StringInit *I1)
 
static void ProfileTernOpInit (FoldingSetNodeID &ID, unsigned Opcode, Init *LHS, Init *MHS, Init *RHS, RecTy *Type)
 
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, StringInit *VN, ArrayRef< Init *> ArgRange, ArrayRef< StringInit *> NameRange)
 
static InitGetStrConcat (Init *I0, Init *I1)
 

Variables

static BumpPtrAllocator Allocator
 

Function Documentation

◆ canFitInBitfield()

static bool canFitInBitfield ( int64_t  Value,
unsigned  NumBits 
)
static

Definition at line 370 of file Record.cpp.

Referenced by llvm::IntInit::convertInitializerTo().

◆ ConcatStringInits()

static StringInit* ConcatStringInits ( const StringInit I0,
const StringInit I1 
)
static

Definition at line 766 of file Record.cpp.

References Concat, llvm::StringInit::get(), and llvm::StringInit::getValue().

Referenced by llvm::BinOpInit::Fold(), and GetStrConcat().

◆ EvaluateOperation()

static Init* EvaluateOperation ( OpInit RHSo,
Init LHS,
Init Arg,
RecTy Type,
Record CurRec,
MultiClass CurMultiClass 
)
static

◆ fixBitInit()

static Init* fixBitInit ( const RecordVal RV,
Init Before,
Init After 
)
static

Definition at line 305 of file Record.cpp.

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

◆ ForeachHelper()

static Init * ForeachHelper ( Init LHS,
Init MHS,
Init RHS,
RecTy Type,
Record CurRec,
MultiClass CurMultiClass 
)
static

◆ GetStrConcat()

static Init* GetStrConcat ( Init I0,
Init I1 
)
static

◆ ProfileBinOpInit()

static void ProfileBinOpInit ( FoldingSetNodeID ID,
unsigned  Opcode,
Init LHS,
Init RHS,
RecTy Type 
)
static

◆ ProfileBitsInit()

static void ProfileBitsInit ( FoldingSetNodeID ID,
ArrayRef< Init *>  Range 
)
static

◆ ProfileDagInit()

static void ProfileDagInit ( FoldingSetNodeID ID,
Init V,
StringInit VN,
ArrayRef< Init *>  ArgRange,
ArrayRef< StringInit *>  NameRange 
)
static

◆ ProfileListInit()

static void ProfileListInit ( FoldingSetNodeID ID,
ArrayRef< Init *>  Range,
RecTy EltTy 
)
static

◆ ProfileTernOpInit()

static void ProfileTernOpInit ( FoldingSetNodeID ID,
unsigned  Opcode,
Init LHS,
Init MHS,
Init RHS,
RecTy Type 
)
static

◆ ProfileUnOpInit()

static void ProfileUnOpInit ( FoldingSetNodeID ID,
unsigned  Opcode,
Init Op,
RecTy Type 
)
static

Variable Documentation

◆ Allocator

BumpPtrAllocator Allocator
static