diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-10-16 17:23:30 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2021-10-17 20:33:04 +0200 |
| commit | d193ba9843324dcaf239220df8db63ebe3adf67e (patch) | |
| tree | d90845ee6808df06d314325e9e85b4395bd8b454 /src/codegen/llvm | |
| parent | 9336a87452eda87c19cb707484d0b6dfb4140b57 (diff) | |
| download | zig-d193ba9843324dcaf239220df8db63ebe3adf67e.tar.gz zig-d193ba9843324dcaf239220df8db63ebe3adf67e.zip | |
stage2: array->vector coercion
Diffstat (limited to 'src/codegen/llvm')
| -rw-r--r-- | src/codegen/llvm/bindings.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig index 29a46a81ee..dfa7dbc9ec 100644 --- a/src/codegen/llvm/bindings.zig +++ b/src/codegen/llvm/bindings.zig @@ -567,6 +567,15 @@ pub const Builder = opaque { Name: [*:0]const u8, ) *const Value; + pub const buildInsertElement = LLVMBuildInsertElement; + extern fn LLVMBuildInsertElement( + *const Builder, + VecVal: *const Value, + EltVal: *const Value, + Index: *const Value, + Name: [*:0]const u8, + ) *const Value; + pub const buildPtrToInt = LLVMBuildPtrToInt; extern fn LLVMBuildPtrToInt( *const Builder, |
