Searched refs:module_llvm (Results 1 – 11 of 11) sorted by relevance
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_llvm/src/back/ |
H A D | lto.rs | 204 let buffer = ThinBuffer::new(module.module_llvm.llmod()); in prepare_thin() 259 let cost = unsafe { llvm::LLVMRustModuleCost(module.module_llvm.llmod()) }; in fat_lto() 276 module_llvm: ModuleLlvm::parse(cgcx, &name, buffer.data(), diag_handler)?, in fat_lto() 285 let llvm = &module.module_llvm; in fat_lto() 301 let buffer = ModuleBuffer::new(module.module_llvm.llmod()); in fat_lto() 615 llvm::LLVMAddAnalysisPasses(module.module_llvm.tm, pm); in run_pass_manager() 626 with_llvm_pmb(module.module_llvm.llmod(), config, opt_level, false, &mut |b| { in run_pass_manager() 648 llvm::LLVMRunPassManager(pm, module.module_llvm.llmod()); in run_pass_manager() 749 module_llvm: ModuleLlvm { llmod_raw, llcx, tm }, in optimize_thin_module() 754 let target = &*module.module_llvm.tm; in optimize_thin_module() [all …]
|
H A D | write.rs | 254 let llmod = module.module_llvm.llmod(); in save_temp_bitcode() 454 module.module_llvm.llmod(), in optimize_with_new_llvm_pass_manager() 455 &*module.module_llvm.tm, in optimize_with_new_llvm_pass_manager() 492 let llmod = module.module_llvm.llmod(); in optimize() 493 let llcx = &*module.module_llvm.llcx; in optimize() 494 let tm = &*module.module_llvm.tm; in optimize() 693 let mut linker = Linker::new(first.module_llvm.llmod()); in link() 697 let buffer = ModuleBuffer::new(module.module_llvm.llmod()); in link() 715 let llmod = module.module_llvm.llmod(); in codegen() 716 let llcx = &*module.module_llvm.llcx; in codegen() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_llvm/src/ |
H A D | allocator.rs | 15 module_llvm: &mut ModuleLlvm, in codegen() 20 let llcx = &*module_llvm.llcx; in codegen() 21 let llmod = module_llvm.llmod(); in codegen()
|
H A D | lib.rs | 116 module_llvm: &mut ModuleLlvm, in codegen_allocator() 121 unsafe { allocator::codegen(tcx, module_llvm, module_name, kind, has_alloc_error_handler) } in codegen_allocator() 232 (module.name, back::lto::ModuleBuffer::new(module.module_llvm.llmod())) in serialize_module()
|
H A D | base.rs | 186 module_llvm: llvm_module, in compile_codegen_unit()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_gcc/src/back/ |
H A D | write.rs | 16 let context = &module.module_llvm.context; in codegen()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_ssa/src/traits/ |
H A D | backend.rs | 126 module_llvm: &mut Self::Module, in codegen_allocator()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_ssa/src/ |
H A D | base.rs | 541 let mut module_llvm = backend.new_metadata(tcx, &llmod_id); in codegen_crate() localVariable 545 &mut module_llvm, in codegen_crate() 552 Some(ModuleCodegen { name: llmod_id, module_llvm, kind: ModuleKind::Allocator }) in codegen_crate() 576 module_llvm: metadata_llvm_module, in codegen_crate()
|
H A D | lib.rs | 57 pub module_llvm: M, field
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_gcc/src/ |
H A D | base.rs | 126 module_llvm: GccContext { in compile_codegen_unit()
|
H A D | lib.rs | 215 module.module_llvm.context.set_optimization_level(to_gcc_opt_level(config.opt_level)); in optimize()
|