comparison 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
comparison
equal deleted inserted replaced
95:71b8fecdae38 96:ce7ed8f59b99
75 void DtoStore(llvm::Value* src, llvm::Value* dst); 75 void DtoStore(llvm::Value* src, llvm::Value* dst);
76 llvm::Value* DtoBitCast(llvm::Value* v, const llvm::Type* t); 76 llvm::Value* DtoBitCast(llvm::Value* v, const llvm::Type* t);
77 77
78 // llvm::dyn_cast wrappers 78 // llvm::dyn_cast wrappers
79 const llvm::PointerType* isaPointer(llvm::Value* v); 79 const llvm::PointerType* isaPointer(llvm::Value* v);
80 const llvm::PointerType* isaPointer(const llvm::Type* t);
80 const llvm::ArrayType* isaArray(llvm::Value* v); 81 const llvm::ArrayType* isaArray(llvm::Value* v);
82 const llvm::ArrayType* isaArray(const llvm::Type* t);
81 const llvm::StructType* isaStruct(llvm::Value* v); 83 const llvm::StructType* isaStruct(llvm::Value* v);
84 const llvm::StructType* isaStruct(const llvm::Type* t);
82 llvm::Constant* isaConstant(llvm::Value* v); 85 llvm::Constant* isaConstant(llvm::Value* v);
83 llvm::ConstantInt* isaConstantInt(llvm::Value* v); 86 llvm::ConstantInt* isaConstantInt(llvm::Value* v);
87 llvm::Argument* isaArgument(llvm::Value* v);
84 88
85 // basic operations 89 // basic operations
86 void DtoAssign(DValue* lhs, DValue* rhs); 90 void DtoAssign(DValue* lhs, DValue* rhs);
87 91
88 // binary operations 92 // binary operations