Searched refs:UserBB (Results 1 – 10 of 10) sorted by relevance
187 BasicBlock *UserBB = cast<Instruction>(U)->getParent(); in ProcessInstruction() local189 UserBB = PN->getIncomingBlock(UI); in ProcessInstruction()191 if (InstBB != UserBB && !inLoop(UserBB)) in ProcessInstruction()257 BasicBlock *UserBB = User->getParent(); in ProcessInstruction() local259 UserBB = PN->getIncomingBlock(*UsesToRewrite[i]); in ProcessInstruction()261 if (isa<PHINode>(UserBB->begin()) && in ProcessInstruction()262 isExitBlock(UserBB, ExitBlocks)) { in ProcessInstruction()263 UsesToRewrite[i]->set(UserBB->begin()); in ProcessInstruction()
79 BasicBlock *UserBB = User->getParent(); in processInstruction() local81 UserBB = PN->getIncomingBlock(U); in processInstruction()83 if (InstBB != UserBB && !L.contains(UserBB)) in processInstruction()161 BasicBlock *UserBB = User->getParent(); in processInstruction() local163 UserBB = PN->getIncomingBlock(*UseToRewrite); in processInstruction()165 if (isa<PHINode>(UserBB->begin()) && isExitBlock(UserBB, ExitBlocks)) { in processInstruction()168 ValueHandleBase::ValueIsRAUWd(*UseToRewrite, &UserBB->front()); in processInstruction()169 UseToRewrite->set(&UserBB->front()); in processInstruction()
405 BasicBlock *UserBB = User->getParent(); in OptimizeNoopCopyExpression() local407 UserBB = PN->getIncomingBlock(UI); in OptimizeNoopCopyExpression()414 if (UserBB == DefBB) continue; in OptimizeNoopCopyExpression()417 CastInst *&InsertedCast = InsertedCasts[UserBB]; in OptimizeNoopCopyExpression()420 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in OptimizeNoopCopyExpression()467 BasicBlock *UserBB = User->getParent(); in OptimizeCmpExpression() local470 if (UserBB == DefBB) continue; in OptimizeCmpExpression()473 CmpInst *&InsertedCmp = InsertedCmps[UserBB]; in OptimizeCmpExpression()476 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in OptimizeCmpExpression()1009 BasicBlock *UserBB = User->getParent(); in OptimizeExtUses() local[all …]
128 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local132 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()137 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
121 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local125 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()130 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()155 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local156 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()164 if (UserBB == OrigPreheader) in RewriteUsesOfClonedInstructions()166 else if (SSA.HasValueForBlock(UserBB)) in RewriteUsesOfClonedInstructions()167 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions()
273 BasicBlock *UserBB = cast<Instruction>(U)->getParent(); in isLCSSAForm() local275 UserBB = P->getIncomingBlock(UI); in isLCSSAForm()281 if (UserBB != BB && in isLCSSAForm()282 !LoopBBs.count(UserBB) && in isLCSSAForm()283 DT.isReachableFromEntry(UserBB)) in isLCSSAForm()
753 BasicBlock *UserBB = User->getParent(); in SinkCast() local755 UserBB = PN->getIncomingBlock(TheUse); in SinkCast()769 if (UserBB->getTerminator()->isEHPad()) in SinkCast()773 if (UserBB == DefBB) continue; in SinkCast()776 CastInst *&InsertedCast = InsertedCasts[UserBB]; in SinkCast()779 BasicBlock::iterator InsertPt = UserBB->getFirstInsertionPt(); in SinkCast()780 assert(InsertPt != UserBB->end()); in SinkCast()914 BasicBlock *UserBB = User->getParent(); in SinkCmpExpression() local917 if (UserBB == DefBB) continue; in SinkCmpExpression()920 CmpInst *&InsertedCmp = InsertedCmps[UserBB]; in SinkCmpExpression()[all …]
901 BasicBlock *UserBB = UserI->getParent(); in cloneCommonBlocks() local902 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks()
157 BasicBlock *UserBB = UI->getParent(); in isLCSSAForm() local159 UserBB = P->getIncomingBlock(U); in isLCSSAForm()165 if (UserBB != BB && in isLCSSAForm()166 !contains(UserBB) && in isLCSSAForm()167 DT.isReachableFromEntry(UserBB)) in isLCSSAForm()
1316 MachineBasicBlock *UserBB = U.MI->getParent(); in findAvailableWater() local1318 BBInfo[UserBB->getNumber()].postOffset(getCPELogAlign(U.CPEMI)); in findAvailableWater()