[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Local.h

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 24 10:53:01 PDT 2002


Changes in directory llvm/include/llvm/Transforms/Utils:

Local.h updated: 1.7 -> 1.8

---
Log message:

  - Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
    removing it from Transforms/Local.h and from Transforms/Utils/*


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/Utils/Local.h
diff -u llvm/include/llvm/Transforms/Utils/Local.h:1.7 llvm/include/llvm/Transforms/Utils/Local.h:1.8
--- llvm/include/llvm/Transforms/Utils/Local.h:1.7	Thu Sep  5 21:35:11 2002
+++ llvm/include/llvm/Transforms/Utils/Local.h	Tue Sep 24 10:51:54 2002
@@ -60,19 +60,4 @@
 ///
 bool SimplifyCFG(BasicBlock *BB);
 
-
-/// isCriticalEdge - Return true if the specified edge is a critical edge.
-/// Critical edges are edges from a block with multiple successors to a block
-/// with multiple predecessors.
-///
-///
-bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum);
-
-/// SplitCriticalEdge - Insert a new node node to split the critical edge.  This
-/// will update DominatorSet, ImmediateDominator and DominatorTree information
-/// if it is available, thus calling this pass will not invalidate either of
-/// them.
-///
-void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
-
 #endif





More information about the llvm-commits mailing list