diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-23 06:07:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-23 06:07:02 +0000 |
commit | 3793325cb3b4d97a295e5aaa419cfcf2866940c9 (patch) | |
tree | 22b2804112ea7b838f5cf8a5c7a9db03cba25a8e /include/llvm/Transforms | |
parent | 259f88e3c9dc2fe0513897d8a4d3b05adf2eea46 (diff) | |
download | external_llvm-3793325cb3b4d97a295e5aaa419cfcf2866940c9.zip external_llvm-3793325cb3b4d97a295e5aaa419cfcf2866940c9.tar.gz external_llvm-3793325cb3b4d97a295e5aaa419cfcf2866940c9.tar.bz2 |
Add a new trivial -inst-namer pass which makes it possible to diff the
before/after effects of a pass, crazy!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index b4c3e7c..8799a6f 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -325,6 +325,13 @@ FunctionPass *createSimplifyLibCallsPass(); // FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0); + +//===----------------------------------------------------------------------===// +// +// InstructionNamer - Give any unnamed non-void instructions "tmp" names. +// +FunctionPass *createInstructionNamerPass(); + } // End llvm namespace #endif |