Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/llvm/
Dac_llvm_util.c222 LLVMPassManagerRef passmgr = LLVMCreatePassManager(); in ac_create_passmgr() local
223 if (!passmgr) in ac_create_passmgr()
227 LLVMAddTargetLibraryInfo(target_library_info, passmgr); in ac_create_passmgr()
230 LLVMAddVerifierPass(passmgr); in ac_create_passmgr()
231 LLVMAddAlwaysInlinerPass(passmgr); in ac_create_passmgr()
238 ac_llvm_add_barrier_noop_pass(passmgr); in ac_create_passmgr()
240 LLVMAddPromoteMemoryToRegisterPass(passmgr); in ac_create_passmgr()
241 LLVMAddScalarReplAggregatesPass(passmgr); in ac_create_passmgr()
242 LLVMAddLICMPass(passmgr); in ac_create_passmgr()
243 LLVMAddAggressiveDCEPass(passmgr); in ac_create_passmgr()
[all …]
Dac_llvm_helper.cpp223 llvm::legacy::PassManager passmgr; /* list of passes */ member
234 if (TM->addPassesToEmitFile(p->passmgr, p->ostream, nullptr, in ac_create_llvm_passes()
252 p->passmgr.run(*llvm::unwrap(module)); in ac_compile_module_to_elf()
257 void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr) in ac_llvm_add_barrier_noop_pass() argument
259 llvm::unwrap(passmgr)->add(llvm::createBarrierNoopPass()); in ac_llvm_add_barrier_noop_pass()
Dac_llvm_util.h79 LLVMPassManagerRef passmgr; member
132 void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr);
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_init.c117 assert(!gallivm->passmgr); in create_pass_manager()
120 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module); in create_pass_manager()
121 if (!gallivm->passmgr) in create_pass_manager()
160 LLVMAddScalarReplAggregatesPass(gallivm->passmgr); in create_pass_manager()
161 LLVMAddEarlyCSEPass(gallivm->passmgr); in create_pass_manager()
162 LLVMAddCFGSimplificationPass(gallivm->passmgr); in create_pass_manager()
172 LLVMAddReassociatePass(gallivm->passmgr); in create_pass_manager()
173 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); in create_pass_manager()
175 LLVMAddConstantPropagationPass(gallivm->passmgr); in create_pass_manager()
177 LLVMAddInstructionSimplifyPass(gallivm->passmgr); in create_pass_manager()
[all …]
Dlp_bld_init.h50 LLVMPassManagerRef passmgr; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1191 ac_llvm_finalize_module(struct radv_shader_context *ctx, LLVMPassManagerRef passmgr) in ac_llvm_finalize_module() argument
1193 LLVMRunPassManager(passmgr, ctx->ac.module); in ac_llvm_finalize_module()
1520 ac_llvm_finalize_module(&ctx, ac_llvm->passmgr); in ac_translate_nir_to_llvm()
1746 ac_llvm_finalize_module(&ctx, ac_llvm->passmgr); in radv_compile_gs_copy_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c262 LLVMRunPassManager(ctx->compiler->passmgr, ctx->ac.module); in si_llvm_optimize_module()