LLVM API Documentation
#include <Dominators.h>
Inheritance diagram for llvm::DominanceFrontierBase:
Public Types | |
typedef std::set< BasicBlock * > | DomSetType |
typedef std::map< BasicBlock *, DomSetType > | DomSetMapType |
typedef DomSetMapType::iterator | iterator |
typedef DomSetMapType::const_iterator | const_iterator |
Public Member Functions | |
DominanceFrontierBase (bool isPostDom) | |
virtual void | releaseMemory () |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
iterator | find (BasicBlock *B) |
const_iterator | find (BasicBlock *B) const |
void | addBasicBlock (BasicBlock *BB, const DomSetType &frontier) |
void | addToFrontier (iterator I, BasicBlock *Node) |
void | removeFromFrontier (iterator I, BasicBlock *Node) |
virtual void | print (std::ostream &OS) const |
Protected Attributes | |
DomSetMapType | Frontiers |
Definition at line 440 of file Dominators.h.
|
Definition at line 452 of file Dominators.h. |
|
Definition at line 442 of file Dominators.h. |
|
Definition at line 441 of file Dominators.h. |
|
Definition at line 451 of file Dominators.h. |
|
Definition at line 446 of file Dominators.h. |
|
Definition at line 460 of file Dominators.h. |
|
Definition at line 465 of file Dominators.h. References end(). |
|
Definition at line 454 of file Dominators.h. References Frontiers. |
|
Definition at line 453 of file Dominators.h. References Frontiers. Referenced by print(). |
|
Definition at line 456 of file Dominators.h. References Frontiers. |
|
Definition at line 455 of file Dominators.h. References Frontiers. Referenced by addBasicBlock(), addToFrontier(), print(), and removeFromFrontier(). |
|
Definition at line 458 of file Dominators.h. References Frontiers. |
|
Definition at line 457 of file Dominators.h. References Frontiers. Referenced by addBasicBlock(). |
|
print - Convert to human readable form Reimplemented from llvm::Pass. Definition at line 458 of file Dominators.cpp. References begin(), E, end(), and llvm::WriteAsOperand(). |
|
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memory when it is no longer needed. The default behavior of passes is to hold onto memory for the entire duration of their lifetime (which is the entire compile time). For pipelined passes, this is not a big deal because that memory gets recycled every time the pass is invoked on another program unit. For IP passes, it is more important to free memory when it is unused. Optionally implement this function to release pass memory when it is no longer used. Reimplemented from llvm::Pass. Definition at line 448 of file Dominators.h. References Frontiers. |
|
Definition at line 470 of file Dominators.h. References end(). |
|
Definition at line 444 of file Dominators.h. Referenced by addBasicBlock(), begin(), end(), find(), releaseMemory(), llvm::PostDominanceFrontier::runOnFunction(), and llvm::DominanceFrontier::runOnFunction(). |