Home
last modified time | relevance | path

Searched refs:TypedInit (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h50 class TypedInit; variable
407 class TypedInit : public Init {
411 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
415 TypedInit(const TypedInit &) = delete;
416 TypedInit &operator=(const TypedInit &) = delete;
470 class BitInit final : public TypedInit {
473 explicit BitInit(bool V) : TypedInit(IK_BitInit, BitRecTy::get()), Value(V) {} in BitInit()
500 class BitsInit final : public TypedInit, public FoldingSetNode,
505 : TypedInit(IK_BitsInit, BitsRecTy::get(N)), NumBits(N) {} in BitsInit()
551 class IntInit : public TypedInit {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp218 else if (TypedInit *TI = dyn_cast<TypedInit>(V)) in SetValue()
692 TypedInit *FirstItem) { in ParseRangePiece()
1005 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
1023 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
1042 TypedInit *Itemt = dyn_cast<TypedInit>(Item); in ParseOperation()
1207 TypedInit *InitListBack = dyn_cast<TypedInit>(InitList.back()); in ParseOperation()
1346 Type = cast<TypedInit>(InitList.front())->getType()->getListTy(); in ParseOperation()
1432 TypedInit *MHSt = dyn_cast<TypedInit>(MHS); in ParseOperation()
1443 TypedInit *RHSt = dyn_cast<TypedInit>(RHS); in ParseOperation()
1465 if (TypedInit *MHSt = dyn_cast<TypedInit>(MHS)) in ParseOperation()
[all …]
H A DRecord.cpp571 assert(Range.empty() || !isa<TypedInit>(Range[0]) || in get()
572 cast<TypedInit>(Range[0])->getType()->typeIsConvertibleTo(EltTy)); in get()
952 Init *BinOpInit::getListConcat(TypedInit *LHS, Init *RHS) { in getListConcat()
1008 TypedInit *Value = dyn_cast<TypedInit>(LHS); in Fold()
1570 if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) { in Fold()
1606 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1617 TypedInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1619 return const_cast<TypedInit *>(this); in convertInitializerTo()
1623 return BitsInit::get({const_cast<TypedInit *>(this)}); in convertInitializerTo()
1628 Init *TypedInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()
[all …]
H A DTGParser.h261 TypedInit *FirstItem = nullptr);
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DBackGuide.rst267 ``UnsetInit`` and ``TypedInit``.
285 ``TypedInit``
300 The ``BitInit`` class is a subclass of ``TypedInit``. Its instances
304 *All* of the classes derived from ``TypedInit`` provide the following functions.
319 The ``BitsInit`` class is a subclass of ``TypedInit``. Its instances
336 The ``DagInit`` class is a subclass of ``TypedInit``. Its instances
380 The ``DefInit`` class is a subclass of ``TypedInit``. Its instances
391 The ``IntInit`` class is a subclass of ``TypedInit``. Its instances
404 The ``ListInit`` class is a subclass of ``TypedInit``. Its instances
434 The ``StringInit`` class is a subclass of ``TypedInit``. Its instances
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp1788 static std::string findOperandDecoderMethod(TypedInit *TI) { in findOperandDecoderMethod()
2045 TypedInit *TI = cast<TypedInit>(Op.first); in populateInstruction()
H A DSearchableTableEmitter.cpp614 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp1299 if (TypedInit *Typed = dyn_cast<TypedInit>(Arg)) in getCodeForDagArg()