Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
llvmWARshim.cpp
Go to the documentation of this file.
1
#include <llvm/IR/IRBuilder.h>
2
namespace
sysio
{
namespace
chain {
namespace
eosvmoc {
3
namespace
LLVMJIT
{
4
5
llvm::Value*
CreateInBoundsGEPWAR
(llvm::IRBuilder<>& irBuilder, llvm::Value* Ptr, llvm::Value* v1, llvm::Value* v2) {
6
if
(!v2)
7
return
irBuilder.CreateInBoundsGEP(Ptr, v1);
8
else
9
return
irBuilder.CreateInBoundsGEP(Ptr, {v1, v2});
10
}
11
12
}
13
14
}}}
LLVMJIT
Definition
LLVMJIT.h:43
sysio::chain::eosvmoc::LLVMJIT::CreateInBoundsGEPWAR
llvm::Value * CreateInBoundsGEPWAR(llvm::IRBuilder<> &irBuilder, llvm::Value *Ptr, llvm::Value *v1, llvm::Value *v2=nullptr)
Definition
llvmWARshim.cpp:5
sysio
Definition
abi_serializer.cpp:8
libraries
chain
webassembly
runtimes
sys-vm-oc
llvmWARshim.cpp
Generated by
1.12.0