Lines Matching full:getparent
267 return I.getParent() == cast<Instruction>(I.use_back())->getParent();
279 if (AI->getParent() != &AI->getParent()->getParent()->getEntryBlock())
2370 bool isStructReturn = I.getParent()->getParent()->hasStructRetAttr();
2379 &*--I.getParent()->getParent()->end() == I.getParent() &&
2380 !I.getParent()->size() == 1) {
2397 printPHICopiesForSuccessor (SI.getParent(), SI.getDefaultDest(), 2);
2398 printBranchToBlock(SI.getParent(), SI.getDefaultDest(), 2);
2405 printPHICopiesForSuccessor (SI.getParent(), Succ, 2);
2406 printBranchToBlock(SI.getParent(), Succ, 2);
2407 if (Function::iterator(Succ) == llvm::next(Function::iterator(SI.getParent())))
2468 if (isGotoCodeNecessary(I.getParent(), I.getSuccessor(0))) {
2473 printPHICopiesForSuccessor (I.getParent(), I.getSuccessor(0), 2);
2474 printBranchToBlock(I.getParent(), I.getSuccessor(0), 2);
2476 if (isGotoCodeNecessary(I.getParent(), I.getSuccessor(1))) {
2478 printPHICopiesForSuccessor (I.getParent(), I.getSuccessor(1), 2);
2479 printBranchToBlock(I.getParent(), I.getSuccessor(1), 2);
2487 printPHICopiesForSuccessor (I.getParent(), I.getSuccessor(1), 2);
2488 printBranchToBlock(I.getParent(), I.getSuccessor(1), 2);
2493 printPHICopiesForSuccessor (I.getParent(), I.getSuccessor(0), 0);
2494 printBranchToBlock(I.getParent(), I.getSuccessor(0), 0);
3044 if (I.getParent()->getParent()->arg_empty())
3047 writeOperand(--I.getParent()->getParent()->arg_end());