Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DInfoByHwMode.cpp32 ValueTypeByHwMode::ValueTypeByHwMode(Record *R, const CodeGenHwModes &CGH) { in ValueTypeByHwMode() function in ValueTypeByHwMode
41 ValueTypeByHwMode::ValueTypeByHwMode(Record *R, MVT T) : ValueTypeByHwMode(T) { in ValueTypeByHwMode() function in ValueTypeByHwMode
46 bool ValueTypeByHwMode::operator== (const ValueTypeByHwMode &T) const { in operator ==()
57 bool ValueTypeByHwMode::operator< (const ValueTypeByHwMode &T) const { in operator <()
63 MVT &ValueTypeByHwMode::getOrCreateTypeForMode(unsigned Mode, MVT Type) { in getOrCreateTypeForMode()
76 StringRef ValueTypeByHwMode::getMVTName(MVT T) { in getMVTName()
82 void ValueTypeByHwMode::writeToStream(raw_ostream &OS) const { in writeToStream()
102 void ValueTypeByHwMode::dump() const { in dump()
106 ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec, in getValueTypeByHwMode()
115 return ValueTypeByHwMode(Rec, CGH); in getValueTypeByHwMode()
[all …]
H A DInfoByHwMode.h120 struct ValueTypeByHwMode : public InfoByHwMode<MVT> { struct
121 ValueTypeByHwMode(Record *R, const CodeGenHwModes &CGH);
122 ValueTypeByHwMode(Record *R, MVT T);
123 ValueTypeByHwMode(MVT T) { Map.insert({DefaultMode,T}); } in ValueTypeByHwMode() function
124 ValueTypeByHwMode() = default;
126 bool operator== (const ValueTypeByHwMode &T) const;
127 bool operator< (const ValueTypeByHwMode &T) const;
145 ValueTypeByHwMode getValueTypeByHwMode(Record *Rec, argument
187 raw_ostream &operator<<(raw_ostream &OS, const ValueTypeByHwMode &T);
H A DCodeGenTarget.h55 mutable SmallVector<ValueTypeByHwMode, 8> LegalValueTypes;
113 getSuperRegForSubReg(const ValueTypeByHwMode &Ty, CodeGenRegBank &RegBank,
132 std::vector<ValueTypeByHwMode> getRegisterVTs(Record *R) const;
134 ArrayRef<ValueTypeByHwMode> getLegalValueTypes() const { in getLegalValueTypes()
H A DCodeGenDAGPatterns.h197 : TypeSetByHwMode(ValueTypeByHwMode(VT)) {} in TypeSetByHwMode()
198 TypeSetByHwMode(ValueTypeByHwMode VT) in TypeSetByHwMode()
199 : TypeSetByHwMode(ArrayRef<ValueTypeByHwMode>(&VT, 1)) {} in TypeSetByHwMode()
200 TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList);
207 ValueTypeByHwMode getValueTypeByHwMode() const;
236 bool insert(const ValueTypeByHwMode &VVT);
265 ValueTypeByHwMode getConcrete(const TypeSetByHwMode &VTS, in getConcrete()
279 bool MergeInTypeInfo(TypeSetByHwMode &Out, ValueTypeByHwMode InVT) { in MergeInTypeInfo()
309 const ValueTypeByHwMode &VVT);
410 ValueTypeByHwMode VVT;
[all …]
H A DCodeGenRegisters.h329 SmallVector<ValueTypeByHwMode, 4> VTs;
352 ArrayRef<ValueTypeByHwMode> getValueTypes() const { return VTs; } in getValueTypes()
355 bool hasType(const ValueTypeByHwMode &VT) const { in hasType()
359 const ValueTypeByHwMode &getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
736 getMinimalPhysRegClass(Record *RegRecord, ValueTypeByHwMode *VT = nullptr);
H A DCodeGenTarget.cpp342 CodeGenTarget::getSuperRegForSubReg(const ValueTypeByHwMode &ValueTy, in getSuperRegForSubReg()
401 std::vector<ValueTypeByHwMode> CodeGenTarget::getRegisterVTs(Record *R) in getRegisterVTs()
404 std::vector<ValueTypeByHwMode> Result; in getRegisterVTs()
407 ArrayRef<ValueTypeByHwMode> InVTs = RC.getValueTypes(); in getRegisterVTs()
H A DDAGISelMatcherGen.cpp35 const ValueTypeByHwMode &VVT = RC.getValueTypeNum(0); in getRegisterValueType()
43 const ValueTypeByHwMode &T = RC.getValueTypeNum(0); in getRegisterValueType()
H A DCodeGenDAGPatterns.cpp69 TypeSetByHwMode::TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList) { in TypeSetByHwMode()
70 for (const ValueTypeByHwMode &VVT : VTList) { in TypeSetByHwMode()
86 ValueTypeByHwMode TypeSetByHwMode::getValueTypeByHwMode() const { in getValueTypeByHwMode()
89 ValueTypeByHwMode VVT; in getValueTypeByHwMode()
108 bool TypeSetByHwMode::insert(const ValueTypeByHwMode &VVT) { in insert()
207 OS << LS << ValueTypeByHwMode::getMVTName(T); in writeToStream()
607 const ValueTypeByHwMode &VVT) { in EnforceVectorEltTypeIs()
2437 ValueTypeByHwMode VVT = TP.getInfer().getConcrete(Types[0], false); in ApplyTypeConstraints()
H A DRegisterInfoEmitter.cpp1242 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
1292 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
H A DFastISelEmitter.cpp173 ValueTypeByHwMode VVT = TP->getTree(0)->getType(0); in emitImmediatePredicate()
H A DCodeGenInstruction.cpp459 const std::vector<ValueTypeByHwMode> &RegVTs = in HasOneImplicitDefWithKnownVT()
H A DCodeGenRegisters.cpp2380 ValueTypeByHwMode *VT) { in getMinimalPhysRegClass()
H A DGlobalISelEmitter.cpp4311 ValueTypeByHwMode VT = ChildTypes.front().getValueTypeByHwMode(); in importChildMatcher()
4349 ValueTypeByHwMode VTy = ChildTypes.front().getValueTypeByHwMode(); in importChildMatcher()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.td321 def VecI1: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
323 def VecI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
325 def VecI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
327 def VecI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
330 def VecPI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
332 def VecPI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
334 def VecPI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
337 def VecQ8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
339 def VecQ16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
341 def VecQ32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.td118 def XLenVT : ValueTypeByHwMode<[RV32, RV64],
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTarget.td50 class ValueTypeByHwMode<list<HwMode> Ms, list<ValueType> Ts>