Lines Matching defs:CurrentBlock
2949 BasicBlock *CurrentBlock = CurInst->getParent();
2953 assignBlockRPONumber(*CurrentBlock->getParent());
2956 for (BasicBlock *P : predecessors(CurrentBlock)) {
2963 // It is not safe to do PRE when P->CurrentBlock is a loop backedge.
2964 assert(BlockRPONumber.count(P) && BlockRPONumber.count(CurrentBlock) &&
2966 if (BlockRPONumber[P] >= BlockRPONumber[CurrentBlock]) {
2971 uint32_t TValNo = VN.phiTranslate(P, CurrentBlock, ValNo, *this);
3014 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock);
3021 if (!performScalarPREInsertion(PREInstr, PREPred, CurrentBlock, ValNo)) {
3040 Phi->insertBefore(CurrentBlock->begin());
3054 VN.eraseTranslateCacheEntry(ValNo, *CurrentBlock);
3055 LeaderTable.insert(ValNo, Phi, CurrentBlock);
3061 LeaderTable.erase(ValNo, CurInst, CurrentBlock);
3074 for (BasicBlock *CurrentBlock : depth_first(&F.getEntryBlock())) {
3076 if (CurrentBlock == &F.getEntryBlock())
3080 if (CurrentBlock->isEHPad())
3083 for (BasicBlock::iterator BI = CurrentBlock->begin(),
3084 BE = CurrentBlock->end();