• Home
  • Raw
  • Download

Lines Matching refs:bb

96                                         const BasicBlock *bb)  in findPredecessorBlock()  argument
98 int numPred = dvmCountSetBits(bb->predecessors); in findPredecessorBlock()
100 dvmBitVectorIteratorInit(bb->predecessors, &bvIterator); in findPredecessorBlock()
108 dvmIsBitSet(bb->predecessors, cUnit->entryBlock->id)) { in findPredecessorBlock()
514 void resetBlockEdges(BasicBlock *bb) in resetBlockEdges() argument
516 bb->taken = NULL; in resetBlockEdges()
517 bb->fallThrough = NULL; in resetBlockEdges()
518 bb->successorBlockList.blockListType = kNotUsed; in resetBlockEdges()
522 struct BasicBlock *bb) in clearPredecessorVector() argument
524 dvmClearAllBits(bb->predecessors); in clearPredecessorVector()
617 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); in dvmCompilerFilterLoopBlocks() local
618 if (bb == NULL) break; in dvmCompilerFilterLoopBlocks()
619 if (!dvmIsBitSet(cUnit->tempBlockV, bb->id)) { in dvmCompilerFilterLoopBlocks()
620 bb->hidden = true; in dvmCompilerFilterLoopBlocks()
622 bb->firstMIRInsn = bb->lastMIRInsn = NULL; in dvmCompilerFilterLoopBlocks()
623 resetBlockEdges(bb); in dvmCompilerFilterLoopBlocks()
632 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); in dvmCompilerFilterLoopBlocks() local
633 if (bb == NULL) break; in dvmCompilerFilterLoopBlocks()
634 if (dvmIsBitSet(cUnit->tempBlockV, bb->id)) { in dvmCompilerFilterLoopBlocks()
635 if (bb->taken) { in dvmCompilerFilterLoopBlocks()
640 if (bb->taken == cUnit->exitBlock) { in dvmCompilerFilterLoopBlocks()
643 if (bb->taken->hidden) { in dvmCompilerFilterLoopBlocks()
644 bb->taken->blockType = kChainingCellNormal; in dvmCompilerFilterLoopBlocks()
645 bb->taken->hidden = false; in dvmCompilerFilterLoopBlocks()
647 dvmCompilerSetBit(bb->taken->predecessors, bb->id); in dvmCompilerFilterLoopBlocks()
649 if (bb->fallThrough) { in dvmCompilerFilterLoopBlocks()
654 if (bb->fallThrough == cUnit->exitBlock) { in dvmCompilerFilterLoopBlocks()
657 if (bb->fallThrough->hidden) { in dvmCompilerFilterLoopBlocks()
658 bb->fallThrough->blockType = kChainingCellNormal; in dvmCompilerFilterLoopBlocks()
659 bb->fallThrough->hidden = false; in dvmCompilerFilterLoopBlocks()
661 dvmCompilerSetBit(bb->fallThrough->predecessors, bb->id); in dvmCompilerFilterLoopBlocks()
664 assert(bb->successorBlockList.blockListType == kNotUsed); in dvmCompilerFilterLoopBlocks()