Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_init.c111 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 …]
Dlp_bld_init.h48 LLVMPassManagerRef passmgr; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c1231 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 …]
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c6614 LLVMPassManagerRef passmgr; in ac_llvm_finalize_module() local
6616 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 …]