| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | Record.cpp | 74 std::map<int64_t, IntInit *> TheIntInitPool; 381 return IntInit::get(getRecordKeeper(), getValue()); in convertInitializerTo() 442 return IntInit::get(getRecordKeeper(), Result); in convertInitializerTo() 517 IntInit *IntInit::get(RecordKeeper &RK, int64_t V) { in get() 518 IntInit *&I = RK.getImpl().TheIntInitPool[V]; in get() 520 I = new (RK.getImpl().Allocator) IntInit(RK, V); in get() 524 std::string IntInit::getAsString() const { in getAsString() 534 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo() 536 return const_cast<IntInit *>(this); in convertInitializerTo() 562 IntInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange() [all …]
|
| H A D | SetTheory.cpp | 89 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply() 184 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply() 198 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply() 205 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2])) in apply()
|
| H A D | Error.cpp | 160 auto *CondValue = dyn_cast_or_null<IntInit>(Condition->convertInitializerTo( in CheckAssert()
|
| H A D | JSONBackend.cpp | 57 } else if (auto *Int = dyn_cast<IntInit>(&I)) { in translateInit()
|
| H A D | TGParser.cpp | 699 IntInit *II = dyn_cast_or_null<IntInit>(CurVal); in ParseRangePiece() 719 IntInit *II_End = dyn_cast_or_null<IntInit>(I_End); in ParseRangePiece() 1808 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr() 1896 RHS = IntInit::get(Records, 0); in ParseOperationFind() 2184 R = IntInit::get(Records, 1); in ParseSimpleValue() 2188 R = IntInit::get(Records, 0); in ParseSimpleValue() 2192 R = IntInit::get(Records, Lex.getCurIntVal()); in ParseSimpleValue() 2926 Values.push_back(IntInit::get(Records, R)); in ParseForeachDeclaration()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | VarLenCodeEmitterGen.cpp | 159 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec() 162 auto NumBitsVal = cast<IntInit>(NumBits)->getValue(); in buildRec() 179 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec() 180 !isa<IntInit>(LoBit)) in buildRec() 183 auto HiBitVal = cast<IntInit>(HiBit)->getValue(), in buildRec() 184 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec() 472 LoBit = static_cast<unsigned>(cast<IntInit>(DV->getArg(2))->getValue()); in getInstructionCaseForEncoding()
|
| H A D | PseudoLoweringEmitter.cpp | 107 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping() 113 cast<IntInit>(BI->convertInitializerTo(IntRecTy::get(Records))); in addDagOperandMapping()
|
| H A D | DAGISelMatcherGen.cpp | 207 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode() 349 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode() 676 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
|
| H A D | CodeGenInstruction.cpp | 685 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch() 703 IntInit *II = dyn_cast_or_null<IntInit>( in tryAliasOpMatch()
|
| H A D | WebAssemblyDisassemblerEmitter.cpp | 42 cast<IntInit>(Inst.convertInitializerTo(IntRecTy::get(RK))) in emitWebAssemblyDisassemblerTables()
|
| H A D | CodeGenDAGPatterns.cpp | 1053 IntInit *IntVal = dyn_cast<IntInit>(Val); in getPredCode() 1451 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize() 1478 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize() 2352 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo() 2486 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints() 2761 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative() 2896 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern() 2907 if (!II || !isa<IntInit>(II)) in ParseTreePattern() 3006 IntInit::get(RK, IID), 1)); in ParseTreePattern()
|
| H A D | CompressInstEmitter.cpp | 244 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping()
|
| H A D | GlobalISelEmitter.cpp | 258 IntInit *IntVal = dyn_cast<IntInit>(Val); in explainPredicates() 3847 IntInit *IntVal = dyn_cast<IntInit>(Val); in addBuiltinPredicates() 3997 if (isa<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 4083 if (IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 4347 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher() 4535 if (const IntInit *ChildIntInit = in importExplicitUseRenderer() 4536 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer() 5014 if (const IntInit *DefaultIntOp = dyn_cast<IntInit>(DefaultOp)) { in importDefaultOperandRenderers()
|
| H A D | SearchableTableEmitter.cpp | 34 return cast<IntInit>( in getAsInt()
|
| H A D | DecoderEmitter.cpp | 1887 Offset = cast<IntInit>(DI->getArg(2))->getValue(); in parseVarLenInstOperand()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 579 class IntInit : public TypedInit { 582 explicit IntInit(RecordKeeper &RK, int64_t V) in IntInit() function 586 IntInit(const IntInit &) = delete; 587 IntInit &operator=(const IntInit &) = delete; 593 static IntInit *get(RecordKeeper &RK, int64_t V);
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 1204 if (auto *II = dyn_cast<IntInit>(D->getArg(1))) { in getCodeForDag() 1288 if (auto *II = dyn_cast<IntInit>(Arg)) in getCodeForDagArg() 1453 } else if (auto *II = dyn_cast<IntInit>(CodeDag->getArg(i))) { in ACLEIntrinsic()
|
| H A D | NeonEmitter.cpp | 1604 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
|
| /openbsd-src/gnu/llvm/llvm/docs/TableGen/ |
| H A D | BackGuide.rst | 291 ``IntInit``, ``ListInit``, and ``StringInit``. (There are additional derived 388 ``IntInit`` 391 The ``IntInit`` class is a subclass of ``TypedInit``. Its instances
|