reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/ilist_node.h
  267     return static_cast<const NodeTy *>(this)->getParent();
include/llvm/Analysis/CFLAliasAnalysisUtils.h
   46     auto *Bb = Inst->getParent();
include/llvm/Analysis/LoopInfo.h
  132     return contains(Inst->getParent());
include/llvm/Analysis/RegionInfo.h
  470   bool contains(const InstT *Inst) const { return contains(Inst->getParent()); }
include/llvm/CodeGen/BasicTTIImpl.h
  342     bool IsJTAllowed = TLI->areJTsAllowed(SI.getParent()->getParent());
include/llvm/CodeGen/TargetLowering.h
 1039     const bool OptForSize = SI->getParent()->getParent()->hasOptSize();
include/llvm/IR/CFG.h
   75     return cast<Instruction>(*It)->getParent();
include/llvm/IR/CallSite.h
  101   BBTy* getParent() const { return getInstruction()->getParent(); }
include/llvm/IR/Statepoint.h
  348         cast<Instruction>(Token)->getParent()->getUniquePredecessor();
lib/Analysis/AliasAnalysis.cpp
  714   assert(I1.getParent() == I2.getParent() &&
  714   assert(I1.getParent() == I2.getParent() &&
lib/Analysis/BasicAliasAnalysis.cpp
  819     if (!inst->getParent())
  821     return inst->getParent()->getParent();
 1588   VisitedPhiBBs.insert(PN->getParent());
 1594     if (PN2->getParent() == PN->getParent()) {
 1594     if (PN2->getParent() == PN->getParent()) {
lib/Analysis/CFG.cpp
   99   assert(find(predecessors(Dest), TI->getParent()) != pred_end(Dest) &&
  222   assert(A->getParent()->getParent() == B->getParent()->getParent() &&
  222   assert(A->getParent()->getParent() == B->getParent()->getParent() &&
  227   if (A->getParent() == B->getParent()) {
  227   if (A->getParent() == B->getParent()) {
  233     BasicBlock *BB = const_cast<BasicBlock *>(A->getParent());
  260     Worklist.push_back(const_cast<BasicBlock*>(A->getParent()));
  264     if (DT->isReachableFromEntry(A->getParent()) &&
  265         !DT->isReachableFromEntry(B->getParent()))
  268       if (A->getParent() == &A->getParent()->getParent()->getEntryBlock() &&
  268       if (A->getParent() == &A->getParent()->getParent()->getEntryBlock() &&
  269           DT->isReachableFromEntry(B->getParent()))
  271       if (B->getParent() == &A->getParent()->getParent()->getEntryBlock() &&
  271       if (B->getParent() == &A->getParent()->getParent()->getEntryBlock() &&
  272           DT->isReachableFromEntry(A->getParent()))
  278       Worklist, const_cast<BasicBlock *>(B->getParent()), ExclusionSet, DT, LI);
lib/Analysis/CaptureTracking.cpp
   96       if (BB == BeforeHere->getParent()) {
  214     OBB = new OrderedBasicBlock(I->getParent());
lib/Analysis/ConstantFolding.cpp
 1721           Call->getParent() ? Call->getCaller() : nullptr;
lib/Analysis/DependenceAnalysis.cpp
  738   const BasicBlock *SrcBlock = Src->getParent();
  739   const BasicBlock *DstBlock = Dst->getParent();
lib/Analysis/DivergenceAnalysis.cpp
  143   for (const auto *Loop = LI.getLoopFor(Inst->getParent());
  155   if (!Phi.hasConstantOrUndefValue() && isJoinDivergent(*Phi.getParent())) {
  172         isTemporalDivergent(*Phi.getParent(), *InVal)) {
  180   return I.getParent() && inRegion(*I.getParent());
  180   return I.getParent() && inRegion(*I.getParent());
  300   LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n");
  304   const auto *BranchLoop = LI.getLoopFor(Term.getParent());
lib/Analysis/IVUsers.cpp
   68               SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR);
lib/Analysis/InstructionPrecedenceTracking.cpp
   60       getFirstSpecialInstruction(Insn->getParent());
  111     FirstSpecialInsts.erase(Inst->getParent());
  112   OI.invalidateBlock(Inst->getParent());
lib/Analysis/InstructionSimplify.cpp
 2449           return AI->getParent() && AI->getFunction() && AI->isStaticAlloca();
lib/Analysis/LazyValueInfo.cpp
 2003   auto *ParentBB = I->getParent();
 2030       if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent()))
 2031         printResult(UseI->getParent());
lib/Analysis/LegacyDivergenceAnalysis.cpp
  379       F = I->getParent()->getParent();
lib/Analysis/LoopInfo.cpp
  432       const BasicBlock *UserBB = UI->getParent();
lib/Analysis/MemoryDependenceAnalysis.cpp
  249   if (LI->getParent()->getParent()->hasFnAttribute(Attribute::SanitizeThread))
  300         (LI->getParent()->getParent()->hasFnAttribute(
  302          LI->getParent()->getParent()->hasFnAttribute(
lib/Analysis/MemorySSAUpdater.cpp
 1378   const BasicBlock *BB = I->getParent();
 1400   const BasicBlock *BB = BI->getParent();
lib/Analysis/MustExecute.cpp
  252   if (Inst.getParent() == CurLoop->getHeader())
  258            Inst.getParent()->getFirstNonPHIOrDbg() == &Inst;
  262   return allLoopPathsLeadToBlock(CurLoop, Inst.getParent(), DT);
  269          allLoopPathsLeadToBlock(CurLoop, Inst.getParent(), DT);
  294   auto *BB = I.getParent();
  389       Loop *L = LI.getLoopFor(I.getParent());
  402       Loop *L = LI.getLoopFor(I.getParent());
lib/Analysis/OrderedBasicBlock.cpp
   39   assert(A->getParent() == BB && "Instruction supposed to be in the block!");
   40   assert(B->getParent() == BB && "Instruction supposed to be in the block!");
   67   assert(A->getParent() == B->getParent() &&
   67   assert(A->getParent() == B->getParent() &&
   69   assert(A->getParent() == BB && "Instructions must be in the tracked block!");
lib/Analysis/OrderedInstructions.cpp
   18   assert(InstA->getParent() == InstB->getParent() &&
   18   assert(InstA->getParent() == InstB->getParent() &&
   21   const BasicBlock *IBB = InstA->getParent();
   35   if (InstA->getParent() == InstB->getParent())
   35   if (InstA->getParent() == InstB->getParent())
   37   return DT->dominates(InstA->getParent(), InstB->getParent());
   37   return DT->dominates(InstA->getParent(), InstB->getParent());
   44   if (InstA->getParent() == InstB->getParent())
   44   if (InstA->getParent() == InstB->getParent())
   47   DomTreeNode *DA = DT->getNode(InstA->getParent());
   48   DomTreeNode *DB = DT->getNode(InstB->getParent());
lib/Analysis/ProfileSummaryInfo.cpp
  121     return BFI->getBlockProfileCount(Inst->getParent(), AllowSynthetic);
lib/Analysis/ScalarEvolution.cpp
  620     const BasicBlock *LParent = LInst->getParent(),
  621                      *RParent = RInst->getParent();
 4624   const Loop *L = LI.getLoopFor(PN->getParent());
 4625   if (!L || L->getHeader() != PN->getParent())
 5988   Loop *InnermostContainingLoop = LI.getLoopFor(I->getParent());
 5990       InnermostContainingLoop->getHeader() != I->getParent())
 6089         if (BI->getParent() == LatchBB) {
10058   const BasicBlock *LBB = LPhi->getParent();
10067   if (RPhi && RPhi->getParent() == LBB) {
lib/Analysis/ScalarEvolutionExpander.cpp
  629       return Pair.first->second = SE.LI.getLoopFor(I->getParent());
 2440   if (SE.properlyDominates(S, InsertionPoint->getParent()))
 2442   if (SE.dominates(S, InsertionPoint->getParent())) {
 2443     if (InsertionPoint->getParent()->getTerminator() == InsertionPoint)
lib/Analysis/SyncDependenceAnalysis.cpp
  371   const auto &TermBlock = *Term.getParent();
  373       TermBlock, successors(Term.getParent()), LI.getLoopFor(&TermBlock));
lib/Analysis/TypeMetadataUtils.cpp
   79   const Module *M = CI->getParent()->getParent()->getParent();
lib/Analysis/ValueTracking.cpp
  153   if (CxtI && CxtI->getParent())
  158   if (CxtI && CxtI->getParent())
  539   } else if (Inv->getParent() == CxtI->getParent()->getSinglePredecessor()) {
  539   } else if (Inv->getParent() == CxtI->getParent()->getSinglePredecessor()) {
  546   if (Inv->getParent() != CxtI->getParent())
  546   if (Inv->getParent() != CxtI->getParent())
  556          IE = Inv->getParent()->end(); I != IE; ++I)
  594     assert(I->getParent()->getParent() == Q.CxtI->getParent()->getParent() &&
 1962           BasicBlockEdge Edge(BI->getParent(), NonNullSuccessor);
 1963           if (Edge.isSingleEdge() && DT->dominates(Edge, CtxI->getParent()))
 3692   Loop *L = LI->getLoopFor(PN->getParent());
 3794       if (!LI || !LI->isLoopHeader(PN->getParent()) ||
 4203     BasicBlockEdge NoWrapEdge(BI->getParent(), BI->getSuccessor(1));
 4211       if (DT.dominates(NoWrapEdge, Result->getParent()))
 4310   if (I->getParent() != L->getHeader()) return false;
 4397   const BasicBlock *BB = PoisonI->getParent();
 4404   Visited.insert(PoisonI->getParent());
 5390   if (!ContextI || !ContextI->getParent())
 5395   const BasicBlock *ContextBB = ContextI->getParent();
lib/CodeGen/Analysis.cpp
  514   const BasicBlock *ExitBB = I->getParent();
lib/CodeGen/CodeGenPrepare.cpp
  762       if (UI->getParent() != DestBB || !isa<PHINode>(UI))
  767       if (UI->getParent() == DestBB) {
  805           if (V2PN->getParent() == BB)
lib/CodeGen/GlobalISel/IRTranslator.cpp
  447         BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex())
  459   MachineBasicBlock *SwitchMBB = &getMBB(*SI.getParent());
 2066       for (auto Pred : getMachinePredBBs({IRPred, PI->getParent()})) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  359          cast<Instruction>(*I->user_begin())->getParent() == I->getParent();
  359          cast<Instruction>(*I->user_begin())->getParent() == I->getParent();
 1595     if (!handlePHINodesInSuccessorBlocks(I->getParent())) {
 2327          TheUser->getParent() == FoldInst->getParent() &&
 2327          TheUser->getParent() == FoldInst->getParent() &&
 2382       FuncInfo.MBBMap[cast<Instruction>(Add)->getParent()] != FuncInfo.MBB)
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
   51   const BasicBlock *BB = I->getParent();
   53     if (cast<Instruction>(U)->getParent() != BB || isa<PHINode>(U))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  169     return R->getParent()->getParent()->getCallingConv();
 1081     HandlePHINodesInSuccessorBlocks(I.getParent());
 1778   if (I.getParent()->getTerminatingDeoptimizeCall()) {
 1785     const Function *F = I.getParent()->getParent();
 1829       const Function *F = I.getParent()->getParent();
 1897   const Function *F = I.getParent()->getParent();
 1963     if (VI->getParent() == FromBB)
 2014     return I->getParent() == BB;
 2108       BOp->getParent() != CurBB->getBasicBlock() ||
 2947     const BasicBlock &BB = *I.getParent();
 7112   auto *Caller = CS.getInstruction()->getParent()->getParent();
 9405     if (cast<Instruction>(U)->getParent() != &Entry || isa<SwitchInst>(U))
10503         BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex())
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  628       if (Relocate->getParent() != StatepointInstr->getParent())
  628       if (Relocate->getParent() != StatepointInstr->getParent())
  648     if (Reloc->getParent() == SI.StatepointInstr->getParent())
  648     if (Reloc->getParent() == SI.StatepointInstr->getParent())
  894     if (GCResult->getParent() != ISP.getCall()->getParent()) {
  894     if (GCResult->getParent() != ISP.getCall()->getParent()) {
  970   if (I->getParent() != CI.getParent()) {
  970   if (I->getParent() != CI.getParent()) {
  996   if (Relocate.getStatepoint()->getParent() == Relocate.getParent())
  996   if (Relocate.getStatepoint()->getParent() == Relocate.getParent())
lib/CodeGen/SwiftErrorValueTracking.cpp
  306       const Function *F = R->getParent()->getParent();
lib/CodeGen/SwitchLoweringUtils.cpp
   56   if (!TLI->areJTsAllowed(SI->getParent()->getParent()))
  233       CurMF->CreateMachineBasicBlock(SI->getParent());
  446         FuncInfo.MF->CreateMachineBasicBlock(SI->getParent());
lib/CodeGen/WinEHPrepare.cpp
  154     HT.Handler = CPI->getParent();
  238   const BasicBlock *BB = FirstNonPHI->getParent();
  340   const BasicBlock *BB = FirstNonPHI->getParent();
  353     const BasicBlock *CatchPadBB = CatchPad->getParent();
  538                                          HandlerType, 0, Pad->getParent());
lib/IR/AsmWriter.cpp
  326     const Function *M = I->getParent() ? I->getParent()->getParent() : nullptr;
  326     const Function *M = I->getParent() ? I->getParent()->getParent() : nullptr;
  869     if (I->getParent())
  870       return new SlotTracker(I->getParent()->getParent());
 3874     if (CI->isMustTailCall() && CI->getParent() &&
 3875         CI->getParent()->getParent() &&
 3876         CI->getParent()->getParent()->isVarArg())
 4303     incorporateFunction(I->getParent() ? I->getParent()->getParent() : nullptr);
 4303     incorporateFunction(I->getParent() ? I->getParent()->getParent() : nullptr);
lib/IR/DiagnosticInfo.cpp
  243                                    RemarkName, *Inst->getParent()->getParent(),
  244                                    Inst->getDebugLoc(), Inst->getParent()) {}
  278                                    *Inst->getParent()->getParent(),
  279                                    Inst->getDebugLoc(), Inst->getParent()) {}
  299                                    *Inst->getParent()->getParent(),
  300                                    Inst->getDebugLoc(), Inst->getParent()) {}
  376                                      *Inst->getParent()->getParent(),
lib/IR/Dominators.cpp
  117   const BasicBlock *UseBB = User->getParent();
  118   const BasicBlock *DefBB = Def->getParent();
  154   const BasicBlock *DefBB = Def->getParent();
  250   const BasicBlock *DefBB = Def->getParent();
lib/IR/Instruction.cpp
   56   return getParent()->getModule();
   60   return getParent()->getParent();
  502       if (I->getParent() != BB)
lib/IR/Instructions.cpp
 1275   const BasicBlock *Parent = getParent();
lib/IR/SafepointIRVerifier.cpp
   85     const BasicBlock* BB = PN->getParent();
lib/IR/Value.cpp
  154     if (User && User->getParent() == BB)
  738   if (PN && PN->getParent() == CurBB)
lib/IR/Verifier.cpp
  602       if (!I->getParent() || !I->getParent()->getParent())
  602       if (!I->getParent() || !I->getParent()->getParent())
  605       else if (I->getParent()->getParent()->getParent() != &M)
  607                     I->getParent()->getParent(),
  608                     I->getParent()->getParent()->getParent());
lib/Target/AArch64/AArch64FastISel.cpp
  587         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
  739       if (FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
  823       if (FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
  936     InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock();
 1021   return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB;
 2416   finishCondBranch(BI->getParent(), TBB, FBB);
 2490       finishCondBranch(BI->getParent(), TBB, FBB);
 2502           BI->getParent(), Target->getBasicBlock());
 2521       finishCondBranch(BI->getParent(), TBB, FBB);
 2546   finishCondBranch(BI->getParent(), TBB, FBB);
 3836   const Function &F = *I->getParent()->getParent();
lib/Target/AArch64/AArch64StackTagging.cpp
  498   const BasicBlock *ABB = A->getParent();
  499   const BasicBlock *BBB = B->getParent();
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  875       Type::getInt64Ty(I.getParent()->getParent()->getContext());
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  495   const Function *F = CI->getParent()->getParent();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  659       if (Use->getParent()->getParent() == &F) {
lib/Target/AMDGPU/SIISelLowering.cpp
 2659   const Function *ParentFn = CI->getParent()->getParent();
lib/Target/ARM/ARMFastISel.cpp
  721         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
 1247     if (CI->hasOneUse() && (CI->getParent() == I->getParent())) {
 1247     if (CI->hasOneUse() && (CI->getParent() == I->getParent())) {
 1268       finishCondBranch(BI->getParent(), TBB, FBB);
 1273     if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
 1292       finishCondBranch(BI->getParent(), TBB, FBB);
 1329   finishCondBranch(BI->getParent(), TBB, FBB);
 2092   const Function &F = *I->getParent()->getParent();
lib/Target/ARM/ARMISelLowering.cpp
 2085                                 cast<Instruction>(U)->getParent() == BB;
 2948       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
 3311     if (!I || I->getParent()->getParent() != F)
lib/Target/ARM/ARMTargetTransformInfo.cpp
  531   const Function *F = I->getParent()->getParent();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1863         cast<Instruction>(U)->getParent()->getParent() == &CurF)
lib/Target/Hexagon/HexagonISelLowering.cpp
  236       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
 1725   const BasicBlock *Parent = PN->getParent();
 1817     const Module &M = *I.getParent()->getParent()->getParent();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  291   if (U->getParent()) {
 1807         if (P->getParent() == LoopB)
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  435     auto *Bb = I->getParent();
lib/Target/Mips/MipsFastISel.cpp
  472         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
  553     if (I->getParent() == FuncInfo.MBB->getBasicBlock()) {
  961     if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
  961     if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
  982   finishCondBranch(BI->getParent(), TBB, FBB);
 1682   const Function &F = *I->getParent()->getParent();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  639     if (instr->getParent() && instr->getParent()->getParent()) {
  639     if (instr->getParent() && instr->getParent()->getParent()) {
  640       const Function *curFunc = instr->getParent()->getParent();
  688       const BasicBlock *bb = I->getParent();
  739       const BasicBlock *bb = instr->getParent();
lib/Target/PowerPC/PPCFastISel.cpp
  305   return FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB;
  317         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
  799       finishCondBranch(BI->getParent(), TBB, FBB);
 1695   const Function &F = *I->getParent()->getParent();
lib/Target/PowerPC/PPCISelLowering.cpp
15415   const Function *Caller = CI->getParent()->getParent();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  869             if (!Ld->hasOneUse() && Ld->getParent() == I->getParent() &&
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  216         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
 1293   finishCondBranch(Br->getParent(), TBB, FBB);
lib/Target/X86/X86FastISel.cpp
  269   if (II->getParent() != I->getParent())
  269   if (II->getParent() != I->getParent())
  838         FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
 1020     InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock();
 1146   const Function &F = *I->getParent()->getParent();
 1636     if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
 1636     if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
 1704       finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
 1711     if (TI->hasOneUse() && TI->getParent() == I->getParent() &&
 1737         finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
 1750     finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
 1775   finishCondBranch(BI->getParent(), TrueMBB, FalseMBB);
 2032   if (CI && (CI->getParent() == I->getParent())) {
 2032   if (CI && (CI->getParent() == I->getParent())) {
 2151   if (!CI || (CI->getParent() != I->getParent()))
 2151   if (!CI || (CI->getParent() != I->getParent()))
 2303   if (CI && (CI->getParent() == I->getParent())) {
 2303   if (CI && (CI->getParent() == I->getParent())) {
 3272               (TI->getParent() == CLI.CS->getInstruction()->getParent()) &&
lib/Target/X86/X86ISelLowering.cpp
 2997       CI->getParent()->getParent()->getFnAttribute("disable-tail-calls");
lib/Transforms/IPO/Attributor.cpp
 2251     assert(I->getParent()->getParent() == getAssociatedFunction() &&
 2259     if (!AssumedLiveBlocks.count(I->getParent()))
 2329   const BasicBlock *BB = I->getParent();
lib/Transforms/IPO/DeadArgumentElimination.cpp
  386       const Function *F = RI->getParent()->getParent();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4827   if (!DI->getParent())
 4830   if (DI->getParent() != UI->getParent())
 4830   if (DI->getParent() != UI->getParent())
 4833   if (DI->getParent() == DB)
 4837     if (Usr != UI && !DT.dominates(DB, Usr->getParent()))
 4845   const BasicBlock *BB = SI->getParent();
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1520     if (VP->getParent() == CondPHI->getParent())
 1520     if (VP->getParent() == CondPHI->getParent())
 1525   if (SI.getParent() == CondPHI->getParent() &&
 1525   if (SI.getParent() == CondPHI->getParent() &&
 1526       I->getParent() != CondPHI->getParent())
 1526       I->getParent() != CondPHI->getParent())
lib/Transforms/ObjCARC/ObjCARC.h
   87   auto *BB = PN.getParent();
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  124   if (Call->getParent() != Retain->getParent())
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  600     if (Call->getParent() == RetainRV->getParent()) {
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
   63     if (PNB->getParent() == A->getParent()) {
   63     if (PNB->getParent() == A->getParent()) {
lib/Transforms/Scalar/GVNHoist.cpp
  376     assert(I1->getParent() == I2->getParent());
  376     assert(I1->getParent() == I2->getParent());
  392     const BasicBlock *NewBB = NewPt->getParent();
  446     const BasicBlock *NewBB = NewPt->getParent();
  523     const BasicBlock *NewBB = NewPt->getParent();
  524     const BasicBlock *OldBB = OldPt->getParent();
  821         if (!DT->dominates(Inst->getParent(), HoistPt))
  832         if (!DT->dominates(Inst->getParent(), HoistPt)) {
lib/Transforms/Scalar/GuardWidening.cpp
  513   assert(DT.isReachableFromEntry(Inst->getParent()) &&
  662     assert((!BaseInst || DT.isReachableFromEntry(BaseInst->getParent())) &&
lib/Transforms/Scalar/LICM.cpp
 1307     const BasicBlock *BB = GEP->getParent();
 1311           (BB != UI->getParent() ||
 1334       const BasicBlock *BB = PN->getParent();
 2028             return DT->dominates(Store->getParent(), Exit);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 3422         if (UserInst->getParent()->getParent() != L->getHeader()->getParent())
 3426           UserInst->getParent() :
 3435         if (isa<CatchSwitchInst>(UserInst->getParent()->getTerminator()))
lib/Transforms/Scalar/Reg2Mem.cpp
   50       const BasicBlock *BB = Inst->getParent();
   53         if (UI->getParent() != BB || isa<PHINode>(UI))
lib/Transforms/Utils/BreakCriticalEdges.cpp
  121       if (VP->getParent() == SplitBB)
lib/Transforms/Utils/CloneFunction.cpp
  472     StartingBB = StartingInst->getParent();
  524     const BasicBlock *OldBB = OPN->getParent();
  530          PHIToResolve[phino]->getParent() == OldBB; ++phino) {
lib/Transforms/Utils/CodeExtractor.cpp
  107     if (isa<Instruction>(Curr) && cast<Instruction>(Curr)->getParent() != &BB)
  151           if (!Result.count(const_cast<BasicBlock*>(CRI->getParent())))
  162           if (!Result.count(const_cast<BasicBlock*>(CRI->getParent())))
lib/Transforms/Utils/GlobalStatus.cpp
   82         const Function *F = I->getParent()->getParent();
lib/Transforms/Utils/LoopRotationUtils.cpp
  185           return cast<Instruction>(U)->getParent() != HeaderExit;
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  209     const BasicBlock *BB = I->getParent();
lib/Transforms/Utils/SimplifyCFG.cpp
 1483     auto *Succ = I0->getParent()->getTerminator()->getSuccessor(0);
 1487                   PNUse->getParent() == Succ &&
 1488                   PNUse->getIncomingValueForBlock(I->getParent()) == I) ||
 1489                  U->getParent() == I->getParent();
 1489                  U->getParent() == I->getParent();
lib/Transforms/Utils/SplitModule.cpp
   66     const GlobalValue *F = I->getParent()->getParent();
tools/bugpoint/ExtractFunction.cpp
   89   const BasicBlock *PBB = I->getParent();
tools/clang/unittests/CodeGen/IRMatchers.h
  437   const BasicBlock *BB = I->getParent();
tools/polly/lib/Analysis/ScopDetection.cpp
  979     auto *Scope = LI.getLoopFor(Insn->getParent());
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  345 const Value *ReportNoBasePtr::getRemarkBB() const { return Inst->getParent(); }
  359   return Inst->getParent();
  378   return Inst->getParent();
  401   return Inst->getParent();
  428   return Inst->getParent();