reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  264     return getMF().getFunction().getParent()->getDataLayout();
include/llvm/Transforms/IPO/Attributor.h
  565     if (!MAM || !F.getParent())
  568                        const_cast<Module &>(*F.getParent()))
lib/Analysis/CallGraph.cpp
  152   assert((!F || F->getParent() == &M) && "Function not in current module!");
lib/Analysis/StackSafetyAnalysis.cpp
  189   unsigned PointerSize = A->getParent()->getDataLayout().getPointerSizeInBits();
  224       : F(F), DL(F.getParent()->getDataLayout()), SE(SE),
lib/Analysis/TargetLibraryInfo.cpp
 1486       FDecl.getParent() ? &FDecl.getParent()->getDataLayout() : nullptr;
 1486       FDecl.getParent() ? &FDecl.getParent()->getDataLayout() : nullptr;
lib/Analysis/TargetTransformInfo.cpp
 1354   return Result(F.getParent()->getDataLayout());
lib/Analysis/TypeMetadataUtils.cpp
   79   const Module *M = CI->getParent()->getParent()->getParent();
lib/Analysis/ValueTracking.cpp
 3517       const DataLayout &DL = GV->getParent()->getDataLayout();
lib/CodeGen/Analysis.cpp
  688                               F->getParent()->getDataLayout()))
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  473                      /*PrintType=*/false, GV->getParent());
  499   const DataLayout &DL = GV->getParent()->getDataLayout();
  593       EmitGlobalConstant(GV->getParent()->getDataLayout(),
  630   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
  681                    /*PrintType=*/false, F.getParent());
  695       EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData());
  700       EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData());
  743     EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrologueData());
 1944     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
 1951     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
 2150     Alignment = getGVAlignment(GV, GV->getParent()->getDataLayout(), Alignment);
 2200                      !MF ? nullptr : MF->getFunction().getParent());
