You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
422 B
22 lines
422 B
|
|
#pragma once
|
|
|
|
#include <llvm/IR/Type.h>
|
|
|
|
namespace evmcc
|
|
{
|
|
|
|
struct Type
|
|
{
|
|
static llvm::IntegerType* i256;
|
|
|
|
/// Type for doing low precision arithmetics where 256-bit precision is not supported by native target
|
|
/// @TODO: Use 64-bit for now. In 128-bit compiler-rt library functions are required
|
|
static llvm::IntegerType* lowPrecision;
|
|
|
|
static llvm::Type* Void;
|
|
|
|
static void init(llvm::LLVMContext& _context);
|
|
};
|
|
|
|
}
|
|
|