Searched refs:passmgr (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_util.c | 211 LLVMPassManagerRef passmgr = LLVMCreatePassManager(); in ac_create_passmgr() local 212 if (!passmgr) in ac_create_passmgr() 216 LLVMAddTargetLibraryInfo(target_library_info, passmgr); in ac_create_passmgr() 219 LLVMAddVerifierPass(passmgr); in ac_create_passmgr() 220 LLVMAddAlwaysInlinerPass(passmgr); in ac_create_passmgr() 227 ac_llvm_add_barrier_noop_pass(passmgr); in ac_create_passmgr() 229 LLVMAddPromoteMemoryToRegisterPass(passmgr); in ac_create_passmgr() 230 LLVMAddScalarReplAggregatesPass(passmgr); in ac_create_passmgr() 231 LLVMAddLICMPass(passmgr); in ac_create_passmgr() 232 LLVMAddAggressiveDCEPass(passmgr); in ac_create_passmgr() [all …]
|
D | ac_llvm_helper.cpp | 220 llvm::legacy::PassManager passmgr; /* list of passes */ member 231 if (TM->addPassesToEmitFile(p->passmgr, p->ostream, nullptr, in ac_create_llvm_passes() 249 p->passmgr.run(*llvm::unwrap(module)); in ac_compile_module_to_elf() 254 void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr) in ac_llvm_add_barrier_noop_pass() argument 256 llvm::unwrap(passmgr)->add(llvm::createBarrierNoopPass()); in ac_llvm_add_barrier_noop_pass()
|
D | ac_llvm_util.h | 80 LLVMPassManagerRef passmgr; member 136 void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr);
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_init.c | 113 assert(!gallivm->passmgr); in create_pass_manager() 116 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module); in create_pass_manager() 117 if (!gallivm->passmgr) in create_pass_manager() 156 LLVMAddScalarReplAggregatesPass(gallivm->passmgr); in create_pass_manager() 157 LLVMAddEarlyCSEPass(gallivm->passmgr); in create_pass_manager() 158 LLVMAddCFGSimplificationPass(gallivm->passmgr); in create_pass_manager() 168 LLVMAddReassociatePass(gallivm->passmgr); in create_pass_manager() 169 LLVMAddPromoteMemoryToRegisterPass(gallivm->passmgr); in create_pass_manager() 171 LLVMAddConstantPropagationPass(gallivm->passmgr); in create_pass_manager() 173 LLVMAddInstructionSimplifyPass(gallivm->passmgr); in create_pass_manager() [all …]
|
D | lp_bld_init.h | 49 LLVMPassManagerRef passmgr; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 2213 ac_llvm_finalize_module(struct radv_shader_context *ctx, LLVMPassManagerRef passmgr, in ac_llvm_finalize_module() argument 2216 LLVMRunPassManager(passmgr, ctx->ac.module); in ac_llvm_finalize_module() 2586 ac_llvm_finalize_module(&ctx, ac_llvm->passmgr, args->options); in ac_translate_nir_to_llvm() 2806 ac_llvm_finalize_module(&ctx, ac_llvm->passmgr, args->options); in radv_compile_gs_copy_shader()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm.c | 256 LLVMRunPassManager(ctx->compiler->passmgr, ctx->ac.module); in si_llvm_optimize_module()
|