Home
last modified time | relevance | path

Searched refs:OLvl (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/tools/clang-fuzzer/handle-llvm/
Dhandle_llvm.cpp58 CodeGenOpt::Level &OLvl) { in getOptLevel() argument
60 OLvl = CodeGenOpt::Default; in getOptLevel()
64 case '0': OLvl = CodeGenOpt::None; break; in getOptLevel()
65 case '1': OLvl = CodeGenOpt::Less; break; in getOptLevel()
66 case '2': OLvl = CodeGenOpt::Default; break; in getOptLevel()
67 case '3': OLvl = CodeGenOpt::Aggressive; break; in getOptLevel()
96 static std::string OptLLVM(const std::string &IR, CodeGenOpt::Level OLvl) { in OptLLVM() argument
116 codegen::getExplicitCodeModel(), OLvl)); in OptLLVM()
133 AddOptimizationPasses(Passes, OLvl, 0); in OptLLVM()
154 static void CreateAndRunJITFunc(const std::string &IR, CodeGenOpt::Level OLvl) { in CreateAndRunJITFunc() argument
[all …]
/external/llvm-project/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp149 CodeGenOpt::Level OLvl = CodeGenOpt::Default; in LLVMFuzzerInitialize() local
155 case '0': OLvl = CodeGenOpt::None; break; in LLVMFuzzerInitialize()
156 case '1': OLvl = CodeGenOpt::Less; break; in LLVMFuzzerInitialize()
157 case '2': OLvl = CodeGenOpt::Default; break; in LLVMFuzzerInitialize()
158 case '3': OLvl = CodeGenOpt::Aggressive; break; in LLVMFuzzerInitialize()
164 codegen::getExplicitRelocModel(), codegen::getExplicitCodeModel(), OLvl)); in LLVMFuzzerInitialize()
/external/llvm/tools/llc/
Dllc.cpp323 CodeGenOpt::Level OLvl = CodeGenOpt::Default; in compileModule() local
329 case '0': OLvl = CodeGenOpt::None; break; in compileModule()
330 case '1': OLvl = CodeGenOpt::Less; break; in compileModule()
331 case '2': OLvl = CodeGenOpt::Default; break; in compileModule()
332 case '3': OLvl = CodeGenOpt::Aggressive; break; in compileModule()
344 Options, getRelocModel(), CMModel, OLvl)); in compileModule()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp418 CodeGenOpt::Level OLvl = CodeGenOpt::Default; in compileModule() local
424 case '0': OLvl = CodeGenOpt::None; break; in compileModule()
425 case '1': OLvl = CodeGenOpt::Less; break; in compileModule()
426 case '2': OLvl = CodeGenOpt::Default; break; in compileModule()
427 case '3': OLvl = CodeGenOpt::Aggressive; break; in compileModule()
478 codegen::getExplicitCodeModel(), OLvl)); in compileModule()
523 codegen::getExplicitCodeModel(), OLvl)); in compileModule()