comparison gen/llvm.h @ 309:d59c363fccad trunk

[svn r330] Implemented synchronized statements. Changed the tryfinally handlers to a more generalized EnclosingHandler. Changed ClassInfoS to be mutable so they can be used as locks. Added new BB after throw ala return/break etc.
author lindquist
date Sat, 28 Jun 2008 11:37:53 +0200
parents a95056b3c996
children cc40db549aea
comparison
equal deleted inserted replaced
308:6b62e8cdf970 309:d59c363fccad
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 common llvm types 21 // shortcuts for the common llvm types
22 22
23 typedef llvm::Type LLType; 23 #define LLType llvm::Type
24 typedef llvm::FunctionType LLFunctionType; 24 #define LLFunctionType llvm::FunctionType
25 typedef llvm::PointerType LLPointerType; 25 #define LLPointerType llvm::PointerType
26 typedef llvm::StructType LLStructType; 26 #define LLStructType llvm::StructType
27 typedef llvm::ArrayType LLArrayType; 27 #define LLArrayType llvm::ArrayType
28 typedef llvm::IntegerType LLIntegerType; 28 #define LLIntegerType llvm::IntegerType
29 typedef llvm::OpaqueType LLOpaqueType; 29 #define LLOpaqueType llvm::OpaqueType
30 30
31 typedef llvm::Value LLValue; 31 #define LLValue llvm::Value
32 typedef llvm::GlobalValue LLGlobalValue; 32 #define LLGlobalValue llvm::GlobalValue
33 typedef llvm::GlobalVariable LLGlobalVariable; 33 #define LLGlobalVariable llvm::GlobalVariable
34 typedef llvm::Function LLFunction; 34 #define LLFunction llvm::Function
35 35
36 typedef llvm::Constant LLConstant; 36 #define LLConstant llvm::Constant
37 typedef llvm::ConstantStruct LLConstantStruct; 37 #define LLConstantStruct llvm::ConstantStruct
38 typedef llvm::ConstantArray LLConstantArray; 38 #define LLConstantArray llvm::ConstantArray
39 typedef llvm::ConstantInt LLConstantInt; 39 #define LLConstantInt llvm::ConstantInt
40 40
41 typedef llvm::PATypeHolder LLPATypeHolder; 41 #define LLPATypeHolder llvm::PATypeHolder
42 42
43 #define LLSmallVector llvm::SmallVector 43 #define LLSmallVector llvm::SmallVector
44 44
45 #endif // GEN_LLVM_H 45 #endif // GEN_LLVM_H