comparison gen/llvm.h @ 244:a95056b3c996 trunk

[svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB. Did a lot of smaller cleans up here and there. Replaced more llvm::Foo with LLFoo for common stuff. Split up tollvm.cpp.
author lindquist
date Mon, 09 Jun 2008 09:37:08 +0200
parents 7816aafeea3c
children d59c363fccad
comparison
equal deleted inserted replaced
243:4d006f7b2ada 244:a95056b3c996
16 #include "llvm/Support/IRBuilder.h" 16 #include "llvm/Support/IRBuilder.h"
17 using llvm::IRBuilder; 17 using llvm::IRBuilder;
18 18
19 #define GET_INTRINSIC_DECL(_X) (llvm::Intrinsic::getDeclaration(gIR->module, llvm::Intrinsic:: _X )) 19 #define GET_INTRINSIC_DECL(_X) (llvm::Intrinsic::getDeclaration(gIR->module, llvm::Intrinsic:: _X ))
20 20
21 // shortcuts for the _very_ common llvm types 21 // shortcuts for the common llvm types
22
22 typedef llvm::Type LLType; 23 typedef llvm::Type LLType;
24 typedef llvm::FunctionType LLFunctionType;
25 typedef llvm::PointerType LLPointerType;
26 typedef llvm::StructType LLStructType;
27 typedef llvm::ArrayType LLArrayType;
28 typedef llvm::IntegerType LLIntegerType;
29 typedef llvm::OpaqueType LLOpaqueType;
30
23 typedef llvm::Value LLValue; 31 typedef llvm::Value LLValue;
32 typedef llvm::GlobalValue LLGlobalValue;
33 typedef llvm::GlobalVariable LLGlobalVariable;
34 typedef llvm::Function LLFunction;
35
24 typedef llvm::Constant LLConstant; 36 typedef llvm::Constant LLConstant;
37 typedef llvm::ConstantStruct LLConstantStruct;
38 typedef llvm::ConstantArray LLConstantArray;
39 typedef llvm::ConstantInt LLConstantInt;
40
41 typedef llvm::PATypeHolder LLPATypeHolder;
25 42
26 #define LLSmallVector llvm::SmallVector 43 #define LLSmallVector llvm::SmallVector
27 44
28 #endif // GEN_LLVM_H 45 #endif // GEN_LLVM_H