mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
llvm: convert most instructions
This commit is contained in:
1 parent
ef84e86992
commit
9afb349aba
4 files changed
+6054
-2554
No files matched your search
@@ -560,10 +560,6 @@ LLVMValueRef ZigLLVMBuildUShlSat(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRe
|
||||
return wrap(call_inst);
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMBuildVectorSplat(LLVMBuilderRef B, unsigned elem_count, LLVMValueRef V, const char *Name) {
|
||||
return wrap(unwrap(B)->CreateVectorSplat(elem_count, unwrap(V), Name));
|
||||
}
|
||||
|
||||
void ZigLLVMFnSetSubprogram(LLVMValueRef fn, ZigLLVMDISubprogram *subprogram) {
|
||||
assert( isa<Function>(unwrap(fn)) );
|
||||
Function *unwrapped_function = reinterpret_cast<Function*>(unwrap(fn));
|
||||
|
||||
Reference in new issue
Block a user