[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ConstantProp.cpp DCE.cpp GCSE.cpp IndVarSimplify.cpp InstructionCombining.cpp LICM.cpp PiNodeInsertion.cpp PromoteMemoryToRegister.cpp Reassociate.cpp SCCP.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 21 15:01:04 PDT 2002
Changes in directory llvm/lib/Transforms/Scalar:
ConstantProp.cpp updated: 1.39 -> 1.40
DCE.cpp updated: 1.47 -> 1.48
GCSE.cpp updated: 1.24 -> 1.25
IndVarSimplify.cpp updated: 1.31 -> 1.32
InstructionCombining.cpp updated: 1.61 -> 1.62
LICM.cpp updated: 1.19 -> 1.20
PiNodeInsertion.cpp updated: 1.8 -> 1.9
PromoteMemoryToRegister.cpp updated: 1.32 -> 1.33
Reassociate.cpp updated: 1.11 -> 1.12
SCCP.cpp updated: 1.61 -> 1.62
---
Log message:
- Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to
setPreservesCFG to be less confusing.
---
Diffs of the changes:
Index: llvm/lib/Transforms/Scalar/ConstantProp.cpp
diff -u llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.39 llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.40
--- llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.39 Tue Oct 1 17:38:40 2002
+++ llvm/lib/Transforms/Scalar/ConstantProp.cpp Mon Oct 21 15:00:26 2002
@@ -27,7 +27,7 @@
bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
};
Index: llvm/lib/Transforms/Scalar/DCE.cpp
diff -u llvm/lib/Transforms/Scalar/DCE.cpp:1.47 llvm/lib/Transforms/Scalar/DCE.cpp:1.48
--- llvm/lib/Transforms/Scalar/DCE.cpp:1.47 Tue Oct 1 17:38:40 2002
+++ llvm/lib/Transforms/Scalar/DCE.cpp Mon Oct 21 15:00:26 2002
@@ -38,7 +38,7 @@
}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
};
@@ -60,7 +60,7 @@
virtual bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
};
Index: llvm/lib/Transforms/Scalar/GCSE.cpp
diff -u llvm/lib/Transforms/Scalar/GCSE.cpp:1.24 llvm/lib/Transforms/Scalar/GCSE.cpp:1.25
--- llvm/lib/Transforms/Scalar/GCSE.cpp:1.24 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/GCSE.cpp Mon Oct 21 15:00:26 2002
@@ -39,7 +39,7 @@
// This transformation requires dominator and immediate dominator info
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
AU.addRequired<DominatorSet>();
AU.addRequired<ImmediateDominators>();
AU.addRequired<ValueNumbering>();
Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.31 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.32
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.31 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp Mon Oct 21 15:00:26 2002
@@ -190,7 +190,7 @@
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
};
RegisterOpt<InductionVariableSimplify> X("indvars",
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.61 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.62
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.61 Tue Oct 8 12:07:39 2002
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Mon Oct 21 15:00:26 2002
@@ -53,7 +53,7 @@
virtual bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
// Visitation implementation - Implement instruction combining for different
Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.19 llvm/lib/Transforms/Scalar/LICM.cpp:1.20
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.19 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/LICM.cpp Mon Oct 21 15:00:26 2002
@@ -29,7 +29,7 @@
/// loop preheaders be inserted into the CFG...
///
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
AU.addRequiredID(LoopPreheadersID);
AU.addRequired<LoopInfo>();
AU.addRequired<DominatorTree>();
Index: llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
diff -u llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.8 llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.9
--- llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp:1.8 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp Mon Oct 21 15:00:26 2002
@@ -42,7 +42,7 @@
virtual bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
AU.addRequired<DominatorSet>();
}
Index: llvm/lib/Transforms/Scalar/PromoteMemoryToRegister.cpp
diff -u llvm/lib/Transforms/Scalar/PromoteMemoryToRegister.cpp:1.32 llvm/lib/Transforms/Scalar/PromoteMemoryToRegister.cpp:1.33
--- llvm/lib/Transforms/Scalar/PromoteMemoryToRegister.cpp:1.32 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/PromoteMemoryToRegister.cpp Mon Oct 21 15:00:26 2002
@@ -55,7 +55,7 @@
//
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<DominanceFrontier>();
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
private:
Index: llvm/lib/Transforms/Scalar/Reassociate.cpp
diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.11 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.12
--- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.11 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/Reassociate.cpp Mon Oct 21 15:00:26 2002
@@ -37,7 +37,7 @@
bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
private:
void BuildRankMap(Function &F);
Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.61 llvm/lib/Transforms/Scalar/SCCP.cpp:1.62
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.61 Tue Oct 1 17:38:41 2002
+++ llvm/lib/Transforms/Scalar/SCCP.cpp Mon Oct 21 15:00:26 2002
@@ -96,7 +96,7 @@
bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.preservesCFG();
+ AU.setPreservesCFG();
}
More information about the llvm-commits
mailing list