LLVM API Documentation
#include <StableBasicBlockNumbering.h>
Collaboration diagram for llvm::StableBasicBlockNumbering:

Public Member Functions | |
| StableBasicBlockNumbering (Function *F=0) | |
| void | compute (Function &F) |
| unsigned | getNumber (BasicBlock *BB) const |
| BasicBlock * | getBlock (unsigned N) const |
Definition at line 24 of file StableBasicBlockNumbering.h.
| llvm::StableBasicBlockNumbering::StableBasicBlockNumbering | ( | Function * | F = 0 |
) | [inline] |
| void llvm::StableBasicBlockNumbering::compute | ( | Function & | F | ) | [inline] |
compute - If we have not computed a numbering for the function yet, do so.
Definition at line 39 of file StableBasicBlockNumbering.h.
Referenced by StableBasicBlockNumbering().
| unsigned llvm::StableBasicBlockNumbering::getNumber | ( | BasicBlock * | BB | ) | const [inline] |
getNumber - Return the ID number for the specified BasicBlock.
Definition at line 51 of file StableBasicBlockNumbering.h.
References BB.
| BasicBlock* llvm::StableBasicBlockNumbering::getBlock | ( | unsigned | N | ) | const [inline] |
getBlock - Return the BasicBlock corresponding to a particular ID.
Definition at line 61 of file StableBasicBlockNumbering.h.