/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | Record.cpp | 101 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 …]
|
D | TGParser.cpp | 1048 case tgtok::IntVal: R = IntInit::get(Lex.getCurIntVal()); Lex.Lex(); break; in ParseSimpleValue()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 245 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 …]
|
D | SetTheory.cpp | 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()
|
D | TGParser.cpp | 1143 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/ |
D | SetTheory.cpp | 75 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()
|
D | DAGISelMatcherGen.cpp | 206 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()
|
D | InstrInfoEmitter.h | 26 class IntInit; variable
|
D | PseudoLoweringEmitter.cpp | 57 } else if (IntInit *II = dynamic_cast<IntInit*>(Dag->getArg(i))) { in addDagOperandMapping()
|
D | CodeGenDAGPatterns.cpp | 695 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()
|
D | CodeGenInstruction.cpp | 467 if (IntInit *II = dynamic_cast<IntInit*>(Arg)) { in tryAliasOpMatch()
|
D | CodeGenRegisters.cpp | 228 RV.setValue(IntInit::get(CostPerUse)); in expand()
|
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/ |
D | Record.h | 44 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/ |
D | DAGISelMatcherGen.cpp | 205 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()
|
D | CodeGenInstruction.cpp | 519 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()
|
D | PseudoLoweringEmitter.cpp | 104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
|
D | CodeGenDAGPatterns.cpp | 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()
|
D | SearchableTableEmitter.cpp | 44 return cast<IntInit>(B->convertInitializerTo(IntRecTy::get()))->getValue(); in getAsInt()
|
D | CodeGenRegisters.cpp | 614 RV.setValue(IntInit::get(CostPerUse)); in expand()
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 536 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/ |
D | NeonEmitter.cpp | 1611 int64_t VectorSize = cast<IntInit>(Expr->getArg(0))->getValue(); in emitDagShuffle()
|