1
Fork 0
rust/compiler/rustc_codegen_llvm/src
Matthias Krüger 879c4d5ccc
Rollup merge of #132342 - Zalathar:operand-bundle, r=workingjubilee
cg_llvm: Clean up FFI calls for operand bundles

All of these FFI functions have equivalents in the stable LLVM-C API, though `LLVMBuildCallBr` requires a temporary polyfill on LLVM 18.

This PR also creates a clear split between `OperandBundleOwned` and `OperandBundle`, and updates the internals of the owner to be a little less terrifying.
2024-10-30 06:40:38 +01:00
..
back Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
coverageinfo Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
debuginfo Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
llvm Rollup merge of #132342 - Zalathar:operand-bundle, r=workingjubilee 2024-10-30 06:40:38 +01:00
abi.rs compiler: Add is_uninhabited and use LayoutS accessors 2024-10-28 09:58:30 -07:00
allocator.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
asm.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
attributes.rs codegen_ssa: consolidate tied feature checking 2024-09-24 15:48:49 +01:00
base.rs Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
builder.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
callee.rs Use safe wrappers get_visibility and set_visibility 2024-10-26 20:20:20 +11:00
common.rs Clean up FFI calls for operand bundles 2024-10-30 13:26:24 +11:00
consts.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
context.rs Consistently use safe wrapper function set_section 2024-10-30 11:38:20 +11:00
declare.rs Use a type-safe helper to cast &str and &[u8] to *const c_char 2024-10-28 21:31:32 +11:00
errors.rs codegen_ssa: consolidate tied feature checking 2024-09-24 15:48:49 +01:00
intrinsic.rs Use safe wrappers get_linkage and set_linkage 2024-10-26 20:20:18 +11:00
lib.rs Use &raw in the compiler 2024-09-26 20:33:26 -07:00
llvm_util.rs refactor: cleaner check to return None 2024-10-28 20:16:35 +09:00
mono_item.rs Use safe wrappers get_visibility and set_visibility 2024-10-26 20:20:20 +11:00
type_.rs replace some deprecated functions 2024-09-19 09:39:28 +08:00
type_of.rs "innermost", "outermost", "leftmost", and "rightmost" don't need hyphens 2024-10-23 02:45:24 -07:00
va_arg.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00