Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp286 else if (TypedInit *TI = dyn_cast<TypedInit>(V)) in SetValue()
831 TypedInit *TGParser::ParseSliceElement(Record *CurRec) { in ParseSliceElement()
836 auto *LHS = cast<TypedInit>(CurVal); in ParseSliceElement()
838 TypedInit *RHS = nullptr; in ParseSliceElement()
847 RHS = cast<TypedInit>(CurVal); in ParseSliceElement()
879 return cast<TypedInit>(BinOpInit::get(BinOpInit::RANGEC, LHS, RHS, in ParseSliceElement()
895 TypedInit *TGParser::ParseSliceElements(Record *CurRec, bool Single) { in ParseSliceElements()
896 TypedInit *CurVal; in ParseSliceElements()
898 SmallVector<TypedInit *, 2> Slices; // list<int> in ParseSliceElements()
954 TypedInit *Result = nullptr; in ParseSliceElements()
[all …]
H A DRecord.cpp86 DenseMap<std::pair<TypedInit *, unsigned>, VarBitInit *> TheVarBitInitPool;
351 if (auto *TyInit = dyn_cast<TypedInit>(this)) in getRecordKeeper()
669 assert(Range.empty() || !isa<TypedInit>(Range[0]) || in get()
670 cast<TypedInit>(Range[0])->getType()->typeIsConvertibleTo(EltTy)); in get()
928 auto *TI = cast<TypedInit>(Dag->getOperator()); in Fold()
1089 Init *BinOpInit::getListConcat(TypedInit *LHS, Init *RHS) { in getListConcat()
1255 TypedInit *Value = dyn_cast<TypedInit>(LHS); in Fold()
1387 if (auto *TI = dyn_cast<TypedInit>(Arg)) in Fold()
1990 if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) { in Fold()
2101 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
[all …]
H A DTGParser.h304 TypedInit *ParseSliceElement(Record *CurRec);
305 TypedInit *ParseSliceElements(Record *CurRec, bool Single = false);
308 TypedInit *FirstItem = nullptr);
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h53 class TypedInit; variable
413 class TypedInit : public Init {
417 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
421 TypedInit(const TypedInit &) = delete;
422 TypedInit &operator=(const TypedInit &) = delete;
548 class BitInit final : public TypedInit {
553 explicit BitInit(bool V, RecTy *T) : TypedInit(IK_BitInit, T), Value(V) {} in BitInit()
580 class BitsInit final : public TypedInit, public FoldingSetNode,
585 : TypedInit(IK_BitsInit, BitsRecTy::get(RK, N)), NumBits(N) {} in BitsInit()
631 class IntInit : public TypedInit {
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp1306 if (TypedInit *Typed = dyn_cast<TypedInit>(Arg)) in getCodeForDagArg()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp666 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()