| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchSubtarget.cpp | 27 const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, in initializeSubtargetDependencies() argument 33 if (TuneCPU.empty()) in initializeSubtargetDependencies() 34 TuneCPU = CPU; in initializeSubtargetDependencies() 36 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies() 48 StringRef TuneCPU, StringRef FS, in LoongArchSubtarget() argument 51 : LoongArchGenSubtargetInfo(TT, CPU, TuneCPU, FS), in LoongArchSubtarget() 53 initializeSubtargetDependencies(TT, CPU, TuneCPU, FS, ABIName)), in LoongArchSubtarget()
|
| H A D | LoongArchSubtarget.h | 53 StringRef TuneCPU, 59 LoongArchSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, 64 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| H A D | LoongArchTargetMachine.cpp | 65 std::string TuneCPU = in getSubtargetImpl() local 70 std::string Key = CPU + TuneCPU + FS; in getSubtargetImpl() 87 I = std::make_unique<LoongArchSubtarget>(TargetTriple, CPU, TuneCPU, FS, in getSubtargetImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZSubtarget.cpp | 31 StringRef CPU, StringRef TuneCPU, StringRef FS) { in initializeSubtargetDependencies() argument 34 if (TuneCPU.empty()) in initializeSubtargetDependencies() 35 TuneCPU = CPU; in initializeSubtargetDependencies() 37 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies() 68 const std::string &TuneCPU, in SystemZSubtarget() argument 71 : SystemZGenSubtargetInfo(TT, CPU, TuneCPU, FS), in SystemZSubtarget() 93 InstrInfo(initializeSubtargetDependencies(CPU, TuneCPU, FS)), in SystemZSubtarget()
|
| H A D | SystemZSubtarget.h | 87 StringRef TuneCPU, 93 const std::string &TuneCPU, const std::string &FS, 139 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| H A D | SystemZTargetMachine.cpp | 195 std::string TuneCPU = in getSubtargetImpl() local 208 auto &I = SubtargetMap[CPU + TuneCPU + FS]; in getSubtargetImpl() 214 I = std::make_unique<SystemZSubtarget>(TargetTriple, CPU, TuneCPU, FS, in getSubtargetImpl()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSubtargetInfo.cpp | 181 if (!TuneCPU.empty()) { in getFeatures() 182 const SubtargetSubTypeKV *CPUEntry = Find(TuneCPU, ProcDesc); in getFeatures() 188 } else if (TuneCPU != CPU) { in getFeatures() 208 void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef TuneCPU, in InitMCProcessorInfo() argument 210 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in InitMCProcessorInfo() 213 if (!TuneCPU.empty()) in InitMCProcessorInfo() 214 CPUSchedModel = &getSchedModelForCPU(TuneCPU); in InitMCProcessorInfo() 219 void MCSubtargetInfo::setDefaultFeatures(StringRef CPU, StringRef TuneCPU, in setDefaultFeatures() argument 221 FeatureBits = getFeatures(CPU, TuneCPU, FS, ProcDesc, ProcFeatures); in setDefaultFeatures() 233 : TargetTriple(TT), CPU(std::string(C)), TuneCPU(std::string(TC)), in MCSubtargetInfo() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVSubtarget.cpp | 69 StringRef TuneCPU, StringRef FS, in initializeSubtargetDependencies() argument 76 if (TuneCPU.empty()) in initializeSubtargetDependencies() 77 TuneCPU = CPU; in initializeSubtargetDependencies() 79 ParseSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies() 91 StringRef TuneCPU, StringRef FS, in RISCVSubtarget() argument 93 : RISCVGenSubtargetInfo(TT, CPU, TuneCPU, FS), in RISCVSubtarget() 95 FrameLowering(initializeSubtargetDependencies(TT, CPU, TuneCPU, FS, ABIName)), in RISCVSubtarget()
|
| H A D | RISCVSubtarget.h | 117 StringRef TuneCPU, 123 RISCVSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, 128 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| H A D | RISCVTargetMachine.cpp | 96 std::string TuneCPU = in getSubtargetImpl() local 100 std::string Key = CPU + TuneCPU + FS; in getSubtargetImpl() 117 I = std::make_unique<RISCVSubtarget>(TargetTriple, CPU, TuneCPU, FS, ABIName, *this); in getSubtargetImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86Subtarget.cpp | 257 void X86Subtarget::initSubtargetFeatures(StringRef CPU, StringRef TuneCPU, in initSubtargetFeatures() argument 262 if (TuneCPU.empty()) in initSubtargetFeatures() 263 TuneCPU = "i586"; // FIXME: "generic" is more modern than llc tests expect. in initSubtargetFeatures() 272 ParseSubtargetFeatures(CPU, TuneCPU, FullFS); in initSubtargetFeatures() 307 StringRef TuneCPU, in initializeSubtargetDependencies() argument 309 initSubtargetFeatures(CPU, TuneCPU, FS); in initializeSubtargetDependencies() 313 X86Subtarget::X86Subtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, in X86Subtarget() argument 318 : X86GenSubtargetInfo(TT, CPU, TuneCPU, FS), in X86Subtarget() 323 InstrInfo(initializeSubtargetDependencies(CPU, TuneCPU, FS)), in X86Subtarget()
|
| H A D | X86Subtarget.h | 119 X86Subtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, 156 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS); 168 StringRef TuneCPU, 170 void initSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCSubtargetInfo.h | 79 std::string TuneCPU; // CPU being tuned for. variable 97 MCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef TuneCPU, 110 StringRef getTuneCPU() const { return TuneCPU; } in getTuneCPU() 128 void InitMCProcessorInfo(StringRef CPU, StringRef TuneCPU, StringRef FS); 133 void setDefaultFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYSubtarget.cpp | 90 CSKYSubtarget::CSKYSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, in CSKYSubtarget() argument 92 : CSKYGenSubtargetInfo(TT, CPU, TuneCPU, FS), in CSKYSubtarget() 93 FrameLowering(initializeSubtargetDependencies(TT, CPU, TuneCPU, FS)), in CSKYSubtarget()
|
| H A D | CSKYTargetMachine.cpp | 69 std::string TuneCPU = in getSubtargetImpl() local 74 std::string Key = CPU + TuneCPU + FS; in getSubtargetImpl() 81 I = std::make_unique<CSKYSubtarget>(TargetTriple, CPU, TuneCPU, FS, *this); in getSubtargetImpl()
|
| H A D | CSKYSubtarget.h | 112 CSKYSubtarget(const Triple &TT, StringRef CPU, StringRef TuneCPU, 131 StringRef TuneCPU, 135 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | TargetParser.cpp | 291 StringRef resolveTuneCPUAlias(StringRef TuneCPU, bool IsRV64) { in resolveTuneCPUAlias() argument 292 return llvm::StringSwitch<StringRef>(TuneCPU) in resolveTuneCPUAlias() 295 .Default(TuneCPU); in resolveTuneCPUAlias() 298 CPUKind parseTuneCPUKind(StringRef TuneCPU, bool IsRV64) { in parseTuneCPUKind() argument 299 TuneCPU = resolveTuneCPUAlias(TuneCPU, IsRV64); in parseTuneCPUKind() 301 return llvm::StringSwitch<CPUKind>(TuneCPU) in parseTuneCPUKind()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetSubtargetInfo.cpp | 18 const Triple &TT, StringRef CPU, StringRef TuneCPU, StringRef FS, in TargetSubtargetInfo() argument 23 : MCSubtargetInfo(TT, CPU, TuneCPU, FS, PF, PD, WPR, WL, RA, IS, OC, FP) {} in TargetSubtargetInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64Subtarget.cpp | 261 const std::string &TuneCPU, in AArch64Subtarget() argument 266 : AArch64GenSubtargetInfo(TT, CPU, TuneCPU, FS), in AArch64Subtarget() 272 InstrInfo(initializeSubtargetDependencies(FS, CPU, TuneCPU)), in AArch64Subtarget()
|
| H A D | AArch64Subtarget.h | 152 const std::string &TuneCPU, const std::string &FS, 280 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DirectXSubtarget.h | 43 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreSubtarget.h | 47 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCSubtarget.h | 49 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetOptions.h | 39 std::string TuneCPU; variable
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiSubtarget.h | 40 void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS);
|