diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-04 14:51:25 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-06-04 14:51:25 +0000 |
commit | a7afa37f3c8a8757e5729ddc22df0bc911bf6024 (patch) | |
tree | e35653264b26ad666b3fa5ea281ce6ef57b878c2 /include/llvm/CodeGen/MachineFunction.h | |
parent | 0ccf5496a9e8fd2cc65aab4cc08ba9d9c906e40f (diff) |
Clarify documentation and use correct doxygen comment form /// vs. // .
Thanks to Vladimir Prus for corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index e1c19865fa..90d699ea14 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -132,16 +132,19 @@ public: /// void dump() const; - // The next three methods are used to construct, destruct, and retrieve the - // MachineFunction object for the given method. - // - // construct() -- Allocates and initializes for a given method and target - // get() -- Returns a handle to the object. - // This should not be called before "construct()" - // for a given Method. - // + /// construct - Allocate and initialize a MachineFunction for a given Function + /// and Target + /// static MachineFunction& construct(const Function *F, const TargetMachine &TM); + + /// destruct - Destroy the MachineFunction corresponding to a given Function + /// static void destruct(const Function *F); + + /// get - Return a handle to a MachineFunction corresponding to the given + /// Function. This should not be called before "construct()" for a given + /// Function. + /// static MachineFunction& get(const Function *F); // Provide accessors for the MachineBasicBlock list... |