aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-25 19:21:38 +0000
committerChris Lattner <sabre@nondot.org>2008-02-25 19:21:38 +0000
commit6110224fa6b09615743f49462bfcf2548f624068 (patch)
tree0d51f92932d05fe289fc739f91c7c87a23efcd8c
parent5f27ba1197676fda5fcc669bd109de22e584f08e (diff)
prune #includes, fit in 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47556 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/ParamAttrsList.h5
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h8
2 files changed, 7 insertions, 6 deletions
diff --git a/include/llvm/ParamAttrsList.h b/include/llvm/ParamAttrsList.h
index fca9046eaa..00e9707beb 100644
--- a/include/llvm/ParamAttrsList.h
+++ b/include/llvm/ParamAttrsList.h
@@ -10,17 +10,16 @@
// This file contains classes used to represent the parameter attributes
// associated with functions and their calls.
//
-// The implementation of ParamAttrsList is in lib/VMCore/ParameterAttributes.cpp.
+// The implementation of ParamAttrsList is in VMCore/ParameterAttributes.cpp.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_PARAM_ATTRS_LIST_H
#define LLVM_PARAM_ATTRS_LIST_H
+#include "llvm/ParameterAttributes.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/FoldingSet.h"
-#include "llvm/ParameterAttributes.h"
-#include <cassert>
namespace llvm {
diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h
index 92f35ccda4..4230cb1dd1 100644
--- a/include/llvm/Transforms/Utils/BasicBlockUtils.h
+++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h
@@ -61,9 +61,11 @@ bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
bool AllowIdenticalEdges = false);
/// SplitCriticalEdge - If this edge is a critical edge, insert a new node to
-/// split the critical edge. This will update DominatorTree, and DominatorFrontier
-/// information if it is available, thus calling this pass will not invalidate
-/// either of them. This returns true if the edge was split, false otherwise.
+/// split the critical edge. This will update DominatorTree and
+/// DominatorFrontier information if it is available, thus calling this pass
+/// will not invalidate either of them. This returns true if the edge was split,
+/// false otherwise.
+///
/// If MergeIdenticalEdges is true (the default), *all* edges from TI to the
/// specified successor will be merged into the same critical edge block.
/// This is most commonly interesting with switch instructions, which may