Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DRecord.cpp311 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 …]
H A DSetTheory.cpp90 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()
H A DError.cpp160 auto *CondValue = dyn_cast_or_null<IntInit>( in CheckAssert()
H A DJSONBackend.cpp57 } else if (auto *Int = dyn_cast<IntInit>(&I)) { in translateInit()
H A DTGParser.cpp697 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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp107 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
112 auto *II = cast<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in addDagOperandMapping()
H A DDAGISelMatcherGen.cpp206 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()
H A DCodeGenInstruction.cpp617 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()
H A DWebAssemblyDisassemblerEmitter.cpp38 reinterpret_cast<IntInit *>(Inst.convertInitializerTo(IntRecTy::get())) in emitWebAssemblyDisassemblerTables()
H A DCodeGenDAGPatterns.cpp1010 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()
H A DRISCVCompressInstEmitter.cpp235 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping()
H A DGlobalISelEmitter.cpp245 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()
H A DSearchableTableEmitter.cpp38 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h551 class IntInit : public TypedInit {
554 explicit IntInit(int64_t V) in IntInit() function
558 IntInit(const IntInit &) = delete;
559 IntInit &operator=(const IntInit &) = delete;
565 static IntInit *get(int64_t V);
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp1198 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()
H A DNeonEmitter.cpp1595 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DBackGuide.rst291 ``IntInit``, ``ListInit``, and ``StringInit``. (There are additional derived
388 ``IntInit``
391 The ``IntInit`` class is a subclass of ``TypedInit``. Its instances