Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DRecord.h49 class TypedInit; variable
425 class TypedInit : public Init {
429 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
433 TypedInit(const TypedInit &) = delete;
434 TypedInit &operator=(const TypedInit &) = delete;
483 class BitInit final : public TypedInit {
486 explicit BitInit(bool V) : TypedInit(IK_BitInit, BitRecTy::get()), Value(V) {} in BitInit()
513 class BitsInit final : public TypedInit, public FoldingSetNode,
518 : TypedInit(IK_BitsInit, BitsRecTy::get(N)), NumBits(N) {} in BitsInit()
564 class IntInit : public TypedInit {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h53 class TypedInit; variable
94 return convertValue((TypedInit*)UI); in convertValue()
97 return convertValue((TypedInit*)UI); in convertValue()
100 return convertValue((TypedInit*)UI); in convertValue()
106 virtual Init *convertValue( TypedInit *TI) { return 0; } in convertValue()
108 return convertValue((TypedInit*)VI); in convertValue()
111 return convertValue((TypedInit*)FI); in convertValue()
154 virtual Init *convertValue( TypedInit *TI);
199 virtual Init *convertValue( TypedInit *TI);
243 virtual Init *convertValue( TypedInit *TI);
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h384 class TypedInit : public Init {
387 TypedInit(const TypedInit &Other) = delete;
388 TypedInit &operator=(const TypedInit &Other) = delete;
391 explicit TypedInit(InitKind K, RecTy *T, uint8_t Opc = 0)
393 ~TypedInit() override { in ~TypedInit()
479 class BitsInit final : public TypedInit, public FoldingSetNode,
484 : TypedInit(IK_BitsInit, BitsRecTy::get(N)), NumBits(N) {} in BitsInit()
536 class IntInit : public TypedInit {
540 : TypedInit(IK_IntInit, IntRecTy::get()), Value(V) {} in IntInit()
574 class StringInit : public TypedInit {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DTGParser.cpp217 else if (TypedInit *TI = dyn_cast<TypedInit>(V)) in SetValue()
942 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
971 TypedInit *Itemt = dyn_cast<TypedInit>(Item); in ParseOperation()
1125 TypedInit *TI = dyn_cast<TypedInit>(InitList.back()); in ParseOperation()
1234 TypedInit *MHSt = dyn_cast<TypedInit>(MHS); in ParseOperation()
1295 TypedInit *RHSt = dyn_cast<TypedInit>(RHS); in ParseOperation()
1369 TypedInit *MHSt = dyn_cast<TypedInit>(MHS); in ParseOperation()
1380 TypedInit *RHSt = dyn_cast<TypedInit>(RHS); in ParseOperation()
1402 if (TypedInit *MHSt = dyn_cast<TypedInit>(MHS)) in ParseOperation()
1409 if (TypedInit *RHSt = dyn_cast<TypedInit>(RHS)) in ParseOperation()
[all …]
DRecord.cpp567 assert(Range.empty() || !isa<TypedInit>(Range[0]) || in get()
568 cast<TypedInit>(Range[0])->getType()->typeIsConvertibleTo(EltTy)); in get()
1308 if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) { in Fold()
1344 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1355 TypedInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1357 return const_cast<TypedInit *>(this); in convertInitializerTo()
1361 return BitsInit::get({const_cast<TypedInit *>(this)}); in convertInitializerTo()
1366 Init *TypedInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()
1377 NewBits.push_back(VarBitInit::get(const_cast<TypedInit *>(this), Bit)); in convertInitializerBitRange()
1382 Init *TypedInit::getCastTo(RecTy *Ty) const { in getCastTo()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp108 Init *BitRecTy::convertValue(TypedInit *VI) { in convertValue()
174 Init *BitsRecTy::convertValue(TypedInit *VI) { in convertValue()
249 Init *IntRecTy::convertValue(TypedInit *TI) { in convertValue()
264 return convertValue((TypedInit*)BO); in convertValue()
277 return convertValue((TypedInit*)BO); in convertValue()
281 Init *StringRecTy::convertValue(TypedInit *TI) { in convertValue()
310 Init *ListRecTy::convertValue(TypedInit *TI) { in convertValue()
318 Init *CodeRecTy::convertValue(TypedInit *TI) { in convertValue()
324 Init *DagRecTy::convertValue(TypedInit *TI) { in convertValue()
368 Init *RecordRecTy::convertValue(TypedInit *TI) { in convertValue()
[all …]
DTGParser.cpp738 TypedInit *LHSt = dynamic_cast<TypedInit*>(LHS); in ParseOperation()
765 TypedInit *Itemt = dynamic_cast<TypedInit*>(Item); in ParseOperation()
926 TypedInit *MHSt = dynamic_cast<TypedInit*>(MHS); in ParseOperation()
927 TypedInit *RHSt = dynamic_cast<TypedInit*>(RHS); in ParseOperation()
970 TypedInit *MHSt = dynamic_cast<TypedInit *>(MHS); in ParseOperation()
979 TypedInit *RHSt = dynamic_cast<TypedInit *>(RHS); in ParseOperation()
1199 TypedInit *TArg = dynamic_cast<TypedInit*>(*i); in ParseSimpleValue()
/external/llvm/lib/TableGen/
DRecord.cpp608 TypedInit *Typed = cast<TypedInit>(Resolved); in resolveListElementReference()
954 if (auto *TArg = dyn_cast<TypedInit>(Arg)) in EvaluateOperation()
987 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ForeachHelper()
1151 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1159 TypedInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
1162 return const_cast<TypedInit *>(this); in convertInitializerTo()
1168 return const_cast<TypedInit *>(this); in convertInitializerTo()
1174 return const_cast<TypedInit *>(this); in convertInitializerTo()
1181 return const_cast<TypedInit *>(this); in convertInitializerTo()
1185 return const_cast<TypedInit *>(this); in convertInitializerTo()
[all …]
DTGParser.cpp325 TypedInit *IVal = dyn_cast<TypedInit>(IR.IterValue); in ProcessForeachDefs()
396 const TypedInit *CurRecName = dyn_cast<TypedInit>(CurRec->getNameInit()); in ParseObjectName()
818 TypedInit *LHSt = dyn_cast<TypedInit>(LHS); in ParseOperation()
844 TypedInit *Itemt = dyn_cast<TypedInit>(Item); in ParseOperation()
1023 if (TypedInit *MHSt = dyn_cast<TypedInit>(MHS)) in ParseOperation()
1030 if (TypedInit *RHSt = dyn_cast<TypedInit>(RHS)) in ParseOperation()
1059 TypedInit *MHSt = dyn_cast<TypedInit>(MHS); in ParseOperation()
1068 TypedInit *RHSt = dyn_cast<TypedInit>(RHS); in ParseOperation()
1351 TypedInit *TArg = dyn_cast<TypedInit>(V); in ParseSimpleValue()
1537 TypedInit *LHS = dyn_cast<TypedInit>(Result); in ParseValue()
[all …]
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp1845 if (TypedInit *TI = cast<TypedInit>(Arg)) { in populateInstruction()
1927 TypedInit *TI = cast<TypedInit>(Op.first); in populateInstruction()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DFixedLenDecoderEmitter.cpp1302 TypedInit *TI = dynamic_cast<TypedInit*>(NI->first); in populateInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp1719 static std::string findOperandDecoderMethod(TypedInit *TI) { in findOperandDecoderMethod()
1971 TypedInit *TI = cast<TypedInit>(Op.first); in populateInstruction()
DSearchableTableEmitter.cpp594 auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name)); in collectTableEntries()