Home
last modified time | relevance | path

Searched refs:OL (Results 1 – 25 of 104) sorted by relevance

12345

/openbsd-src/gnu/llvm/clang/tools/clang-fuzzer/handle-llvm/
H A Dhandle_llvm.cpp77 llvm::OptimizationLevel OL; in RunOptimizationPasses() local
80 OL = OptimizationLevel::O0; in RunOptimizationPasses()
83 OL = OptimizationLevel::O1; in RunOptimizationPasses()
86 OL = OptimizationLevel::O2; in RunOptimizationPasses()
89 OL = OptimizationLevel::O3; in RunOptimizationPasses()
107 if (OL == OptimizationLevel::O0) in RunOptimizationPasses()
108 MPM = PB.buildO0DefaultPipeline(OL); in RunOptimizationPasses()
110 MPM = PB.buildPerModuleDefaultPipeline(OL); in RunOptimizationPasses()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp104 CodeGenOpt::Level OL, bool JIT, in SparcTargetMachine() argument
110 OL), in SparcTargetMachine()
214 CodeGenOpt::Level OL, bool JIT) in SparcV8TargetMachine() argument
215 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcV8TargetMachine()
224 CodeGenOpt::Level OL, bool JIT) in SparcV9TargetMachine() argument
225 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in SparcV9TargetMachine()
234 CodeGenOpt::Level OL, bool JIT) in SparcelTargetMachine() argument
235 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcelTargetMachine()
H A DSparcTargetMachine.h33 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
60 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
73 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
84 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/
H A DXtensaTargetMachine.cpp52 CodeGenOpt::Level OL, bool JIT, in XtensaTargetMachine() argument
56 getEffectiveCodeModel(CM, CodeModel::Small), OL), in XtensaTargetMachine()
66 CodeGenOpt::Level OL, bool JIT) in XtensaTargetMachine() argument
67 : XtensaTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in XtensaTargetMachine()
H A DXtensaTargetMachine.h30 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
36 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/openbsd-src/gnu/llvm/llvm/lib/Target/
H A DTargetMachineC.cpp130 CodeGenOpt::Level OL; in LLVMCreateTargetMachine() local
133 OL = CodeGenOpt::None; in LLVMCreateTargetMachine()
136 OL = CodeGenOpt::Less; in LLVMCreateTargetMachine()
139 OL = CodeGenOpt::Aggressive; in LLVMCreateTargetMachine()
142 OL = CodeGenOpt::Default; in LLVMCreateTargetMachine()
148 OL, JIT)); in LLVMCreateTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp127 CodeGenOpt::Level OL, bool JIT, in MipsTargetMachine() argument
131 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MipsTargetMachine()
156 CodeGenOpt::Level OL, bool JIT) in MipsebTargetMachine() argument
157 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in MipsebTargetMachine()
166 CodeGenOpt::Level OL, bool JIT) in MipselTargetMachine() argument
167 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in MipselTargetMachine()
H A DMipsTargetMachine.h43 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
92 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
105 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
H A DMips16ISelDAGToDAG.h22 explicit Mips16DAGToDAGISel(MipsTargetMachine &TM, CodeGenOpt::Level OL) in Mips16DAGToDAGISel() argument
23 : MipsDAGToDAGISel(TM, OL) {} in Mips16DAGToDAGISel()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.cpp119 CodeGenOpt::Level OL, bool is64bit) in NVPTXTargetMachine() argument
124 getEffectiveCodeModel(CM, CodeModel::Small), OL), in NVPTXTargetMachine()
147 CodeGenOpt::Level OL, bool JIT) in NVPTXTargetMachine32() argument
148 : NVPTXTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, false) {} in NVPTXTargetMachine32()
157 CodeGenOpt::Level OL, bool JIT) in NVPTXTargetMachine64() argument
158 : NVPTXTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, true) {} in NVPTXTargetMachine64()
H A DNVPTXTargetMachine.h89 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
100 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h33 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
84 CodeGenOpt::Level OL, bool JIT);
97 CodeGenOpt::Level OL, bool JIT);
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetMachine.h45 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
95 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
106 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
H A DARMTargetMachine.cpp223 CodeGenOpt::Level OL, bool isLittle) in ARMBaseTargetMachine() argument
226 getEffectiveCodeModel(CM, CodeModel::Small), OL), in ARMBaseTargetMachine()
330 CodeGenOpt::Level OL, bool JIT) in ARMLETargetMachine() argument
331 : ARMBaseTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, true) {} in ARMLETargetMachine()
338 CodeGenOpt::Level OL, bool JIT) in ARMBETargetMachine() argument
339 : ARMBaseTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, false) {} in ARMBETargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.cpp183 static std::string computeFSAdditions(StringRef FS, CodeGenOpt::Level OL, in computeFSAdditions() argument
195 if (OL >= CodeGenOpt::Default) { in computeFSAdditions()
202 if (OL != CodeGenOpt::None) { in computeFSAdditions()
331 CodeGenOpt::Level OL, bool JIT) in PPCTargetMachine() argument
333 computeFSAdditions(FS, OL, TT), Options, in PPCTargetMachine()
335 getEffectivePPCCodeModel(TT, CM, JIT), OL), in PPCTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430TargetMachine.cpp47 CodeGenOpt::Level OL, bool JIT) in MSP430TargetMachine() argument
50 getEffectiveCodeModel(CM, CodeModel::Small), OL), in MSP430TargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCTargetMachine.cpp35 CodeGenOpt::Level OL, bool JIT) in ARCTargetMachine() argument
40 getEffectiveCodeModel(CM, CodeModel::Small), OL), in ARCTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTOBackend.cpp295 OptimizationLevel OL; in runNewPMPasses() local
301 OL = OptimizationLevel::O0; in runNewPMPasses()
304 OL = OptimizationLevel::O1; in runNewPMPasses()
307 OL = OptimizationLevel::O2; in runNewPMPasses()
310 OL = OptimizationLevel::O3; in runNewPMPasses()
321 MPM.addPass(PB.buildPerModuleDefaultPipeline(OL)); in runNewPMPasses()
323 MPM.addPass(PB.buildThinLTODefaultPipeline(OL, ImportSummary)); in runNewPMPasses()
325 MPM.addPass(PB.buildLTODefaultPipeline(OL, ExportSummary)); in runNewPMPasses()
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRTargetMachine.cpp52 CodeGenOpt::Level OL, bool JIT) in AVRTargetMachine() argument
55 getEffectiveCodeModel(CM, CodeModel::Small), OL), in AVRTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.cpp50 CodeGenOpt::Level OL, bool JIT) in XCoreTargetMachine() argument
54 getEffectiveXCoreCodeModel(CM), OL), in XCoreTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600TargetMachine.cpp56 CodeGenOpt::Level OL, bool JIT) in R600TargetMachine() argument
57 : AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) { in R600TargetMachine()
H A DAMDGPUTargetMachine.h44 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL);
82 std::optional<CodeModel::Model> CM, CodeGenOpt::Level OL,
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVETargetMachine.cpp91 CodeGenOpt::Level OL, bool JIT) in VETargetMachine() argument
94 getEffectiveCodeModel(CM, CodeModel::Small), OL), in VETargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYTargetMachine.cpp56 CodeGenOpt::Level OL, bool JIT) in CSKYTargetMachine() argument
59 getEffectiveCodeModel(CM, CodeModel::Small), OL), in CSKYTargetMachine()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVTargetMachine.cpp70 CodeGenOpt::Level OL, bool JIT) in SPIRVTargetMachine() argument
73 getEffectiveCodeModel(CM, CodeModel::Small), OL), in SPIRVTargetMachine()

12345