Searched refs:IntInit (Results 1 – 10 of 10) sorted by relevance
247 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 …]
80 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()
1148 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()1810 Values.push_back(IntInit::get(R)); in ParseForeachDeclaration()
210 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()
104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
515 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()
820 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()848 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()1590 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()1715 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()1992 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()2121 if (IntInit *II = dyn_cast<IntInit>(TheInit)) { in ParseTreePattern()2130 if (!II || !isa<IntInit>(II)) in ParseTreePattern()2220 TreePatternNode *IIDNode = new TreePatternNode(IntInit::get(IID), 1); in ParseTreePattern()
615 RV.setValue(IntInit::get(CostPerUse)); in expand()
509 class IntInit : public TypedInit {512 explicit IntInit(int64_t V) in IntInit() function515 IntInit(const IntInit &Other) = delete;516 IntInit &operator=(const IntInit &Other) = delete;522 static IntInit *get(int64_t V);
1609 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()