projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added RegisterPressureTracker::dump() for debugging.
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
Passes.h
diff --git
a/include/llvm/CodeGen/Passes.h
b/include/llvm/CodeGen/Passes.h
index c80f6dcdb51c3fae08f5cd4c7883dc82334c23f8..282e4edcfb441d5cc58b9a12b4bc51a80ac38ad7 100644
(file)
--- a/
include/llvm/CodeGen/Passes.h
+++ b/
include/llvm/CodeGen/Passes.h
@@
-141,6
+141,10
@@
public:
/// Add passes to lower exception handling for the code generator.
void addPassesToHandleExceptions();
/// Add passes to lower exception handling for the code generator.
void addPassesToHandleExceptions();
+ /// Add pass to prepare the LLVM IR for code generation. This should be done
+ /// before exception handling preparation passes.
+ virtual void addCodeGenPrepare();
+
/// Add common passes that perform LLVM IR to IR transforms in preparation for
/// instruction selection.
virtual void addISelPrepare();
/// Add common passes that perform LLVM IR to IR transforms in preparation for
/// instruction selection.
virtual void addISelPrepare();
@@
-288,9
+292,6
@@
namespace llvm {
/// MachineLoopInfo - This pass is a loop analysis pass.
extern char &MachineLoopInfoID;
/// MachineLoopInfo - This pass is a loop analysis pass.
extern char &MachineLoopInfoID;
- /// MachineLoopRanges - This pass is an on-demand loop coverage analysis.
- extern char &MachineLoopRangesID;
-
/// MachineDominators - This pass is a machine dominators analysis pass.
extern char &MachineDominatorsID;
/// MachineDominators - This pass is a machine dominators analysis pass.
extern char &MachineDominatorsID;
@@
-315,6
+316,10
@@
namespace llvm {
/// This pass is still in development
extern char &StrongPHIEliminationID;
/// This pass is still in development
extern char &StrongPHIEliminationID;
+ /// LiveIntervals - This analysis keeps track of the live ranges of virtual
+ /// and physical registers.
+ extern char &LiveIntervalsID;
+
/// LiveStacks pass. An analysis keeping track of the liveness of stack slots.
extern char &LiveStacksID;
/// LiveStacks pass. An analysis keeping track of the liveness of stack slots.
extern char &LiveStacksID;
@@
-392,10
+397,18
@@
namespace llvm {
/// into tails of their predecessors.
extern char &TailDuplicateID;
/// into tails of their predecessors.
extern char &TailDuplicateID;
+ /// MachineTraceMetrics - This pass computes critical path and CPU resource
+ /// usage in an ensemble of traces.
+ extern char &MachineTraceMetricsID;
+
/// EarlyIfConverter - This pass performs if-conversion on SSA form by
/// inserting cmov instructions.
extern char &EarlyIfConverterID;
/// EarlyIfConverter - This pass performs if-conversion on SSA form by
/// inserting cmov instructions.
extern char &EarlyIfConverterID;
+ /// StackSlotColoring - This pass performs stack coloring and merging.
+ /// It merges disjoint allocas to reduce the stack size.
+ extern char &StackColoringID;
+
/// IfConverter - This pass performs machine code if conversion.
extern char &IfConverterID;
/// IfConverter - This pass performs machine code if conversion.
extern char &IfConverterID;