Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DSetTheory.cpp91 IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1]); in apply()
186 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[3])) { in apply()
200 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[1])) in apply()
207 if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2])) in apply()
H A DRecord.cpp453 IntInit *IntInit::get(int64_t V) { in get()
456 IntInit *&I = ThePool[V]; in get()
708 if (IntInit *LHSi = dyn_cast<IntInit>(LHS)) in Fold()
901 IntInit *L = in Fold()
903 IntInit *R = in Fold()
939 IntInit *LHSi = in Fold()
941 IntInit *RHSi = in Fold()
1131 if (IntInit *LHSi = dyn_cast_or_null<IntInit>( in Fold()
1172 if (IntInit *Value = dyn_cast_or_null<IntInit>( in resolveReferences()
2041 if (IntInit *II = dyn_cast<IntInit>(R->getValue())) in getValueAsInt()
[all …]
H A DJSONBackend.cpp59 } else if (auto *Int = dyn_cast<IntInit>(&I)) { in translateInit()
H A DTGParser.cpp1635 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()
2324 Values.push_back(IntInit::get(R)); in ParseForeachDeclaration()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp207 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
324 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
651 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
H A DPseudoLoweringEmitter.cpp104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
H A DCodeGenInstruction.cpp580 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()
598 IntInit *II = in tryAliasOpMatch()
599 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in tryAliasOpMatch()
H A DWebAssemblyDisassemblerEmitter.cpp39 reinterpret_cast<IntInit *>(Inst.convertInitializerTo(IntRecTy::get())) in emitWebAssemblyDisassemblerTables()
H A DRISCVCompressInstEmitter.cpp227 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping()
H A DCodeGenDAGPatterns.cpp1287 if (P->isLeaf() && isa<IntInit>(P->getLeafValue())) in getPatternSize()
1314 if (isa<IntInit>(Child->getLeafValue())) in getPatternSize()
2148 unsigned IID = cast<IntInit>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
2282 if (IntInit *II = dyn_cast<IntInit>(getLeafValue())) { in ApplyTypeConstraints()
2523 if (N->isLeaf() && isa<IntInit>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
2655 if (isa<IntInit>(TheInit) || isa<BitInit>(TheInit)) { in ParseTreePattern()
2666 if (!II || !isa<IntInit>(II)) in ParseTreePattern()
2763 std::make_shared<TreePatternNode>(IntInit::get(IID), 1)); in ParseTreePattern()
H A DGlobalISelEmitter.cpp3166 if (isa<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher()
3315 if (IntInit *SrcIntInit = dyn_cast<IntInit>(SrcInit)) { in createAndImportSelDAGMatcher()
3456 if (auto *ChildInt = dyn_cast<IntInit>(SrcChild->getLeafValue())) { in importChildMatcher()
3573 if (const IntInit *ChildIntInit = in importExplicitUseRenderer()
3574 dyn_cast<IntInit>(DstChild->getLeafValue())) { in importExplicitUseRenderer()
3809 if (const IntInit *DefaultIntOp = dyn_cast<IntInit>(DefaultOp)) { in importDefaultOperandRenderers()
H A DSearchableTableEmitter.cpp38 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
H A DCodeGenRegisters.cpp693 RV.setValue(IntInit::get(CostPerUse)); in expand()
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h564 class IntInit : public TypedInit {
567 explicit IntInit(int64_t V) in IntInit() function
571 IntInit(const IntInit &) = delete;
572 IntInit &operator=(const IntInit &) = delete;
578 static IntInit *get(int64_t V);
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp1693 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()