Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DInfoByHwMode.cpp33 ValueTypeByHwMode::ValueTypeByHwMode(Record *R, const CodeGenHwModes &CGH) { in ValueTypeByHwMode() function in ValueTypeByHwMode
42 bool ValueTypeByHwMode::operator== (const ValueTypeByHwMode &T) const { in operator ==()
53 bool ValueTypeByHwMode::operator< (const ValueTypeByHwMode &T) const { in operator <()
59 MVT &ValueTypeByHwMode::getOrCreateTypeForMode(unsigned Mode, MVT Type) { in getOrCreateTypeForMode()
72 StringRef ValueTypeByHwMode::getMVTName(MVT T) { in getMVTName()
78 void ValueTypeByHwMode::writeToStream(raw_ostream &OS) const { in writeToStream()
101 void ValueTypeByHwMode::dump() const { in dump()
105 ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, in getValueTypeByHwMode()
114 return ValueTypeByHwMode(Rec, CGH); in getValueTypeByHwMode()
115 return ValueTypeByHwMode(llvm::getValueType(Rec)); in getValueTypeByHwMode()
[all …]
DInfoByHwMode.h119 struct ValueTypeByHwMode : public InfoByHwMode<MVT> { struct
120 ValueTypeByHwMode(Record *R, const CodeGenHwModes &CGH);
121 ValueTypeByHwMode(MVT T) { Map.insert({DefaultMode,T}); } in ValueTypeByHwMode() argument
122 ValueTypeByHwMode() = default;
124 bool operator== (const ValueTypeByHwMode &T) const;
125 bool operator< (const ValueTypeByHwMode &T) const;
138 ValueTypeByHwMode getValueTypeByHwMode(Record *Rec, argument
176 raw_ostream &operator<<(raw_ostream &OS, const ValueTypeByHwMode &T);
DCodeGenDAGPatterns.h196 : TypeSetByHwMode(ValueTypeByHwMode(VT)) {} in TypeSetByHwMode()
197 TypeSetByHwMode(ValueTypeByHwMode VT) in TypeSetByHwMode()
198 : TypeSetByHwMode(ArrayRef<ValueTypeByHwMode>(&VT, 1)) {} in TypeSetByHwMode()
199 TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList);
208 ValueTypeByHwMode getValueTypeByHwMode() const;
228 bool insert(const ValueTypeByHwMode &VVT);
256 ValueTypeByHwMode getConcrete(const TypeSetByHwMode &VTS, in getConcrete()
270 bool MergeInTypeInfo(TypeSetByHwMode &Out, ValueTypeByHwMode InVT) { in MergeInTypeInfo()
300 const ValueTypeByHwMode &VVT);
401 ValueTypeByHwMode VVT;
[all …]
DCodeGenTarget.h56 mutable SmallVector<ValueTypeByHwMode, 8> LegalValueTypes;
122 std::vector<ValueTypeByHwMode> getRegisterVTs(Record *R) const;
124 ArrayRef<ValueTypeByHwMode> getLegalValueTypes() const { in getLegalValueTypes()
DCodeGenRegisters.h328 SmallVector<ValueTypeByHwMode, 4> VTs;
348 ArrayRef<ValueTypeByHwMode> getValueTypes() const { return VTs; } in getValueTypes()
351 ValueTypeByHwMode getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
DCodeGenTarget.cpp294 std::vector<ValueTypeByHwMode> CodeGenTarget::getRegisterVTs(Record *R) in getRegisterVTs()
297 std::vector<ValueTypeByHwMode> Result; in getRegisterVTs()
300 ArrayRef<ValueTypeByHwMode> InVTs = RC.getValueTypes(); in getRegisterVTs()
DDAGISelMatcherGen.cpp36 ValueTypeByHwMode VVT = RC.getValueTypeNum(0); in getRegisterValueType()
44 ValueTypeByHwMode T = RC.getValueTypeNum(0); in getRegisterValueType()
DCodeGenDAGPatterns.cpp67 TypeSetByHwMode::TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList) { in TypeSetByHwMode()
68 for (const ValueTypeByHwMode &VVT : VTList) in TypeSetByHwMode()
82 ValueTypeByHwMode TypeSetByHwMode::getValueTypeByHwMode() const { in getValueTypeByHwMode()
85 ValueTypeByHwMode VVT; in getValueTypeByHwMode()
100 bool TypeSetByHwMode::insert(const ValueTypeByHwMode &VVT) { in insert()
193 OS << ValueTypeByHwMode::getMVTName(Types[i]); in writeToStream()
587 const ValueTypeByHwMode &VVT) { in EnforceVectorEltTypeIs()
2249 ValueTypeByHwMode VVT = TP.getInfer().getConcrete(Types[0], false); in ApplyTypeConstraints()
DRegisterInfoEmitter.cpp1201 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
1250 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
DCodeGenInstruction.cpp385 const std::vector<ValueTypeByHwMode> &RegVTs = in HasOneImplicitDefWithKnownVT()
DFastISelEmitter.cpp173 ValueTypeByHwMode VVT = TP->getTree(0)->getType(0); in emitImmediatePredicate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.td273 def VecI1: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
275 def VecI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
277 def VecI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
279 def VecI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
282 def VecPI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
284 def VecPI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
286 def VecPI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
289 def VecQ8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
291 def VecQ16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
293 def VecQ32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DHwModeSelect.td24 def BadDef : ValueTypeByHwMode<[TestMode1, TestMode2, DefaultMode],
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.td87 def XLenVT : ValueTypeByHwMode<[RV32, RV64, DefaultMode],
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DTarget.td53 class ValueTypeByHwMode<list<HwMode> Ms, list<ValueType> Ts>