Searched refs:IntInit (Results 1 – 17 of 17) sorted by relevance
311 return IntInit::get(getValue()); in convertInitializerTo()373 return IntInit::get(Result); in convertInitializerTo()448 IntInit *IntInit::get(int64_t V) { in get()449 static std::map<int64_t, IntInit*> ThePool; in get()451 IntInit *&I = ThePool[V]; in get()452 if (!I) I = new(Allocator) IntInit(V); in get()456 std::string IntInit::getAsString() const { in getAsString()466 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()468 return const_cast<IntInit *>(this); in convertInitializerTo()493 IntInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()[all …]
90 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply()185 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply()199 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply()206 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2])) in apply()
160 auto *CondValue = dyn_cast_or_null<IntInit>( in CheckAssert()
57 } else if (auto *Int = dyn_cast<IntInit>(&I)) { in translateInit()
697 IntInit *II = dyn_cast_or_null<IntInit>(CurVal); in ParseRangePiece()717 IntInit *II_End = dyn_cast_or_null<IntInit>(I_End); in ParseRangePiece()1713 RHS = IntInit::get(std::numeric_limits<int64_t>::max()); in ParseOperationSubstr()1801 RHS = IntInit::get(0); in ParseOperationFind()2087 R = IntInit::get(1); in ParseSimpleValue()2091 R = IntInit::get(0); in ParseSimpleValue()2095 R = IntInit::get(Lex.getCurIntVal()); in ParseSimpleValue()2808 Values.push_back(IntInit::get(R)); in ParseForeachDeclaration()
107 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()112 auto *II = cast<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in addDagOperandMapping()
206 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()348 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()675 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
617 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()635 IntInit *II = in tryAliasOpMatch()636 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in tryAliasOpMatch()
38 reinterpret_cast<IntInit *>(Inst.convertInitializerTo(IntRecTy::get())) in emitWebAssemblyDisassemblerTables()
1010 IntInit *IntVal = dyn_cast<IntInit>(Val); in getPredCode()1398 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()1425 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()2294 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()2428 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()2687 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()2821 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern()2832 if (!II || !isa<IntInit>(II)) in ParseTreePattern()2930 std::make_shared<TreePatternNode>(IntInit::get(IID), 1)); in ParseTreePattern()
235 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping()
245 IntInit *IntVal = dyn_cast<IntInit>(Val); in explainPredicates()3795 IntInit *IntVal = dyn_cast<IntInit>(Val); in addBuiltinPredicates()3942 if (isa<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher()4015 if (IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher()4279 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()4467 if (const IntInit *ChildIntInit = in importExplicitUseRenderer()4468 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()4946 if (const IntInit *DefaultIntOp = dyn_cast<IntInit>(DefaultOp)) { in importDefaultOperandRenderers()
38 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
551 class IntInit : public TypedInit {554 explicit IntInit(int64_t V) in IntInit() function558 IntInit(const IntInit &) = delete;559 IntInit &operator=(const IntInit &) = delete;565 static IntInit *get(int64_t V);
1198 if (auto *II = dyn_cast<IntInit>(D->getArg(1))) { in getCodeForDag()1282 if (auto *II = dyn_cast<IntInit>(Arg)) in getCodeForDagArg()1447 } else if (auto *II = dyn_cast<IntInit>(CodeDag->getArg(i))) { in ACLEIntrinsic()
1595 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
291 ``IntInit``, ``ListInit``, and ``StringInit``. (There are additional derived388 ``IntInit``391 The ``IntInit`` class is a subclass of ``TypedInit``. Its instances