Searched refs:getParent (Results 1 - 25 of 610) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DParentMap.h37 Stmt *getParent(Stmt*) const;
43 const Stmt *getParent(const Stmt* S) const { function in class:clang::ParentMap
44 return getParent(const_cast<Stmt*>(S));
56 return getParent(S) != nullptr;
H A DASTLambda.h29 const CXXRecordDecl *LambdaClass = MD->getParent();
41 const CXXRecordDecl *LambdaClass = MD->getParent();
49 return C ? C->getParent()->isLambda() : false;
73 return DC->getParent()->getParent();
75 return DC->getParent();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp24 DeclA = DeclA->getParent();
28 DeclB = DeclB->getParent();
44 DeclA = DeclA->getParent();
45 DeclB = DeclB->getParent();
54 DeclA = DeclA->getParent();
71 DeclA = DeclA->getParent();
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DCFG.cpp176 assert(A->getParent() == B->getParent() &&
188 assert(A->getParent()->getParent() == B->getParent()->getParent() &&
193 if (A->getParent() == B->getParent()) {
199 BasicBlock *BB = const_cast<BasicBlock *>(A->getParent());
215 if (BB == &BB->getParent()
[all...]
H A DTrace.cpp25 return getEntryBasicBlock()->getParent();
29 return getFunction()->getParent();
H A DAliasAnalysisEvaluator.cpp144 const DataLayout &DL = F.getParent()->getDataLayout();
202 PrintResults("NoAlias", PrintNoAlias, *I1, *I2, F.getParent());
206 PrintResults("MayAlias", PrintMayAlias, *I1, *I2, F.getParent());
211 F.getParent());
215 PrintResults("MustAlias", PrintMustAlias, *I1, *I2, F.getParent());
232 F.getParent());
237 F.getParent());
242 F.getParent());
247 F.getParent());
262 F.getParent());
[all...]
H A DAssumptionCache.cpp54 assert(CI->getParent() &&
56 assert(&F == CI->getParent()->getParent() &&
67 assert(&F == cast<Instruction>(VH)->getParent()->getParent() &&
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp37 : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
H A DPHIEliminationUtils.cpp36 MachineRegisterInfo& MRI = MBB->getParent()->getRegInfo();
38 if (RI.getParent() == MBB)
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp42 Parent = Parents.getParent(Condition);
74 for (const LocationContext *LC = C.getLocationContext()->getParent();
75 LC != nullptr; LC = LC->getParent())
91 for (const LocationContext *LC = C.getLocationContext()->getParent();
92 LC != nullptr; LC = LC->getParent())
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64CleanupLocalDynamicTLSPass.cpp94 MachineFunction *MF = I->getParent()->getParent();
99 MachineInstr *Copy = BuildMI(*I->getParent(), I, I->getDebugLoc(),
112 MachineFunction *MF = I->getParent()->getParent();
121 BuildMI(*I->getParent(), ++I->getIterator(), I->getDebugLoc(),
H A DAArch64PromoteConstant.cpp346 *NewPt->getParent()->getParent()).getDomTree();
355 (IPI.first->getParent() != NewPt->getParent() &&
356 DT.dominates(IPI.first->getParent(), NewPt->getParent()))) {
371 *NewPt->getParent()->getParent()).getDomTree();
372 BasicBlock *NewBB = NewPt->getParent();
380 BasicBlock *CurBB = IPI->first->getParent();
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/
H A DArgument.h48 inline const Function *getParent() const { return Parent; } function in class:llvm::Argument
49 inline Function *getParent() { return Parent; } function in class:llvm::Argument
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrBuilder.h29 MachineFunction &MF = *MI->getParent()->getParent();
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXPeephole.cpp75 auto &MBB = *Root.getParent();
76 auto &MF = *MBB.getParent();
90 if (!GenericAddrDef || GenericAddrDef->getParent() != &MBB ||
106 auto &MBB = *Root.getParent();
107 auto &MF = *MBB.getParent();
H A DNVPTXLowerKernelArgs.cpp144 Function *Func = Arg->getParent();
173 InsertPt = Arg->getParent()->getEntryBlock().begin();
177 assert(InsertPt != InsertPt->getParent()->end() &&
207 F.getParent()->getDataLayout());
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp110 MachineFunction &MF = *MI.getParent()->getParent();
180 MachineBasicBlock &MBB = *MI.getParent();
184 MachineRegisterInfo &RegInfo = MBB.getParent()->getRegInfo();
188 MBB.getParent()->getSubtarget().getInstrInfo());
199 MachineBasicBlock &MBB = *MI.getParent();
204 MBB.getParent()->getSubtarget().getInstrInfo());
H A DMips16RegisterInfo.cpp67 const TargetInstrInfo &TII = *MBB.getParent()->getSubtarget().getInstrInfo();
84 MachineFunction &MF = *MI.getParent()->getParent();
138 MachineBasicBlock &MBB = *MI.getParent();
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp269 BasicBlock *BB0 = Load0->getParent();
295 assert(HoistCand->getParent() != BB);
321 BasicBlock *Parent = I->getParent();
324 if (Instr && Instr->getParent() == Parent)
339 A0->hasOneUse() && (A0->getParent() == L0->getParent()) &&
340 A1->hasOneUse() && (A1->getParent() == L1->getParent()) &&
413 BasicBlock *BB0 = Store0->getParent();
448 NewPN->addIncoming(Opd1, S0->getParent());
[all...]
H A DSink.cpp85 BasicBlock *UseBlock = UseInst->getParent();
195 if (Inst->getParent() == SuccToSinkTo)
207 if (SuccToSinkTo->getUniquePredecessor() != Inst->getParent()) {
215 if (!DT->dominates(Inst->getParent(), SuccToSinkTo))
220 Loop *cur = LI->getLoopFor(Inst->getParent());
260 DomTreeNode *DTN = DT->getNode(Inst->getParent());
264 if ((*I)->getIDom()->getBlock() == Inst->getParent() &&
271 for (succ_iterator I = succ_begin(Inst->getParent()),
272 E = succ_end(Inst->getParent()); I != E && !SuccToSinkTo; ++I) {
282 Inst->getParent()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DIRBuilder.cpp31 Module &M = *BB->getParent()->getParent();
42 assert(BB && BB->getParent() && "No current function!");
43 return BB->getParent()->getReturnType();
88 Module *M = BB->getParent()->getParent();
115 Module *M = BB->getParent()->getParent();
146 Module *M = BB->getParent()->getParent();
[all...]
H A DBasicBlock.cpp28 if (Function *F = getParent())
83 assert(getParent() == nullptr && "BasicBlock still linked into the program!");
94 getParent()->getBasicBlockList().remove(getIterator());
98 return getParent()->getBasicBlockList().erase(getIterator());
104 MovePos->getParent()->getBasicBlockList().splice(
105 MovePos->getIterator(), getParent()->getBasicBlockList(), getIterator());
111 MovePos->getParent()->getBasicBlockList().splice(
112 ++MovePos->getIterator(), getParent()->getBasicBlockList(),
117 return getParent()->getParent();
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp77 else if ((flags & ClassScope) && getParent()->isClassScope())
79 else if ((flags & ClassScope) && getParent()->getFlags() == DeclScope)
99 S = S->getParent();
128 getParent()->setNoNRVO();
130 getParent()->addNRVOCandidate(NRVO.getPointer());
211 if (const Scope *Parent = getParent())
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp37 Function *F = I.getParent()->getParent();
47 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest());
119 Function *F = P->getParent()->getParent();
127 assert(II->getParent() != P->getIncomingBlock(i) &&
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp47 const MachineFunction *MF = MI->getParent()->getParent();
57 if (I != LastMI->getParent()->begin()) {

Completed in 158 milliseconds

1234567891011>>