Home
last modified time | relevance | path

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

12345678910>>...130

/external/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 …]
/external/llvm-project/llvm/lib/Analysis/
DCFG.cpp106 assert(find(predecessors(Dest), TI->getParent()) != pred_end(Dest) && in isCriticalEdge()
213 assert(A->getParent() == B->getParent() && in isPotentiallyReachable()
227 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable()
232 if (A->getParent() == B->getParent()) { in isPotentiallyReachable()
238 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable()
254 if (BB == &BB->getParent()->getEntryBlock()) in isPotentiallyReachable()
265 Worklist.push_back(const_cast<BasicBlock*>(A->getParent())); in isPotentiallyReachable()
269 if (DT->isReachableFromEntry(A->getParent()) && in isPotentiallyReachable()
270 !DT->isReachableFromEntry(B->getParent())) in isPotentiallyReachable()
273 if (A->getParent() == &A->getParent()->getParent()->getEntryBlock() && in isPotentiallyReachable()
[all …]
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 …]
/external/llvm/lib/Analysis/
DCFG.cpp176 assert(A->getParent() == B->getParent() && in isPotentiallyReachable()
188 assert(A->getParent()->getParent() == B->getParent()->getParent() && in isPotentiallyReachable()
193 if (A->getParent() == B->getParent()) { in isPotentiallyReachable()
199 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent()); in isPotentiallyReachable()
215 if (BB == &BB->getParent()->getEntryBlock()) in isPotentiallyReachable()
226 Worklist.push_back(const_cast<BasicBlock*>(A->getParent())); in isPotentiallyReachable()
229 if (A->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
231 if (B->getParent() == &A->getParent()->getParent()->getEntryBlock()) in isPotentiallyReachable()
235 Worklist, const_cast<BasicBlock *>(B->getParent()), DT, LI); in isPotentiallyReachable()
DAliasAnalysisEvaluator.cpp97 const DataLayout &DL = F.getParent()->getDataLayout(); in runInternal()
156 PrintResults("NoAlias", PrintNoAlias, *I1, *I2, F.getParent()); in runInternal()
160 PrintResults("MayAlias", PrintMayAlias, *I1, *I2, F.getParent()); in runInternal()
165 F.getParent()); in runInternal()
169 PrintResults("MustAlias", PrintMustAlias, *I1, *I2, F.getParent()); in runInternal()
184 F.getParent()); in runInternal()
189 F.getParent()); in runInternal()
194 F.getParent()); in runInternal()
199 F.getParent()); in runInternal()
214 F.getParent()); in runInternal()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/core/resolution/
DContext.java41 Context getParent(); in getParent() method
50 Context parent = getParent(); in solveType()
61 return getParent().solveSymbol(name); in solveSymbol()
124 if (getParent() == null) { in localVariableDeclarationInScope()
127 …Optional<VariableDeclarator> localRes = getParent().localVariablesExposedToChild(((AbstractJavaPar… in localVariableDeclarationInScope()
133 return getParent().localVariableDeclarationInScope(name); in localVariableDeclarationInScope()
137 if (getParent() == null) { in parameterDeclarationInScope()
140 …Optional<Parameter> localRes = getParent().parametersExposedToChild(((AbstractJavaParserContext)th… in parameterDeclarationInScope()
146 return getParent().parameterDeclarationInScope(name); in parameterDeclarationInScope()
150 if (getParent() == null) { in fieldDeclarationInScope()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java114 assertNull(foo.getParent()); in testAddGetLogger()
167 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
168 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
169 assertNull(grandson.getParent()); in testAddGetLogger_Hierachy()
170 assertNull(otherChild.getParent()); in testAddGetLogger_Hierachy()
175 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
178 assertNull(fakeChild.getParent()); in testAddGetLogger_Hierachy()
181 assertSame(child, grandson.getParent()); in testAddGetLogger_Hierachy()
184 assertSame(foo, child.getParent()); in testAddGetLogger_Hierachy()
185 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
[all …]
/external/llvm-project/mlir/lib/IR/
DDominance.cpp83 Region *region = block->getParent(); in traverseAncestors()
91 region = block->getParent(); in traverseAncestors()
106 if (a->getParent() == b->getParent()) in tryGetBlocksInSameRegion()
113 ancestors[block->getParent()] = block; in tryGetBlocksInSameRegion()
119 b, [&](Block *block) { return ancestors.count(block->getParent()) > 0; }); in tryGetBlocksInSameRegion()
128 auto it = ancestors.find(b->getParent()); in tryGetBlocksInSameRegion()
147 Region *parentRegion = a->getParent(); in findNearestCommonDominator()
159 Region *region = a->getParent(); in getNode()
178 Region *regionA = a->getParent(); in properlyDominates()
179 if (regionA != b->getParent()) { in properlyDominates()
[all …]
DBlock.cpp37 Region *Block::getParent() const { return parentValidOpOrderPair.getPointer(); } in getParent() function in Block
42 return getParent() ? getParent()->getParentOp() : nullptr; in getParentOp()
46 bool Block::isEntryBlock() { return this == &getParent()->front(); } in isEntryBlock()
51 assert(!getParent() && "already inserted into a block!"); in insertBefore()
52 assert(block->getParent() && "cannot insert before a block without a parent"); in insertBefore()
53 block->getParent()->getBlocks().insert(block->getIterator(), this); in insertBefore()
59 assert(block->getParent() && "cannot insert before a block without a parent"); in moveBefore()
60 block->getParent()->getBlocks().splice( in moveBefore()
61 block->getIterator(), getParent()->getBlocks(), getIterator()); in moveBefore()
66 assert(getParent() && "Block has no parent"); in erase()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_StatementContext.txt38 …Line 112) getParent().solveSymbolAsValue(name, typeSolver) ==> com.github.javaparser.symbolsolver.…
39 …Line 112) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
41 …Line 115) getParent().solveSymbolAsValue(name, typeSolver) ==> com.github.javaparser.symbolsolver.…
42 …Line 115) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
44 …Line 118) getParent().solveSymbolAsValue(name, typeSolver) ==> com.github.javaparser.symbolsolver.…
45 …Line 118) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
47 …Line 121) getParent().solveSymbolAsValue(name, typeSolver) ==> com.github.javaparser.symbolsolver.…
48 …Line 121) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
60 …Line 142) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
66 …Line 158) getParent().solveSymbol(name, typeSolver) ==> com.github.javaparser.symbolsolver.core.re…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CatchClauseContext.txt5 …Line 33) getParent().solveSymbol(name, typeSolver) ==> com.github.javaparser.symbolsolver.core.res…
6 …Line 33) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
11 …Line 46) getParent().solveSymbolAsValue(name, typeSolver) ==> com.github.javaparser.symbolsolver.c…
12 …Line 46) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
13 …Line 52) getParent().solveMethod(name, argumentsTypes, false, typeSolver) ==> com.github.javaparse…
14 …Line 52) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
/external/llvm-project/clang/include/clang/AST/
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()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp155 const MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in hasVectorOperands()
204 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo(); in tryChangeVGPRtoSGPRinCopy()
212 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy()
215 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy()
299 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(AMDGPU::COPY), in foldVGPRCopyIntoRegSequence()
308 BuildMI(*MI.getParent(), &MI, MI.getDebugLoc(), TII->get(Opc), in foldVGPRCopyIntoRegSequence()
392 const MachineBasicBlock *MBBFrom = From->getParent(); in isReachable()
393 const MachineBasicBlock *MBBTo = To->getParent(); in isReachable()
463 const MachineBasicBlock *MBBFrom = From->getParent(); in hoistAndMergeSGPRInits()
464 const MachineBasicBlock *MBBTo = To->getParent(); in hoistAndMergeSGPRInits()
[all …]
/external/clang/include/clang/AST/
DASTLambda.h29 const CXXRecordDecl *LambdaClass = MD->getParent(); in isLambdaCallOperator()
41 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorSpecialization()
49 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator()
73 return DC->getParent()->getParent(); in getLambdaAwareParentOfDeclContext()
75 return DC->getParent(); in getLambdaAwareParentOfDeclContext()
/external/llvm/lib/IR/
DIRBuilder.cpp31 Module &M = *BB->getParent()->getParent(); in CreateGlobalString()
42 assert(BB && BB->getParent() && "No current function!"); in getCurrentFunctionReturnType()
43 return BB->getParent()->getReturnType(); in getCurrentFunctionReturnType()
88 Module *M = BB->getParent()->getParent(); in CreateMemSet()
115 Module *M = BB->getParent()->getParent(); in CreateMemCpy()
146 Module *M = BB->getParent()->getParent(); in CreateMemMove()
174 Module *M = BB->getParent()->getParent(); in CreateLifetimeStart()
189 Module *M = BB->getParent()->getParent(); in CreateLifetimeEnd()
199 Module *M = BB->getParent()->getParent(); in CreateAssumption()
249 Module *M = BB->getParent()->getParent(); in CreateMaskedIntrinsic()
[all …]
/external/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 …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DStatementContext.java112 return getParent().solveSymbolAsValue(name); in solveSymbolAsValue()
115 return getParent().solveSymbolAsValue(name); in solveSymbolAsValue()
118 return getParent().solveSymbolAsValue(name); in solveSymbolAsValue()
121 return getParent().solveSymbolAsValue(name); in solveSymbolAsValue()
142 Context parentContext = getParent(); in solveSymbolAsValue()
158 return getParent().solveSymbol(name); in solveSymbol()
161 return getParent().solveSymbol(name); in solveSymbol()
164 return getParent().solveSymbol(name); in solveSymbol()
167 return getParent().solveSymbol(name); in solveSymbol()
188 return getParent().solveSymbol(name); in solveSymbol()
[all …]
/external/llvm-project/llvm/lib/IR/
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()
84 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateVScale()
101 Module *M = BB->getParent()->getParent(); in CreateMemSet()
129 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemSet()
159 Module *M = BB->getParent()->getParent(); in CreateMemTransferInst()
196 Function *F = BB->getParent(); in CreateMemCpyInline()
197 Module *M = F->getParent(); in CreateMemCpyInline()
224 Module *M = BB->getParent()->getParent(); in CreateElementUnorderedAtomicMemCpy()
[all …]
/external/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()
/external/llvm-project/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()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DStatementContext.java112 return getParent().solveSymbolAsValue(name, typeSolver); in solveSymbolAsValue()
115 return getParent().solveSymbolAsValue(name, typeSolver); in solveSymbolAsValue()
118 return getParent().solveSymbolAsValue(name, typeSolver); in solveSymbolAsValue()
121 return getParent().solveSymbolAsValue(name, typeSolver); in solveSymbolAsValue()
142 Context parentContext = getParent(); in solveSymbolAsValue()
158 return getParent().solveSymbol(name, typeSolver); in solveSymbol()
161 return getParent().solveSymbol(name, typeSolver); in solveSymbol()
164 return getParent().solveSymbol(name, typeSolver); in solveSymbol()
167 return getParent().solveSymbol(name, typeSolver); in solveSymbol()
188 return getParent().solveSymbol(name, typeSolver); in solveSymbol()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_resolution_TypeSolver.txt1 …Line 33) getParent() ==> com.github.javaparser.symbolsolver.model.resolution.TypeSolver.getParent()
2 …Line 36) getParent().getRoot() ==> com.github.javaparser.symbolsolver.model.resolution.TypeSolver.…
3 …Line 36) getParent() ==> com.github.javaparser.symbolsolver.model.resolution.TypeSolver.getParent()
/external/clang/lib/Tooling/Core/
DLookup.cpp24 DeclA = DeclA->getParent(); in isInsideDifferentNamespaceWithSameName()
28 DeclB = DeclB->getParent(); in isInsideDifferentNamespaceWithSameName()
44 DeclA = DeclA->getParent(); in isInsideDifferentNamespaceWithSameName()
45 DeclB = DeclB->getParent(); in isInsideDifferentNamespaceWithSameName()
54 DeclA = DeclA->getParent(); in getBestNamespaceSubstr()
71 DeclA = DeclA->getParent(); in getBestNamespaceSubstr()

12345678910>>...130