Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/TableGen/
DRecord.cpp101 Init *BitRecTy::convertValue(IntInit *II) { in convertValue()
153 Init *BitsRecTy::convertValue(IntInit *II) { in convertValue()
193 IntInit *MHSi = dynamic_cast<IntInit*>(MHS); in convertValue()
194 IntInit *RHSi = dynamic_cast<IntInit*>(RHS); in convertValue()
206 IntInit::get((MHSVal & (1LL << i)) ? 1 : 0), in convertValue()
207 IntInit::get((RHSVal & (1LL << i)) ? 1 : 0), in convertValue()
235 return IntInit::get(BI->getValue()); in convertValue()
246 return IntInit::get(Result); in convertValue()
542 IntInit *IntInit::get(int64_t V) { in get()
543 typedef DenseMap<int64_t, IntInit *> Pool; in get()
[all …]
DTGParser.cpp1048 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()
/external/llvm/lib/TableGen/
DRecord.cpp245 return IntInit::get(getValue()); in convertInitializerTo()
308 return IntInit::get(Result); in convertInitializerTo()
395 IntInit *IntInit::get(int64_t V) { in get()
396 static DenseMap<int64_t, std::unique_ptr<IntInit>> ThePool; in get()
398 std::unique_ptr<IntInit> &I = ThePool[V]; in get()
399 if (!I) I.reset(new IntInit(V)); in get()
403 std::string IntInit::getAsString() const { in getAsString()
413 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
415 return const_cast<IntInit *>(this); in convertInitializerTo()
440 IntInit::convertInitializerBitRange(const std::vector<unsigned> &Bits) const { in convertInitializerBitRange()
[all …]
DSetTheory.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()
DTGParser.cpp1143 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()
1805 Values.push_back(IntInit::get(R)); in ParseForeachDeclaration()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DSetTheory.cpp75 IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[1]); in apply()
155 if (IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[1])) in apply()
162 if (IntInit *II = dynamic_cast<IntInit*>(Expr->arg_begin()[2])) in apply()
DDAGISelMatcherGen.cpp206 if (IntInit *II = dynamic_cast<IntInit*>(N->getLeafValue())) { in EmitLeafMatchCode()
286 if (IntInit *II = dynamic_cast<IntInit*>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
575 if (IntInit *II = dynamic_cast<IntInit*>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DInstrInfoEmitter.h26 class IntInit; variable
DPseudoLoweringEmitter.cpp57 } else if (IntInit *II = dynamic_cast<IntInit*>(Dag->getArg(i))) { in addDagOperandMapping()
DCodeGenDAGPatterns.cpp695 if (P->isLeaf() && dynamic_cast<IntInit*>(P->getLeafValue())) in getPatternSize()
719 if (dynamic_cast<IntInit*>(Child->getLeafValue())) in getPatternSize()
1322 dynamic_cast<IntInit*>(getChild(0)->getLeafValue())->getValue(); in getIntrinsicInfo()
1394 if (IntInit *II = dynamic_cast<IntInit*>(getLeafValue())) { in ApplyTypeConstraints()
1654 if (N->isLeaf() && dynamic_cast<IntInit*>(N->getLeafValue())) in OnlyOnRHSOfCommutative()
1767 if (IntInit *II = dynamic_cast<IntInit*>(TheInit)) { in ParseTreePattern()
1776 if (II == 0 || !dynamic_cast<IntInit*>(II)) in ParseTreePattern()
1864 TreePatternNode *IIDNode = new TreePatternNode(IntInit::get(IID), 1); in ParseTreePattern()
DCodeGenInstruction.cpp467 if (IntInit *II = dynamic_cast<IntInit*>(Arg)) { in tryAliasOpMatch()
DCodeGenRegisters.cpp228 RV.setValue(IntInit::get(CostPerUse)); in expand()
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DRecord.h44 class IntInit; variable
90 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
144 virtual Init *convertValue( IntInit *II);
189 virtual Init *convertValue( IntInit *II);
233 virtual Init *convertValue( IntInit *II) { return (Init*)II; } in convertValue()
275 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
322 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
365 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
405 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
451 virtual Init *convertValue( IntInit *II) { return 0; } in convertValue()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcherGen.cpp205 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitLeafMatchCode()
321 if (IntInit *II = dyn_cast<IntInit>(N->getChild(1)->getLeafValue())) { in EmitOperatorMatchCode()
608 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DCodeGenInstruction.cpp519 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()
537 IntInit *II = in tryAliasOpMatch()
538 dyn_cast_or_null<IntInit>(BI->convertInitializerTo(IntRecTy::get())); in tryAliasOpMatch()
DPseudoLoweringEmitter.cpp104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
DCodeGenDAGPatterns.cpp820 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()
DSearchableTableEmitter.cpp44 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
DCodeGenRegisters.cpp614 RV.setValue(IntInit::get(CostPerUse)); in expand()
/external/llvm/include/llvm/TableGen/
DRecord.h536 class IntInit : public TypedInit {
539 explicit IntInit(int64_t V) in IntInit() function
542 IntInit(const IntInit &Other) = delete;
543 IntInit &operator=(const IntInit &Other) = delete;
549 static IntInit *get(int64_t V);
/external/clang/utils/TableGen/
DNeonEmitter.cpp1611 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()