diff options
author | Eric Christopher <echristo@apple.com> | 2008-05-13 22:51:04 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2008-05-13 22:51:04 +0000 |
commit | 48eb092e05abbb5f842a05eb822fa7d77b304fb4 (patch) | |
tree | b39f69d99b2e70d61be93db90e0e8eac87e5117b | |
parent | 426004064f38752eadae2c3c68ed07343af6a24d (diff) | |
download | external_llvm-48eb092e05abbb5f842a05eb822fa7d77b304fb4.zip external_llvm-48eb092e05abbb5f842a05eb822fa7d77b304fb4.tar.gz external_llvm-48eb092e05abbb5f842a05eb822fa7d77b304fb4.tar.bz2 |
Make this function public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51077 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/SparsePropagation.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/SparsePropagation.h b/include/llvm/Analysis/SparsePropagation.h index cad18d7..dea81b1 100644 --- a/include/llvm/Analysis/SparsePropagation.h +++ b/include/llvm/Analysis/SparsePropagation.h @@ -146,6 +146,10 @@ public: /// LatticeVal getOrInitValueState(Value *V); + /// isEdgeFeasible - Return true if the control flow edge from the 'From' + /// basic block to the 'To' basic block is currently feasible... + bool isEdgeFeasible(BasicBlock *From, BasicBlock *To); + private: /// UpdateState - When the state for some instruction is potentially updated, /// this function notices and adds I to the worklist if needed. @@ -163,10 +167,6 @@ private: /// successors are reachable from a given terminator instruction. void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs); - /// isEdgeFeasible - Return true if the control flow edge from the 'From' - /// basic block to the 'To' basic block is currently feasible... - bool isEdgeFeasible(BasicBlock *From, BasicBlock *To); - void visitInst(Instruction &I); void visitPHINode(PHINode &I); void visitTerminatorInst(TerminatorInst &TI); |