Home
last modified time | relevance | path

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

12345678910>>...36

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFG.cpp99 assert(find(predecessors(Dest), TI->getParent()) != pred_end(Dest) && in isCriticalEdge()
208 assert(A->getParent() == B->getParent() && in isPotentiallyReachable()
222 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable()
227 if (A->getParent() == B->getParent()) { in isPotentiallyReachable()
233 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable()
249 if (BB == &BB->getParent()->getEntryBlock()) in isPotentiallyReachable()
260 Worklist.push_back(const_cast<BasicBlock*>(A->getParent())); in isPotentiallyReachable()
264 if (DT->isReachableFromEntry(A->getParent()) && in isPotentiallyReachable()
265 !DT->isReachableFromEntry(B->getParent())) in isPotentiallyReachable()
268 if (A->getParent() == &A->getParent()->getParent()->getEntryBlock() && in isPotentiallyReachable()
[all …]
DOrderedInstructions.cpp18 assert(InstA->getParent() == InstB->getParent() && in localDominates()
21 const BasicBlock *IBB = InstA->getParent(); in localDominates()
35 if (InstA->getParent() == InstB->getParent()) in dominates()
37 return DT->dominates(InstA->getParent(), InstB->getParent()); in dominates()
44 if (InstA->getParent() == InstB->getParent()) in dfsBefore()
47 DomTreeNode *DA = DT->getNode(InstA->getParent()); in dfsBefore()
48 DomTreeNode *DB = DT->getNode(InstB->getParent()); in dfsBefore()
DAliasAnalysisEvaluator.cpp95 const DataLayout &DL = F.getParent()->getDataLayout(); in runInternal()
157 PrintResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal()
161 PrintResults(AR, PrintMayAlias, *I1, *I2, F.getParent()); in runInternal()
165 PrintResults(AR, PrintPartialAlias, *I1, *I2, F.getParent()); in runInternal()
169 PrintResults(AR, PrintMustAlias, *I1, *I2, F.getParent()); in runInternal()
184 PrintLoadStoreResults(AR, PrintNoAlias, Load, Store, F.getParent()); in runInternal()
188 PrintLoadStoreResults(AR, PrintMayAlias, Load, Store, F.getParent()); in runInternal()
192 PrintLoadStoreResults(AR, PrintPartialAlias, Load, Store, F.getParent()); in runInternal()
196 PrintLoadStoreResults(AR, PrintMustAlias, Load, Store, F.getParent()); in runInternal()
211 PrintLoadStoreResults(AR, PrintNoAlias, *I1, *I2, F.getParent()); in runInternal()
[all …]
DDivergenceAnalysis.cpp143 for (const auto *Loop = LI.getLoopFor(Inst->getParent()); in isTemporalDivergent()
155 if (!Phi.hasConstantOrUndefValue() && isJoinDivergent(*Phi.getParent())) { in updatePHINode()
172 isTemporalDivergent(*Phi.getParent(), *InVal)) { in updatePHINode()
180 return I.getParent() && inRegion(*I.getParent()); in inRegion()
184 return (!RegionLoop && BB.getParent() == &F) || RegionLoop->contains(&BB); in inRegion()
235 if (DivLoop->contains(OpInst->getParent())) { in taintLoopLiveOuts()
300 LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n"); in propagateBranchDivergence()
304 const auto *BranchLoop = LI.getLoopFor(Term.getParent()); in propagateBranchDivergence()
418 return isDivergent(V) || isTemporalDivergent(*I.getParent(), V); in isDivergentUse()
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()
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DBundleItemCreationDialog.java152 ((RBManagerGUI)dialog.getParent()).updateDisplayPanels(); in processKeyEvent()
153 ((RBManagerGUI)dialog.getParent()).invalidate(); in processKeyEvent()
305 …alog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
314 …mCreationDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
325 ((RBManagerGUI)dialog.getParent()).updateDisplayPanels(); in initComponents()
326 ((RBManagerGUI)dialog.getParent()).invalidate(); in initComponents()
337 …mCreationDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
348 ((RBManagerGUI)dialog.getParent()).updateDisplayPanels(); in initComponents()
349 ((RBManagerGUI)dialog.getParent()).invalidate(); in initComponents()
360 …eationDialog)((JTextField)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
DBundleGroupEditDialog.java103 …log dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().ge… in initComponents()
112 …BundleGroupEditDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().ge… in initComponents()
DBundleGroupCreationDialog.java101 …log dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().ge… in initComponents()
110 …leGroupCreationDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().ge… in initComponents()
DResourceCreationDialog.java157 …alog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
166 …eCreationDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent().getParen… in initComponents()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp46 Module &M = *BB->getParent()->getParent(); in CreateGlobalString()
57 assert(BB && BB->getParent() && "No current function!"); in getCurrentFunctionReturnType()
58 return BB->getParent()->getReturnType(); in getCurrentFunctionReturnType()
106 Module *M = BB->getParent()->getParent(); in CreateMemSet()
134 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemSet()
175 Module *M = BB->getParent()->getParent(); in CreateMemCpy()
216 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemCpy()
254 Module *M = BB->getParent()->getParent(); in CreateMemMove()
291 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemMove()
322 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in getReductionIntrinsic()
[all …]
DDiagnosticInfo.cpp237 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemark()
243 RemarkName, *Inst->getParent()->getParent(), in OptimizationRemark()
244 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemark()
271 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkMissed()
278 *Inst->getParent()->getParent(), in OptimizationRemarkMissed()
279 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkMissed()
292 *cast<BasicBlock>(CodeRegion)->getParent(), Loc, CodeRegion) {} in OptimizationRemarkAnalysis()
299 *Inst->getParent()->getParent(), in OptimizationRemarkAnalysis()
300 Inst->getDebugLoc(), Inst->getParent()) {} in OptimizationRemarkAnalysis()
306 *cast<BasicBlock>(CodeRegion)->getParent(), in OptimizationRemarkAnalysis()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp155 const MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in hasVectorOperands()
205 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy()
214 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy()
217 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy()
301 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence()
310 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence()
396 const MachineBasicBlock *MBBFrom = From->getParent(); in isReachable()
397 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable()
469 const MachineBasicBlock *MBBFrom = From->getParent(); in hoistAndMergeSGPRInits()
470 const MachineBasicBlock *MBBTo = To->getParent(); in hoistAndMergeSGPRInits()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBasicBlock.cpp61 const MachineFunction *MF = getParent(); in getSymbol()
92 MachineFunction &MF = *N->getParent(); in addNodeToList()
104 N->getParent()->removeFromMBBNumbering(N->Number); in removeNodeFromList()
111 assert(!N->getParent() && "machine instruction already in a basic block"); in addNodeToList()
116 MachineFunction *MF = Parent->getParent(); in addNodeToList()
124 assert(N->getParent() && "machine instruction not in a basic block"); in removeNodeFromList()
140 assert(Parent->getParent() == FromList.Parent->getParent() && in transferNodesFromList()
156 assert(!MI->getParent() && "MI is still in a block!"); in deleteNode()
157 Parent->getParent()->DeleteMachineInstr(MI); in deleteNode()
171 const TargetInstrInfo *TII = getParent()->getSubtarget().getInstrInfo(); in SkipPHIsAndLabels()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp238 BasicBlock *SI1BB = SI1->getParent(); in SafeToMergeTerminators()
239 BasicBlock *SI2BB = SI2->getParent(); in SafeToMergeTerminators()
283 BasicBlock *SI1BB = SI1->getParent(); in isProfitableToFoldUnconditional()
284 BasicBlock *SI2BB = SI2->getParent(); in isProfitableToFoldUnconditional()
361 BasicBlock *PBB = I->getParent(); in DominatesMergePoint()
705 if (!SI->getParent()->hasNPredecessorsOrMore(128 / SI->getNumSuccessors())) in isValueEqualityComparison()
794 N = MDBuilder(SI->getParent()->getContext()).createBranchWeights(Weights); in setBranchWeights()
807 N = MDBuilder(I->getParent()->getContext()) in setBranchWeights()
844 if (PredDef == TI->getParent()) { in SimplifyEqualityComparisonWithOnlyPredecessor()
860 ThisCases[0].Dest->removePredecessor(TI->getParent()); in SimplifyEqualityComparisonWithOnlyPredecessor()
[all …]
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
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()
DSink.cpp46 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
102 if (Inst->getParent() == SuccToSinkTo) in IsAcceptableTarget()
114 if (SuccToSinkTo->getUniquePredecessor() != Inst->getParent()) { in IsAcceptableTarget()
122 if (!DT.dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
127 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
168 DomTreeNode *DTN = DT.getNode(Inst->getParent()); in SinkInstruction()
180 for (succ_iterator I = succ_begin(Inst->getParent()), in SinkInstruction()
181 E = succ_end(Inst->getParent()); I != E && !SuccToSinkTo; ++I) { in SinkInstruction()
191 Inst->getParent()->printAsOperand(dbgs(), false); dbgs() << " -> "; in SinkInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CleanupLocalDynamicTLSPass.cpp99 MachineFunction *MF = I.getParent()->getParent(); in replaceTLSBaseAddrCall()
104 MachineInstr *Copy = BuildMI(*I.getParent(), I, I.getDebugLoc(), in replaceTLSBaseAddrCall()
117 MachineFunction *MF = I.getParent()->getParent(); in setRegister()
126 BuildMI(*I.getParent(), ++I.getIterator(), I.getDebugLoc(), in setRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp57 assert(FromRegOp.getParent() && "Expected an operand in an MI"); in replaceRegOpWith()
58 Observer.changingInstr(*FromRegOp.getParent()); in replaceRegOpWith()
62 Observer.changedInstr(*FromRegOp.getParent()); in replaceRegOpWith()
151 Builder.setInsertPt(*MI.getParent(), MI); in matchCombineConcatVectors()
175 Builder.setInsertPt(*MI.getParent(), MI); in applyCombineConcatVectors()
265 Builder.setInsertPt(*MI.getParent(), MI); in matchCombineShuffleVector()
280 Builder.setInsertPt(*MI.getParent(), MI); in applyCombineShuffleVector()
354 MachineInstr &UseMI = *UseMO.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse()
356 MachineBasicBlock *InsertBB = UseMI.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse()
366 if (InsertBB == DefMI.getParent()) { in InsertInsnsWithoutSideEffectsBeforeUse()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMISimplifyPatchable.cpp90 const MachineInstr *Inst = RelocOp->getParent(); in checkADDrr()
105 MachineInstr *DefInst = I->getParent(); in checkADDrr()
124 BuildMI(*DefInst->getParent(), *DefInst, DefInst->getDebugLoc(), TII->get(COREOp)) in checkADDrr()
135 MachineInstr *Inst = RelocOp->getParent(); in checkShift()
162 unsigned Opcode = I->getParent()->getOpcode(); in processCandidate()
164 Register TmpReg = I->getParent()->getOperand(0).getReg(); in processCandidate()
190 processInst(MRI, I->getParent(), &*I, GVal); in processDstReg()
221 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SLL_ri); in processInst()
223 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SRA_ri); in processInst()
225 checkShift(MRI, *Inst->getParent(), RelocOp, GVal, BPF::SRL_ri); in processInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp62 auto &MRI = MBB.getParent()->getRegInfo(); in copyPhysReg()
92 *MI.getParent()->getParent()->getInfo<WebAssemblyFunctionInfo>(); in commuteInstructionImpl()
107 const auto &MFI = *MBB.getParent()->getInfo<WebAssemblyFunctionInfo>(); in analyzeBranch()
195 MachineFunction &MF = *MBB.getParent(); in insertBranch()
225 MachineFunction &MF = *Cond[1].getParent()->getParent()->getParent(); in reverseBranchCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
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 …]

12345678910>>...36