reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
  123   CodeGenOpt::Level OptLevel = CodeGenOpt::None;
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2909                             TM.getOptLevel() != CodeGenOpt::None;
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1393   if (Asm->TM.getOptLevel() != CodeGenOpt::None &&
lib/CodeGen/GlobalISel/CSEInfo.cpp
   68   if (Level == CodeGenOpt::None)
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1292     if (MF->getTarget().getOptLevel() == CodeGenOpt::None)
 2250   EnableOpts = TM.getOptLevel() != CodeGenOpt::None && !skipFunction(F);
lib/CodeGen/PrologEpilogInserter.cpp
 1027   if (MF.getTarget().getOptLevel() != CodeGenOpt::None &&
 1037       MF.getTarget().getOptLevel() != CodeGenOpt::None &&
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 1716   if (OptLevel == CodeGenOpt::None)
13933   if (OptLevel == CodeGenOpt::None || !LD->isSimple())
14100   if (OptLevel != CodeGenOpt::None && LD->isUnindexed()) {
15486   if (OptLevel == CodeGenOpt::None || !EnableStoreMerging)
16155   if (OptLevel != CodeGenOpt::None && ST->isUnindexed()) {
16244       if (OptLevel != CodeGenOpt::None && ST1->hasOneUse() &&
16414   if (OptLevel == CodeGenOpt::None)
20712   if (OptLevel == CodeGenOpt::None)
20862   if (OptLevel == CodeGenOpt::None)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 7671   if (NLoc && OptLevel == CodeGenOpt::None && OLoc.getDebugLoc() != NLoc) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1607         TM.getOptLevel() == CodeGenOpt::None)
 2234     if (Succ0MBB != NextBlock(BrMBB) || TM.getOptLevel() == CodeGenOpt::None)
 6570     if (TM.getOptLevel() == CodeGenOpt::None)
10110   if (TM.getOptLevel() != CodeGenOpt::None) {
10448       TM.getOptLevel() == CodeGenOpt::None ||
10571     if (NumClusters > 3 && TM.getOptLevel() != CodeGenOpt::None &&
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  225       if (NewOptLevel == CodeGenOpt::None) {
  260     if (OptLevel == CodeGenOpt::None ||
  334   if (OptLevel != CodeGenOpt::None)
  341   if (UseMBPI && OptLevel != CodeGenOpt::None)
  431   if (OptLevel != CodeGenOpt::None && skipFunction(Fn))
  432     NewOptLevel = CodeGenOpt::None;
  460   if (UseMBPI && OptLevel != CodeGenOpt::None)
  465   if (OptLevel != CodeGenOpt::None)
  478   if (OptLevel != CodeGenOpt::None && TLI->supportSplitCSR(MF)) {
  959   if (OptLevel != CodeGenOpt::None)
 1401     if (OptLevel != CodeGenOpt::None) {
 2145   if (OptLevel == CodeGenOpt::None) return false;
 2154   if (OptLevel == CodeGenOpt::None) return false;
lib/CodeGen/SwitchLoweringUtils.cpp
   93   if (TM->getOptLevel() == CodeGenOpt::None)
  276   if (TM->getOptLevel() == CodeGenOpt::None)
lib/CodeGen/TargetPassConfig.cpp
  640   if (getOptLevel() != CodeGenOpt::None && !DisableLSR) {
  646   if (getOptLevel() != CodeGenOpt::None) {
  666   if (getOptLevel() != CodeGenOpt::None && !DisableConstantHoisting)
  669   if (getOptLevel() != CodeGenOpt::None && !DisablePartialLibcallInlining)
  730   if (getOptLevel() != CodeGenOpt::None && !DisableCGP)
  773   else if (TM->getOptLevel() == CodeGenOpt::None && TM->getO0WantsFastISel())
  889   if (getOptLevel() != CodeGenOpt::None) {
  914   if (getOptLevel() != CodeGenOpt::None) {
  925   if (getOptLevel() != CodeGenOpt::None)
  940   if (getOptLevel() != CodeGenOpt::None &&
  955   if (getOptLevel() != CodeGenOpt::None)
  976   if (TM->Options.EnableMachineOutliner && getOptLevel() != CodeGenOpt::None &&
 1036   case cl::BOU_UNSET: return getOptLevel() != CodeGenOpt::None;
lib/CodeGen/TwoAddressInstructionPass.cpp
  585   if (OptLevel == CodeGenOpt::None)
 1273   if (OptLevel == CodeGenOpt::None)
 1683     OptLevel = CodeGenOpt::None;
lib/ExecutionEngine/TargetSelect.cpp
   89       OptLevel == CodeGenOpt::None) {
lib/LTO/LTOCodeGenerator.cpp
  205     CGOptLevel = CodeGenOpt::None;
lib/Target/AArch64/AArch64FastISel.cpp
 5083   assert(TM.getOptLevel() == CodeGenOpt::None &&
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3640   if (TM.getOptLevel() == CodeGenOpt::None)
lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  150       MF.getTarget().getOptLevel() != CodeGenOpt::None && !skipFunction(F);
lib/Target/AArch64/AArch64TargetMachine.cpp
  352     if (TM.getOptLevel() != CodeGenOpt::None)
  426   if (TM->getOptLevel() != CodeGenOpt::None && EnableAtomicTidy)
  433   if (TM->getOptLevel() != CodeGenOpt::None) {
  443   if (TM->getOptLevel() != CodeGenOpt::None) {
  462                                         CodeGenOpt::None));
  473   if (TM->getOptLevel() != CodeGenOpt::None && EnablePromoteConstant)
  478   if ((TM->getOptLevel() != CodeGenOpt::None &&
  508       getOptLevel() != CodeGenOpt::None)
  520   bool IsOptNone = getOptLevel() == CodeGenOpt::None;
  557   if (TM->getOptLevel() != CodeGenOpt::None)
  564   if (TM->getOptLevel() != CodeGenOpt::None && EnableDeadRegisterElimination)
  568   if (TM->getOptLevel() != CodeGenOpt::None && EnableAdvSIMDScalar) {
  578   if (TM->getOptLevel() != CodeGenOpt::None && EnableRedundantCopyElimination)
  581   if (TM->getOptLevel() != CodeGenOpt::None && usingDefaultRegAlloc())
  590   if (TM->getOptLevel() != CodeGenOpt::None) {
  602   if (TM->getOptLevel() != CodeGenOpt::None) {
  629   if (TM->getOptLevel() != CodeGenOpt::None && EnableCompressJumpTables)
  632   if (TM->getOptLevel() != CodeGenOpt::None && EnableCollectLOH &&
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  396   bool EnableOpt = getOptLevel() > CodeGenOpt::None;
  695   if (TM.getOptLevel() > CodeGenOpt::None) {
  734   if (getOptLevel() != CodeGenOpt::None && EnableScalarIRPasses)
  965   if (getOptLevel() > CodeGenOpt::None)
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  752   if (MF.getTarget().getOptLevel() > CodeGenOpt::None && EnableM0Merge)
lib/Target/AMDGPU/SIISelLowering.cpp
 1880   if (TM.getOptLevel() == CodeGenOpt::None)
 6822     if (getTargetMachine().getOptLevel() > CodeGenOpt::None) {
 9935   if (getTargetMachine().getOptLevel() == CodeGenOpt::None)
lib/Target/ARM/ARMAsmPrinter.cpp
  135   else if (TM.getOptLevel() > CodeGenOpt::None)
lib/Target/ARM/ARMISelDAGToDAG.cpp
  433   if (OptLevel == CodeGenOpt::None)
lib/Target/ARM/ARMTargetMachine.cpp
  326     if (TM.getOptLevel() != CodeGenOpt::None) {
  408   if (TM->getOptLevel() != CodeGenOpt::None && EnableAtomicTidy)
  422   if (TM->getOptLevel() != CodeGenOpt::None)
  431   if (getOptLevel() != CodeGenOpt::None)
  437   if ((TM->getOptLevel() != CodeGenOpt::None &&
  456   if (TM->getOptLevel() != CodeGenOpt::None) {
  490   if (getOptLevel() != CodeGenOpt::None) {
  502   if (getOptLevel() != CodeGenOpt::None) {
  514   if (getOptLevel() != CodeGenOpt::None) {
  537   if (getOptLevel() != CodeGenOpt::None)
lib/Target/BPF/BPFTargetMachine.cpp
  128   if (getOptLevel() != CodeGenOpt::None)
lib/Target/Hexagon/HexagonFrameLowering.cpp
  378            MF.getTarget().getOptLevel() == CodeGenOpt::None;
 1006   if (MF.getTarget().getOptLevel() == CodeGenOpt::None)
 1118   bool NoOpt = MF.getTarget().getOptLevel() == CodeGenOpt::None;
lib/Target/Hexagon/HexagonSubtarget.cpp
  312   if (OptLevel != CodeGenOpt::None)
lib/Target/Hexagon/HexagonTargetMachine.cpp
  220           (HexagonNoOpt ? CodeGenOpt::None : OL)),
  304   bool NoOpt = (getOptLevel() == CodeGenOpt::None);
  328   bool NoOpt = (getOptLevel() == CodeGenOpt::None);
  366   if (getOptLevel() != CodeGenOpt::None) {
  381   if (getOptLevel() != CodeGenOpt::None) {
  393   if (getOptLevel() != CodeGenOpt::None)
  399   bool NoOpt = (getOptLevel() == CodeGenOpt::None);
lib/Target/Mips/MipsDelaySlotFiller.cpp
  608     if (!DisableDelaySlotFiller && (TM->getOptLevel() != CodeGenOpt::None) &&
lib/Target/NVPTX/NVPTXISelLowering.cpp
 4360     if (OptLevel==CodeGenOpt::None || VT != MVT::i32 ||
lib/Target/NVPTX/NVPTXTargetMachine.cpp
  269   if (getOptLevel() != CodeGenOpt::None)
  277   if (getOptLevel() != CodeGenOpt::None) {
  298   if (getOptLevel() != CodeGenOpt::None)
  322   if (getOptLevel() != CodeGenOpt::None) {
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 3629   if (TM.getOptLevel() == CodeGenOpt::None || !TM.isPPC64())
 5564   if (TM.getOptLevel() == CodeGenOpt::None)
lib/Target/PowerPC/PPCISelLowering.cpp
14823   if (getTargetMachine().getOptLevel() != CodeGenOpt::None) {
lib/Target/PowerPC/PPCTargetMachine.cpp
  177   if (OL != CodeGenOpt::None) {
  367     if (TM.getOptLevel() != CodeGenOpt::None)
  400   if (TM->getOptLevel() != CodeGenOpt::None)
  407                         getOptLevel() != CodeGenOpt::None;
  430   if (!DisablePreIncPrep && getOptLevel() != CodeGenOpt::None)
  433   if (!DisableCTRLoops && getOptLevel() != CodeGenOpt::None)
  453   if (!DisableCTRLoops && getOptLevel() != CodeGenOpt::None)
  464   if (EnableBranchCoalescing && getOptLevel() != CodeGenOpt::None)
  473   if (ReduceCRLogical && getOptLevel() != CodeGenOpt::None)
  484   if (getOptLevel() != CodeGenOpt::None) {
  502   if (getOptLevel() != CodeGenOpt::None)
  507   if (getOptLevel() != CodeGenOpt::None) {
  522   if (getOptLevel() != CodeGenOpt::None)
lib/Target/SystemZ/SystemZTargetMachine.cpp
  195   if (getOptLevel() != CodeGenOpt::None) {
  206  if (getOptLevel() != CodeGenOpt::None)
  224   if (getOptLevel() == CodeGenOpt::None)
  229   if (getOptLevel() != CodeGenOpt::None)
  237   if (getOptLevel() != CodeGenOpt::None)
  263   if (getOptLevel() != CodeGenOpt::None)
  270   if (getOptLevel() != CodeGenOpt::None)
lib/Target/TargetMachineC.cpp
  136       OL = CodeGenOpt::None;
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  359   if (getOptLevel() != CodeGenOpt::None)
  444   if (getOptLevel() != CodeGenOpt::None) {
  481   if (getOptLevel() != CodeGenOpt::None)
lib/Target/X86/X86ISelDAGToDAG.cpp
  573   if (OptLevel == CodeGenOpt::None) return false;
  942     if (OptLevel != CodeGenOpt::None &&
 1156   if (TM.getOptLevel() == CodeGenOpt::None)
lib/Target/X86/X86TargetMachine.cpp
  411   if (TM->getOptLevel() != CodeGenOpt::None)
  436       getOptLevel() != CodeGenOpt::None)
  482   if (getOptLevel() != CodeGenOpt::None) {
  506   if (getOptLevel() != CodeGenOpt::None) {
  516   if (getOptLevel() != CodeGenOpt::None) {
tools/clang/lib/CodeGen/BackendUtil.cpp
  384     return CodeGenOpt::None;
tools/clang/lib/Frontend/CompilerInvocation.cpp
  124   unsigned DefaultOpt = llvm::CodeGenOpt::None;
  130       return llvm::CodeGenOpt::None;
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
   62         case '0': OLvl = CodeGenOpt::None; break;
  192   RunFuncOnInputs(f, (OLvl == CodeGenOpt::None) ? UnoptArrays : OptArrays);
  213   CreateAndRunJITFunc(IR, CodeGenOpt::None);
tools/gold/gold-plugin.cpp
  815     return CodeGenOpt::None;
tools/llc/llc.cpp
  443   case '0': OLvl = CodeGenOpt::None; break;
tools/lli/lli.cpp
  338   case '0': return CodeGenOpt::None;
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
  151   case '0': OLvl = CodeGenOpt::None; break;
tools/llvm-lto2/llvm-lto2.cpp
  251     Conf.CGOptLevel = CodeGenOpt::None;
tools/lto/lto.cpp
  485       CodeGen->setCodeGenOptLevel(CodeGenOpt::None);
tools/opt/opt.cpp
  459   return CodeGenOpt::None;
unittests/CodeGen/AArch64SelectionDAGTest.cpp
   65     DAG = std::make_unique<SelectionDAG>(*TM, CodeGenOpt::None);
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
  277       : TrivialModuleBuilder(HostTriple), OptLevel(CodeGenOpt::None),
  312                  .setOptLevel(CodeGenOpt::None)
unittests/ExecutionEngine/Orc/JITTargetMachineBuilderTest.cpp
   31   JTMB.setCodeGenOptLevel(CodeGenOpt::None);