From: Chris Lattner Date: Tue, 24 Sep 2002 15:51:54 +0000 (+0000) Subject: - Do not expose Critical Edge breaking mechanics outside the BCE pass, thus X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=04d8dc31f656c35d93d88710f61779c9cb599d4d;p=oota-llvm.git - Do not expose Critical Edge breaking mechanics outside the BCE pass, thus removing it from Transforms/Local.h and from Transforms/Utils/* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3909 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index 596bb52c192..9d3507db65a 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -60,19 +60,4 @@ bool dceInstruction(BasicBlock::iterator &BBI); /// 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