diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
| commit | 4e8c4877aaf055f967dc0ec9f1776510e418d51b (patch) | |
| tree | 9a01c96215f1fedaabea15c92d7fcf84732f9b37 /llvm/lib/CodeGen/InstrSched | |
| parent | 2c8c163103c28312cb87360db380a86d610768d0 (diff) | |
| download | bcm5719-llvm-4e8c4877aaf055f967dc0ec9f1776510e418d51b.tar.gz bcm5719-llvm-4e8c4877aaf055f967dc0ec9f1776510e418d51b.zip | |
Rename Method to Function
llvm-svn: 1957
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.h | 8 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.h | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h index fb6087c44d9..99e20576b8f 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.h @@ -28,7 +28,7 @@ class Value; class Instruction; class TerminatorInst; class BasicBlock; -class Method; +class Function; class TargetMachine; class SchedGraphEdge; class SchedGraphNode; @@ -339,7 +339,7 @@ class SchedGraphSet : private std::hash_map<const BasicBlock*, SchedGraph*> { private: - const Method* method; + const Function* method; public: typedef std::hash_map<const BasicBlock*, SchedGraph*> map_base; @@ -347,7 +347,7 @@ public: using map_base::const_iterator; public: - /*ctor*/ SchedGraphSet (const Method* _method, + /*ctor*/ SchedGraphSet (const Function * function, const TargetMachine& target); /*dtor*/ ~SchedGraphSet (); @@ -379,7 +379,7 @@ private: // // Graph builder // - void buildGraphsForMethod (const Method *method, + void buildGraphsForMethod (const Function *F, const TargetMachine& target); }; diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h index f99d7ce86ea..2d0bff9765a 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h @@ -28,7 +28,7 @@ #include <list> #include <ext/hash_set> #include <iostream> -class Method; +class Function; class MachineInstr; class SchedulingManager; class MethodLiveVarInfo; @@ -125,7 +125,8 @@ private: class SchedPriorities: public NonCopyable { public: - SchedPriorities(const Method *M, const SchedGraph *G, MethodLiveVarInfo &LVI); + SchedPriorities(const Function *F, const SchedGraph *G, + MethodLiveVarInfo &LVI); // This must be called before scheduling begins. |

