1#ifndef PROTEUS_FRONTEND_TYPEMAP_HPP
2#define PROTEUS_FRONTEND_TYPEMAP_HPP
4#include <llvm/IR/DerivedTypes.h>
5#include <llvm/IR/LLVMContext.h>
6#include <llvm/IR/Type.h>
16 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getVoidTy(Ctx); }
22 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getFloatTy(Ctx); }
28 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getDoubleTy(Ctx); }
34 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getInt64Ty(Ctx); }
40 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getInt32Ty(Ctx); }
48 static Type *
get(llvm::LLVMContext &Ctx) {
return Type::getInt1Ty(Ctx); }
54 static Type *
get(llvm::LLVMContext &Ctx) {
55 return PointerType::getUnqual(Ctx);
59 return Type::getDoubleTy(Ctx);
64 static Type *
get(llvm::LLVMContext &Ctx) {
65 return PointerType::getUnqual(Ctx);
69 return Type::getDoubleTy(Ctx);
74 static Type *
get(llvm::LLVMContext &Ctx) {
75 return PointerType::getUnqual(Ctx);
79 return Type::getFloatTy(Ctx);
Definition Dispatcher.cpp:14
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:48
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:50
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:30
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:28
static Type * getPointerElemType(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:68
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:64
static Type * getPointerElemType(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:58
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:54
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:24
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:22
static Type * getPointerElemType(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:78
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:74
static bool isSigned()
Definition TypeMap.hpp:44
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:40
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:42
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:34
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:36
static Type * get(llvm::LLVMContext &Ctx)
Definition TypeMap.hpp:16
static Type * getPointerElemType(llvm::LLVMContext &)
Definition TypeMap.hpp:18
Definition TypeMap.hpp:13