Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DInfoByHwMode.cpp31 ValueTypeByHwMode::ValueTypeByHwMode(const Record *R, in ValueTypeByHwMode() function in ValueTypeByHwMode
43 ValueTypeByHwMode::ValueTypeByHwMode(const Record *R, MVT T) in ValueTypeByHwMode() function in ValueTypeByHwMode
44 : ValueTypeByHwMode(T) { in ValueTypeByHwMode()
49 bool ValueTypeByHwMode::operator==(const ValueTypeByHwMode &T) const { in operator ==()
60 bool ValueTypeByHwMode::operator<(const ValueTypeByHwMode &T) const { in operator <()
66 MVT &ValueTypeByHwMode::getOrCreateTypeForMode(unsigned Mode, MVT Type) { in getOrCreateTypeForMode()
79 StringRef ValueTypeByHwMode::getMVTName(MVT T) { in getMVTName()
85 void ValueTypeByHwMode::writeToStream(raw_ostream &OS) const { in writeToStream()
105 void ValueTypeByHwMode::dump() const { dbgs() << *this << '\n'; } in dump()
107 ValueTypeByHwMode llvm::getValueTypeByHwMode(const Record *Rec, in getValueTypeByHwMode()
[all …]
H A DInfoByHwMode.h154 struct ValueTypeByHwMode : public InfoByHwMode<MVT> { struct
155 ValueTypeByHwMode(const Record *R, const CodeGenHwModes &CGH);
156 ValueTypeByHwMode(const Record *R, MVT T);
157 ValueTypeByHwMode(MVT T) { Map.try_emplace(DefaultMode, T); } in ValueTypeByHwMode() function
158 ValueTypeByHwMode() = default;
160 bool operator==(const ValueTypeByHwMode &T) const;
161 bool operator<(const ValueTypeByHwMode &T) const;
177 ValueTypeByHwMode getValueTypeByHwMode(const Record *Rec, argument
180 raw_ostream &operator<<(raw_ostream &OS, const ValueTypeByHwMode &T);
H A DCodeGenTarget.h65 mutable SmallVector<ValueTypeByHwMode, 8> LegalValueTypes;
139 std::vector<ValueTypeByHwMode> getRegisterVTs(const Record *R) const;
141 ArrayRef<ValueTypeByHwMode> getLegalValueTypes() const { in getLegalValueTypes()
H A DCodeGenDAGPatterns.h195 : TypeSetByHwMode(ValueTypeByHwMode(VT)) {} in TypeSetByHwMode()
196 TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList);
201 ValueTypeByHwMode getValueTypeByHwMode() const;
223 bool insert(const ValueTypeByHwMode &VVT);
251 ValueTypeByHwMode getConcrete(const TypeSetByHwMode &VTS, in getConcrete()
266 const ValueTypeByHwMode &InVT) const { in MergeInTypeInfo()
299 const ValueTypeByHwMode &VVT);
381 ValueTypeByHwMode VVT;
692 ValueTypeByHwMode getType(unsigned ResNo) const { in getType()
855 bool UpdateNodeType(unsigned ResNo, const ValueTypeByHwMode &InTy,
[all …]
H A DCodeGenRegisters.h358 SmallVector<ValueTypeByHwMode, 4> VTs;
386 ArrayRef<ValueTypeByHwMode> getValueTypes() const { return VTs; } in getValueTypes()
388 bool hasType(const ValueTypeByHwMode &VT) const;
390 const ValueTypeByHwMode &getValueTypeNum(unsigned VTNum) const { in getValueTypeNum()
830 ValueTypeByHwMode *VT = nullptr);
835 getSuperRegForSubReg(const ValueTypeByHwMode &Ty,
H A DCodeGenTarget.cpp174 std::vector<ValueTypeByHwMode>
177 std::vector<ValueTypeByHwMode> Result; in getRegisterVTs()
180 ArrayRef<ValueTypeByHwMode> InVTs = RC.getValueTypes(); in getRegisterVTs()
H A DCodeGenDAGPatterns.cpp67 OS << LS << ValueTypeByHwMode::getMVTName(T); in writeToStream()
77 TypeSetByHwMode::TypeSetByHwMode(ArrayRef<ValueTypeByHwMode> VTList) { in TypeSetByHwMode()
82 for (const ValueTypeByHwMode &VVT : VTList) in TypeSetByHwMode()
96 ValueTypeByHwMode TypeSetByHwMode::getValueTypeByHwMode() const { in getValueTypeByHwMode()
99 ValueTypeByHwMode VVT; in getValueTypeByHwMode()
116 bool TypeSetByHwMode::insert(const ValueTypeByHwMode &VVT) { in insert()
639 const ValueTypeByHwMode &VVT) { in EnforceVectorEltTypeIs()
2550 ValueTypeByHwMode VVT = TP.getInfer().getConcrete(Types[0], false); in ApplyTypeConstraints()
2779 const ValueTypeByHwMode VVT = getValueTypeByHwMode(T, CGH); in ApplyTypeConstraints()
H A DCodeGenRegisters.cpp815 bool CodeGenRegisterClass::hasType(const ValueTypeByHwMode &VT) const { in hasType()
827 for (const ValueTypeByHwMode &OurVT : VTs) { in hasType()
2551 ValueTypeByHwMode *VT) { in getMinimalPhysRegClass()
2565 CodeGenRegBank::getSuperRegForSubReg(const ValueTypeByHwMode &ValueTy, in getSuperRegForSubReg()
H A DCodeGenInstruction.cpp522 const std::vector<ValueTypeByHwMode> &RegVTs = in HasOneImplicitDefWithKnownVT()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.td474 def VecI1: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
476 def VecI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
478 def VecI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
480 def VecI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
482 def VecF16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
484 def VecF32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
487 def VecPI8: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
489 def VecPI16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
491 def VecPI32: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
493 def VecPF16: ValueTypeByHwMode<[Hvx64, Hvx128, DefaultMode],
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp38 const ValueTypeByHwMode &VVT = RC.getValueTypeNum(0); in getRegisterValueType()
46 const ValueTypeByHwMode &VVT = RC.getValueTypeNum(0); in getRegisterValueType()
H A DRegisterInfoEmitter.cpp1264 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
1328 for (const ValueTypeByHwMode &VVT : RC.VTs) in runTargetDesc()
H A DFastISelEmitter.cpp182 ValueTypeByHwMode VVT = TP->getTree(0)->getType(0); in emitImmediatePredicate()
H A DGlobalISelEmitter.cpp1151 ValueTypeByHwMode VT = ChildTypes.front().getValueTypeByHwMode(); in importChildMatcher()
1189 ValueTypeByHwMode VTy = ChildTypes.front().getValueTypeByHwMode(); in importChildMatcher()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchRegisterInfo.td94 def GRLenVT : ValueTypeByHwMode<[LA32, LA64],
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.td216 def XLenVT : ValueTypeByHwMode<[RV32, RV64],
221 def XLenFVT : ValueTypeByHwMode<[RV64],
223 def XLenPairFVT : ValueTypeByHwMode<[RV32],
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td58 class ValueTypeByHwMode<list<HwMode> Ms, list<ValueType> Ts>
69 class PtrValueTypeByHwMode<ValueTypeByHwMode scalar, int addrspace>