Lines Matching refs:BasicBlock
42 typedef std::vector<BasicBlock*>::const_iterator POIterator;
43 typedef std::vector<BasicBlock*>::const_reverse_iterator RPOIterator;
53 DenseMap<BasicBlock*, unsigned> PostNumbers;
54 std::vector<BasicBlock*> PostBlocks;
85 bool hasPreorder(BasicBlock *BB) const { return PostNumbers.count(BB); }
88 bool hasPostorder(BasicBlock *BB) const {
89 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB);
94 unsigned getPostorder(BasicBlock *BB) const {
95 DenseMap<BasicBlock*, unsigned>::const_iterator I = PostNumbers.find(BB);
102 unsigned getRPO(BasicBlock *BB) const {
118 bool insertEdge(BasicBlock *From, BasicBlock *To);
119 void finishPostorder(BasicBlock *BB);
126 typedef po_iterator<BasicBlock*, LoopBlocksTraversal, true> POTIterator;
154 bool visitPreorder(BasicBlock *BB) {
163 void finishPostorder(BasicBlock *BB) {
171 insertEdge(BasicBlock *From, BasicBlock *To) {
176 finishPostorder(BasicBlock *BB) {