| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Record.cpp | 77 std::map<int64_t, IntInit *> TheIntInitPool; 451 return IntInit::get(getRecordKeeper(), getValue()); in convertInitializerTo() 512 return IntInit::get(getRecordKeeper(), *Result); in convertInitializerTo() 598 IntInit *IntInit::get(RecordKeeper &RK, int64_t V) { in get() 599 IntInit *&I = RK.getImpl().TheIntInitPool[V]; in get() 601 I = new (RK.getImpl().Allocator) IntInit(RK, V); in get() 605 std::string IntInit::getAsString() const { in getAsString() 615 const Init *IntInit::convertInitializerTo(const RecTy *Ty) const { in convertInitializerTo() 642 const Init *IntInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange() 875 if (const auto *LHSi = dyn_cast_or_null<IntInit>( in Fold() [all …]
|
| H A D | SetTheory.cpp | 90 const auto *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply() 185 if (const auto *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) in apply() 199 if (const auto *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply() 206 if (const auto *II = dyn_cast<IntInit>(Expr->arg_begin()[2])) in apply()
|
| H A D | Error.cpp | 164 auto *CondValue = dyn_cast_or_null<IntInit>(Condition->convertInitializerTo( in CheckAssert()
|
| H A D | TGParser.cpp | 861 RHS = IntInit::get(Records, i); in ParseSliceElement() 975 const auto *II = dyn_cast_or_null<IntInit>(CurVal); in ParseRangePiece() 995 const auto *II_End = dyn_cast_or_null<IntInit>(I_End); in ParseRangePiece() 1907 LHS = IntInit::get(Records, 0); in ParseOperation() 1910 RHS = IntInit::get(Records, 1); in ParseOperation() 1914 LHS = IntInit::get(Records, 0); in ParseOperation() 1916 RHS = IntInit::get(Records, 1); in ParseOperation() 1931 RHS = IntInit::get(Records, 1); in ParseOperation() 2322 RHS = IntInit::get(Records, std::numeric_limits<int64_t>::max()); in ParseOperationSubstr() 2411 RHS = IntInit::get(Records, 0); in ParseOperationFind() [all …]
|
| H A D | JSONBackend.cpp | 54 if (const auto *Int = dyn_cast<IntInit>(&I)) in translateInit()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | VarLenCodeEmitterGen.cpp | 173 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec() 176 auto NumBitsVal = cast<IntInit>(NumBits)->getValue(); in buildRec() 193 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec() 194 !isa<IntInit>(LoBit)) in buildRec() 197 auto HiBitVal = cast<IntInit>(HiBit)->getValue(), in buildRec() 198 LoBitVal = cast<IntInit>(LoBit)->getValue(); in buildRec() 476 LoBit = static_cast<unsigned>(cast<IntInit>(DV->getArg(2))->getValue()); in getInstructionCaseForEncoding()
|
| H A D | CodeGenInstAlias.cpp | 108 if (const IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()
|
| H A D | CodeGenDAGPatterns.cpp | 1023 const IntInit *IntVal = dyn_cast<IntInit>(Val); in getPredCode() 1461 if (P.isLeaf() && isa<IntInit>(P.getLeafValue())) in getPatternSize() 1487 if (isa<IntInit>(Child.getLeafValue())) in getPatternSize() 2412 unsigned IID = cast<IntInit>(getChild(0).getLeafValue())->getValue(); in getIntrinsicInfo() 2541 if (const IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints() 2815 if (N.isLeaf() && isa<IntInit>(N.getLeafValue())) in OnlyOnRHSOfCommutative() 2950 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern() 2961 if (!II || !isa<IntInit>(II)) in ParseTreePattern() 3082 IntInit::get(RK, IID), 1)); in ParseTreePattern()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DAGISelMatcherGen.cpp | 204 if (const IntInit *II = dyn_cast<IntInit>(N.getLeafValue())) { in EmitLeafMatchCode() 338 if (const IntInit *II = dyn_cast<IntInit>(N.getChild(1).getLeafValue())) { in EmitOperatorMatchCode() 664 if (const IntInit *II = dyn_cast<IntInit>(N.getLeafValue())) { in EmitResultLeafAsOperand()
|
| H A D | GlobalISelEmitter.cpp | 133 const IntInit *IntVal = dyn_cast<IntInit>(Val); in explainPredicates() 605 const IntInit *IntVal = dyn_cast<IntInit>(Val); in addBuiltinPredicates() 757 if (isa<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 851 if (const IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher() 1126 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild.getLeafValue())) { in importChildMatcher() 1313 if (const auto *II = dyn_cast<IntInit>(N.getLeafValue())) { in importLeafNodeRenderer()
|
| H A D | PseudoLoweringEmitter.cpp | 118 } else if (const auto *II = dyn_cast<IntInit>(DagArg)) { in addOperandMapping()
|
| H A D | CompressInstEmitter.cpp | 270 } else if (const auto *II = dyn_cast<IntInit>(Dag->getArg(DAGOpNo))) { in addDagOperandMapping()
|
| H A D | SearchableTableEmitter.cpp | 37 if (const auto *II = dyn_cast<IntInit>(B)) in getAsInt()
|
| H A D | DecoderEmitter.cpp | 1920 Offset = cast<IntInit>(DI->getArg(2))->getValue(); in parseVarLenInstOperand()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | PatternParser.cpp | 199 if (const auto *IntImm = dyn_cast<IntInit>(OpInit)) { in parseInstructionPatternOperand() 223 const auto *Val = dyn_cast<IntInit>(DagOp->getArg(0)); in parseInstructionPatternOperand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | Record.h | 632 class IntInit final : public TypedInit { 635 explicit IntInit(RecordKeeper &RK, int64_t V) in IntInit() function 639 IntInit(const IntInit &) = delete; 640 IntInit &operator=(const IntInit &) = delete; 646 static IntInit *get(RecordKeeper &RK, int64_t V);
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 1208 if (const auto *II = dyn_cast<IntInit>(D->getArg(1))) { in getCodeForDag() 1292 if (const auto *II = dyn_cast<IntInit>(Arg)) in getCodeForDagArg() 1458 } else if (const auto *II = dyn_cast<IntInit>(CodeDag->getArg(i))) { in ACLEIntrinsic()
|
| H A D | NeonEmitter.cpp | 1657 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | IntrinsicEmitter.cpp | 305 TypeSig.emplace_back(cast<IntInit>(TypeListEntry)->getValue()); in ComputeTypeSignature()
|