diff options
author | Jakub Staszak <kubastaszak@gmail.com> | 2013-08-20 23:04:15 +0000 |
---|---|---|
committer | Jakub Staszak <kubastaszak@gmail.com> | 2013-08-20 23:04:15 +0000 |
commit | 328a4fbfbb778de44d9a738c3efdfd42a58925d9 (patch) | |
tree | 356fcfc7bcf27b99a53ffe585d1c168b0b2981a4 /include/llvm/Analysis/CFG.h | |
parent | 815af99a04edb8b9f5816d2edf6a4ab5de4e5548 (diff) | |
download | external_llvm-328a4fbfbb778de44d9a738c3efdfd42a58925d9.tar.gz external_llvm-328a4fbfbb778de44d9a738c3efdfd42a58925d9.tar.bz2 external_llvm-328a4fbfbb778de44d9a738c3efdfd42a58925d9.zip |
Add some constantness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/CFG.h')
-rw-r--r-- | include/llvm/Analysis/CFG.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/CFG.h b/include/llvm/Analysis/CFG.h index 979926b18b..e5683c8e59 100644 --- a/include/llvm/Analysis/CFG.h +++ b/include/llvm/Analysis/CFG.h @@ -65,7 +65,8 @@ bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, /// on branchy code but not loops, and LI is most useful on code with loops but /// does not help on branchy code outside loops. bool isPotentiallyReachable(const Instruction *From, const Instruction *To, - DominatorTree *DT = 0, LoopInfo *LI = 0); + const DominatorTree *DT = 0, + const LoopInfo *LI = 0); /// \brief Determine whether block 'To' is reachable from 'From', returning /// true if uncertain. @@ -74,7 +75,8 @@ bool isPotentiallyReachable(const Instruction *From, const Instruction *To, /// Returns false only if we can prove that once 'From' has been reached then /// 'To' can not be executed. Conservatively returns true. bool isPotentiallyReachable(const BasicBlock *From, const BasicBlock *To, - DominatorTree *DT = 0, LoopInfo *LI = 0); + const DominatorTree *DT = 0, + const LoopInfo *LI = 0); } // End llvm namespace |