diff options
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/PHITransAddr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Analysis/PHITransAddr.h b/include/llvm/Analysis/PHITransAddr.h index 8257396a09..d090dc38f1 100644 --- a/include/llvm/Analysis/PHITransAddr.h +++ b/include/llvm/Analysis/PHITransAddr.h @@ -80,6 +80,13 @@ public: Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, const DominatorTree &DT, SmallVectorImpl<Instruction*> &NewInsts); + + void dump() const; + + /// Verify - Check internal consistency of this data structure. Though it + /// claims to return a bool, it actually aborts on error and always returns + /// true. + bool Verify() const; private: Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB); @@ -103,6 +110,7 @@ private: /// array that are due to the specified instruction that is about to be /// removed from the address, and add any corresponding to V. This returns V. Value *ReplaceInstWithValue(Instruction *I, Value *V); + }; } // end namespace llvm |