comparison gen/tollvm.h @ 193:aca17e55b7a5 trunk

[svn r209] Fixed: exotic array to pointer casts were broken. Changed: classes now have opaque vtables.
author lindquist
date Mon, 12 May 2008 18:44:11 +0200
parents cea8dcfa76df
children e881c9b1c738
comparison
equal deleted inserted replaced
192:67ed21bf16af 193:aca17e55b7a5
121 llvm::Argument* isaArgument(llvm::Value* v); 121 llvm::Argument* isaArgument(llvm::Value* v);
122 llvm::GlobalVariable* isaGlobalVar(llvm::Value* v); 122 llvm::GlobalVariable* isaGlobalVar(llvm::Value* v);
123 123
124 // llvm::T::get(...) wrappers 124 // llvm::T::get(...) wrappers
125 const llvm::PointerType* getPtrToType(const llvm::Type* t); 125 const llvm::PointerType* getPtrToType(const llvm::Type* t);
126 const llvm::PointerType* getVoidPtrType();
126 llvm::ConstantPointerNull* getNullPtr(const llvm::Type* t); 127 llvm::ConstantPointerNull* getNullPtr(const llvm::Type* t);
127 128
128 // type sizes 129 // type sizes
129 size_t getTypeBitSize(const llvm::Type* t); 130 size_t getTypeBitSize(const llvm::Type* t);
130 size_t getTypeStoreSize(const llvm::Type* t); 131 size_t getTypeStoreSize(const llvm::Type* t);