summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 14:29:38 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 14:29:38 +0200
commit881d4f5cf7e85b87ed0f3bd55fd1542a7ca743f4 (patch)
treee9e05269914510bee3bf708917c5fa980e383ac8 /MLKLLVMCompiler.h
parentdfe50b2e72ddbd0148870748975f00e7fc662314 (diff)
LLVM compiler: Insert value names into the assembly code.
Diffstat (limited to 'MLKLLVMCompiler.h')
-rw-r--r--MLKLLVMCompiler.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/MLKLLVMCompiler.h b/MLKLLVMCompiler.h
index a57a33f..4f167bb 100644
--- a/MLKLLVMCompiler.h
+++ b/MLKLLVMCompiler.h
@@ -24,6 +24,7 @@
#import <Foundation/NSString.h>
#ifdef __cplusplus
+#include <vector>
#include <llvm/Value.h>
#include <llvm/BasicBlock.h>
using namespace llvm;
@@ -42,8 +43,23 @@ using namespace llvm;
#ifdef __cplusplus
+(Value *) processForm:(MLKForm *)form;
++(Value *) insertSelectorLookup:(NSString *)name;
+
++(Value *) insertMethodCall:(NSString *)messageName
+ onObject:(Value *)object
+ withArgumentVector:(std::vector<Value*> *)argv;
++(Value *) insertMethodCall:(NSString *)messageName
+ onObject:(Value *)object
+ withArgumentVector:(std::vector<Value*> *)argv
+ name:(NSString *)name;
+
+(Value *) insertMethodCall:(NSString *)messageName
onObject:(Value *)object;
++(Value *) insertMethodCall:(NSString *)messageName
+ onObject:(Value *)object
+ withName:(NSString *)name;
+
++(Value *) insertClassLookup:(NSString *)className;
#endif
@end