Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DRecord.h52 class TypedInit; variable
422 class TypedInit : public Init {
426 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
430 TypedInit(const TypedInit &) = delete;
431 TypedInit &operator=(const TypedInit &) = delete;
496 class BitInit final : public TypedInit {
501 explicit BitInit(bool V, RecTy *T) : TypedInit(IK_BitInit, T), Value(V) {} in BitInit()
528 class BitsInit final : public TypedInit, public FoldingSetNode,
533 : TypedInit(IK_BitsInit, BitsRecTy::get(RK, N)), NumBits(N) {} in BitsInit()
579 class IntInit : public TypedInit {
[all …]
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp218 else if (TypedInit *TI = dyn_cast<TypedInit>(V)) in SetValue()
694 TypedInit *FirstItem) { in ParseRangePiece()
1034 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
1052 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
1071 TypedInit *Itemt = dyn_cast<TypedInit>(Item); in ParseOperation()
1135 TypedInit *ExprType = dyn_cast<TypedInit>(Expr); in ParseOperation()
1291 TypedInit *InitListBack = dyn_cast<TypedInit>(InitList.back()); in ParseOperation()
1438 Type = cast<TypedInit>(InitList.front())->getType()->getListTy(); in ParseOperation()
1527 TypedInit *MHSt = dyn_cast<TypedInit>(MHS); in ParseOperation()
1538 TypedInit *RHSt = dyn_cast<TypedInit>(RHS); in ParseOperation()
[all …]
H A DRecord.cpp85 DenseMap<std::pair<TypedInit *, unsigned>, VarBitInit *> TheVarBitInitPool;
86 DenseMap<std::pair<TypedInit *, unsigned>, VarListElementInit *>
355 if (auto *TyInit = dyn_cast<TypedInit>(this)) in getRecordKeeper()
633 assert(Range.empty() || !isa<TypedInit>(Range[0]) || in get()
634 cast<TypedInit>(Range[0])->getType()->typeIsConvertibleTo(EltTy)); in get()
1030 Init *BinOpInit::getListConcat(TypedInit *LHS, Init *RHS) { in getListConcat()
1162 TypedInit *Value = dyn_cast<TypedInit>(LHS); in Fold()
1713 if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) { in Fold()
1824 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1835 TypedInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
[all …]
H A DTGParser.h270 TypedInit *FirstItem = nullptr);
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DMveEmitter.cpp1305 if (TypedInit *Typed = dyn_cast<TypedInit>(Arg)) in getCodeForDagArg()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp612 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()