diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-18 22:40:24 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-18 22:40:24 +0000 |
commit | 4c080863de86448d905beab27686da823b6d44c1 (patch) | |
tree | 62e104baee7dd17b6f324af45a95d7bdabd07ec9 /include/llvm/CodeGen/Passes.h | |
parent | 78cb3f218ae2b6e7200e81a21642fd2d269e46c7 (diff) | |
download | external_llvm-4c080863de86448d905beab27686da823b6d44c1.zip external_llvm-4c080863de86448d905beab27686da823b6d44c1.tar.gz external_llvm-4c080863de86448d905beab27686da823b6d44c1.tar.bz2 |
Remove TwoAddressInstruction from the public headers and add an ID
instead, since this pass doesn't expose any state to its users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index 8868de1..3aee4ce 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -28,6 +28,11 @@ class TargetMachine; // extern const PassInfo *PHIEliminationID; +// TwoAddressInstruction pass - This pass reduces two-address +// instructions to use two operands. This destroys SSA information but +// it is desired by register allocators. +extern const PassInfo *TwoAddressInstructionPassID; + /// Creates a register allocator as the user specified on the command /// line. FunctionPass *createRegisterAllocator(); |