lib/CodeGen/BasicTargetTransformInfo.cpp
   33     : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/CodeGen/CodeGenPrepare.cpp
 4392       TLI.ParseConstraints(F->getParent()->getDataLayout(), &TRI,
lib/CodeGen/GlobalISel/CallLowering.cpp
   38   auto &DL = CS.getParent()->getParent()->getParent()->getDataLayout();
  184   const DataLayout &DL = F.getParent()->getDataLayout();
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
   34       DL(MF.getFunction().getParent()->getDataLayout()) {}
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1173   Value *Global = TLI.getSDagStackGuard(*MF->getFunction().getParent());
 2241   DL = &F.getParent()->getDataLayout();
lib/CodeGen/MIRParser/MIParser.cpp
 1492   C = parseConstantValue(Source, Err, *MF.getFunction().getParent(),
 1734     const Module *M = MF.getFunction().getParent();
 2962   ModuleSlotTracker MST(F.getParent(), /*ShouldInitializeAllMetadata=*/false);
 3008   ModuleSlotTracker MST(F.getParent(), /*ShouldInitializeAllMetadata=*/false);
lib/CodeGen/MIRParser/MIRParser.cpp
  813   const auto &M = *MF.getFunction().getParent();
lib/CodeGen/MIRPrinter.cpp
  214   ModuleSlotTracker MST(MF.getFunction().getParent());
lib/CodeGen/MachineBasicBlock.cpp
  284   const Module *M = F.getParent();
lib/CodeGen/MachineFunction.cpp
  259   return F.getParent()->getDataLayout();
  512   ModuleSlotTracker MST(getFunction().getParent());
lib/CodeGen/MachineInstr.cpp
 1461     M = F->getParent();
lib/CodeGen/MachineOperand.cpp
  449     } else if (const Module *M = F->getParent()) {
lib/CodeGen/RegAllocPBQP.cpp
  820     F.getParent()->getModuleIdentifier() + "." + F.getName().str();
lib/CodeGen/RegUsageInfoPropagate.cpp
  102   const Module &M = *MF.getFunction().getParent();
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  186               TLI->ParseConstraints(Fn->getParent()->getDataLayout(), TRI, CS);
  535       ComputeValueVTs(*TLI, Fn->getParent()->getDataLayout(),
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8645   auto *Module = MF->getFunction().getParent();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2480   Value *Global = TLI.getSDagStackGuard(*MF.getFunction().getParent());
 2516   const Module &M = *ParentBB->getParent()->getFunction().getParent();
 6369     const Module &M = *MF.getFunction().getParent();
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  481     return printMemOperand(OS, MMO, MF, MF->getFunction().getParent(),
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1572           TLI->getSSPStackGuardCheck(*Fn.getParent());
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  450   if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
 6831   Module *VariableModule = const_cast<Module*>(GA->getGlobal()->getParent());
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  649     unsigned Align = GO->getParent()->getDataLayout().getPreferredAlignment(
 1001       GO->getParent()->getDataLayout().getPreferredAlignment(
 1009       GO->getParent()->getDataLayout().getPreferredAlignment(
 1262   const GlobalValue *ComdatGV = GV->getParent()->getNamedValue(ComdatGVName);
lib/ExecutionEngine/ExecutionEngine.cpp
  198     GV->getParent()->getDataLayout().isDefault()
  200       : GV->getParent()->getDataLayout();
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  215   const Module &M = *(*Partition.begin())->getParent();
lib/IR/AsmWriter.cpp
  320     return MA->getParent() ? MA->getParent()->getParent() : nullptr;
  323     return BB->getParent() ? BB->getParent()->getParent() : nullptr;
  327     return M ? M->getParent() : nullptr;
  331     return GV->getParent();
  876     return new SlotTracker(GV->getParent());
  879     return new SlotTracker(GA->getParent());
  882     return new SlotTracker(GIF->getParent());
  904     : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
 3266   WriteAsOperandInternal(Out, GV, &TypePrinter, &Machine, GV->getParent());
 3322   WriteAsOperandInternal(Out, GIS, &TypePrinter, &Machine, GIS->getParent());
 3450   WriteAsOperandInternal(Out, F, &TypePrinter, &Machine, F->getParent());
 3489   const Module *Mod = F->getParent();
 4189   SlotTracker SlotTable(this->getParent());
 4191   AssemblyWriter W(OS, SlotTable, this->getParent(), AAW,
 4311     AssemblyWriter W(OS, SlotTable, GV->getParent(), nullptr, IsForDebug);
lib/IR/BasicBlock.cpp
  141   return getParent()->getParent();
lib/IR/Globals.cpp
  162                              getParent()->getSourceFileName());
lib/IR/Mangler.cpp
  121   const DataLayout &DL = GV->getParent()->getDataLayout();
  199     if (Flag[0] == GV->getParent()->getDataLayout().getGlobalPrefix())
lib/IR/Value.cpp
  356   const Module *M = GV->getParent();
lib/IR/Verifier.cpp
  324     assert(F.getParent() == &M &&
  605       else if (I->getParent()->getParent()->getParent() != &M)
  608                     I->getParent()->getParent()->getParent());
  611       if (F->getParent() != &M)
  613                     F, F->getParent());
 1894       Assert(GV->getParent() == &M, "Referencing global in another module!",
 1895              EntryC, &M, GV, GV->getParent());
 2239       Assert(Per->getParent() == F.getParent(),
 2241              &F, F.getParent(), Per, Per->getParent());
 2315   if (F.getIntrinsicID() && F.getParent()->isMaterialized()) {
 5113   Verifier V(OS, /*ShouldTreatBrokenDebugInfoAsError=*/true, *f.getParent());
lib/Linker/LinkModules.cpp
  294     const DataLayout &DL = Dest.getParent()->getDataLayout();
lib/Passes/StandardInstrumentations.cpp
   42     const Module *M = F->getParent();
   51         const Module *M = F.getParent();
   63     const Module *M = F->getParent();
lib/ProfileData/InstrProf.cpp
  255     StringRef FileName(F.getParent()->getSourceFileName());
 1091   if (!needsComdatForCounter(F, *(F.getParent())))
lib/Target/AArch64/AArch64CallLowering.cpp
  272     auto &DL = F.getParent()->getDataLayout();
  422   auto &DL = F.getParent()->getDataLayout();
  926   auto &DL = F.getParent()->getDataLayout();
lib/Target/AArch64/AArch64ISelLowering.cpp
11706       Offset > GV->getParent()->getDataLayout().getTypeAllocSize(T))
lib/Target/AArch64/AArch64Subtarget.cpp
  221   if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV)) {
  257       !TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
lib/Target/AArch64/AArch64TargetTransformInfo.h
   64       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  309     const DataLayout &DL = GV->getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  348   const DataLayout &DL = F.getParent()->getDataLayout();
  370   const DataLayout &DL = F.getParent()->getDataLayout();
  447   const DataLayout &DL = F.getParent()->getDataLayout();
  570   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  269   auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version");
  346   const DataLayout &DL = Func->getParent()->getDataLayout();
  406   auto &DL = Func.getParent()->getDataLayout();
  422     if (Func.getParent()->getNamedMetadata("llvm.printf.fmts"))
  675   auto Node = Func.getParent()->getNamedMetadata("opencl.ocl.version");
  763   const DataLayout &DL = Func->getParent()->getDataLayout();
  774   emitKernelArg(Func->getParent()->getDataLayout(), Arg.getType(),
  839   auto &DL = Func.getParent()->getDataLayout();
  855     if (Func.getParent()->getNamedMetadata("llvm.printf.fmts"))
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  913   LLVMContext &Ctx = Fn.getParent()->getContext();
  920   const DataLayout &DL = Fn.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  499   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
   57       : BaseT(TM, F.getParent()->getDataLayout()),
  130     : BaseT(TM, F.getParent()->getDataLayout()),
  232     : BaseT(TM, F.getParent()->getDataLayout()),
lib/Target/AMDGPU/SIISelLowering.cpp
 4425          !getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
 6060     const Module *M = MF.getFunction().getParent();
lib/Target/AMDGPU/SIInstrInfo.cpp
  419   const DataLayout &DL = MF.getFunction().getParent()->getDataLayout();
lib/Target/ARC/ARCTargetTransformInfo.h
   41       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl()),
lib/Target/ARM/ARMFastISel.cpp
  128           M(const_cast<Module &>(*funcInfo.Fn->getParent())),
 2950   bool UseGOT_PREL = !TM.shouldAssumeDSOLocal(*GV->getParent(), GV);
lib/Target/ARM/ARMISelLowering.cpp
 2271   const Module *Mod = MF.getFunction().getParent();
 2996                                  getFunction().getParent());
 3445   if (TM.shouldAssumeDSOLocal(*GV->getParent(), GV) && !Subtarget->genExecuteOnly())
 3450     bool UseGOT_PREL = !TM.shouldAssumeDSOLocal(*GV->getParent(), GV);
 3540   else if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
lib/Target/ARM/ARMSubtarget.cpp
  347   if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
  362          !TM.shouldAssumeDSOLocal(*GV->getParent(), GV);
lib/Target/ARM/ARMTargetTransformInfo.h
   88       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/BPF/BTFDebug.cpp
 1115     const DataLayout &DL = Global.getParent()->getDataLayout();
lib/Target/Hexagon/HexagonExpandCondsets.cpp
 1261                         MF.getFunction().getParent()));
 1289       LIS->print(dbgs() << "After coalescing\n", MF.getFunction().getParent()));
 1306       LIS->print(dbgs() << "After splitting\n", MF.getFunction().getParent()));
 1315                         MF.getFunction().getParent()));
 1323                  MF.getFunction().getParent());
