| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 108 const DataLayout &DL = F.getParent()->getDataLayout(); in runInternal() 225 F.getParent()); in runInternal() 238 F.getParent()); in runInternal() 247 F.getParent()); in runInternal() 252 F.getParent()); in runInternal() 257 Pointer, F.getParent()); in runInternal() 272 F.getParent()); in runInternal() 285 F.getParent()); in runInternal() 294 F.getParent()); in runInternal() 299 F.getParent()); in runInternal() [all …]
|
| H A D | CFG.cpp | 106 assert(is_contained(predecessors(Dest), TI->getParent()) && in isCriticalEdge() 211 assert(A->getParent() == B->getParent() && in isPotentiallyReachable() 236 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable() 239 if (A->getParent() == B->getParent()) { in isPotentiallyReachable() 245 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable() 270 Worklist, const_cast<BasicBlock *>(B->getParent()), ExclusionSet, in isPotentiallyReachable() 275 A->getParent(), B->getParent(), ExclusionSet, DT, LI); in isPotentiallyReachable()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Dominance.cpp | 114 Region *aRegion = a->getParent(); in tryGetBlocksInSameRegion() 115 Region *bRegion = b->getParent(); in tryGetBlocksInSameRegion() 162 if (a->getParent() == b->getParent()) in tryGetBlocksInSameRegion() 212 Region *regionA = a->getParent(); in properlyDominates() 213 if (regionA != b->getParent()) { in properlyDominates() 234 Region *region = a->getParent(); in isReachableFromEntry() 263 Region *aRegion = aBlock->getParent(); in properlyDominatesImpl() 264 if (aRegion != bBlock->getParent()) { in properlyDominatesImpl() 271 assert(bBlock->getParent() == aRegion); in properlyDominatesImpl() 323 Region *aRegion = aBlock->getParent(); in properlyPostDominates() [all …]
|
| H A D | Block.cpp | 26 Region *Block::getParent() const { return parentValidOpOrderPair.getPointer(); } in getParent() function in Block 31 return getParent() ? getParent()->getParentOp() : nullptr; in getParentOp() 35 bool Block::isEntryBlock() { return this == &getParent()->front(); } in isEntryBlock() 40 assert(!getParent() && "already inserted into a block!"); in insertBefore() 41 assert(block->getParent() && "cannot insert before a block without a parent"); in insertBefore() 42 block->getParent()->getBlocks().insert(block->getIterator(), this); in insertBefore() 49 block->getParent()->getBlocks().splice( in moveBefore() 50 block->getIterator(), getParent()->getBlocks(), getIterator()); in moveBefore() 55 assert(getParent() && "Block has no parent"); in erase() 56 getParent()->getBlocks().erase(this); in erase() [all …]
|
| H A D | Verifier.cpp | 100 if (!block->getParent()) in mayBeValidWithoutTerminator() 102 if (!llvm::hasSingleElement(*block->getParent())) in mayBeValidWithoutTerminator() 119 return emitError(block.getParent()->getLoc(), in verifyBlock() 150 if (successor->getParent() != block.getParent()) in verifyBlock() 287 Region *region1 = block1->getParent(); in diagnoseInvalidOperandDominance() 288 Region *region2 = block2->getParent(); in diagnoseInvalidOperandDominance() 304 Region *region1 = block1->getParent(); in diagnoseInvalidOperandDominance() 305 Region *region2 = block2->getParent(); in diagnoseInvalidOperandDominance()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTLambda.h | 28 const CXXRecordDecl *LambdaClass = MD->getParent(); in isLambdaCallOperator() 40 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorSpecialization() 48 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator() 71 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorOrStaticInvokerSpecialization() 82 return DC->getParent()->getParent(); in getLambdaAwareParentOfDeclContext() 84 return DC->getParent(); in getLambdaAwareParentOfDeclContext()
|
| H A D | ParentMap.h | 36 Stmt *getParent(Stmt*) const; 42 const Stmt *getParent(const Stmt* S) const { in getParent() function 43 return getParent(const_cast<Stmt*>(S)); in getParent() 54 bool hasParent(const Stmt *S) const { return getParent(S) != nullptr; } in hasParent()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 49 M = BB->getParent()->getParent(); in CreateGlobalString() 146 Module *M = BB->getParent()->getParent(); in CreateMemSet() 175 Module *M = BB->getParent()->getParent(); in CreateMemSetInline() 203 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemSet() 233 Module *M = BB->getParent()->getParent(); in CreateMemTransferInst() 312 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemCpy() 350 Module *M = BB->getParent()->getParent(); in CreateMemMove() 387 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemMove() 489 Module *M = BB->getParent()->getParent(); in CreateLifetimeStart() 505 Module *M = BB->getParent()->getParent(); in CreateLifetimeEnd() [all …]
|
| H A D | DiagnosticInfo.cpp | 245 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemark() 251 RemarkName, *Inst->getParent()->getParent(), in OptimizationRemark() 252 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemark() 276 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkMissed() 283 *Inst->getParent()->getParent(), in OptimizationRemarkMissed() 284 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkMissed() 304 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis() 311 *Inst->getParent()->getParent(), in OptimizationRemarkAnalysis() 312 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkAnalysis() 348 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in DiagnosticInfoOptimizationFailure() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsSERegisterInfo.cpp | 107 const MipsSubtarget &Subtarget = MO.getParent() in getLoadStoreOffsetSizeInBits() 108 ->getParent() in getLoadStoreOffsetSizeInBits() 109 ->getParent() in getLoadStoreOffsetSizeInBits() 150 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFI() 220 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFI() 224 MachineRegisterInfo &RegInfo = MBB.getParent()->getRegInfo(); in eliminateFI() 228 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI() 239 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFI() 244 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIFixSGPRCopies.cpp | 137 const MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in hasVectorOperands() 186 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy() 194 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy() 197 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy() 510 I->getParent()->splice(I, MI2->getParent(), MI2); in hoistAndMergeSGPRInits() 540 auto MBB = MI->getParent(); in hoistAndMergeSGPRInits() 612 I = BuildMI(*MI.getParent(), in runOnMachineFunction() 630 I = BuildMI(*MI.getParent(), in runOnMachineFunction() 875 MachineFunction *MF = MI.getParent()->getParent(); in processPHINode() 902 MachineBasicBlock *MBB = MI.getParent(); in lowerSpecialCase() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineBasicBlock.cpp | 59 const MachineFunction *MF = getParent(); in getSymbol() 129 MachineFunction &MF = *N->getParent(); in addNodeToList() 176 assert(Parent->getParent() == FromList.Parent->getParent() && in transferNodesFromList() 320 if (getParent()) in getFullName() 338 const Module *M = F.getParent(); in print() 491 } else if (bb->getParent()) { in printName() 926 if (Fallthrough == getParent()->end()) in getFallThrough() 981 MachineFunction *MF = getParent(); in splitAt() 1017 MachineFunction *MF = getParent(); in SplitCriticalEdge() 1327 getParent()->remove(this); in removeFromParent() [all …]
|
| H A D | ReachingDefAnalysis.cpp | 124 unsigned MBBNumber = MI->getParent()->getNumber(); in processDefs() 293 MachineBasicBlock *ParentA = A->getParent(); in hasSameReachingDef() 294 MachineBasicBlock *ParentB = B->getParent(); in hasSameReachingDef() 334 MachineBasicBlock *MBB = Def->getParent(); in getReachingLocalUses() 377 MachineBasicBlock *MBB = MI->getParent(); in getGlobalUses() 446 MachineBasicBlock *Parent = MI->getParent(); in getUniqueReachingMIDef() 472 MachineBasicBlock *MBB = MI->getParent(); in isRegUsedAfter() 493 MachineBasicBlock *MBB = MI->getParent(); in isRegDefinedAfter() 507 MachineBasicBlock *MBB = MI->getParent(); in isReachingDefLiveOut() 558 if (From->getParent() != To->getParent() || From == To) in isSafeToMove() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanVerifier.cpp | 50 assert(VPB->getParent() == Region && "VPBlockBase has wrong parent"); in verifyBlocksInRegion() 85 assert(Pred->getParent() == VPB->getParent() && in verifyBlocksInRegion() 132 assert(!TopRegion->getParent() && "VPlan Top Region should have no parent."); in verifyHierarchicalCFG() 186 if (UI->getParent() == VPBB) { in verifyVPBasicBlock() 196 auto *ParentR = VPBB->getParent(); in verifyVPBasicBlock() 203 auto I = BlockNumbering.find(UI->getParent()); in verifyVPBasicBlock() 214 if (UI->getParent()->getParent() != ParentR) { in verifyVPBasicBlock()
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceBasicBlocks.cpp | 52 Function &F = *BB.getParent(); in replaceBranchTerminator() 64 auto *FnRetTy = BB.getParent()->getReturnType(); in replaceBranchTerminator() 89 auto *FnRetTy = SwInst.getParent()->getParent()->getReturnType(); in removeUninterestingBBsFromSwitch() 92 SwInst.getParent()); in removeUninterestingBBsFromSwitch() 138 if (BB->getParent()->size() == 1) { in extractBasicBlocksFromModule() 141 auto F = BB->getParent(); in extractBasicBlocksFromModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | MergedLoadStoreMotion.cpp | 186 BasicBlock *BB0 = Store0->getParent(); in canSinkFromBlock() 217 NewPN->addIncoming(Opd1, S0->getParent()); in getPHIOperand() 218 NewPN->addIncoming(Opd2, S1->getParent()); in getPHIOperand() 230 (A0->getParent() == S0->getParent()) && A1->hasOneUse() && in canSinkStoresAndGEPs() 231 (A1->getParent() == S1->getParent()) && isa<GetElementPtrInst>(A0); in canSinkStoresAndGEPs() 259 assert(S0->getParent() == A0->getParent()); in sinkStoresAndGEPs() 260 assert(S1->getParent() == A1->getParent()); in sinkStoresAndGEPs()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64CleanupLocalDynamicTLSPass.cpp | 99 MachineFunction *MF = I.getParent()->getParent(); in replaceTLSBaseAddrCall() 104 MachineInstr *Copy = BuildMI(*I.getParent(), I, I.getDebugLoc(), in replaceTLSBaseAddrCall() 121 MachineFunction *MF = I.getParent()->getParent(); in setRegister() 130 BuildMI(*I.getParent(), ++I.getIterator(), I.getDebugLoc(), in setRegister()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugValueManager.cpp | 31 for (MachineBasicBlock::iterator DE = Instr->getParent()->end(); DI != DE; in WebAssemblyDebugValueManager() 40 MachineBasicBlock *MBB = Insert->getParent(); in move() 42 MBB->splice(Insert, DBI->getParent(), DBI); in move() 54 MachineBasicBlock *MBB = Insert->getParent(); in clone() 55 MachineFunction *MF = MBB->getParent(); in clone()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | DemoteRegToStack.cpp | 29 Function *F = I.getParent()->getParent(); in DemoteRegToStack() 30 const DataLayout &DL = F->getParent()->getDataLayout(); in DemoteRegToStack() 47 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() 123 Function *F = P->getParent()->getParent(); in DemotePHIToStack() 132 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack()
|
| H A D | SimplifyCFG.cpp | 1717 if (I->getParent()->getSingleSuccessor() == I->getParent()) in canSinkInstructions() 1752 U->getParent() == I->getParent(); in canSinkInstructions() 2329 NormalBB, {Invokes[0]->getParent(), Invokes[1]->getParent()}, in shouldBelongToSameSet() 2352 {Invokes[0]->getParent(), Invokes[1]->getParent()})) in shouldBelongToSameSet() 2427 {DominatorTree::Insert, II->getParent(), MergedInvoke->getParent()}); in MergeCompatibleInvokesImpl() 2493 BranchInst::Create(MergedInvoke->getParent(), II->getParent()); in MergeCompatibleInvokesImpl() 3379 assert(is_contained(predecessors(BI->getParent()), PBI->getParent()) && in shouldFoldCondBranchesToCommonDestination() 3949 if (!HasOnePredAndOneSucc(PFB, PBI->getParent(), QBI->getParent()) || in mergeConditionalStores() 4150 LLVM_DEBUG(dbgs() << *PBI->getParent()->getParent()); in SimplifyCondBranchToCondBranch() 4243 LLVM_DEBUG(dbgs() << *PBI->getParent()->getParent()); in SimplifyCondBranchToCondBranch() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 69 if (DefMI->getParent() == NewMBB || in updatePHIs() 99 MachineInstrBuilder MIB(*MI.getParent()->getParent(), &MI); in addIncomingValuesToPHIs() 120 MachineBasicBlock *MBB = OrigBranch->getParent(); in allInstrsInSameMBB() 121 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB() 123 if (MIToDelete && MIToDelete->getParent() != MBB) in allInstrsInSameMBB() 125 if (NewCond && NewCond->getParent() != MBB) in allInstrsInSameMBB() 145 MachineFunction *MF = ThisMBB->getParent(); in splitMBB() 507 if (UseMI.getParent() != MIParam.getParent()) in createCRLogicalOpInfo() 515 (MIParam.getParent() == Ret.TrueDefs.first->getParent()); in createCRLogicalOpInfo() 518 (MIParam.getParent() == Ret.TrueDefs.second->getParent()); in createCRLogicalOpInfo() [all …]
|
| H A D | PPCCTRLoops.cpp | 235 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandNormalLoops() 237 MachineBasicBlock *Preheader = Start->getParent(); in expandNormalLoops() 238 MachineBasicBlock *Exiting = Dec->getParent(); in expandNormalLoops() 252 Start->getParent()->getParent()->getProperties().reset( in expandNormalLoops() 312 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandCTRLoops() 314 MachineBasicBlock *Preheader = Start->getParent(); in expandCTRLoops() 315 MachineBasicBlock *Exiting = Dec->getParent(); in expandCTRLoops()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 21 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getVPrintF() 40 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getAddressSpaceCast() 61 auto M = Builder.GetInsertBlock()->getParent()->getParent(); in getGPUThreadIdentifiers() 189 &Builder.GetInsertBlock()->getParent()->getEntryBlock().front()); in createGPUPrinterT() 245 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getPrintF() 270 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createFlush()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Localizer.cpp | 54 MachineInstr &MIUse = *MOUse.getParent(); in isLocalUse() 55 InsertMBB = MIUse.getParent(); in isLocalUse() 58 return InsertMBB == Def.getParent(); in isLocalUse() 62 MachineInstr *MI = Op.getParent(); in isNonUniquePhiValue() 100 LLVM_DEBUG(MachineInstr &MIUse = *MOUse.getParent(); in localizeInterBlock() 126 MachineInstr &UseMI = *MOUse.getParent(); in localizeInterBlock() 160 MachineBasicBlock &MBB = *MI->getParent(); in localizeIntraBlock()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARC/ |
| H A D | ARCExpandPseudos.cpp | 68 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), TII->get(AddOpc), AddrReg) in expandStore() 71 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), in expandStore() 93 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::FLS_f_rr), Ra) in expandCTLZ() 95 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::MOV_cc_ru6), Rb) in expandCTLZ() 99 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::RSUB_cc_rru6)) in expandCTLZ() 120 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::FFS_f_rr), R) in expandCTTZ() 122 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), TII->get(ARC::MOV_cc_ru6)) in expandCTTZ()
|