Searched refs:passmgr (Results 1 – 7 of 7) sorted by relevance
222 LLVMPassManagerRef passmgr = LLVMCreatePassManager(); in ac_create_passmgr() local223 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 …]
223 llvm::legacy::PassManager passmgr; /* list of passes */ member234 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() argument259 llvm::unwrap(passmgr)->add(llvm::createBarrierNoopPass()); in ac_llvm_add_barrier_noop_pass()
79 LLVMPassManagerRef passmgr; member132 void ac_llvm_add_barrier_noop_pass(LLVMPassManagerRef passmgr);
117 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 …]
50 LLVMPassManagerRef passmgr; member
1191 ac_llvm_finalize_module(struct radv_shader_context *ctx, LLVMPassManagerRef passmgr) in ac_llvm_finalize_module() argument1193 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()
262 LLVMRunPassManager(ctx->compiler->passmgr, ctx->ac.module); in si_llvm_optimize_module()