Home
last modified time | relevance | path

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

12345678910>>...26

/external/llvm/lib/VMCore/
DGlobals.cpp30 return getParent() && getParent()->isMaterializable(this); in isMaterializable()
33 return getParent() && getParent()->isDematerializable(this); in isDematerializable()
36 return getParent()->Materialize(this, ErrInfo); in Materialize()
39 getParent()->Dematerialize(this); in Dematerialize()
119 Before->getParent()->getGlobalList().insert(Before, this); in GlobalVariable()
125 if (getParent()) in setParent()
128 if (getParent()) in setParent()
133 getParent()->getGlobalList().remove(this); in removeFromParent()
137 getParent()->getGlobalList().erase(this); in eraseFromParent()
204 if (getParent()) in setParent()
[all …]
DIRBuilder.cpp28 Module &M = *BB->getParent()->getParent(); in CreateGlobalString()
38 assert(BB && BB->getParent() && "No current function!"); in getCurrentFunctionReturnType()
39 return BB->getParent()->getReturnType(); in getCurrentFunctionReturnType()
69 Module *M = BB->getParent()->getParent(); in CreateMemSet()
89 Module *M = BB->getParent()->getParent(); in CreateMemCpy()
109 Module *M = BB->getParent()->getParent(); in CreateMemMove()
131 Module *M = BB->getParent()->getParent(); in CreateLifetimeStart()
146 Module *M = BB->getParent()->getParent(); in CreateLifetimeEnd()
DDominators.cpp79 Function &F = *getRoot()->getParent(); in verifyAnalysis()
101 const BasicBlock *UseBB = User->getParent(); in dominates()
102 const BasicBlock *DefBB = Def->getParent(); in dominates()
138 const BasicBlock *DefBB = Def->getParent(); in dominates()
223 if (PN && PN->getParent() == BBE.getEnd() && in dominates()
233 UseBB = UserInst->getParent(); in dominates()
240 const BasicBlock *DefBB = Def->getParent(); in dominates()
249 UseBB = UserInst->getParent(); in dominates()
301 return isReachableFromEntry(I->getParent()); in isReachableFromEntry()
DBasicBlock.cpp28 if (Function *F = getParent()) in getValueSymbolTable()
80 assert(getParent() == 0 && "BasicBlock still linked into the program!"); in ~BasicBlock()
86 if (getParent()) in setParent()
92 if (getParent()) in setParent()
97 getParent()->getBasicBlockList().remove(this); in removeFromParent()
101 getParent()->getBasicBlockList().erase(this); in eraseFromParent()
107 MovePos->getParent()->getBasicBlockList().splice(MovePos, in moveBefore()
108 getParent()->getBasicBlockList(), this); in moveBefore()
115 MovePos->getParent()->getBasicBlockList().splice(++I, in moveAfter()
116 getParent()->getBasicBlockList(), this); in moveAfter()
[all …]
DFunction.cpp56 if (getParent()) in setParent()
59 if (getParent()) in setParent()
66 const Function *F = getParent(); in getArgNo()
81 return getParent()->paramHasAttr(getArgNo()+1, Attribute::ByVal); in hasByValAttr()
86 return getParent()->getParamAlignment(getArgNo()+1); in getParamAlignment()
94 return getParent()->paramHasAttr(getArgNo()+1, Attribute::Nest); in hasNestAttr()
101 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr()
108 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoCapture); in hasNoCaptureAttr()
115 if (this != getParent()->arg_begin()) in hasStructRetAttr()
117 return getParent()->paramHasAttr(1, Attribute::StructRet); in hasStructRetAttr()
[all …]
DAutoUpgrade.cpp40 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeSSE41Function()
66 "llvm.ctlz." + Name.substr(14), F->getParent()); in UpgradeIntrinsicFunction1()
70 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctpop, in UpgradeIntrinsicFunction1()
79 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicFunction1()
85 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::cttz, in UpgradeIntrinsicFunction1()
116 NewFn = Intrinsic::getDeclaration(F->getParent(), in UpgradeIntrinsicFunction1()
122 NewFn = Intrinsic::getDeclaration(F->getParent(), in UpgradeIntrinsicFunction1()
167 Builder.SetInsertPoint(CI->getParent(), CI); in UpgradeIntrinsicCall()
193 Builder.SetInsertPoint(CI->getParent(), CI); in UpgradeIntrinsicCall()
195 Module *M = F->getParent(); in UpgradeIntrinsicCall()
[all …]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java116 assertNull(foo.getParent()); in testAddGetLogger()
169 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
170 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
171 assertNull(grandson.getParent()); in testAddGetLogger_Hierachy()
172 assertNull(otherChild.getParent()); in testAddGetLogger_Hierachy()
177 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
180 assertNull(fakeChild.getParent()); in testAddGetLogger_Hierachy()
183 assertSame(child, grandson.getParent()); in testAddGetLogger_Hierachy()
186 assertSame(foo, child.getParent()); in testAddGetLogger_Hierachy()
187 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
[all …]
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp42 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrLen()
68 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNLen()
95 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrChr()
117 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCmp()
147 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrCpy()
169 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitStrNCpy()
193 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemCpyChk()
220 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemChr()
245 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitMemCmp()
284 Module *M = B.GetInsertBlock()->getParent()->getParent(); in EmitUnaryFloatFnCall()
[all …]
DPromoteMemoryToRegister.cpp179 const BasicBlock *BB = I->getParent(); in getInstructionIndex()
329 DefiningBlocks.push_back(SI->getParent()); in AnalyzeAlloca()
336 UsingBlocks.push_back(LI->getParent()); in AnalyzeAlloca()
342 OnlyBlock = User->getParent(); in AnalyzeAlloca()
343 else if (OnlyBlock != User->getParent()) in AnalyzeAlloca()
388 Function &F = *DT.getRoot()->getParent(); in run()
401 assert(AI->getParent()->getParent() == &F && in run()
432 DIB = new DIBuilder(*DDI->getParent()->getParent()->getParent()); in run()
467 DIB = new DIBuilder(*SI->getParent()->getParent()->getParent()); in run()
620 BasicBlock *BB = SomePHI->getParent(); in run()
[all …]
DDemoteRegToStack.cpp35 Function *F = I.getParent()->getParent(); in DemoteRegToStack()
111 Function *F = P->getParent()->getParent(); in DemotePHIToStack()
119 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack()
/external/llvm/lib/Transforms/Scalar/
DSink.cpp84 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock()
187 if (Inst->getParent() == SuccToSinkTo) in IsAcceptableTarget()
194 if (SuccToSinkTo->getUniquePredecessor() != Inst->getParent()) { in IsAcceptableTarget()
202 if (!DT->dominates(Inst->getParent(), SuccToSinkTo)) in IsAcceptableTarget()
207 Loop *cur = LI->getLoopFor(Inst->getParent()); in IsAcceptableTarget()
240 DomTreeNode *DTN = DT->getNode(Inst->getParent()); in SinkInstruction()
244 if ((*I)->getIDom()->getBlock() == Inst->getParent() && in SinkInstruction()
251 for (succ_iterator I = succ_begin(Inst->getParent()), in SinkInstruction()
252 E = succ_end(Inst->getParent()); I != E && SuccToSinkTo == 0; ++I) { in SinkInstruction()
262 WriteAsOperand(dbgs(), Inst->getParent(), false); in SinkInstruction()
DCorrelatedValuePropagation.cpp73 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent()); in processSelect()
95 BasicBlock *BB = P->getParent(); in processPHI()
130 Constant *C = LVI->getConstant(Pointer, I->getParent()); in processMemAccess()
146 cast<Instruction>(Op0)->getParent() == C->getParent()) in processCmp()
152 pred_iterator PI = pred_begin(C->getParent()), PE = pred_end(C->getParent()); in processCmp()
156 C->getOperand(0), Op1, *PI, C->getParent()); in processCmp()
162 C->getOperand(0), Op1, *PI, C->getParent()); in processCmp()
188 BasicBlock *BB = SI->getParent(); in processSwitch()
192 if (isa<Instruction>(Cond) && cast<Instruction>(Cond)->getParent() == BB) in processSwitch()
DCodeGenPrepare.cpp239 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in EliminateFallThrough()
242 if (isEntry && BB != &BB->getParent()->getEntryBlock()) in EliminateFallThrough()
243 BB->moveBefore(&BB->getParent()->getEntryBlock()); in EliminateFallThrough()
309 if (User->getParent() != DestBB || !isa<PHINode>(User)) in CanMergeBlocks()
314 if (User->getParent() == DestBB) { in CanMergeBlocks()
318 if (Insn && Insn->getParent() == BB && in CanMergeBlocks()
319 Insn->getParent() != UPN->getIncomingBlock(I)) in CanMergeBlocks()
353 if (V2PN->getParent() == BB) in CanMergeBlocks()
380 bool isEntry = SinglePred == &SinglePred->getParent()->getEntryBlock(); in EliminateMostlyEmptyBlock()
383 if (isEntry && BB != &BB->getParent()->getEntryBlock()) in EliminateMostlyEmptyBlock()
[all …]
/external/llvm/include/llvm/Analysis/
DRegionIterator.h71 succ = getNode()->getParent()->getNode(BB); in getISucc()
84 return getNode()->getParent()->getExit() == BB; in isExit()
149 assert(getNode()->getParent() == I.getNode()->getParent()
185 assert(Node->getParent() && "A BB node must have a parent!"); in RNSuccIterator()
189 && Node->getParent()->getExit() == *Itor) in RNSuccIterator()
200 assert(Node->getParent() == x.Node->getParent()
212 Region* Parent = Node->getParent();
226 && Node->getParent()->getExit() == *Itor);
239 assert(Node->getParent() == I.Node->getParent()
/external/clang/lib/AST/
DParentMap.cpp60 Stmt* ParentMap::getParent(Stmt* S) const { in getParent() function in ParentMap
67 do { S = getParent(S); } while (S && isa<ParenExpr>(S)); in getParentIgnoreParens()
73 S = getParent(S); in getParentIgnoreParenCasts()
82 S = getParent(S); in getParentIgnoreParenImpCasts()
92 S = getParent(S); in getOuterParenParent()
98 Stmt *P = getParent(E); in isConsumedExpr()
104 P = getParent(P); in isConsumedExpr()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp153 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFrameIndex()
197 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
199 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
203 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
226 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
228 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
232 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
246 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
248 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
254 BuildMI(*MI.getParent(), II, MI.getDebugLoc(), in eliminateFrameIndex()
[all …]
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp184 PrintResults("NoAlias", PrintNoAlias, *I1, *I2, F.getParent()); in runOnFunction()
187 PrintResults("MayAlias", PrintMayAlias, *I1, *I2, F.getParent()); in runOnFunction()
191 F.getParent()); in runOnFunction()
194 PrintResults("MustAlias", PrintMustAlias, *I1, *I2, F.getParent()); in runOnFunction()
213 PrintModRefResults("NoModRef", PrintNoModRef, I, *V, F.getParent()); in runOnFunction()
216 PrintModRefResults("Just Mod", PrintMod, I, *V, F.getParent()); in runOnFunction()
219 PrintModRefResults("Just Ref", PrintRef, I, *V, F.getParent()); in runOnFunction()
222 PrintModRefResults("Both ModRef", PrintModRef, I, *V, F.getParent()); in runOnFunction()
236 PrintModRefResults("NoModRef", PrintNoModRef, *C, *D, F.getParent()); in runOnFunction()
239 PrintModRefResults("Just Mod", PrintMod, *C, *D, F.getParent()); in runOnFunction()
[all …]
DPHITransAddr.cpp157 if (Inst->getParent() != CurBB) { in PHITranslateSubExpr()
210 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
246 GEPI->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
247 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
305 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
306 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
331 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
402 BasicBlock *CurBB = GEP->getParent(); in InsertPHITranslatedSubExpr()
/external/llvm/lib/CodeGen/
DMachineBasicBlock.cpp49 const MachineFunction *MF = getParent(); in getSymbol()
71 MachineFunction &MF = *N->getParent(); in addNodeToList()
84 N->getParent()->removeFromMBBNumbering(N->Number); in removeNodeFromList()
94 assert(N->getParent() == 0 && "machine instruction already in a basic block"); in addNodeToList()
99 MachineFunction *MF = Parent->getParent(); in addNodeToList()
109 assert(N->getParent() != 0 && "machine instruction not in a basic block"); in removeNodeFromList()
112 if (MachineFunction *MF = N->getParent()->getParent()) in removeNodeFromList()
127 assert(Parent->getParent() == fromList.Parent->getParent() && in transferNodesFromList()
140 assert(!MI->getParent() && "MI is still in a block!"); in deleteNode()
141 Parent->getParent()->DeleteMachineInstr(MI); in deleteNode()
[all …]
/external/clang/include/clang/AST/
DParentMap.h32 Stmt *getParent(Stmt*) const;
38 const Stmt *getParent(const Stmt* S) const { in getParent() function
39 return getParent(const_cast<Stmt*>(S)); in getParent()
51 return getParent(S) != 0; in hasParent()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/infos/
DRigidBodyMotionState.java109 if (!applyPhysicsLocal && spatial.getParent() != null) { in applyTransform()
110 … localLocation.set(worldLocation).subtractLocal(spatial.getParent().getWorldTranslation()); in applyTransform()
111 localLocation.divideLocal(spatial.getParent().getWorldScale()); in applyTransform()
112 …tmp_inverseWorldRotation.set(spatial.getParent().getWorldRotation()).inverseLocal().multLocal(loca… in applyTransform()
115 …tmp_inverseWorldRotation.set(spatial.getParent().getWorldRotation()).inverseLocal().mult(localRota… in applyTransform()
/external/clang/include/clang/Sema/
DScope.h165 const Scope *getParent() const { return AnyParent; } in getParent() function
166 Scope *getParent() { return AnyParent; } in getParent() function
244 assert(FnS->getParent() && "TUScope not created?"); in isInCXXInlineMethodScope()
245 return FnS->getParent()->isClassScope(); in isInCXXInlineMethodScope()
253 for (const Scope *S = this; S; S = S->getParent()) { in isInObjcMethodScope()
280 for (const Scope *S = this; S; S = S->getParent()) { in isSwitchScope()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp163 Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
177 FixedValue -= Writer->getSectionAddress(B_SD->getFragment()->getParent()); in RecordARMScatteredHalfRelocation()
231 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation()
242 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredHalfRelocation()
267 uint64_t SecAddr = Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordARMScatteredRelocation()
282 FixedValue -= Writer->getSectionAddress(B_SD->getFragment()->getParent()); in RecordARMScatteredRelocation()
295 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredRelocation()
305 Writer->addRelocation(Fragment->getParent(), MRE); in RecordARMScatteredRelocation()
393 FixedValue -= Writer->getSectionAddress(Fragment->getParent()); in RecordRelocation()
435 Writer->addRelocation(Fragment->getParent(), MREPair); in RecordRelocation()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DPath.java44 List<?> boxesOfBoxType = box.getParent().getBoxes(box.getClass()); in createPath()
48 return createPath(box.getParent(), path); in createPath()
61 while (isoFile.getParent() != null) { in getPaths()
62 isoFile = isoFile.getParent(); in getPaths()
83 return getPaths(box.getParent(), later); in getPaths()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DRegisterFormatter.java58 …int parameterRegisterCount = codeItem.getParent().method.getPrototype().getParameterRegisterCount() in writeRegisterRange()
59 + (((codeItem.getParent().accessFlags & AccessFlags.STATIC.getValue())==0)?1:0); in writeRegisterRange()
91 …int parameterRegisterCount = codeItem.getParent().method.getPrototype().getParameterRegisterCount() in writeTo()
92 + (((codeItem.getParent().accessFlags & AccessFlags.STATIC.getValue())==0)?1:0); in writeTo()

12345678910>>...26