Home
last modified time | relevance | path

Searched refs:IntInit (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/llvm/lib/TableGen/
HDRecord.cpp247 return IntInit::get(getValue()); in convertInitializerTo()
307 return IntInit::get(Result); in convertInitializerTo()
394 IntInit *IntInit::get(int64_t V) { in get()
395 static DenseMap<int64_t, std::unique_ptr<IntInit>> ThePool; in get()
397 std::unique_ptr<IntInit> &I = ThePool[V]; in get()
398 if (!I) I.reset(new IntInit(V)); in get()
402 std::string IntInit::getAsString() const { in getAsString()
414 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
416 return const_cast<IntInit *>(this); in convertInitializerTo()
441 IntInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange()
[all …]
HDSetTheory.cpp80 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply()
175 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply()
189 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply()
196 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2])) in apply()
HDTGParser.cpp1148 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()
1810 Values.push_back(IntInit::get(R)); in ParseForeachDeclaration()
/NextBSD/contrib/llvm/utils/TableGen/
HDDAGISelMatcherGen.cpp210 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
326 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
615 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
HDCodeGenInstruction.cpp515 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()
533 IntInit *II = in tryAliasOpMatch()
534 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in tryAliasOpMatch()
HDPseudoLoweringEmitter.cpp104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
HDCodeGenDAGPatterns.cpp792 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
820 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
1544 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
1669 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()
1946 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
2075 if (IntInit *II = dyn_cast<IntInit>(TheInit)) { in ParseTreePattern()
2084 if (!II || !isa<IntInit>(II)) in ParseTreePattern()
2174 TreePatternNode *IIDNode = new TreePatternNode(IntInit::get(IID), 1); in ParseTreePattern()
HDCodeGenRegisters.cpp615 RV.setValue(IntInit::get(CostPerUse)); in expand()
/NextBSD/contrib/llvm/include/llvm/TableGen/
HDRecord.h509 class IntInit : public TypedInit {
512 explicit IntInit(int64_t V) in IntInit() function
515 IntInit(const IntInit &Other) = delete;
516 IntInit &operator=(const IntInit &Other) = delete;
522 static IntInit *get(int64_t V);
/NextBSD/contrib/llvm/tools/clang/utils/TableGen/
HDNeonEmitter.cpp1609 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()