summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2011-06-17 07:09:01 +0000
committerLang Hames <lhames@gmail.com>2011-06-17 07:09:01 +0000
commit8d857660ce194f05eca3e21d149e8cf3101da9e4 (patch)
tree6711e6d2c723965540777b643cf2603933de5a29 /include
parentd589099eec8d120b5a7227072c4e717856e2276f (diff)
downloadllvm-8d857660ce194f05eca3e21d149e8cf3101da9e4.tar.gz
llvm-8d857660ce194f05eca3e21d149e8cf3101da9e4.tar.bz2
llvm-8d857660ce194f05eca3e21d149e8cf3101da9e4.tar.xz
Add a hook for PBQP clients to run a custom pre-alloc pass to run prior to PBQP allocation. Patch by Arnaud Allard de Grandmaison.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/RegAllocPBQP.h b/include/llvm/CodeGen/RegAllocPBQP.h
index 8139c65c4b..bce3ec739b 100644
--- a/include/llvm/CodeGen/RegAllocPBQP.h
+++ b/include/llvm/CodeGen/RegAllocPBQP.h
@@ -161,7 +161,8 @@ namespace llvm {
PBQP::PBQPNum benefit);
};
- FunctionPass* createPBQPRegisterAllocator(std::auto_ptr<PBQPBuilder> builder);
+ FunctionPass* createPBQPRegisterAllocator(std::auto_ptr<PBQPBuilder> builder,
+ char *customPassID=0);
}
#endif /* LLVM_CODEGEN_REGALLOCPBQP_H */