Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRTargetMachine.cpp34 static StringRef getCPU(StringRef CPU) { in getCPU() function
52 : CodeGenTargetMachineImpl(T, AVRDataLayout, TT, getCPU(CPU), FS, Options, in AVRTargetMachine()
55 SubTarget(TT, std::string(getCPU(CPU)), std::string(FS), *this) { in AVRTargetMachine()
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp605 : MipsAsmBackend(T, MRI, STI.getTargetTriple(), STI.getCPU(), false) {} in WindowsMipsAsmBackend()
624 STI.getCPU(), Options); in createMipsAsmBackend()
625 return new MipsAsmBackend(T, MRI, STI.getTargetTriple(), STI.getCPU(), in createMipsAsmBackend()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp528 auto Existing = ArchSubtarget.find(std::string(STI->getCPU())); in getArchSubtarget()
660 if (STI->getCPU().contains("t")) { in addArchSubtarget()
662 STI->getCPU().drop_back(), FS); in addArchSubtarget()
664 ArchSubtarget[std::string(STI->getCPU())] = in addArchSubtarget()
695 return StringSwitch<unsigned>(STI.getCPU()) in GetELFFlags()
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()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DMips.h180 const std::string &getCPU() const { return CPU; } in getCPU() function
186 CPU = getCPU(); in initFeatureMap()
H A DLoongArch.h73 StringRef getCPU() const { return CPU; } in getCPU() function
H A DMips.cpp70 return llvm::StringSwitch<unsigned>(getCPU()) in getISARev()
H A DLoongArch.cpp214 StringRef ArchName = getCPU(); in getTargetDefines()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp180 AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(STI.getCPU()); in computeWaitCnt()
243 AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(STI.getCPU()); in generateWaitCntInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUTargetStreamer.cpp367 IsaVersion IVersion = getIsaVersion(STI.getCPU()); in EmitAmdhsaKernelDescriptor()
714 return getElfMach(STI.getCPU()); in getEFlagsR600()
766 EFlagsV3 |= getElfMach(STI.getCPU()); in getEFlagsV3()
782 EFlagsV4 |= getElfMach(STI.getCPU()); in getEFlagsV4()
823 switch (parseArchAMDGCN(STI.getCPU())) { in getEFlagsV6()
H A DAMDGPUMCKernelDescriptor.cpp23 IsaVersion Version = getIsaVersion(STI->getCPU()); in getDefaultAmdhsaKernelDescriptor()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.h118 StringRef getCPU() const { return CPU; } in getCPU() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h82 const std::string &getCPU() const { return CPU; } in getCPU() function
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMTargetStreamer.cpp136 if (STI.getCPU() == "xscale") in getArchForCPU()
183 const StringRef CPUString = STI.getCPU(); in emitTargetAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURemoveIncompatibleFunctions.cpp166 StringRef GPUName = ST->getCPU(); in checkFunction()
H A DAMDGPUPreloadKernArgProlog.cpp138 AMDGPU::IsaVersion IV = AMDGPU::getIsaVersion(ST.getCPU()); in createBackCompatBlock()
H A DAMDGPUMCInstLower.cpp384 if (!MI->isPseudo() && STI.isCPUStringValid(STI.getCPU()) && in emitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1063 auto Version = getIsaVersion(STI.getCPU()); in toString()
1074 Processor = STI.getCPU().str(); in toString()
1190 IsaVersion Version = getIsaVersion(STI->getCPU()); in getSGPRAllocGranule()
1201 IsaVersion Version = getIsaVersion(STI->getCPU()); in getTotalNumSGPRs()
1211 IsaVersion Version = getIsaVersion(STI->getCPU()); in getAddressableNumSGPRs()
1222 IsaVersion Version = getIsaVersion(STI->getCPU()); in getMinNumSGPRs()
1241 IsaVersion Version = getIsaVersion(STI->getCPU()); in getMaxNumSGPRs()
1259 IsaVersion Version = getIsaVersion(STI->getCPU()); in getNumExtraSGPRs()
1465 IsaVersion Version = getIsaVersion(STI->getCPU()); in initDefaultAMDKernelCodeT()
2327 auto Version = getIsaVersion(STI.getCPU()); in getNSAMaxSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kAsmBackend.cpp51 Allows32BitBranch(llvm::StringSwitch<bool>(STI.getCPU()) in M68kAsmBackend()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h112 StringRef getCPU() const { return CPU; } in getCPU() function
H A DMCSchedule.h444 llvm::StringRef CPU = STI.getCPU(); in computeInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SIMDInstrOpt.cpp221 std::string Subtarget = std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldReplaceInst()
292 std::string(SchedModel.getSubtargetInfo()->getCPU()); in shouldExitEarly()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java231 out.printf("%3s %-41s ", data.getCPU(), in consumeProbeData()
240 data.getCPU(), probe.getID(), in consumeProbeData()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.cpp180 StringRef CPU = STI.getCPU(); in emitTargetAttributes()

12