LLVM API Documentation
#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"
Go to the source code of this file.
Classes | |
class | llvm::TableGenStringKey |
struct | llvm::DenseMapInfo< TableGenStringKey > |
Specialize DenseMapInfo for TableGenStringKey. More... | |
Namespaces | |
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 Init * | fixBitInit (const RecordVal *RV, Init *Before, Init *After) |
static void | ProfileListInit (FoldingSetNodeID &ID, ArrayRef< Init * > Range, RecTy *EltTy) |
static Init * | ForeachHelper (Init *LHS, Init *MHS, Init *RHS, RecTy *Type, Record *CurRec, MultiClass *CurMultiClass) |
static Init * | EvaluateOperation (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) |
canFitInBitfield - Return true if the number of bits is large enough to hold the integer value.
Definition at line 160 of file Record.cpp.
Referenced by llvm::BitsRecTy::convertValue().
|
static |
Definition at line 1023 of file Record.cpp.
References llvm::OpInit::clone(), llvm::dyn_cast(), llvm::OpInit::Fold(), ForeachHelper(), llvm::RecTy::getAsString(), llvm::Init::getAsString(), llvm::OpInit::getNumOperands(), llvm::OpInit::getOperand(), and llvm::TypedInit::getType().
Referenced by ForeachHelper().
Definition at line 506 of file Record.cpp.
References llvm::UnsetInit::get().
Referenced by llvm::BitsInit::resolveReferences().
|
static |
Definition at line 1068 of file Record.cpp.
References llvm::OpInit::clone(), llvm::dyn_cast(), EvaluateOperation(), llvm::OpInit::Fold(), llvm::ListInit::get(), llvm::DagInit::get(), llvm::DagInit::getArg(), llvm::DagInit::getArgName(), llvm::Init::getAsString(), llvm::Record::getLoc(), llvm::DagInit::getNumArgs(), llvm::DagInit::getOperator(), llvm::PrintFatalError(), and Type.
Referenced by EvaluateOperation(), and llvm::TernOpInit::Fold().
|
static |
Definition at line 448 of file Record.cpp.
References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddPointer(), llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), and llvm::ArrayRef< T >::size().
Referenced by llvm::BitsInit::get(), and llvm::BitsInit::Profile().
|
static |
Definition at line 1537 of file Record.cpp.
References llvm::FoldingSetNodeID::AddPointer(), llvm::FoldingSetNodeID::AddString(), llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
Referenced by llvm::DagInit::get(), and llvm::DagInit::Profile().
|
static |
Definition at line 610 of file Record.cpp.
References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddPointer(), llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), and llvm::ArrayRef< T >::size().
Referenced by llvm::ListInit::get(), and llvm::ListInit::Profile().