lib/Target/Hexagon/HexagonISelLowering.cpp
 1033   bool UsePCRel = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
 1817     const Module &M = *I.getParent()->getParent()->getParent();
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  258   unsigned Size = GVar->getParent()->getDataLayout().getTypeAllocSize(GType);
  320     const DataLayout &DL = GV->getParent()->getDataLayout();
lib/Target/Hexagon/HexagonTargetTransformInfo.h
   55       : BaseT(TM, F.getParent()->getDataLayout()),
lib/Target/Lanai/LanaiTargetObjectFile.cpp
   99       GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
lib/Target/Lanai/LanaiTargetTransformInfo.h
   41       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/Mips/MipsCCState.cpp
   77       Function *F = G->getGlobal()->getParent()->getFunction(Sym);
lib/Target/Mips/MipsCallLowering.cpp
   60   const DataLayout &DL = F.getParent()->getDataLayout();
  675   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/Mips/MipsISelLowering.cpp
 2953       Function *F = G->getGlobal()->getParent()->getFunction(Sym);
lib/Target/Mips/MipsTargetMachine.cpp
  286     return TargetTransformInfo(F.getParent()->getDataLayout());
lib/Target/Mips/MipsTargetObjectFile.cpp
  147       GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  448     emitGlobals(*MF->getFunction().getParent());
 2010                      !MF ? nullptr : MF->getFunction().getParent());
 2024                        !MF ? nullptr : MF->getFunction().getParent());
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2508             (theArgs[i]->getParent() ? theArgs[i]->getParent()->getParent()
lib/Target/NVPTX/NVPTXTargetTransformInfo.h
   40       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl()),
lib/Target/NVPTX/NVPTXUtilities.cpp
  108   const Module *m = gv->getParent();
  122   const Module *m = gv->getParent();
lib/Target/PowerPC/PPCAsmPrinter.cpp
  482   const Module *M = MF->getFunction().getParent();
  541   const Module *M = MF->getFunction().getParent();
 1362        MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC))
 1765   const DataLayout &DL = GV->getParent()->getDataLayout();
 1784   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  436     const Module *M = MF->getFunction().getParent();
 4389     const Module *Mod = MF->getFunction().getParent();
