4 #include <llvm/IR/Type.h> 5 #include <llvm/IR/Constants.h> 6 #include <llvm/IR/Metadata.h> 17 using namespace evmjit;
21 static llvm::IntegerType*
Word;
24 static llvm::IntegerType*
Bool;
25 static llvm::IntegerType*
Size;
26 static llvm::IntegerType*
Gas;
29 static llvm::IntegerType*
Byte;
44 static void init(llvm::LLVMContext& _context);
52 static llvm::ConstantInt*
get(int64_t _n);
53 static llvm::ConstantInt*
get(llvm::APInt
const& _n);
55 static llvm::ConstantInt*
get(
ReturnCode _returnCode);
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
static llvm::PointerType * RuntimePtr
static llvm::PointerType * WordPtr
static llvm::PointerType * BytePtr
static llvm::IntegerType * Word
static llvm::ConstantInt * gasMax
static llvm::IntegerType * MainReturn
Main function return type.
static llvm::PointerType * RuntimeDataPtr
static llvm::PointerType * GasPtr
static llvm::IntegerType * Bool
static llvm::IntegerType * Size
static llvm::MDNode * expectTrue
static llvm::IntegerType * Gas
static llvm::PointerType * EnvPtr
static llvm::IntegerType * Byte