Home
last modified time | relevance | path

Searched refs:HwMode (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenHwModes.h30 struct HwMode { struct
31 HwMode(Record *R);
51 const HwMode &getMode(unsigned Id) const { in getMode() argument
62 std::vector<HwMode> Modes;
H A DCodeGenHwModes.cpp21 HwMode::HwMode(Record *R) { in HwMode() function in HwMode
40 void HwMode::dump() const { in dump()
101 for (const HwMode &M : Modes) { in dump()
H A DCodeEmitterGen.cpp71 CodeGenTarget &Target, int HwMode = -1);
358 CodeGenTarget &Target, int HwMode) { in emitInstructionBaseValues() argument
360 if (HwMode == -1) in emitInstructionBaseValues()
363 o << " static const uint64_t InstBits_" << HWM.getMode(HwMode).Name in emitInstructionBaseValues()
379 if (EBM.hasMode(HwMode)) in emitInstructionBaseValues()
380 EncodingDef = EBM.get(HwMode); in emitInstructionBaseValues()
481 for (unsigned HwMode : HwModes) in run() local
482 emitInstructionBaseValues(o, NumberedInstructions, Target, (int)HwMode); in run()
H A DRegisterBankEmitter.cpp95 const CodeGenRegisterClass *getRCWithLargestRegSize(unsigned HwMode) const { in getRCWithLargestRegSize()
96 return RCsWithLargestRegSize[HwMode]; in getRCWithLargestRegSize()
H A DSubtargetEmitter.cpp1783 const HwMode &HM = CGH.getMode(M); in EmitHwModeCheck()
H A DCodeGenDAGPatterns.cpp4460 const HwMode &HM = CGH.getMode(M); in ExpandHwModeBasedTypes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h398 unsigned HwMode; variable
427 const unsigned *Sizes, unsigned HwMode);
591 return Sizes[RegBankID + HwMode * NumRegBanks]; in getMaximumSize()
H A DTargetRegisterInfo.h254 unsigned HwMode; variable
774 return RCInfos[getNumRegClasses() * HwMode + RC.getID()]; in getRegClassInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVRegisterBankInfo.h34 RISCVRegisterBankInfo(unsigned HwMode);
H A DRISCVRegisterBankInfo.cpp74 RISCVRegisterBankInfo::RISCVRegisterBankInfo(unsigned HwMode) in RISCVRegisterBankInfo() argument
75 : RISCVGenRegisterBankInfo(HwMode) {} in RISCVRegisterBankInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchRegisterInfo.h26 LoongArchRegisterInfo(unsigned HwMode);
H A DLoongArchRegisterInfo.cpp33 LoongArchRegisterInfo::LoongArchRegisterInfo(unsigned HwMode) in LoongArchRegisterInfo() argument
36 /*PC*/ 0, HwMode) {} in LoongArchRegisterInfo()
H A DLoongArch.td33 def LA64 : HwMode<"+64bit", [IsLA64]>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.h31 HexagonRegisterInfo(unsigned HwMode);
H A DHexagonRegisterInfo.cpp56 HexagonRegisterInfo::HexagonRegisterInfo(unsigned HwMode) in HexagonRegisterInfo() argument
58 0/*PC*/, HwMode) {} in HexagonRegisterInfo()
H A DHexagon.td163 def Hvx64: HwMode<"+hvx-length64b", [UseHVX64B]>;
164 def Hvx128: HwMode<"+hvx-length128b", [UseHVX128B]>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.h25 RISCVRegisterInfo(unsigned HwMode);
H A DRISCVGISel.td60 // refers to handles both i32 and i64 based on the HwMode. Currently this LLT
H A DRISCVRegisterInfo.cpp53 RISCVRegisterInfo::RISCVRegisterInfo(unsigned HwMode) in RISCVRegisterInfo() argument
55 /*PC*/0, HwMode) {} in RISCVRegisterInfo()
H A DRISCVRegisterInfo.td66 // GPR sizes change with HwMode.
67 // FIXME: Support HwMode in SubRegIndex?
H A DRISCVFeatures.td998 def RV64 : HwMode<"+64bit", [IsRV64]>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp58 unsigned HwMode) in RegisterBankInfo() argument
60 HwMode(HwMode) { in RegisterBankInfo()
H A DTargetRegisterInfo.cpp65 RCInfos(RCIs), RCVTLists(RCVTLists), HwMode(Mode) { in TargetRegisterInfo()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td23 class HwMode<string FS, list<Predicate> Ps> {
39 def DefaultMode : HwMode<"", []>;
46 class HwModeSelect<list<HwMode> Ms> {
47 list<HwMode> Modes = Ms;
55 class ValueTypeByHwMode<list<HwMode> Ms, list<ValueType> Ts>
80 class RegInfoByHwMode<list<HwMode> Ms = [], list<RegInfo> Ts = []>
556 // Allows specifying an InstructionEncoding by HwMode. If an Instruction specifies
558 // to encode and decode based on HwMode.
559 class EncodingByHwMode<list<HwMode> Ms = [], list<InstructionEncoding> Ts = []>
576 // Allows specifying a canonical InstructionEncoding by HwMode. If non-empty,