Lines Matching refs:getParent
253 if (User->getParent() != DestBB || !isa<PHINode>(User))
258 if (User->getParent() == DestBB) {
262 if (Insn && Insn->getParent() == BB &&
263 Insn->getParent() != UPN->getIncomingBlock(I))
297 if (V2PN->getParent() == BB)
324 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock();
327 if (isEntry && BB != &BB->getParent()->getEntryBlock())
328 BB->moveBefore(&BB->getParent()->getEntryBlock());
346 if (InValPhi && InValPhi->getParent() == BB) {
418 BasicBlock *DefBB = CI->getParent();
431 BasicBlock *UserBB = User->getParent();
474 BasicBlock *DefBB = CI->getParent();
493 BasicBlock *UserBB = User->getParent();
539 BasicBlock *BB = CI->getParent();
643 BasicBlock *BB = RI->getParent();
644 if (PN && PN->getParent() != BB)
649 const Function *F = BB->getParent();
675 if (CI && CI->hasOneUse() && CI->getParent() == PN->getIncomingBlock(I) &&
711 BasicBlock *CallBB = CI->getParent();
737 return I->getParent() != BB;
832 if (IsNonLocalValue(AddrModeInsts[i], MemoryInst->getParent())) {
935 BasicBlock *BB = CurInstIterator->getParent();
990 if (LI->getParent() == I->getParent())
1021 BasicBlock *DefBB = I->getParent();
1035 if (!isa<Instruction>(Src) || DefBB != cast<Instruction>(Src)->getParent())
1044 BasicBlock *UserBB = User->getParent();
1056 BasicBlock *UserBB = User->getParent();
1074 BasicBlock *UserBB = User->getParent();
1201 DVI->insertBefore(VI->getParent()->getFirstInsertionPt());