Searched refs:getParent (Results 76 - 100 of 1090) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp102 const DataLayout &DL = GV->getParent()->getDataLayout();
108 return TLInfo.getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDivergenceAnalysis.cpp118 for (const auto *Loop = LI.getLoopFor(Inst->getParent());
129 return I.getParent() && inRegion(*I.getParent());
133 return (!RegionLoop && BB.getParent() == &F) || RegionLoop->contains(&BB);
291 LLVM_DEBUG(dbgs() << "analyzeControlDiv " << Term.getParent()->getName()
295 if (!DT.isReachableFromEntry(Term.getParent()))
298 const auto *BranchLoop = LI.getLoopFor(Term.getParent());
344 return isDivergent(V) || isTemporalDivergent(*I.getParent(), V);
H A DRegionPrinter.cpp88 while (R && R->getParent())
89 if (R->getParent()->getEntry() == destBB)
90 R = R->getParent();
234 llvm::Function *F = RI->getTopLevelRegion()->getEntry()->getParent();
249 llvm::legacy::FunctionPassManager FPM(NonConstF->getParent());
H A DTypeMetadataUtils.cpp81 const Module *M = CI->getParent()->getParent()->getParent();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/
H A DConstructionContext.cpp38 Self = Self->getParent();
39 Other = Other->getParent();
80 ElidedCC = createFromLayers(C, ParentLayer->getParent());
131 ParentLayer->getParent());
189 TopLayer->getParent());
195 return createBoundTemporaryFromLayers(C, BTE, TopLayer->getParent());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.h222 auto &MRI = (*R.begin())->getParent()->getParent()->getRegInfo();
252 MI.getParent()->getParent()->getRegInfo());
258 MI.getParent()->getParent()->getRegInfo());
H A DAMDGPUMCInstLower.cpp138 getLongBranchBlockExpr(*MO.getParent()->getParent(), MO));
200 LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
264 LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
270 const MachineBasicBlock *MBB = MI->getParent();
376 LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
382 const MachineBasicBlock *MBB = MI->getParent();
[all...]
H A DSIPreEmitPeephole.cpp78 MachineBasicBlock &MBB = *MI.getParent();
79 const GCNSubtarget &ST = MBB.getParent()->getSubtarget<GCNSubtarget>();
156 BuildMI(*A->getParent(), *A, A->getDebugLoc(), TII->get(Mov), CondReg)
159 BuildMI(*A->getParent(), *A, A->getDebugLoc(), TII->get(Mov), CondReg)
178 MachineBasicBlock *Parent = MI.getParent();
207 MI.getParent()->removeSuccessor(Dst.getMBB());
217 MI.addImplicitDefUseOperands(*MBB.getParent());
224 MachineBasicBlock &MBB = *MI.getParent();
225 const MachineFunction &MF = *MBB.getParent();
290 const MachineFunction *MF = From.getParent();
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp127 BasicBlock *OldBB = SplitI->getParent();
145 const DataLayout &DL = F.getParent()->getDataLayout();
155 BuilderTy IRB(I.getParent(), BasicBlock::iterator(&I), TargetFolder(DL));
186 Function *Fn = IRB.GetInsertBlock()->getParent();
194 auto *F = Intrinsic::getDeclaration(Fn->getParent(), Intrinsic::trap);
207 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSink.cpp84 if (SuccToSinkTo->getUniquePredecessor() != Inst->getParent()) {
92 if (!DT.dominates(Inst->getParent(), SuccToSinkTo))
97 Loop *cur = LI.getLoopFor(Inst->getParent());
134 BasicBlock *BB = Inst->getParent();
137 BasicBlock *UseBlock = UseInst->getParent();
171 Inst->getParent()->printAsOperand(dbgs(), false); dbgs() << " -> ";
H A DCallSiteSplitting.cpp195 BasicBlock *CallSiteBB = CB.getParent();
243 bool IsVoid = SplitBB->getParent()->getReturnType()->isVoidTy();
308 BasicBlock *TailBB = CB.getParent();
404 cast<Instruction>(Mapping[CurrentI])->getParent());
418 BasicBlock *Parent = CB.getParent();
448 auto Preds = getTwoPredecessors(CB.getParent());
457 auto Preds = getTwoPredecessors(CB.getParent());
466 auto *CSDTNode = DTU.getDomTree().getNode(CB.getParent());
473 recordCondition(CB, Pred, CB.getParent(), Conditions);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp57 const MachineFunction &MF = *MO.getParent()->getParent()->getParent();
74 const MachineFunction &MF = *MO.getParent()->getParent()->getParent();
256 *MI->getParent()->getParent()->getInfo<WebAssemblyFunctionInfo>();
270 MI->getParent()->getParent()
[all...]
H A DWebAssemblyCFGStackify.cpp254 MachineFunction &MF = *MBB.getParent();
306 auto *LoopBottom = BeginToEnd[&MI]->getParent()->getPrevNode();
321 if (BeginToEnd[&MI]->getParent()->getNumber() <= MBB.getNumber())
378 if (EndToBegin[&MI]->getParent()->getNumber() >= Header->getNumber())
399 MachineFunction &MF = *MBB.getParent();
467 MachineFunction &MF = *MBB.getParent();
530 auto *LoopBottom = BeginToEnd[&MI]->getParent()->getPrevNode();
632 if (EndToBegin[&MI]->getParent()->getNumber() > Header->getNumber())
715 Cont = EndTry->getParent();
763 MachineBasicBlock *TryBB = Try->getParent();
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DThumbRegisterInfo.cpp67 MachineFunction &MF = *MBB.getParent();
72 Type::getInt32Ty(MBB.getParent()->getFunction().getContext()), Val);
87 MachineFunction &MF = *MBB.getParent();
91 Type::getInt32Ty(MBB.getParent()->getFunction().getContext()), Val);
107 MachineFunction &MF = *MBB.getParent();
128 MachineFunction &MF = *MBB.getParent();
363 MachineBasicBlock &MBB = *MI.getParent();
364 assert(MBB.getParent()->getSubtarget<ARMSubtarget>().isThumb1Only() &&
367 MachineInstrBuilder MIB(*MBB.getParent(), &MI);
431 const MachineFunction &MF = *MI.getParent()
[all...]
H A DMLxExpansionPass.cpp93 MachineBasicBlock *MBB = MI->getParent();
96 if (DefMI->getParent() != MBB)
121 MachineBasicBlock *MBB = MI->getParent();
123 if (UseMI->getParent() != MBB)
131 if (UseMI->getParent() != MBB)
145 MachineBasicBlock *MBB = MI->getParent();
149 if (DefMI->getParent() != MBB)
286 const MachineFunction &MF = *MI->getParent()->getParent();
H A DThumb1InstrInfo.cpp44 MachineFunction &MF = *MBB.getParent();
92 MachineFunction &MF = *MBB.getParent();
121 MachineFunction &MF = *MBB.getParent();
136 MachineFunction &MF = *MI->getParent()->getParent();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp69 if (DefMI->getParent() == NewMBB ||
99 MachineInstrBuilder MIB(*MI.getParent()->getParent(), &MI);
120 MachineBasicBlock *MBB = OrigBranch->getParent();
121 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB)
123 if (MIToDelete && MIToDelete->getParent() != MBB)
125 if (NewCond && NewCond->getParent() != MBB)
144 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent();
145 MachineFunction *MF = ThisMBB->getParent();
[all...]
H A DPPCMCInstLower.cpp98 const MachineInstr *MI = MO.getParent();
100 const Module *M = MF->getFunction().getParent();
132 const MachineFunction *MF = MO.getParent()->getParent()->getParent();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp202 Index = A->getFragment()->getParent()->getOrdinal() + 1;
209 Writer->addRelocation(A_Base, Fragment->getParent(), MRE);
214 Index = B->getFragment()->getParent()->getOrdinal() + 1;
231 static_cast<const MCSectionMachO &>(*Fragment->getParent());
246 Index = Symbol->getFragment()->getParent()->getOrdinal() + 1;
360 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE);
388 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
411 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent());
437 Writer->addRelocation(nullptr, Fragment->getParent(), MRE);
459 Writer->addRelocation(nullptr, Fragment->getParent(), MR
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp147 MachineInstr *User = it->getParent();
152 const MachineBasicBlock *InstBB = MI->getParent();
246 Add.getParent()->insertAfter(Add.getIterator(), &Ldst);
390 if (Ldst->getParent() != To->getParent())
393 End(Ldst->getParent()->end());
418 if (Ldst->getParent() != To->getParent())
421 End(Ldst->getParent()->end());
H A DARCBranchFinalize.cpp118 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(),
133 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(),
137 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), TII->get(ARC::Bcc))
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp152 MachineFunction &MF = *MBB->getParent();
166 MachineFunction &MF = *MI.getParent()->getParent();
279 MachineRegisterInfo &MRI = MI.getParent()->getParent()->getRegInfo();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DBlockExtractor.cpp157 BasicBlock *Parent = II->getParent();
214 if (BB->getParent()->getParent() != &M)
217 << BB->getParent()->getName() << ":" << BB->getName()
225 CodeExtractorAnalysisCache CEAC(*BBs[0]->getParent());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp304 BasicBlock *SI1BB = SI1->getParent();
305 BasicBlock *SI2BB = SI2->getParent();
388 BasicBlock *PBB = I->getParent();
736 if (!SI->getParent()->hasNPredecessorsOrMore(128 / SI->getNumSuccessors()))
825 N = MDBuilder(SI->getParent()->getContext()).createBranchWeights(Weights);
838 N = MDBuilder(I->getParent()->getContext())
875 if (PredDef == TI->getParent()) {
944 BasicBlock *TIBB = TI->getParent();
1107 if (UI->getParent() != PredBlock)
1117 BasicBlock *BB = TI->getParent();
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h122 InstrE = MI.getParent()->instr_end();
207 ConstMIBundleOperands::end(*MI.getParent()));
212 MIBundleOperands::end(*MI.getParent()));

Completed in 524 milliseconds

1234567891011>>