/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() 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() 286 MBB->splice(Insert, Def->getParent(), Def); in sink() 357 MachineBasicBlock *MBB = Insert->getParent(); in cloneSink() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasAnalysisEvaluator.cpp | 102 const DataLayout &DL = F.getParent()->getDataLayout(); in runInternal() 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() 191 PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal() 195 PrintLoadStoreResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal() 219 F.getParent()); in runInternal() 232 F.getParent()); in runInternal() 247 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() 235 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable() 238 if (A->getParent() == B->getParent()) { in isPotentiallyReachable() 244 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable() 268 return isPotentiallyReachableFromMany(Worklist, B->getParent(), in isPotentiallyReachable() 273 A->getParent(), B->getParent(), ExclusionSet, DT, LI); in isPotentiallyReachable()
|
H A D | PHITransAddr.cpp | 141 if (Inst->getParent() != CurBB) { in translateSubExpr() 193 (!DT || DT->dominates(CastI->getParent(), PredBB))) in translateSubExpr() 231 GEPI->getParent()->getParent() == CurBB->getParent() && in translateSubExpr() 232 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in translateSubExpr() 283 BO->getParent()->getParent() == CurBB->getParent() && in translateSubExpr() 284 (!DT || DT->dominates(BO->getParent(), PredBB))) in translateSubExpr() 312 if (!DT->dominates(Inst->getParent(), PredBB)) in translateValue() 381 BasicBlock *CurBB = GEP->getParent(); in insertTranslatedSubExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTLambda.h | 28 const CXXRecordDecl *LambdaClass = MD->getParent(); in isLambdaCallOperator() 55 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorSpecialization() 63 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator() 86 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorOrStaticInvokerSpecialization() 97 return DC->getParent()->getParent(); in getLambdaAwareParentOfDeclContext() 99 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()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 49 M = BB->getParent()->getParent(); in CreateGlobalString() 143 Module *M = BB->getParent()->getParent(); in CreateMemSet() 171 Module *M = BB->getParent()->getParent(); in CreateMemSetInline() 198 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemSet() 228 Module *M = BB->getParent()->getParent(); in CreateMemTransferInst() 266 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemCpy() 325 Module *M = BB->getParent()->getParent(); in CreateMalloc() 358 Module *M = BB->getParent()->getParent(); in CreateFree() 382 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemMove() 490 Module *M = BB->getParent()->getParent(); in CreateLifetimeStart() [all …]
|
H A D | DiagnosticInfo.cpp | 254 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemark() 260 RemarkName, *Inst->getParent()->getParent(), in OptimizationRemark() 261 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemark() 285 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkMissed() 292 *Inst->getParent()->getParent(), in OptimizationRemarkMissed() 293 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkMissed() 313 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis() 320 *Inst->getParent()->getParent(), in OptimizationRemarkAnalysis() 321 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkAnalysis() 357 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in DiagnosticInfoOptimizationFailure() [all …]
|
H A D | DebugProgramInstruction.cpp | 340 const BasicBlock *DPValue::getParent() const { in getParent() function in llvm::DPValue 341 return Marker->MarkedInstr->getParent(); in getParent() 344 BasicBlock *DPValue::getParent() { return Marker->MarkedInstr->getParent(); } in getParent() function in llvm::DPValue 346 BasicBlock *DPValue::getBlock() { return Marker->getParent(); } in getBlock() 350 Function *DPValue::getFunction() { return getBlock()->getParent(); } in getFunction() 354 Module *DPValue::getModule() { return getFunction()->getParent(); } in getModule() 414 const BasicBlock *DPMarker::getParent() const { in getParent() function in llvm::DPMarker 415 return MarkedInstr->getParent(); in getParent() 418 BasicBlock *DPMarker::getParent() { return MarkedInstr->getParent(); } in getParent() function in llvm::DPMarker 432 DPMarker *NextMarker = Owner->getParent()->getNextMarker(Owner); in removeMarker() [all …]
|
H A D | Dominators.cpp | 129 return properlyDominates(BB, UserInst->getParent()); in dominates() 144 const BasicBlock *UseBB = User->getParent(); in dominates() 145 const BasicBlock *DefBB = Def->getParent(); in dominates() 176 const BasicBlock *DefBB = Def->getParent(); in dominates() 254 if (PN && PN->getParent() == BBE.getEnd() && in dominates() 264 UseBB = UserInst->getParent(); in dominates() 277 const BasicBlock *DefBB = Def->getParent(); in dominates() 286 UseBB = UserInst->getParent(); in dominates() 333 return isReachableFromEntry(I->getParent()); in isReachableFromEntry() 346 BasicBlock *BB1 = I1->getParent(); in findNearestCommonDominator() [all …]
|
H A D | Instruction.cpp | 31 BasicBlock *BB = InsertBefore->getParent(); in Instruction() 72 return getParent()->getModule(); in getModule() 76 return getParent()->getParent(); in getFunction() 157 getParent()->flushTerminatorDbgValues(); in insertBefore() 226 getParent()->flushTerminatorDbgValues(); in moveBeforeImpl() 236 assert(getParent()->IsNewDbgInfoFormat); in cloneDebugInfoFrom() 237 assert(getParent()->IsNewDbgInfoFormat == in cloneDebugInfoFrom() 241 getParent()->createMarker(this); in cloneDebugInfoFrom() 296 InsertBB = PN->getParent(); in getInsertionPointAfterDef() 307 InsertBB = getParent(); in getInsertionPointAfterDef() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ReachingDefAnalysis.cpp | 124 unsigned MBBNumber = MI->getParent()->getNumber(); in processDefs() 292 MachineBasicBlock *ParentA = A->getParent(); in hasSameReachingDef() 293 MachineBasicBlock *ParentB = B->getParent(); in hasSameReachingDef() 333 MachineBasicBlock *MBB = Def->getParent(); in getReachingLocalUses() 376 MachineBasicBlock *MBB = MI->getParent(); in getGlobalUses() 445 MachineBasicBlock *Parent = MI->getParent(); in getUniqueReachingMIDef() 471 MachineBasicBlock *MBB = MI->getParent(); in isRegUsedAfter() 492 MachineBasicBlock *MBB = MI->getParent(); in isRegDefinedAfter() 506 MachineBasicBlock *MBB = MI->getParent(); in isReachingDefLiveOut() 557 if (From->getParent() != To->getParent() || From == To) in isSafeToMove() [all …]
|
H A D | MachineBasicBlock.cpp | 63 const MachineFunction *MF = getParent(); in getSymbol() 133 MachineFunction &MF = *N->getParent(); in addNodeToList() 180 assert(Parent->getParent() == FromList.Parent->getParent() && in transferNodesFromList() 328 if (getParent()) in getFullName() 346 const Module *M = F.getParent(); in print() 496 } else if (bb->getParent()) { in printName() 973 if (Fallthrough == getParent()->end()) in getFallThrough() 1028 MachineFunction *MF = getParent(); in splitAt() 1138 MachineFunction *MF = getParent(); in SplitCriticalEdge() 1446 getParent()->remove(this); in removeFromParent() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFixSGPRCopies.cpp | 226 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy() 234 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy() 237 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy() 414 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable() 546 I->getParent()->splice(I, MI2->getParent(), MI2); in hoistAndMergeSGPRInits() 576 auto MBB = MI->getParent(); in hoistAndMergeSGPRInits() 806 const MachineInstr *UseMI = Use.getParent(); in processPHINode() 882 BuildMI(*MI.getParent(), MI, MI.getDebugLoc(), in lowerSpecialCase() 906 MI.addImplicitDefUseOperands(*MI.getParent()->getParent()); in lowerSpecialCase() 949 auto E = Inst->getParent()->end(); in analyzeVGPRToSGPRCopy() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 1879 if (I->getParent()->getSingleSuccessor() == I->getParent()) in canSinkInstructions() 1923 U->getParent() == I->getParent(); in canSinkInstructions() 2508 NormalBB, {Invokes[0]->getParent(), Invokes[1]->getParent()}, in shouldBelongToSameSet() 2531 {Invokes[0]->getParent(), Invokes[1]->getParent()})) in shouldBelongToSameSet() 2610 {DominatorTree::Insert, II->getParent(), MergedInvoke->getParent()}); in MergeCompatibleInvokesImpl() 2676 BranchInst::Create(MergedInvoke->getParent(), II->getParent()); in MergeCompatibleInvokesImpl() 3653 assert(is_contained(predecessors(BI->getParent()), PBI->getParent()) && in shouldFoldCondBranchesToCommonDestination() 4221 if (!HasOnePredAndOneSucc(PFB, PBI->getParent(), QBI->getParent()) || in mergeConditionalStores() 4442 LLVM_DEBUG(dbgs() << *PBI->getParent()->getParent()); in SimplifyCondBranchToCondBranch() 4535 LLVM_DEBUG(dbgs() << *PBI->getParent()->getParent()); in SimplifyCondBranchToCondBranch() [all …]
|
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() 131 Function *F = P->getParent()->getParent(); in DemotePHIToStack() 140 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack()
|
/freebsd/contrib/llvm-project/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() 508 if (UseMI.getParent() != MIParam.getParent()) in createCRLogicalOpInfo() 516 (MIParam.getParent() == Ret.TrueDefs.first->getParent()); in createCRLogicalOpInfo() 519 (MIParam.getParent() == Ret.TrueDefs.second->getParent()); in createCRLogicalOpInfo() [all …]
|
H A D | PPCCTRLoops.cpp | 240 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandNormalLoops() 242 MachineBasicBlock *Preheader = Start->getParent(); in expandNormalLoops() 243 MachineBasicBlock *Exiting = Dec->getParent(); in expandNormalLoops() 257 Start->getParent()->getParent()->getProperties().reset( in expandNormalLoops() 317 Start->getParent()->getParent()->getSubtarget<PPCSubtarget>().isPPC64(); in expandCTRLoops() 319 MachineBasicBlock *Preheader = Start->getParent(); in expandCTRLoops() 320 MachineBasicBlock *Exiting = Dec->getParent(); in expandCTRLoops()
|
/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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMachObjectWriter.cpp | 172 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in RecordARMScatteredHalfRelocation() 188 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredHalfRelocation() 239 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation() 250 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation() 303 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in RecordARMScatteredRelocation() 316 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordARMScatteredRelocation() 326 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordARMScatteredRelocation() 367 Value -= Writer->getSectionAddress(Fragment.getParent()); in requiresExternRelocation() 464 FixedValue -= Writer->getSectionAddress(Fragment->getParent()); in recordRelocation() 501 Writer->addRelocation(nullptr, Fragment->getParent(), MREPair); in recordRelocation() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TraversalChecker.cpp | 43 Parent = Parents.getParent(Condition); in checkBranchCondition() 84 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPreCall() 85 LC != nullptr; LC = LC->getParent()) in checkPreCall() 101 for (const LocationContext *LC = C.getLocationContext()->getParent(); in checkPostCall() 102 LC != nullptr; LC = LC->getParent()) in checkPostCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcRegisterInfo.cpp | 142 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI() 147 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI() 160 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI() 162 BuildMI(*MI.getParent(), II, dl, TII.get(SP::XORri), SP::G1) in replaceFI() 165 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI() 182 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFrameIndex() 199 BuildMI(*MI.getParent(), II, dl, TII.get(SP::STDFri)) in eliminateFrameIndex() 211 BuildMI(*MI.getParent(), II, dl, TII.get(SP::LDDFri), DestEvenReg) in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 175 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 196 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 216 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 232 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 248 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 281 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); 345 const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout(); in CreatePreserveStructAccessIndex()
|