Lines Matching defs:CurrentBlock
2979 BasicBlock *CurrentBlock = CurInst->getParent();
2983 assignBlockRPONumber(*CurrentBlock->getParent());
2986 for (BasicBlock *P : predecessors(CurrentBlock)) {
2993 // It is not safe to do PRE when P->CurrentBlock is a loop backedge.
2994 assert(BlockRPONumber.count(P) && BlockRPONumber.count(CurrentBlock) &&
2996 if (BlockRPONumber[P] >= BlockRPONumber[CurrentBlock]) {
3001 uint32_t TValNo = VN.phiTranslate(P, CurrentBlock, ValNo, *this);
3044 unsigned SuccNum = GetSuccessorNumber(PREPred, CurrentBlock);
3051 if (!performScalarPREInsertion(PREInstr, PREPred, CurrentBlock, ValNo)) {
3070 Phi->insertBefore(CurrentBlock->begin());
3084 VN.eraseTranslateCacheEntry(ValNo, *CurrentBlock);
3085 LeaderTable.insert(ValNo, Phi, CurrentBlock);
3091 LeaderTable.erase(ValNo, CurInst, CurrentBlock);
3104 for (BasicBlock *CurrentBlock : depth_first(&F.getEntryBlock())) {
3106 if (CurrentBlock == &F.getEntryBlock())
3110 if (CurrentBlock->isEHPad())
3113 for (BasicBlock::iterator BI = CurrentBlock->begin(),
3114 BE = CurrentBlock->end();