| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCXCOFFObjectWriter.h | 52 void setCPU(StringRef TargetCPU) { CPUType = TargetCPU; } in setCPU() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetMachine.h | 103 std::string TargetCPU; variable 133 StringRef getTargetCPU() const { return TargetCPU; } in getTargetCPU()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYTargetMachine.cpp | 71 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaTargetMachine.cpp | 77 auto CPU = CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kTargetMachine.cpp | 119 auto CPU = CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchTargetMachine.cpp | 112 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetMachine.cpp | 183 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcTargetMachine.cpp | 131 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 43 TargetCPU(std::string(CPU)), TargetFS(std::string(FS)), AsmInfo(nullptr), in TargetMachine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsTargetMachine.cpp | 182 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetMachine.cpp | 254 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyTargetMachine.cpp | 260 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetMachine.cpp | 370 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| H A D | PPCAsmPrinter.cpp | 3042 StringRef TargetCPU = TM.getTargetCPU(); in doInitialization() local 3044 TargetCPU.empty() ? PPC::getNormalizedPPCTargetCPU(Target) : TargetCPU); in doInitialization()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetMachine.cpp | 268 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetMachine.cpp | 270 CPUAttr.isValid() ? CPUAttr.getValueAsString() : (StringRef)TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetMachine.cpp | 209 CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetMachine.cpp | 431 StringRef CPU = CPUAttr.isValid() ? CPUAttr.getValueAsString() : TargetCPU; in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 14915 StringRef TargetCPU = Target->getTargetOpts().CPU; in getFunctionFeatureMap() local 14930 TargetCPU = ParsedAttr.CPU; in getFunctionFeatureMap() 14936 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, in getFunctionFeatureMap() 14946 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); in getFunctionFeatureMap() 14955 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); in getFunctionFeatureMap() 14967 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); in getFunctionFeatureMap() 14972 TargetCPU = VersionStr.drop_front(sizeof("arch=") - 1); in getFunctionFeatureMap() 14975 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); in getFunctionFeatureMap() 14992 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); in getFunctionFeatureMap()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 2830 StringRef TargetCPU = getTarget().getTargetOpts().CPU; in GetCPUAndFeaturesAttributes() local 2858 TargetCPU = ParsedAttr.CPU; in GetCPUAndFeaturesAttributes() 2877 if (!TargetCPU.empty()) { in GetCPUAndFeaturesAttributes() 2878 Attrs.addAttribute("target-cpu", TargetCPU); in GetCPUAndFeaturesAttributes()
|