LLVM: lib/TableGen/Record.cpp File Reference (original) (raw)
Go to the source code of this file.
| Functions |
|
| static void |
ProfileRecordRecTy (FoldingSetNodeID &ID, ArrayRef< const Record * > Classes) |
| static const RecordRecTy * |
resolveRecordTypes (const RecordRecTy *T1, const RecordRecTy *T2) |
| static void |
ProfileArgumentInit (FoldingSetNodeID &ID, const Init *Value, ArgAuxType Aux) |
| static void |
ProfileBitsInit (FoldingSetNodeID &ID, ArrayRef< const Init * > Range) |
| static bool |
canFitInBitfield (int64_t Value, unsigned NumBits) |
| static void |
ProfileListInit (FoldingSetNodeID &ID, ArrayRef< const Init * > Elements, const RecTy *EltTy) |
| static void |
ProfileUnOpInit (FoldingSetNodeID &ID, unsigned Opcode, const Init *Op, const RecTy *Type) |
| static void |
ProfileBinOpInit (FoldingSetNodeID &ID, unsigned Opcode, const Init *LHS, const Init *RHS, const RecTy *Type) |
| static const StringInit * |
ConcatStringInits (const StringInit *I0, const StringInit *I1) |
| static const StringInit * |
interleaveStringList (const ListInit *List, const StringInit *Delim) |
| static const StringInit * |
interleaveIntList (const ListInit *List, const StringInit *Delim) |
| static const ListInit * |
ConcatListInits (const ListInit *LHS, const ListInit *RHS) |
| static std::optional< unsigned > |
getDagArgNoByKey (const DagInit *Dag, const Init *Key, std::string &Error) |
| static void |
ProfileTernOpInit (FoldingSetNodeID &ID, unsigned Opcode, const Init *LHS, const Init *MHS, const Init *RHS, const RecTy *Type) |
| static const Init * |
ItemApply (const Init *LHS, const Init *MHSe, const Init *RHS, const Record *CurRec) |
| static const Init * |
ForeachDagApply (const Init *LHS, const DagInit *MHSd, const Init *RHS, const Record *CurRec) |
| static const Init * |
ForeachHelper (const Init *LHS, const Init *MHS, const Init *RHS, const RecTy *Type, const Record *CurRec) |
| static const Init * |
FilterHelper (const Init *LHS, const Init *MHS, const Init *RHS, const RecTy *Type, const Record *CurRec) |
| static void |
ProfileFoldOpInit (FoldingSetNodeID &ID, const Init *Start, const Init *List, const Init *A, const Init *B, const Init *Expr, const RecTy *Type) |
| static void |
ProfileIsAOpInit (FoldingSetNodeID &ID, const RecTy *CheckType, const Init *Expr) |
| static void |
ProfileExistsOpInit (FoldingSetNodeID &ID, const RecTy *CheckType, const Init *Expr) |
| static void |
ProfileInstancesOpInit (FoldingSetNodeID &ID, const RecTy *Type, const Init *Regex) |
| static void |
ProfileVarDefInit (FoldingSetNodeID &ID, const Record *Class, ArrayRef< const ArgumentInit * > Args) |
| static void |
ProfileCondOpInit (FoldingSetNodeID &ID, ArrayRef< const Init * > Conds, ArrayRef< const Init * > Vals, const RecTy *ValType) |
| static void |
ProfileDagInit (FoldingSetNodeID &ID, const Init *V, const StringInit *VN, ArrayRef< const Init * > Args, ArrayRef< const StringInit * > ArgNames) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "tblgen-records"
◆ canFitInBitfield()
◆ ConcatListInits()
◆ ConcatStringInits()
◆ FilterHelper()
Definition at line 1765 of file Record.cpp.
References llvm::cast(), llvm::dyn_cast(), llvm::dyn_cast_or_null(), llvm::IntRecTy::get(), llvm::ListInit::get(), llvm::Include, ItemApply(), LHS, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and RHS.
Referenced by llvm::TernOpInit::Fold().
◆ ForeachDagApply()
Definition at line 1716 of file Record.cpp.
References llvm::dyn_cast(), llvm::SmallVectorImpl< T >::emplace_back(), ForeachDagApply(), llvm::DagInit::get(), llvm::DagInit::getArgAndNames(), llvm::DagInit::getName(), llvm::DagInit::getOperator(), ItemApply(), LHS, and RHS.
Referenced by ForeachDagApply(), and ForeachHelper().
◆ ForeachHelper()
◆ getDagArgNoByKey()
◆ interleaveIntList()
◆ interleaveStringList()
◆ ItemApply()
◆ ProfileArgumentInit()
◆ ProfileBinOpInit()
◆ ProfileBitsInit()
◆ ProfileCondOpInit()
◆ ProfileDagInit()
◆ ProfileExistsOpInit()
◆ ProfileFoldOpInit()
◆ ProfileInstancesOpInit()
◆ ProfileIsAOpInit()
◆ ProfileListInit()
◆ ProfileRecordRecTy()
◆ ProfileTernOpInit()
◆ ProfileUnOpInit()
◆ ProfileVarDefInit()
◆ resolveRecordTypes()