| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Record.cpp | 977 IntInit *Element = dyn_cast_or_null<IntInit>( in interleaveIntList() 985 IntInit *Element = dyn_cast_or_null<IntInit>( in interleaveIntList() 1068 IntInit *Size = dyn_cast<IntInit>(RHS); in Fold() 1103 IntInit *LHSi = dyn_cast_or_null<IntInit>( in Fold() 1105 IntInit *RHSi = dyn_cast_or_null<IntInit>( in Fold() 1174 IntInit *LHSi = dyn_cast_or_null<IntInit>( in Fold() 1176 IntInit *RHSi = dyn_cast_or_null<IntInit>( in Fold() 1443 IntInit *MHSi = dyn_cast<IntInit>(MHS); in Fold() 1444 IntInit *RHSi = dyn_cast<IntInit>(RHS); in Fold() 1465 IntInit *RHSi = dyn_cast<IntInit>(RHS); in Fold() [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 | 698 IntInit *II = dyn_cast_or_null<IntInit>(CurVal); in ParseRangePiece() 718 IntInit *II_End = dyn_cast_or_null<IntInit>(I_End); in ParseRangePiece() 1771 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr() 1859 RHS = IntInit::get(Records, 0); in ParseOperationFind() 2145 R = IntInit::get(Records, 1); in ParseSimpleValue() 2149 R = IntInit::get(Records, 0); in ParseSimpleValue() 2153 R = IntInit::get(Records, Lex.getCurIntVal()); in ParseSimpleValue() 2864 Values.push_back(IntInit::get(Records, R)); in ParseForeachDeclaration()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | VarLenCodeEmitterGen.cpp | 132 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec() 135 auto NumBitsVal = cast<IntInit>(NumBits)->getValue(); in buildRec() 153 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec() 154 !isa<IntInit>(LoBit)) in buildRec() 157 auto HiBitVal = cast<IntInit>(HiBit)->getValue(), in buildRec() 158 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec() 447 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 | 617 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch() 635 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 | 1055 IntInit *IntVal = dyn_cast<IntInit>(Val); in getPredCode() 1453 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize() 1480 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize() 2354 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo() 2488 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints() 2763 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative() 2898 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern() 2909 if (!II || !isa<IntInit>(II)) in ParseTreePattern() 3008 IntInit::get(RK, IID), 1)); in ParseTreePattern()
|
| H A D | CompressInstEmitter.cpp | 248 } 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() 3839 IntInit *IntVal = dyn_cast<IntInit>(Val); in addBuiltinPredicates() 3989 if (isa<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 4073 if (IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 4337 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher() 4525 if (const IntInit *ChildIntInit = in importExplicitUseRenderer() 4526 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer() 5004 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 | 1899 Offset = cast<IntInit>(DI->getArg(2))->getValue(); in parseVarLenInstOperand()
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 578 class IntInit : public TypedInit { 581 explicit IntInit(RecordKeeper &RK, int64_t V) in IntInit() function 585 IntInit(const IntInit &) = delete; 586 IntInit &operator=(const IntInit &) = delete; 592 static IntInit *get(RecordKeeper &RK, int64_t V);
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Pattern.cpp | 683 if (delta->getNumArgs() != 1 || !isa<llvm::IntInit>(delta->getArg(0))) { in getBenefit() 687 return initBenefit + dyn_cast<llvm::IntInit>(delta->getArg(0))->getValue(); in getBenefit()
|
| /llvm-project-15.0.7/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 | 1596 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
|
| /llvm-project-15.0.7/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
|