Home
last modified time | relevance | path

Searched refs:getCPU (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetMachine.cpp33 static StringRef getCPU(StringRef CPU) {
51 : CodeGenTargetMachineImpl(T, AVRDataLayout, TT, getCPU(CPU), FS, Options, in AVRTargetMachine()
54 SubTarget(TT, std::string(getCPU(CPU)), std::string(FS), *this) { in AVRTargetMachine()
34 static StringRef getCPU(StringRef CPU) { getCPU() function
/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp48 json::Object SimParameters({{"-mcpu", STI.getCPU()}, in getJSONSimulationParameters()
83 StringRef MCPU = STI.getCPU(); in getJSONTargetInfo()
/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp514 auto Existing = ArchSubtarget.find(std::string(STI->getCPU())); in completeHVXFeatures()
646 if (STI->getCPU().contains("t")) { in getArchVersion()
649 STI->getCPU().substr(0, STI->getCPU().size() - 1), FS); in getArchVersion()
651 ArchSubtarget[std::string(STI->getCPU())] = in getArchVersion()
682 return StringSwitch<unsigned>(STI.getCPU()) in isUnconditionalBranch()
H A DHexagonMCDuplexInfo.cpp636 if (STI.getCPU().equals_insensitive("hexagonv5") || in isOrderedDuplexPair()
637 STI.getCPU().equals_insensitive("hexagonv55") || in isOrderedDuplexPair()
638 STI.getCPU().equals_insensitive("hexagonv60")) { in isOrderedDuplexPair()
/llvm-project/clang/lib/Basic/Targets/
H A DMips.h180 const std::string &getCPU() const { return CPU; }
186 CPU = getCPU(); in initFeatureMap()
179 const std::string &getCPU() const { return CPU; } getCPU() function
H A DLoongArch.h68 StringRef getCPU() const { return CPU; }
56 StringRef getCPU() const { return CPU; } getCPU() function
H A DLoongArch.cpp202 StringRef ArchName = getCPU(); in getTargetDefines()
H A DMips.cpp62 return llvm::StringSwitch<unsigned>(getCPU()) in getISARev()
/llvm-project/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp179 AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(STI.getCPU()); in computeWaitCnt()
242 AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(STI.getCPU()); in generateWaitCntInfo()
/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUTargetStreamer.cpp368 IsaVersion IVersion = getIsaVersion(STI.getCPU()); in EmitAmdhsaKernelDescriptor()
705 return getElfMach(STI.getCPU()); in getEFlagsAMDPAL()
757 EFlagsV3 |= getElfMach(STI.getCPU()); in getEFlagsV4()
773 EFlagsV4 |= getElfMach(STI.getCPU()); in getEFlagsV6()
814 switch (parseArchAMDGCN(STI.getCPU())) { in EmitAMDKernelCodeT()
H A DAMDGPUMCKernelDescriptor.cpp23 IsaVersion Version = getIsaVersion(STI->getCPU()); in getDefaultAmdhsaKernelDescriptor()
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCheckerImpl.h58 StringRef getCPU() const { return CPU; } in getCPU() function
H A DRuntimeDyldChecker.cpp300 auto TI = getTargetInfo(TT, Checker.getCPU(), Checker.getFeatures()); in evalDecodeOperand()
739 auto TI = getTargetInfo(TT, Checker.getCPU(), Checker.getFeatures()); in decodeInst()
/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp
H A DDisassembler.h118 StringRef getCPU() const { return CPU; } in getCPU() function
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h81 const std::string &getCPU() const { return CPU; } in getCPU() function
/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp900 auto Version = getIsaVersion(STI.getCPU()); in getWavefrontSize()
912 Processor = STI.getCPU().str(); in getLocalMemorySize()
1032 IsaVersion Version = getIsaVersion(STI->getCPU()); in getMinNumSGPRs()
1045 IsaVersion Version = getIsaVersion(STI->getCPU()); in getMaxNumSGPRs()
1055 IsaVersion Version = getIsaVersion(STI->getCPU()); in getMaxNumSGPRs()
1066 IsaVersion Version = getIsaVersion(STI->getCPU()); in getNumExtraSGPRs()
1085 IsaVersion Version = getIsaVersion(STI->getCPU()); in getNumExtraSGPRs()
1103 IsaVersion Version = getIsaVersion(STI->getCPU());
1281 IsaVersion Version = getIsaVersion(STI->getCPU());
2136 auto Version = getIsaVersion(STI.getCPU()); in isGFX9Plus()
[all...]
/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp603 : MipsAsmBackend(T, MRI, STI.getTargetTriple(), STI.getCPU(), false) {} in createMipsAsmBackend()
622 STI.getCPU(), Options);
623 return new MipsAsmBackend(T, MRI, STI.getTargetTriple(), STI.getCPU(),
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMTargetStreamer.cpp132 if (STI.getCPU() == "xscale") in getArchForCPU()
179 const StringRef CPUString = STI.getCPU(); in emitTargetAttributes()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURemoveIncompatibleFunctions.cpp166 StringRef GPUName = ST->getCPU(); in checkFunction()
H A DAMDGPUMCInstLower.cpp285 if (!MI->isPseudo() && STI.isCPUStringValid(STI.getCPU()) && in emitInstruction()
/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h111 StringRef getCPU() const { return CPU; }
109 StringRef getCPU() const { return CPU; } getCPU() function
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SIMDInstrOpt.cpp223 std::string Subtarget = std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldReplaceInst()
294 std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldExitEarly()
/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.cpp180 StringRef CPU = STI.getCPU(); in emitTargetAttributes()
/llvm-project/llvm/bindings/ocaml/target/
H A Dllvm_target.mli200 [llvm::TargetMachine::getCPU]. *)

12