Home
last modified time | relevance | path

Searched refs:PassBuilder (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/lib/Passes/
DPassBuilder.cpp210 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses()
216 void PassBuilder::registerCGSCCAnalyses(CGSCCAnalysisManager &CGAM) { in registerCGSCCAnalyses()
222 void PassBuilder::registerFunctionAnalyses(FunctionAnalysisManager &FAM) { in registerFunctionAnalyses()
228 void PassBuilder::registerLoopAnalyses(LoopAnalysisManager &LAM) { in registerLoopAnalyses()
234 void PassBuilder::addPerModuleDefaultPipeline(ModulePassManager &MPM, in addPerModuleDefaultPipeline()
247 void PassBuilder::addLTOPreLinkDefaultPipeline(ModulePassManager &MPM, in addLTOPreLinkDefaultPipeline()
254 void PassBuilder::addLTODefaultPipeline(ModulePassManager &MPM, in addLTODefaultPipeline()
319 bool PassBuilder::parseModulePassName(ModulePassManager &MPM, StringRef Name, in parseModulePassName()
368 bool PassBuilder::parseCGSCCPassName(CGSCCPassManager &CGPM, StringRef Name) { in parseCGSCCPassName()
390 bool PassBuilder::parseFunctionPassName(FunctionPassManager &FPM, in parseFunctionPassName()
[all …]
DCMakeLists.txt2 PassBuilder.cpp
/external/llvm-project/llvm/tools/opt/
DNewPMDriver.cpp139 bool tryParsePipelineText(PassBuilder &PB, in tryParsePipelineText()
157 static void registerEPCallbacks(PassBuilder &PB) { in registerEPCallbacks()
160 [&PB](FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
167 [&PB](LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
173 [&PB](LoopPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
180 [&PB](FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
186 [&PB](CGSCCPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
192 [&PB](FunctionPassManager &PM, PassBuilder::OptimizationLevel Level) { in registerEPCallbacks()
198 [&PB](ModulePassManager &PM, PassBuilder::OptimizationLevel) { in registerEPCallbacks()
205 [&PB](ModulePassManager &PM, PassBuilder::OptimizationLevel) { in registerEPCallbacks()
[all …]
/external/llvm-project/llvm/lib/Passes/
DPassBuilder.cpp308 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::O0 = {
311 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::O1 = {
314 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::O2 = {
317 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::O3 = {
320 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::Os = {
323 const PassBuilder::OptimizationLevel PassBuilder::OptimizationLevel::Oz = {
433 PassBuilder::PassBuilder(bool DebugLogging, TargetMachine *TM, in PassBuilder() function in PassBuilder
468 void PassBuilder::invokePeepholeEPCallbacks( in invokePeepholeEPCallbacks()
469 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks()
474 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses()
[all …]
DCMakeLists.txt2 PassBuilder.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp247 static bool isOptimizingForSize(PassBuilder::OptimizationLevel Level) { in isOptimizingForSize()
249 case PassBuilder::O0: in isOptimizingForSize()
250 case PassBuilder::O1: in isOptimizingForSize()
251 case PassBuilder::O2: in isOptimizingForSize()
252 case PassBuilder::O3: in isOptimizingForSize()
255 case PassBuilder::Os: in isOptimizingForSize()
256 case PassBuilder::Oz: in isOptimizingForSize()
353 void PassBuilder::invokePeepholeEPCallbacks( in invokePeepholeEPCallbacks()
354 FunctionPassManager &FPM, PassBuilder::OptimizationLevel Level) { in invokePeepholeEPCallbacks()
359 void PassBuilder::registerModuleAnalyses(ModuleAnalysisManager &MAM) { in registerModuleAnalyses()
[all …]
DCMakeLists.txt2 set_source_files_properties(PassBuilder.cpp PROPERTIES COMPILE_FLAGS /bigobj)
6 PassBuilder.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/
DPassPlugin.h24 class PassBuilder; variable
52 void (*RegisterPassBuilderCallbacks)(PassBuilder &);
82 void registerPassBuilderCallbacks(PassBuilder &PB) const { in registerPassBuilderCallbacks()
/external/llvm-project/llvm/include/llvm/Passes/
DPassPlugin.h24 class PassBuilder; variable
52 void (*RegisterPassBuilderCallbacks)(PassBuilder &);
82 void registerPassBuilderCallbacks(PassBuilder &PB) const { in registerPassBuilderCallbacks()
/external/llvm-project/llvm/examples/Bye/
DBye.cpp55 [](PassBuilder &PB) { in getByePluginInfo()
58 llvm::PassBuilder::OptimizationLevel Level) { in getByePluginInfo()
63 ArrayRef<llvm::PassBuilder::PipelineElement>) { in getByePluginInfo()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFTargetMachine.cpp126 void BPFTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB, in registerPassBuilderCallbacks()
129 [=](ModulePassManager &MPM, PassBuilder::OptimizationLevel) { in registerPassBuilderCallbacks()
136 PassBuilder::OptimizationLevel Level) { in registerPassBuilderCallbacks()
140 [=](ModulePassManager &MPM, PassBuilder::OptimizationLevel) { in registerPassBuilderCallbacks()
DBPFTargetMachine.h42 void registerPassBuilderCallbacks(PassBuilder &PB,
/external/llvm-project/polly/include/polly/
DRegisterPasses.h18 class PassBuilder; variable
27 void registerPollyPasses(llvm::PassBuilder &PB);
/external/llvm-project/llvm/unittests/Passes/
DTestPlugin.cpp22 void registerCallbacks(PassBuilder &PB) { in registerCallbacks()
25 ArrayRef<PassBuilder::PipelineElement> InnerPipeline) { in registerCallbacks()
DPluginsTest.cpp55 PassBuilder PB; in TEST()
/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp1026 static PassBuilder::OptimizationLevel mapToLevel(const CodeGenOptions &Opts) { in mapToLevel()
1032 return PassBuilder::OptimizationLevel::O0; in mapToLevel()
1035 return PassBuilder::OptimizationLevel::O1; in mapToLevel()
1043 return PassBuilder::OptimizationLevel::O2; in mapToLevel()
1046 return PassBuilder::OptimizationLevel::Os; in mapToLevel()
1049 return PassBuilder::OptimizationLevel::Oz; in mapToLevel()
1053 return PassBuilder::OptimizationLevel::O3; in mapToLevel()
1150 PassBuilder PB(CodeGenOpts.DebugPassManager, TM.get(), PTO, PGOOpt, &PIC); in EmitAssemblyWithNewPassManager()
1193 PassBuilder::OptimizationLevel Level = mapToLevel(CodeGenOpts); in EmitAssemblyWithNewPassManager()
1205 [](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in EmitAssemblyWithNewPassManager()
[all …]
/external/llvm-project/polly/lib/Support/
DRegisterPasses.cpp473 PassBuilder::OptimizationLevel Level) { in buildDefaultPollyPipeline()
476 PassBuilder PB; in buildDefaultPollyPipeline()
527 Level, PassBuilder::ThinLTOPhase::None)); // Cleanup in buildDefaultPollyPipeline()
609 ArrayRef<PassBuilder::PipelineElement> Pipeline) { in parseFunctionPipeline()
649 ArrayRef<PassBuilder::PipelineElement> Pipeline) { in parseScopPipeline()
680 ArrayRef<PassBuilder::PipelineElement> Pipeline, in parseTopLevelPipeline()
682 std::vector<PassBuilder::PipelineElement> FullPipeline; in parseTopLevelPipeline()
706 void registerPollyPasses(PassBuilder &PB) { in registerPollyPasses()
/external/llvm/include/llvm/Passes/
DPassBuilder.h34 class PassBuilder {
124 explicit PassBuilder(TargetMachine *TM = nullptr) : TM(TM) {} in TM()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOBackend.cpp175 PassBuilder PB(TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
200 PassBuilder::OptimizationLevel OL; in runNewPMPasses()
206 OL = PassBuilder::O0; in runNewPMPasses()
209 OL = PassBuilder::O1; in runNewPMPasses()
212 OL = PassBuilder::O2; in runNewPMPasses()
215 OL = PassBuilder::O3; in runNewPMPasses()
233 PassBuilder PB(TM); in runNewPMCustomPasses()
/external/llvm-project/llvm/lib/LTO/
DLTOBackend.cpp160 PassBuilder &PB) { in RegisterPassPlugins()
227 PassBuilder PB(Conf.DebugPassManager, TM, Conf.PTO, PGOOpt, &PIC); in runNewPMPasses()
256 PassBuilder::OptimizationLevel OL; in runNewPMPasses()
262 OL = PassBuilder::OptimizationLevel::O0; in runNewPMPasses()
265 OL = PassBuilder::OptimizationLevel::O1; in runNewPMPasses()
268 OL = PassBuilder::OptimizationLevel::O2; in runNewPMPasses()
271 OL = PassBuilder::OptimizationLevel::O3; in runNewPMPasses()
290 PassBuilder PB(Conf.DebugPassManager, TM); in runNewPMCustomPasses()
/external/llvm-project/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp136 PassBuilder PB(false, TM.get()); in LLVMFuzzerTestOneInput()
243 PassBuilder PB(false, TM.get()); in LLVMFuzzerInitialize()
/external/llvm-project/llvm/utils/gn/secondary/llvm/lib/Passes/
DBUILD.gn21 "PassBuilder.cpp",
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.h40 void registerPassBuilderCallbacks(PassBuilder &PB,
DHexagonTargetMachine.cpp278 void HexagonTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB, in registerPassBuilderCallbacks()
281 [=](LoopPassManager &LPM, PassBuilder::OptimizationLevel Level) { in registerPassBuilderCallbacks()
285 [=](ModulePassManager &MPM, PassBuilder::OptimizationLevel Level) { in registerPassBuilderCallbacks()
/external/llvm-project/polly/unittests/ScopPassManager/
DPassManagerTest.cpp30 PassBuilder PB; in ScopPassRegistry()

12