Home
last modified time | relevance | path

Searched refs:UserBB (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLCSSA.cpp187 BasicBlock *UserBB = cast<Instruction>(U)->getParent(); in ProcessInstruction() local
189 UserBB = PN->getIncomingBlock(UI); in ProcessInstruction()
191 if (InstBB != UserBB && !inLoop(UserBB)) in ProcessInstruction()
257 BasicBlock *UserBB = User->getParent(); in ProcessInstruction() local
259 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()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp79 BasicBlock *UserBB = User->getParent(); in processInstruction() local
81 UserBB = PN->getIncomingBlock(U); in processInstruction()
83 if (InstBB != UserBB && !L.contains(UserBB)) in processInstruction()
161 BasicBlock *UserBB = User->getParent(); in processInstruction() local
163 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()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp405 BasicBlock *UserBB = User->getParent(); in OptimizeNoopCopyExpression() local
407 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() local
470 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 …]
DLoopRotation.cpp128 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local
132 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()
137 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp121 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local
125 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()
130 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
155 BasicBlock *UserBB = UserInst->getParent(); in RewriteUsesOfClonedInstructions() local
156 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()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoopInfo.cpp273 BasicBlock *UserBB = cast<Instruction>(U)->getParent(); in isLCSSAForm() local
275 UserBB = P->getIncomingBlock(UI); in isLCSSAForm()
281 if (UserBB != BB && in isLCSSAForm()
282 !LoopBBs.count(UserBB) && in isLCSSAForm()
283 DT.isReachableFromEntry(UserBB)) in isLCSSAForm()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp753 BasicBlock *UserBB = User->getParent(); in SinkCast() local
755 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() local
917 if (UserBB == DefBB) continue; in SinkCmpExpression()
920 CmpInst *&InsertedCmp = InsertedCmps[UserBB]; in SinkCmpExpression()
[all …]
DWinEHPrepare.cpp901 BasicBlock *UserBB = UserI->getParent(); in cloneCommonBlocks() local
902 ColorVector &ColorsForUserBB = BlockColors[UserBB]; in cloneCommonBlocks()
/external/llvm/lib/Analysis/
DLoopInfo.cpp157 BasicBlock *UserBB = UI->getParent(); in isLCSSAForm() local
159 UserBB = P->getIncomingBlock(U); in isLCSSAForm()
165 if (UserBB != BB && in isLCSSAForm()
166 !contains(UserBB) && in isLCSSAForm()
167 DT.isReachableFromEntry(UserBB)) in isLCSSAForm()
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp1316 MachineBasicBlock *UserBB = U.MI->getParent(); in findAvailableWater() local
1318 BBInfo[UserBB->getNumber()].postOffset(getCPELogAlign(U.CPEMI)); in findAvailableWater()