Mercurial > projects > ldc
diff gen/tollvm.h @ 96:ce7ed8f59b99 trunk
[svn r100] Moved test/ray.d to demos/ray.d.
Cleanups.
author | lindquist |
---|---|
date | Mon, 12 Nov 2007 07:58:44 +0100 |
parents | 61615fa85940 |
children | c4e161556a21 |
line wrap: on
line diff
--- a/gen/tollvm.h Mon Nov 12 06:43:33 2007 +0100 +++ b/gen/tollvm.h Mon Nov 12 07:58:44 2007 +0100 @@ -77,10 +77,14 @@ // llvm::dyn_cast wrappers const llvm::PointerType* isaPointer(llvm::Value* v); +const llvm::PointerType* isaPointer(const llvm::Type* t); const llvm::ArrayType* isaArray(llvm::Value* v); +const llvm::ArrayType* isaArray(const llvm::Type* t); const llvm::StructType* isaStruct(llvm::Value* v); +const llvm::StructType* isaStruct(const llvm::Type* t); llvm::Constant* isaConstant(llvm::Value* v); llvm::ConstantInt* isaConstantInt(llvm::Value* v); +llvm::Argument* isaArgument(llvm::Value* v); // basic operations void DtoAssign(DValue* lhs, DValue* rhs);