Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp98 const DataLayout &DL = F.getParent()->getDataLayout(); in runInternal()
158 PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal()
162 PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal()
166 PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent()); in runInternal()
170 PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent()); in runInternal()
185 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent()); in runInternal()
189 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent()); in runInternal()
193 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent()); in runInternal()
197 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent()); in runInternal()
212 PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal()
[all …]
H A DCFG.cpp106 assert(is_contained(predecessors(Dest), TI->getParent()) && in isCriticalEdge()
215 assert(A->getParent() == B->getParent() && in isPotentiallyReachable()
240 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable()
243 if (A->getParent() == B->getParent()) { in isPotentiallyReachable()
249 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable()
274 Worklist, const_cast<BasicBlock *>(B->getParent()), ExclusionSet, in isPotentiallyReachable()
279 A->getParent(), B->getParent(), ExclusionSet, DT, LI); in isPotentiallyReachable()
H A DPHITransAddr.cpp155 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr()
207 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
243 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
244 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
295 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
296 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
327 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
398 BasicBlock *CurBB = GEP->getParent(); in InsertPHITranslatedSubExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp129 const MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in hasVectorOperands()
178 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy()
186 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy()
189 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy()
277 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence()
286 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence()
369 const MachineBasicBlock *MBBFrom = From->getParent(); in isReachable()
370 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable()
440 const MachineBasicBlock *MBBFrom = From->getParent(); in hoistAndMergeSGPRInits()
441 const MachineBasicBlock *MBBTo = To->getParent(); in hoistAndMergeSGPRInits()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp23 const auto *MF = Instr->getParent()->getParent(); in WebAssemblyDebugValueManager()
35 for (MachineBasicBlock::iterator DE = Instr->getParent()->end(); DI != DE; in WebAssemblyDebugValueManager()
51 BuildMI(*DVL->getParent(), DVL, DVL->getDebugLoc(), in WebAssemblyDebugValueManager()
59 MachineBasicBlock *MBB = Insert->getParent(); in move()
61 MBB->splice(Insert, DBI->getParent(), DBI); in move()
73 MachineBasicBlock *MBB = Insert->getParent(); in clone()
74 MachineFunction *MF = MBB->getParent(); in clone()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIRBuilder.cpp49 M = BB->getParent()->getParent(); in CreateGlobalString()
59 assert(BB && BB->getParent() && "No current function!"); in getCurrentFunctionReturnType()
60 return BB->getParent()->getReturnType(); in getCurrentFunctionReturnType()
87 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateVScale()
120 Module *M = BB->getParent()->getParent(); in CreateMemSet()
148 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemSet()
178 Module *M = BB->getParent()->getParent(); in CreateMemTransferInst()
215 Function *F = BB->getParent(); in CreateMemCpyInline()
216 Module *M = F->getParent(); in CreateMemCpyInline()
243 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemCpy()
[all …]
H A DDiagnosticInfo.cpp253 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemark()
259 RemarkName, *Inst->getParent()->getParent(), in OptimizationRemark()
260 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemark()
284 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkMissed()
291 *Inst->getParent()->getParent(), in OptimizationRemarkMissed()
292 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkMissed()
312 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis()
319 *Inst->getParent()->getParent(), in OptimizationRemarkAnalysis()
320 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkAnalysis()
326 *cast<BasicBlock>(CodeRegion)->getParent(), in OptimizationRemarkAnalysis()
[all …]
H A DBasicBlock.cpp27 if (Function *F = getParent()) in getValueSymbolTable()
88 assert(getParent() == nullptr && "BasicBlock still linked into the program!"); in ~BasicBlock()
126 getParent()->getBasicBlockList().remove(getIterator()); in removeFromParent()
130 return getParent()->getBasicBlockList().erase(getIterator()); in eraseFromParent()
134 MovePos->getParent()->getBasicBlockList().splice( in moveBefore()
135 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator()); in moveBefore()
139 MovePos->getParent()->getBasicBlockList().splice( in moveAfter()
140 ++MovePos->getIterator(), getParent()->getBasicBlockList(), in moveAfter()
145 return getParent()->getParent(); in getModule()
376 const Function *F = getParent(); in isEntryBlock()
[all …]
H A DGlobals.cpp50 return getParent()->materialize(this); in materialize()
101 return getParent() && getParent()->getSemanticInterposition() && in isInterposable()
159 getParent()->getSourceFileName()); in getGlobalIdentifier()
376 Before->getParent()->getGlobalList().insert(Before->getIterator(), this); in GlobalVariable()
382 getParent()->getGlobalList().remove(getIterator()); in removeFromParent()
386 getParent()->getGlobalList().erase(getIterator()); in eraseFromParent()
500 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
514 getParent()->getAliasList().remove(getIterator()); in removeFromParent()
518 getParent()->getAliasList().erase(getIterator()); in eraseFromParent()
547 getParent()->getIFuncList().remove(getIterator()); in removeFromParent()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTLambda.h28 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()
83 return DC->getParent()->getParent(); in getLambdaAwareParentOfDeclContext()
85 return DC->getParent(); in getLambdaAwareParentOfDeclContext()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp107 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp62 const MachineFunction *MF = getParent(); in getSymbol()
93 const MachineFunction *MF = getParent(); in getEHCatchretSymbol()
104 const MachineFunction *MF = getParent(); in getEndSymbol()
132 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 …]
H A DReachingDefAnalysis.cpp118 unsigned MBBNumber = MI->getParent()->getNumber(); in processDefs()
262 unsigned MBBNumber = MI->getParent()->getNumber(); in getReachingDef()
281 ? getInstFromId(MI->getParent(), getReachingDef(MI, PhysReg)) in getReachingLocalMIDef()
287 MachineBasicBlock *ParentA = A->getParent(); in hasSameReachingDef()
288 MachineBasicBlock *ParentB = B->getParent(); in hasSameReachingDef()
328 MachineBasicBlock *MBB = Def->getParent(); in getReachingLocalUses()
371 MachineBasicBlock *MBB = MI->getParent(); in getGlobalUses()
377 if (auto *LiveOut = getLocalLiveOutMIDef(MI->getParent(), PhysReg)) { in getGlobalUses()
403 for (auto *MBB : MI->getParent()->predecessors()) in getGlobalReachingDefs()
441 MachineBasicBlock *Parent = MI->getParent(); in getUniqueReachingMIDef()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp69 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()
144 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); in splitMBB()
145 MachineFunction *MF = ThisMBB->getParent(); in splitMBB()
507 if (UseMI.getParent() != MIParam.getParent()) in createCRLogicalOpInfo()
515 (MIParam.getParent() == Ret.TrueDefs.first->getParent()); in createCRLogicalOpInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp190 BasicBlock *BB0 = Store0->getParent(); in canSinkFromBlock()
221 NewPN->addIncoming(Opd1, S0->getParent()); in getPHIOperand()
222 NewPN->addIncoming(Opd2, S1->getParent()); in getPHIOperand()
234 (A0->getParent() == S0->getParent()) && A1->hasOneUse() && in canSinkStoresAndGEPs()
235 (A1->getParent() == S1->getParent()) && isa<GetElementPtrInst>(A0); in canSinkStoresAndGEPs()
263 assert(S0->getParent() == A0->getParent()); in sinkStoresAndGEPs()
264 assert(S1->getParent() == A1->getParent()); in sinkStoresAndGEPs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp26 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopKnownSize()
28 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopKnownSize()
30 const DataLayout &DL = ParentFunc->getParent()->getDataLayout(); in createMemCpyLoopKnownSize()
139 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopUnknownSize()
143 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopUnknownSize()
144 const DataLayout &DL = ParentFunc->getParent()->getDataLayout(); in createMemCpyLoopUnknownSize()
202 PreLoopBB->getParent(), in createMemCpyLoopUnknownSize()
206 Ctx, "loop-memcpy-residual-header", PreLoopBB->getParent(), nullptr); in createMemCpyLoopUnknownSize()
296 BasicBlock *OrigBB = InsertBefore->getParent(); in createMemMoveLoop()
297 Function *F = OrigBB->getParent(); in createMemMoveLoop()
[all …]
H A DDemoteRegToStack.cpp30 Function *F = I.getParent()->getParent(); in DemoteRegToStack()
31 const DataLayout &DL = F->getParent()->getDataLayout(); in DemoteRegToStack()
48 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack()
124 Function *F = P->getParent()->getParent(); in DemotePHIToStack()
133 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack()
H A DSimplifyCFG.cpp304 BasicBlock *SI1BB = SI1->getParent(); in SafeToMergeTerminators()
305 BasicBlock *SI2BB = SI2->getParent(); in SafeToMergeTerminators()
388 BasicBlock *PBB = I->getParent(); in dominatesMergePoint()
736 if (!SI->getParent()->hasNPredecessorsOrMore(128 / SI->getNumSuccessors())) in isValueEqualityComparison()
825 N = MDBuilder(SI->getParent()->getContext()).createBranchWeights(Weights); in setBranchWeights()
838 N = MDBuilder(I->getParent()->getContext()) in setBranchWeights()
875 if (PredDef == TI->getParent()) { in SimplifyEqualityComparisonWithOnlyPredecessor()
944 BasicBlock *TIBB = TI->getParent(); in SimplifyEqualityComparisonWithOnlyPredecessor()
1107 if (UI->getParent() != PredBlock) in CloneInstructionsIntoPredecessorBlockAndUpdateSSAUses()
1117 BasicBlock *BB = TI->getParent(); in PerformValueComparisonIntoPredecessorFolding()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64CleanupLocalDynamicTLSPass.cpp99 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp172 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()
285 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in RecordARMScatteredRelocation()
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()
463 FixedValue -= Writer->getSectionAddress(Fragment->getParent()); in recordRelocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.cpp132 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI()
137 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI()
150 BuildMI(*MI.getParent(), II, dl, TII.get(SP::SETHIi), SP::G1) in replaceFI()
152 BuildMI(*MI.getParent(), II, dl, TII.get(SP::XORri), SP::G1) in replaceFI()
155 BuildMI(*MI.getParent(), II, dl, TII.get(SP::ADDrr), SP::G1).addReg(SP::G1) in replaceFI()
172 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFrameIndex()
189 BuildMI(*MI.getParent(), II, dl, TII.get(SP::STDFri)) in eliminateFrameIndex()
201 BuildMI(*MI.getParent(), II, dl, TII.get(SP::LDDFri), DestEvenReg) in eliminateFrameIndex()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScope.h228 void setFlags(unsigned F) { setFlags(getParent(), F); } in setFlags()
234 const Scope *getParent() const { return AnyParent; } in getParent() function
235 Scope *getParent() { return AnyParent; } in getParent() function
378 assert(FnS->getParent() && "TUScope not created?"); in isInCXXInlineMethodScope()
379 return FnS->getParent()->isClassScope(); in isInCXXInlineMethodScope()
387 for (const Scope *S = this; S; S = S->getParent()) { in isInObjcMethodScope()
431 for (const Scope *S = this; S; S = S->getParent()) { in isSwitchScope()
468 const Scope *P = getParent(); in isOpenMPLoopScope()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp255 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectCopy()
310 assert(I.getParent() && "Instruction should be in a basic block!"); in select()
311 assert(I.getParent()->getParent() && "Instruction should be in a function!"); in select()
313 MachineBasicBlock &MBB = *I.getParent(); in select()
314 MachineFunction &MF = *MBB.getParent(); in select()
815 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext()
819 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectZext()
827 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(AndOpc), DstReg) in selectZext()
881 BuildMI(*I.getParent(), I, I.getDebugLoc(), in selectAnyext()
929 *BuildMI(*I.getParent(), I, I.getDebugLoc(), TII.get(OpCmp)) in selectCmp()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFMISimplifyPatchable.cpp93 const MachineInstr *Inst = RelocOp->getParent(); in checkADDrr()
108 MachineInstr *DefInst = I->getParent(); in checkADDrr()
138 BuildMI(*DefInst->getParent(), *DefInst, DefInst->getDebugLoc(), TII->get(COREOp)) in checkADDrr()
149 MachineInstr *Inst = RelocOp->getParent(); in checkShift()
177 unsigned Opcode = I->getParent()->getOpcode(); in processCandidate()
179 Register TmpReg = I->getParent()->getOperand(0).getReg(); in processCandidate()
206 processInst(MRI, I->getParent(), &*I, GVal); in processDstReg()
237 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SLL_ri); in processInst()
239 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SRA_ri); in processInst()
241 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SRL_ri); in processInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLocalizer.cpp53 MachineInstr &MIUse = *MOUse.getParent(); in isLocalUse()
54 InsertMBB = MIUse.getParent(); in isLocalUse()
57 return InsertMBB == Def.getParent(); in isLocalUse()
61 MachineInstr *MI = Op.getParent(); in isNonUniquePhiValue()
100 LLVM_DEBUG(MachineInstr &MIUse = *MOUse.getParent(); in localizeInterBlock()
126 MachineInstr &UseMI = *MOUse.getParent(); in localizeInterBlock()
161 MachineBasicBlock &MBB = *MI->getParent(); in localizeIntraBlock()

12345678910>>...44