Searched refs:passmgr (Results 1 – 4 of 4) sorted by relevance
111 assert(!gallivm->passmgr); in create_pass_manager()114 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module); in create_pass_manager()115 if (!gallivm->passmgr) in create_pass_manager()125 LLVMAddTargetData(gallivm->target, gallivm->passmgr); in create_pass_manager()141 LLVMAddScalarReplAggregatesPass(gallivm->passmgr); in create_pass_manager()142 LLVMAddLICMPass(gallivm->passmgr); in create_pass_manager()143 LLVMAddCFGSimplificationPass(gallivm->passmgr); in create_pass_manager()144 LLVMAddReassociatePass(gallivm->passmgr); in create_pass_manager()145 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); in create_pass_manager()146 LLVMAddConstantPropagationPass(gallivm->passmgr); in create_pass_manager()[all …]
48 LLVMPassManagerRef passmgr; member
1231 gallivm->passmgr = LLVMCreatePassManager(); in si_llvm_optimize_module()1234 LLVMAddTargetLibraryInfo(target_library_info, gallivm->passmgr); in si_llvm_optimize_module()1237 LLVMAddVerifierPass(gallivm->passmgr); in si_llvm_optimize_module()1239 LLVMAddAlwaysInlinerPass(gallivm->passmgr); in si_llvm_optimize_module()1242 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); in si_llvm_optimize_module()1245 LLVMAddScalarReplAggregatesPass(gallivm->passmgr); in si_llvm_optimize_module()1246 LLVMAddLICMPass(gallivm->passmgr); in si_llvm_optimize_module()1247 LLVMAddAggressiveDCEPass(gallivm->passmgr); in si_llvm_optimize_module()1248 LLVMAddCFGSimplificationPass(gallivm->passmgr); in si_llvm_optimize_module()1251 LLVMAddEarlyCSEMemSSAPass(gallivm->passmgr); in si_llvm_optimize_module()[all …]
6614 LLVMPassManagerRef passmgr; in ac_llvm_finalize_module() local6616 passmgr = LLVMCreateFunctionPassManagerForModule( in ac_llvm_finalize_module()6620 LLVMAddPromoteMemoryToRegisterPass(passmgr); in ac_llvm_finalize_module()6623 LLVMAddScalarReplAggregatesPass(passmgr); in ac_llvm_finalize_module()6624 LLVMAddLICMPass(passmgr); in ac_llvm_finalize_module()6625 LLVMAddAggressiveDCEPass(passmgr); in ac_llvm_finalize_module()6626 LLVMAddCFGSimplificationPass(passmgr); in ac_llvm_finalize_module()6627 LLVMAddInstructionCombiningPass(passmgr); in ac_llvm_finalize_module()6630 LLVMInitializeFunctionPassManager(passmgr); in ac_llvm_finalize_module()6631 LLVMRunFunctionPassManager(passmgr, ctx->main_function); in ac_llvm_finalize_module()[all …]