Mercurial > projects > ldc
view gen/functions.h @ 161:3a891cfcd249 trunk
[svn r177] moved variable for interface info type from being local static to being within IRState
author | ChristianK |
---|---|
date | Sun, 04 May 2008 21:25:48 +0200 |
parents | 5825d48b27d1 |
children | 7816aafeea3c |
line wrap: on
line source
#ifndef LLVMDC_GEN_FUNCTIONS_H #define LLVMDC_GEN_FUNCTIONS_H const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false); const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); const llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl); void DtoResolveFunction(FuncDeclaration* fdecl); void DtoDeclareFunction(FuncDeclaration* fdecl); void DtoDefineFunc(FuncDeclaration* fd); DValue* DtoArgument(Argument* fnarg, Expression* argexp); void DtoVariadicArgument(Expression* argexp, llvm::Value* dst); void DtoMain(); #endif