diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-17 17:52:36 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-08-17 17:52:36 +0000 |
commit | 274ba03f49e78ccb5670292a8cab53009dcca896 (patch) | |
tree | eff6a540c97ecb3cad03dec65da0814717ace5fe /include/llvm/CodeGen/MachineFunction.h | |
parent | 91b362bba9dbc9945262f0f74f00e1cf3a67c814 (diff) |
Ultra-doxygenify some function header comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index cc675e4539..3969e60230 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -48,6 +48,7 @@ public: static void setNext(MachineBasicBlock* N, MachineBasicBlock* next) { N->Next = next; } + static MachineBasicBlock* createNode(); void addNodeToList(MachineBasicBlock* N); void removeNodeFromList(MachineBasicBlock* N); @@ -117,6 +118,7 @@ public: /// getConstantPool - Return the constant pool object for the current /// function. + /// MachineConstantPool *getConstantPool() const { return ConstantPool; } /// MachineFunctionInfo - Keep track of various per-function pieces of @@ -128,6 +130,7 @@ public: /// are inserted into the machine function. The block number for a machine /// basic block can be found by using the MBB::getBlockNumber method, this /// method provides the inverse mapping. + /// MachineBasicBlock *getBlockNumbered(unsigned N) { assert(N < MBBNumbering.size() && "Illegal block number"); assert(MBBNumbering[N] && "Block was removed from the machine function!"); |