lib/Target/PowerPC/PPCISelLowering.cpp
 2852   const Module *M = DAG.getMachineFunction().getFunction().getParent();
 4499     return TM.shouldAssumeDSOLocal(*Caller->getParent(), GV);
 4536   if (!TM.shouldAssumeDSOLocal(*Caller->getParent(), GV))
 4976   const Module *Mod = DAG.getMachineFunction().getFunction().getParent();
15437   return getTargetMachine().shouldAssumeDSOLocal(*Caller->getParent(), Callee);
lib/Target/PowerPC/PPCMCInstLower.cpp
  113   const Module *M = MF->getFunction().getParent();
lib/Target/PowerPC/PPCSubtarget.cpp
  180   if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
  236   if (TM.shouldAssumeDSOLocal(*GV->getParent(), GV))
lib/Target/PowerPC/PPCTargetTransformInfo.h
   40       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/RISCV/RISCVISelLowering.cpp
  476   bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
 2275     if (!getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV))
 2282     if (!getTargetMachine().shouldAssumeDSOLocal(*MF.getFunction().getParent(),
lib/Target/RISCV/RISCVTargetObjectFile.cpp
   72       GVA->getParent()->getDataLayout().getTypeAllocSize(Ty));
lib/Target/RISCV/RISCVTargetTransformInfo.h
   41       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/Sparc/SparcISelLowering.cpp
  705     const Module *M = Fn.getParent();
 1947     const Module *M = DAG.getMachineFunction().getFunction().getParent();
lib/Target/SystemZ/SystemZSubtarget.cpp
   78     return TLInfo.getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
lib/Target/SystemZ/SystemZTargetTransformInfo.h
   33       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/TargetLoweringObjectFile.cpp
  121   NameStr += GV->getParent()->getDataLayout().getPrivateGlobalPrefix();
  213           GVar->getParent()->getDataLayout().getTypeAllocSize(C->getType())) {
  274   return getSectionForConstant(F.getParent()->getDataLayout(),
lib/Target/TargetMachine.cpp
  212   bool IsPIE = GV->getParent()->getPIELevel() != PIELevel::Default;
  215   bool IsLocal = shouldAssumeDSOLocal(*GV->getParent(), GV);
  244   return TargetTransformInfo(F.getParent()->getDataLayout());
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1102     if (getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV)) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  340           MF.getFunction().getParent()->getFunction(
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
   31   const DataLayout &DL(F.getParent()->getDataLayout());
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
   41       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/X86/X86CallLowering.cpp
  383   auto &DL = F.getParent()->getDataLayout();
lib/Target/X86/X86ISelLowering.cpp
 2199   if (auto *M = MF->getFunction().getParent())
17874   const Module &Mod = *DAG.getMachineFunction().getFunction().getParent();
lib/Target/X86/X86Subtarget.cpp
   66   return classifyGlobalReference(GV, *GV->getParent());
  173   return classifyGlobalFunctionReference(GV, *GV->getParent());
lib/Target/X86/X86TargetTransformInfo.h
  100       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/XCore/XCoreISelLowering.cpp
  272   auto &DL = GV->getParent()->getDataLayout();
lib/Target/XCore/XCoreTargetObjectFile.cpp
  121   auto &DL = GO->getParent()->getDataLayout();
lib/Target/XCore/XCoreTargetTransformInfo.h
   40       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl()),
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  187     return isIn(*F.getParent(), Category) ||
  196     if (isIn(*GA.getParent(), Category))
lib/Transforms/Utils/CloneFunction.cpp
  127       OldFunc->getParent() && OldFunc->getParent() == NewFunc->getParent();
  127       OldFunc->getParent() && OldFunc->getParent() == NewFunc->getParent();
  215   auto* OldModule = OldFunc->getParent();
lib/Transforms/Utils/FunctionComparator.cpp
  410   const DataLayout &DL = FnL->getParent()->getDataLayout();
  672   const DataLayout &DL = FnL->getParent()->getDataLayout();
lib/Transforms/Utils/FunctionImportUtils.cpp
   68       SGV->getGUID(), SGV->getParent()->getModuleIdentifier());
  104         ImportIndex.getModuleHash(SGV->getParent()->getModuleIdentifier()));
lib/Transforms/Vectorize/LoopVectorize.cpp
 5072   const DataLayout &DL = TheFunction->getParent()->getDataLayout();
 5376   const DataLayout &DL = TheFunction->getParent()->getDataLayout();
tools/bugpoint/ExtractFunction.cpp
   94       RFI, std::distance(PF->getParent()->begin(), Module::const_iterator(PF)));