Home
last modified time | relevance | path

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

12

/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 …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
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()
DRecord.cpp317 return IntInit::get(getValue()); in convertInitializerTo()
379 return IntInit::get(Result); in convertInitializerTo()
454 IntInit *IntInit::get(int64_t V) { in get()
455 static DenseMap<int64_t, IntInit*> ThePool; in get()
457 IntInit *&I = ThePool[V]; in get()
458 if (!I) I = new(Allocator) IntInit(V); in get()
462 std::string IntInit::getAsString() const { in getAsString()
472 Init *IntInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
474 return const_cast<IntInit *>(this); in convertInitializerTo()
499 IntInit::convertInitializerBitRange(ArrayRef<unsigned> Bits) const { in convertInitializerBitRange()
[all …]
DJSONBackend.cpp59 } else if (auto *Int = dyn_cast<IntInit>(&I)) { in translateInit()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
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()
613 if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { in EmitResultLeafAsOperand()
DCodeGenInstruction.cpp539 if (IntInit *II = dyn_cast<IntInit>(Arg)) { in tryAliasOpMatch()
557 IntInit *II = in tryAliasOpMatch()
558 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()
DWebAssemblyDisassemblerEmitter.cpp37 reinterpret_cast<IntInit *>(Inst.convertInitializerTo(IntRecTy::get())) in emitWebAssemblyDisassemblerTables()
DRISCVCompressInstEmitter.cpp227 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { in addDagOperandMapping()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
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);

12