summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-06-04 14:51:25 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-06-04 14:51:25 +0000
commit57c586cf78ca948b21b86f796948bedeb1a39dc3 (patch)
tree2b9f2ef042a98b52b05a8f56ce74855782b6f367 /llvm/include
parent881cc1549fd8a41c5549b0dcd952404ec74a532d (diff)
downloadbcm5719-llvm-57c586cf78ca948b21b86f796948bedeb1a39dc3.tar.gz
bcm5719-llvm-57c586cf78ca948b21b86f796948bedeb1a39dc3.zip
Clarify documentation and use correct doxygen comment form /// vs. // .
Thanks to Vladimir Prus for corrections. llvm-svn: 14009
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/MachineFunction.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h
index e1c19865fa4..90d699ea140 100644
--- a/llvm/include/llvm/CodeGen/MachineFunction.h
+++ b/llvm/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...
OpenPOWER on IntegriCloud