diff options
| author | bors <bors@rust-lang.org> | 2024-03-09 11:34:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-09 11:34:34 +0000 |
| commit | 0ebb78fb7ba8df84352c51c999e4464ef1f6cee0 (patch) | |
| tree | b00f304065840da48022bd7426379397a2f7e861 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | b0fad9accbffe670f6bb4259cc087b3d883dad77 (diff) | |
| parent | 862f918fa484c680b926463c0cad3236a2eeffed (diff) | |
| download | rust-0ebb78fb7ba8df84352c51c999e4464ef1f6cee0.tar.gz rust-0ebb78fb7ba8df84352c51c999e4464ef1f6cee0.zip | |
Auto merge of #3367 - rust-lang:rustup-2024-03-09, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 3a34ef0874e..58e98037067 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -1616,6 +1616,20 @@ extern "C" { Name: *const c_char, ) -> &'a Value; + pub fn LLVMRustBuildCallBr<'a>( + B: &Builder<'a>, + Ty: &'a Type, + Fn: &'a Value, + DefaultDest: &'a BasicBlock, + IndirectDests: *const &'a BasicBlock, + NumIndirectDests: c_uint, + Args: *const &'a Value, + NumArgs: c_uint, + OpBundles: *const &OperandBundleDef<'a>, + NumOpBundles: c_uint, + Name: *const c_char, + ) -> &'a Value; + pub fn LLVMRustSetFastMath(Instr: &Value); pub fn LLVMRustSetAlgebraicMath(Instr: &Value); pub fn LLVMRustSetAllowReassoc(Instr: &Value); |
