Home
last modified time | relevance | path

Searched refs:getOptLevel (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp186 if (TM->getOptLevel() != CodeGenOpt::None) in AArch64PassConfig()
223 if (TM->getOptLevel() != CodeGenOpt::None && EnableAtomicTidy) in addIRPasses()
229 if (TM->getOptLevel() != CodeGenOpt::None) in addIRPasses()
232 if (TM->getOptLevel() == CodeGenOpt::Aggressive && EnableGEPOpt) { in addIRPasses()
250 if (TM->getOptLevel() != CodeGenOpt::None && EnablePromoteConstant) in addPreISel()
255 if ((TM->getOptLevel() != CodeGenOpt::None && in addPreISel()
258 bool OnlyOptimizeForSize = (TM->getOptLevel() < CodeGenOpt::Aggressive) && in addPreISel()
263 if (TM->getOptLevel() != CodeGenOpt::None) in addPreISel()
270 addPass(createAArch64ISelDag(getAArch64TargetMachine(), getOptLevel())); in addInstSelector()
275 getOptLevel() != CodeGenOpt::None) in addInstSelector()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp119 addPass(createSystemZISelDag(getSystemZTargetMachine(), getOptLevel())); in addInstSelector()
121 if (getOptLevel() != CodeGenOpt::None) in addInstSelector()
128 if (getOptLevel() != CodeGenOpt::None && in addPreSched2()
138 if (getOptLevel() != CodeGenOpt::None) in addPreEmitPass()
164 if (getOptLevel() != CodeGenOpt::None) in addPreEmitPass()
171 if (getOptLevel() != CodeGenOpt::None) { in addPreEmitPass()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp177 bool NoOpt = (TM->getOptLevel() == CodeGenOpt::None); in HexagonPassConfig()
210 bool NoOpt = (getOptLevel() == CodeGenOpt::None); in addIRPasses()
224 bool NoOpt = (getOptLevel() == CodeGenOpt::None); in addInstSelector()
229 addPass(createHexagonISelDag(TM, getOptLevel())); in addInstSelector()
256 if (getOptLevel() != CodeGenOpt::None) { in addPreRegAlloc()
265 if (getOptLevel() != CodeGenOpt::None) in addPostRegAlloc()
272 if (getOptLevel() != CodeGenOpt::None) in addPreSched2()
278 bool NoOpt = (getOptLevel() == CodeGenOpt::None); in addPreEmitPass()
DHexagonFrameLowering.cpp726 if (MF.getTarget().getOptLevel() == CodeGenOpt::None) in hasFP()
837 bool NoOpt = MF.getTarget().getOptLevel() == CodeGenOpt::None; in getFrameIndexReference()
1431 if (MF.getTarget().getOptLevel() > CodeGenOpt::Default) in shouldInlineCSR()
DHexagonCopyToCombine.cpp410 MF.getTarget().getOptLevel() <= CodeGenOpt::Default; in runOnMachineFunction()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp269 computeFSAdditions(FS, getOptLevel(), getTargetTriple()), *this); in getSubtargetImpl()
305 if (TM->getOptLevel() != CodeGenOpt::None) in addIRPasses()
312 getOptLevel() != CodeGenOpt::None; in addIRPasses()
318 if (TM->getOptLevel() == CodeGenOpt::Aggressive && EnableGEPOpt) { in addIRPasses()
335 if (!DisablePreIncPrep && getOptLevel() != CodeGenOpt::None) in addPreISel()
338 if (!DisableCTRLoops && getOptLevel() != CodeGenOpt::None) in addPreISel()
358 if (!DisableCTRLoops && getOptLevel() != CodeGenOpt::None) in addInstSelector()
392 if (getOptLevel() != CodeGenOpt::None) in addPreSched2()
397 if (getOptLevel() != CodeGenOpt::None) in addPreEmitPass()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.cpp340 if (TM->getOptLevel() != CodeGenOpt::None && EnableAtomicTidy) in addIRPasses()
349 if (TM->getOptLevel() != CodeGenOpt::None) in addIRPasses()
354 if ((TM->getOptLevel() != CodeGenOpt::None && in addPreISel()
362 bool OnlyOptimizeForSize = (TM->getOptLevel() < CodeGenOpt::Aggressive) && in addPreISel()
377 addPass(createARMISelDag(getARMTargetMachine(), getOptLevel())); in addInstSelector()
382 if (getOptLevel() != CodeGenOpt::None) { in addPreRegAlloc()
394 if (getOptLevel() != CodeGenOpt::None) { in addPreSched2()
405 if (getOptLevel() != CodeGenOpt::None) { in addPreSched2()
427 if (getOptLevel() != CodeGenOpt::None) in addPreEmitPass()
DARMAsmPrinter.cpp123 else if (TM.getOptLevel() == CodeGenOpt::Aggressive) in runOnMachineFunction()
126 else if (TM.getOptLevel() > CodeGenOpt::None) in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DPasses.cpp411 if (getOptLevel() != CodeGenOpt::None && !DisableLSR) { in addIRPasses()
426 if (getOptLevel() != CodeGenOpt::None && !DisableConstantHoisting) in addIRPasses()
429 if (getOptLevel() != CodeGenOpt::None && !DisablePartialLibcallInlining) in addIRPasses()
469 if (getOptLevel() != CodeGenOpt::None && !DisableCGP) in addCodeGenPrepare()
537 if (getOptLevel() != CodeGenOpt::None) { in addMachinePasses()
559 if (getOptLevel() != CodeGenOpt::None) in addMachinePasses()
565 if (getOptLevel() != CodeGenOpt::None) in addMachinePasses()
580 if (getOptLevel() != CodeGenOpt::None && in addMachinePasses()
595 if (getOptLevel() != CodeGenOpt::None) in addMachinePasses()
652 case cl::BOU_UNSET: return getOptLevel() != CodeGenOpt::None; in getOptimizeRegAlloc()
DLLVMTargetMachine.cpp134 (TM->getOptLevel() == CodeGenOpt::None && in addPassesToGenerateCode()
DPostRASchedulerList.cpp285 if (!enablePostRAScheduler(Fn.getSubtarget(), PassConfig->getOptLevel(), in runOnMachineFunction()
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp229 addPass(createX86ISelDag(getX86TargetMachine(), getOptLevel())); in addInstSelector()
233 getOptLevel() != CodeGenOpt::None) in addInstSelector()
257 if (getOptLevel() != CodeGenOpt::None) in addPreRegAlloc()
270 if (getOptLevel() != CodeGenOpt::None) in addPreEmitPass()
276 if (getOptLevel() != CodeGenOpt::None) { in addPreEmitPass()
/external/llvm/lib/Target/
DTargetMachine.cpp141 CodeGenOpt::Level TargetMachine::getOptLevel() const { in getOptLevel() function in TargetMachine
144 return CodeGenInfo->getOptLevel(); in getOptLevel()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp125 CodeGenOpt::Level getOptLevel();
143 EB.setOptLevel(getOptLevel()); in runOrcLazyJIT()
Dlli.cpp367 CodeGenOpt::Level getOptLevel() { in getOptLevel() function
466 builder.setOptLevel(getOptLevel()); in main()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp163 if (getOptLevel() == CodeGenOpt::Aggressive) in addEarlyCSEOrGVNPass()
234 addPass(createNVPTXISelDag(getNVPTXTargetMachine(), getOptLevel())); in addInstSelector()
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h44 CodeGenOpt::Level getOptLevel() const { return OptLevel; } in getOptLevel() function
/external/llvm/lib/Target/MSP430/
DMSP430TargetMachine.cpp65 addPass(createMSP430ISelDag(getMSP430TargetMachine(), getOptLevel())); in addInstSelector()
/external/llvm/include/llvm/CodeGen/
DPasses.h140 CodeGenOpt::Level getOptLevel() const { return TM->getOptLevel(); }
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.cpp302 if (getOptLevel() > CodeGenOpt::None) { in addPreRegAlloc()
306 if (getOptLevel() > CodeGenOpt::None && ST.loadStoreOptEnabled()) { in addPreRegAlloc()
/external/llvm/lib/Target/XCore/
DXCoreTargetMachine.cpp74 addPass(createXCoreISelDag(getXCoreTargetMachine(), getOptLevel())); in addInstSelector()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp150 createWebAssemblyISelDag(getWebAssemblyTargetMachine(), getOptLevel())); in addInstSelector()
/external/llvm/include/llvm/Target/
DTargetMachine.h188 CodeGenOpt::Level getOptLevel() const;
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp231 if (getOptLevel() == CodeGenOpt::None) in addPreRegAlloc()
DMipsDelaySlotFiller.cpp583 if (!DisableDelaySlotFiller && (TM.getOptLevel() != CodeGenOpt::None)) { in runOnMachineBasicBlock()

12