| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugValueManager.cpp | 37 ME = Def->getParent()->end(); in WebAssemblyDebugValueManager() 70 if (Def->getParent() == Insert->getParent()) { in getSinkableDebugValues() 75 ME = Def->getParent()->end(); in getSinkableDebugValues() 90 if (!Def->getParent()->isSuccessor(Insert->getParent())) in getSinkableDebugValues() 96 ME = Def->getParent()->end(); in getSinkableDebugValues() 101 for (MachineBasicBlock::iterator MI = Insert->getParent()->begin(), in getSinkableDebugValues() 131 MachineRegisterInfo &MRI = Def->getParent()->getParent()->getRegInfo(); in getSinkableDebugValues() 222 if (Def->getParent() != Insert->getParent()) in isInsertSamePlace() 271 MachineBasicBlock *MBB = Insert->getParent(); in sink() 272 MachineFunction *MF = MBB->getParent(); in sink() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 137 PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal() 141 PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal() 145 PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent()); in runInternal() 149 PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent()); in runInternal() 164 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent()); in runInternal() 168 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent()); in runInternal() 172 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent()); in runInternal() 176 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent()); in runInternal() 191 PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal() 195 PrintLoadStoreResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal() [all …]
|
| H A D | CFG.cpp | 107 assert(is_contained(predecessors(Dest), TI->getParent()) && in isCriticalEdge() 262 assert(A->getParent() == B->getParent() && in isPotentiallyReachable() 286 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable() 289 if (A->getParent() == B->getParent()) { in isPotentiallyReachable() 295 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable() 319 return isPotentiallyReachableFromMany(Worklist, B->getParent(), in isPotentiallyReachable() 324 A->getParent(), B->getParent(), ExclusionSet, DT, LI); in isPotentiallyReachable() 363 assert(Src.getParent() == Dest.getParent()); in isPresplitCoroSuspendExitEdge() 364 if (!Src.getParent()->isPresplitCoroutine()) in isPresplitCoroSuspendExitEdge()
|
| H A D | MustExecute.cpp | 105 Function *Fn = CurLoop->getHeader()->getParent(); in computeBlockColors() 139 if (!LHS || LHS->getParent() != CurLoop->getHeader()) { in CanProveNotTakenFirstIteration() 143 if (!LHS || LHS->getParent() != CurLoop->getHeader()) in CanProveNotTakenFirstIteration() 272 if (Inst.getParent() == CurLoop->getHeader()) in isGuaranteedToExecute() 278 &*Inst.getParent()->getFirstNonPHIOrDbg() == &Inst; in isGuaranteedToExecute() 282 return allLoopPathsLeadToBlock(CurLoop, Inst.getParent(), DT); in isGuaranteedToExecute() 289 allLoopPathsLeadToBlock(CurLoop, Inst.getParent(), DT); in isGuaranteedToExecute() 314 auto *BB = I.getParent(); in doesNotWriteMemoryBefore() 340 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 353 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() [all …]
|
| H A D | PHITransAddr.cpp | 142 if (Inst->getParent() != CurBB) { in translateSubExpr() 194 (!DT || DT->dominates(CastI->getParent(), PredBB))) in translateSubExpr() 235 GEPI->getParent()->getParent() == CurBB->getParent() && in translateSubExpr() 236 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in translateSubExpr() 287 BO->getParent()->getParent() == CurBB->getParent() && in translateSubExpr() 288 (!DT || DT->dominates(BO->getParent(), PredBB))) in translateSubExpr() 316 if (!DT->dominates(Inst->getParent(), PredBB)) in translateValue() 385 BasicBlock *CurBB = GEP->getParent(); in insertTranslatedSubExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTLambda.h | 29 const CXXRecordDecl *LambdaClass = MD->getParent(); in isLambdaCallOperator() 41 return MD->getParent()->isLambda(); in isLambdaMethod() 62 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorSpecialization() 70 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator() 93 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorOrStaticInvokerSpecialization() 104 return DC->getParent()->getParent(); in getLambdaAwareParentOfDeclContext() 106 return DC->getParent(); in getLambdaAwareParentOfDeclContext()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsSERegisterInfo.cpp | 103 const MipsSubtarget &Subtarget = MO.getParent() in getLoadStoreOffsetSizeInBits() 104 ->getParent() in getLoadStoreOffsetSizeInBits() 105 ->getParent() in getLoadStoreOffsetSizeInBits() 146 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFI() 216 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFI() 220 MachineRegisterInfo &RegInfo = MBB.getParent()->getRegInfo(); in eliminateFI() 224 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI() 235 MachineBasicBlock &MBB = *MI.getParent(); in eliminateFI() 240 MBB.getParent()->getSubtarget().getInstrInfo()); in eliminateFI()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GIMatchTableExecutor.cpp | 67 if (MI.getParent() == IntoMI.getParent() && in isObviouslySafeToFold() 72 if (MI.isConvergent() && MI.getParent() != IntoMI.getParent()) in isObviouslySafeToFold() 79 if (MI.mayLoad() && MI.getParent() == IntoMI.getParent()) { in isObviouslySafeToFold()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBasicBlock.cpp | 63 const MachineFunction *MF = getParent(); in getSymbol() 95 const MachineFunction *MF = getParent(); in getEHContSymbol() 106 const MachineFunction *MF = getParent(); in getEndSymbol() 133 MachineFunction &MF = *N->getParent(); in addNodeToList() 144 N->getParent()->removeFromMBBNumbering(N->Number); in removeNodeFromList() 151 assert(!N->getParent() && "machine instruction already in a basic block"); in addNodeToList() 156 MachineFunction *MF = Parent->getParent(); in addNodeToList() 164 assert(N->getParent() && "machine instruction not in a basic block"); in removeNodeFromList() 180 assert(Parent->getParent() == FromList.Parent->getParent() && in transferNodesFromList() 196 assert(!MI->getParent() && "MI is still in a block!"); in deleteNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIFixSGPRCopies.cpp | 240 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy() 248 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy() 251 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy() 335 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence() 344 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence() 427 const MachineBasicBlock *MBBFrom = From->getParent(); in isReachable() 428 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable() 499 const MachineBasicBlock *MBBFrom = From->getParent(); in hoistAndMergeSGPRInits() 500 const MachineBasicBlock *MBBTo = To->getParent(); in hoistAndMergeSGPRInits() 515 MDT.properlyDominates(Clobber->getParent(), MBBTo)); in hoistAndMergeSGPRInits() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 117 if (getParent()->hasParamAttribute(getArgNo(), Attribute::NonNull) && in hasNonNullAttr() 119 getParent()->hasParamAttribute(getArgNo(), Attribute::NoUndef))) in hasNonNullAttr() 122 !NullPointerIsDefined(getParent(), in hasNonNullAttr() 146 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftSelf); in hasSwiftSelfAttr() 150 return getParent()->hasParamAttribute(getArgNo(), Attribute::SwiftError); in hasSwiftErrorAttr() 166 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr() 175 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr() 204 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize() 212 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType() 218 return getParent()->getParamAlign(getArgNo()); in getParamAlign() [all …]
|
| H A D | Instruction.cpp | 50 assert(!getParent() && "Instruction still linked in the program!"); in ~Instruction() 70 return getParent()->getModule(); in getModule() 74 return getParent()->getParent(); in getFunction() 85 getParent()->getInstList().remove(getIterator()); in removeFromParent() 97 return getParent()->getInstList().erase(getIterator()); in eraseFromParent() 107 insertBefore(*InsertPos->getParent(), InsertPos); in insertBefore() 113 BasicBlock *DestParent = InsertPos->getParent(); in insertAfter() 119 BasicBlock *DestParent = InsertPos->getParent(); in insertAfter() 126 assert(getParent() == nullptr && "Expected detached instruction"); in insertInto() 127 assert((It == ParentBB->end() || It->getParent() == ParentBB) && in insertInto() [all …]
|
| H A D | DiagnosticInfo.cpp | 293 RemarkName, *CodeRegion->getParent(), Loc, in OptimizationRemark() 300 RemarkName, *Inst->getParent()->getParent(), in OptimizationRemark() 301 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemark() 325 *CodeRegion->getParent(), Loc, CodeRegion) {} in OptimizationRemarkMissed() 332 *Inst->getParent()->getParent(), in OptimizationRemarkMissed() 333 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkMissed() 353 *CodeRegion->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis() 360 *Inst->getParent()->getParent(), in OptimizationRemarkAnalysis() 361 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkAnalysis() 367 *CodeRegion->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis() [all …]
|
| H A D | Dominators.cpp | 142 return properlyDominates(BB, UserInst->getParent()); in dominates() 157 const BasicBlock *UseBB = User->getParent(); in dominates() 158 const BasicBlock *DefBB = Def->getParent(); in dominates() 189 const BasicBlock *DefBB = Def->getParent(); in dominates() 267 if (PN && PN->getParent() == BBE.getEnd() && in dominates() 277 UseBB = UserInst->getParent(); in dominates() 290 const BasicBlock *DefBB = Def->getParent(); in dominates() 299 UseBB = UserInst->getParent(); in dominates() 346 return isReachableFromEntry(I->getParent()); in isReachableFromEntry() 359 BasicBlock *BB1 = I1->getParent(); in findNearestCommonDominator() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64CleanupLocalDynamicTLSPass.cpp | 97 MachineFunction *MF = I.getParent()->getParent(); in replaceTLSBaseAddrCall() 102 MachineInstr *Copy = BuildMI(*I.getParent(), I, I.getDebugLoc(), in replaceTLSBaseAddrCall() 119 MachineFunction *MF = I.getParent()->getParent(); in setRegister() 128 BuildMI(*I.getParent(), ++I.getIterator(), I.getDebugLoc(), in setRegister()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 99 if (InstA->getParent() == InstB->getParent()) in domTreeLevelBefore() 102 DomTreeNode *DA = DT->getNode(InstA->getParent()); in domTreeLevelBefore() 103 DomTreeNode *DB = DT->getNode(InstB->getParent()); in domTreeLevelBefore() 234 return isControlFlowEquivalent(*I0.getParent(), *I1.getParent(), DT, PDT); in isControlFlowEquivalent() 342 if (I.getParent() == InsertPoint.getParent() && in isSafeToMoveBefore() 343 UserInst == I.getParent()->getTerminator()) in isSafeToMoveBefore() 349 if (CheckForEntireBlock && I.getParent() == UserInst->getParent() && in isSafeToMoveBefore() 362 if (CheckForEntireBlock && I.getParent() == OpInst->getParent() && in isSafeToMoveBefore() 484 const BasicBlock *BB0 = I0->getParent(); in isReachedBefore() 485 const BasicBlock *BB1 = I1->getParent(); in isReachedBefore()
|
| H A D | MemoryTaggingSupport.cpp | 59 EndBlocks.insert(End->getParent()); in forAllReachableExits() 71 if (EndBlocks.contains(RI->getParent()) || in forAllReachableExits() 104 if (CallInst *CI = Inst.getParent()->getTerminatingMustTailCall()) in getUntagLocationIfFunctionExit() 263 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in readRegister() 272 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getPC() 275 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), in getPC() 280 Function *F = IRB.GetInsertBlock()->getParent(); in getFP() 281 Module *M = F->getParent(); in getFP() 290 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getAndroidSlotPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCReduceCRLogicals.cpp | 68 if (DefMI->getParent() == NewMBB || in updatePHIs() 98 MachineInstrBuilder MIB(*MI.getParent()->getParent(), &MI); in addIncomingValuesToPHIs() 122 MachineBasicBlock *MBB = OrigBranch->getParent(); in allInstrsInSameMBB() 123 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB() 125 if (MIToDelete && MIToDelete->getParent() != MBB) in allInstrsInSameMBB() 127 if (NewCond && NewCond->getParent() != MBB) in allInstrsInSameMBB() 147 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); in splitMBB() 148 MachineFunction *MF = ThisMBB->getParent(); in splitMBB() 516 if (UseMI.getParent() != MIParam.getParent()) in createCRLogicalOpInfo() 524 (MIParam.getParent() == Ret.TrueDefs.first->getParent()); in createCRLogicalOpInfo() [all …]
|
| H A D | PPCCTRLoops.cpp | 237 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandNormalLoops() 239 MachineBasicBlock *Preheader = Start->getParent(); in expandNormalLoops() 240 MachineBasicBlock *Exiting = Dec->getParent(); in expandNormalLoops() 254 Start->getParent()->getParent()->getProperties().resetNoPHIs(); in expandNormalLoops() 313 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandCTRLoops() 315 MachineBasicBlock *Preheader = Start->getParent(); in expandCTRLoops() 316 MachineBasicBlock *Exiting = Dec->getParent(); in expandCTRLoops()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | SuspendCrossingInfo.cpp | 53 Function *F = B->getParent(); in dump() 55 ModuleSlotTracker MST(F->getParent()); in dump() 177 assert(CE->getParent()->getFirstInsertionPt() == CE->getIterator() && in SuspendCrossingInfo() 178 CE->getParent()->size() <= 2 && "CoroEnd must be in its own BB"); in SuspendCrossingInfo() 180 getBlockData(CE->getParent()).End = true; in SuspendCrossingInfo() 188 BasicBlock *SuspendBlock = BarrierInst->getParent(); in SuspendCrossingInfo() 195 assert(CSI->getParent()->getFirstInsertionPt() == CSI->getIterator() && in SuspendCrossingInfo() 196 CSI->getParent()->size() <= 2 && in SuspendCrossingInfo()
|
| H A D | SpillUtils.cpp | 64 VisitedOrFreeBBs.insert(FI->getParent()); in isLocalAlloca() 67 return !isSuspendReachableFrom(AI->getParent(), VisitedOrFreeBBs); in isLocalAlloca() 107 BasicBlock *CurrentBlock = CatchSwitch->getParent(); in splitBeforeCatchSwitch() 159 CoroSuspendBBs.insert(SuspendInst->getParent()); in AllocaUseVisitor() 277 LifetimeStartBBs.push_back(II.getParent()); in visitIntrinsicInst() 280 LifetimeEndBBs.insert(II.getParent()); in visitIntrinsicInst() 354 if (Checker.hasPathOrLoopCrossingSuspendPoint(A->getParent(), in computeShouldLiveOnFrame() 355 B->getParent())) in computeShouldLiveOnFrame() 548 if (Inst->getParent() != CoroBegin->getParent() || in sinkSpillUsesAfterCoroBegin() 594 Arg->getParent()->removeParamAttr(Arg->getArgNo(), Attribute::Captures); in getSpillInsertionPt() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 269 void setFlags(unsigned F) { setFlags(getParent(), F); } in setFlags() 275 const Scope *getParent() const { return AnyParent; } in getParent() function 276 Scope *getParent() { return AnyParent; } in getParent() function 428 assert(FnS->getParent() && "TUScope not created?"); in isInCXXInlineMethodScope() 429 return FnS->getParent()->isClassScope(); in isInCXXInlineMethodScope() 437 for (const Scope *S = this; S; S = S->getParent()) { in isInCFunctionScope() 448 for (const Scope *S = this; S; S = S->getParent()) { in isInObjcMethodScope() 495 for (const Scope *S = this; S; S = S->getParent()) { in isSwitchScope() 540 const Scope *P = getParent(); in isOpenMPLoopScope() 564 for (const Scope *S = this; S; S = S->getParent()) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanUtils.h | 63 const VPRegionBlock *RegionOfR = Rep->getParent()->getParent(); in isSingleScalar() 120 NewBlock->setParent(BlockPtr->getParent()); in insertBlockAfter() 138 NewBlock->setParent(BlockPtr->getParent()); in insertBlockBefore() 162 IfTrue->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter() 163 IfFalse->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter() 174 assert((From->getParent() == To->getParent()) &&
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 183 MachineFunction *MF = I.getParent()->getParent(); in validatePtrTypes() 195 bool IsSameMF = MF == ResType->getParent()->getParent(); in validatePtrTypes() 217 MachineFunction *MF = I.getParent()->getParent(); in validateGroupWaitEventsPtr() 238 MachineFunction *MF = I.getParent()->getParent(); in validateLifetimeStart() 261 MachineFunction *MF = I.getParent()->getParent(); in validatePtrUnwrapStructField() 314 DefPtrType->getParent()->getParent()) in validateFunCallMachineDef() 323 GR.setCurrentFunc(*FunCall.getParent()->getParent()); in validateFunCallMachineDef() 344 MachineRegisterInfo *DefMRI = &FunDef->getParent()->getParent()->getRegInfo(); in validateFunCall() 358 &FunCall->getParent()->getParent()->getRegInfo(); in validateForwardCalls() 512 MachineBasicBlock *Curr = MI.getParent(); in finalizeLowering() [all …]
|
| /freebsd/contrib/llvm-project/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()
|