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

Declarations

include/llvm/IR/Module.h
  237   const DataLayout &getDataLayout() const;

References

include/llvm/Analysis/MemorySSA.h
 1225           OriginalAccess->getBlock()->getModule()->getDataLayout(), nullptr);
include/llvm/Analysis/ScalarEvolution.h
 1072     return F.getParent()->getDataLayout();
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  264     return getMF().getFunction().getParent()->getDataLayout();
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  372         std::string CalledFnName = mangle(FuncName, SrcM.getDataLayout());
  394     const DataLayout &DL = SrcM.getDataLayout();
  480           const DataLayout &DL = GVsM->getDataLayout();
  590     std::string CalledFnName = mangle(F.getName(), SrcM.getDataLayout());
  597         std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout());
  641     M->setDataLayout(SrcM.getDataLayout());
include/llvm/IR/IRBuilder.h
 1585     const DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
include/llvm/Transforms/IPO/Attributor.h
  600       : DL(M.getDataLayout()), Explorer(/* ExploreInterBlock */ true), AG(AG) {
lib/Analysis/AliasAnalysis.cpp
  647       GetUnderlyingObject(MemLoc.Ptr, I->getModule()->getDataLayout());
lib/Analysis/AliasAnalysisEvaluator.cpp
   94   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Analysis/BasicAliasAnalysis.cpp
 2042   return BasicAAResult(F.getParent()->getDataLayout(),
 2078   Result.reset(new BasicAAResult(F.getParent()->getDataLayout(), F,
 2097       F.getParent()->getDataLayout(), F,
lib/Analysis/CFLGraph.h
  635     GetEdgesVisitor Visitor(*this, Fn.getParent()->getDataLayout());
lib/Analysis/CaptureTracking.cpp
  364           if (Tracker->isDereferenceableOrNull(O, I->getModule()->getDataLayout()))
lib/Analysis/ConstantFolding.cpp
 2481                                   F->getParent()->getDataLayout(), TLI, Call);
lib/Analysis/DemandedBits.cpp
  103         const DataLayout &DL = UserI->getModule()->getDataLayout();
  426   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Analysis/DependenceAnalysis.cpp
 3426   switch (underlyingObjectsAlias(AA, F->getParent()->getDataLayout(),
 3844   assert(underlyingObjectsAlias(AA, F->getParent()->getDataLayout(),
lib/Analysis/GlobalsModRef.cpp
  434                                        GV->getParent()->getDataLayout());
  966   GlobalsAAResult Result(M.getDataLayout(), GetTLI);
lib/Analysis/IVDescriptors.cpp
  117   const DataLayout &DL = Exit->getModule()->getDataLayout();
 1089   const DataLayout &DL = Phi->getModule()->getDataLayout();
lib/Analysis/IVUsers.cpp
  169   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Analysis/InlineCost.cpp
  299         PSI(PSI), F(Callee), DL(F.getParent()->getDataLayout()), ORE(ORE),
 2028   unsigned AllocaAS = Callee->getParent()->getDataLayout().getAllocaAddrSpace();
lib/Analysis/InstructionSimplify.cpp
 5422   const DataLayout &DL = I->getModule()->getDataLayout();
 5500   return {F.getParent()->getDataLayout(), TLI, DT, AC};
 5514   return {F.getParent()->getDataLayout(), TLI, DT, AC};
lib/Analysis/LazyValueInfo.cpp
  671                                L->getModule()->getDataLayout()) == Ptr;
  676                                S->getModule()->getDataLayout()) == Ptr;
  687                               MI->getModule()->getDataLayout()) == Ptr)
  692                                 MTI->getModule()->getDataLayout()) == Ptr)
  705   const DataLayout &DL = BB->getModule()->getDataLayout();
 1173           EVI->getModule()->getDataLayout())) {
 1413           const DataLayout &DL = BBTo->getModule()->getDataLayout();
 1476         const DataLayout &DL = BBTo->getModule()->getDataLayout();
 1625   const DataLayout &DL = F.getParent()->getDataLayout();
 1677   return LazyValueInfo(&AC, &F.getParent()->getDataLayout(), &TLI, DT);
 1700   const DataLayout &DL = BB->getModule()->getDataLayout();
 1718   const DataLayout &DL = BB->getModule()->getDataLayout();
 1737   const DataLayout &DL = FromBB->getModule()->getDataLayout();
 1756   const DataLayout &DL = FromBB->getModule()->getDataLayout();
 1842   const DataLayout &DL = FromBB->getModule()->getDataLayout();
 1856   const DataLayout &DL = CxtI->getModule()->getDataLayout();
 1953     const DataLayout &DL = PredBB->getModule()->getDataLayout();
 1960     const DataLayout &DL = BB->getModule()->getDataLayout();
lib/Analysis/Lint.cpp
  204   DL = &F.getParent()->getDataLayout();
  585   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  590   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  595   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
  600   Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC),
lib/Analysis/Loads.cpp
  200   auto &DL = LI->getModule()->getDataLayout();
  385   const DataLayout &DL = ScanBB->getModule()->getDataLayout();
lib/Analysis/LoopAccessAnalysis.cpp
 1063   auto &DL = Lp->getHeader()->getModule()->getDataLayout();
 1494   auto &DL = InnermostLoop->getHeader()->getModule()->getDataLayout();
 1914   AccessAnalysis Accesses(TheLoop->getHeader()->getModule()->getDataLayout(),
 2207   const DataLayout &DL = TheLoop->getHeader()->getModule()->getDataLayout();
 2317   const DataLayout &DL = TheLoop->getHeader()->getModule()->getDataLayout();
lib/Analysis/LoopUnrollAnalyzer.cpp
   78   const DataLayout &DL = I.getModule()->getDataLayout();
lib/Analysis/MemDerefPrinter.cpp
   52   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Analysis/MemoryDependenceAnalysis.cpp
  252   const DataLayout &DL = LI->getModule()->getDataLayout();
  488   const DataLayout &DL = BB->getModule()->getDataLayout();
  956   const DataLayout &DL = FromBB->getModule()->getDataLayout();
lib/Analysis/MemoryLocation.cpp
   37   const auto &DL = LI->getModule()->getDataLayout();
   47   const auto &DL = SI->getModule()->getDataLayout();
   66   const auto &DL = CXI->getModule()->getDataLayout();
   77   const auto &DL = RMWI->getModule()->getDataLayout();
  136     const DataLayout &DL = II->getModule()->getDataLayout();
lib/Analysis/ModuleSummaryAnalysis.cpp
  501   const DataLayout &DL = M.getDataLayout();
lib/Analysis/MustExecute.cpp
  139   auto DL = ExitBlock->getModule()->getDataLayout();
lib/Analysis/ObjCARCAliasAnalysis.cpp
  137   return ObjCARCAAResult(F.getParent()->getDataLayout());
  153   Result.reset(new ObjCARCAAResult(M.getDataLayout()));
lib/Analysis/ScalarEvolutionExpander.cpp
 2169             L->getHeader()->getParent()->getParent()->getDataLayout();
lib/Analysis/StackSafetyAnalysis.cpp
  131   const DataLayout &DL = AI->getModule()->getDataLayout();
  189   unsigned PointerSize = A->getParent()->getDataLayout().getPointerSizeInBits();
  224       : F(F), DL(F.getParent()->getDataLayout()), SE(SE),
  430     : PointerSize(M.getDataLayout().getPointerSizeInBits()),
lib/Analysis/TargetLibraryInfo.cpp
 1486       FDecl.getParent() ? &FDecl.getParent()->getDataLayout() : nullptr;
lib/Analysis/TargetTransformInfo.cpp
 1354   return Result(F.getParent()->getDataLayout());
lib/Analysis/TypeMetadataUtils.cpp
   64         int64_t GEPOffset = M->getDataLayout().getIndexedOffsetInType(
  138   const DataLayout &DL = M.getDataLayout();
lib/Analysis/ValueTracking.cpp
 3517       const DataLayout &DL = GV->getParent()->getDataLayout();
 3940     const DataLayout &DL = LI->getModule()->getDataLayout();
lib/Analysis/VectorUtils.cpp
  129   const DataLayout &DL = Gep->getModule()->getDataLayout();
  806   auto &DL = TheLoop->getHeader()->getModule()->getDataLayout();
lib/AsmParser/LLParser.cpp
 1384         M->getDataLayout().getProgramAddressSpace());
lib/AsmParser/LLParser.h
  273           AddrSpace, M->getDataLayout().getProgramAddressSpace());
lib/Bitcode/Reader/BitcodeReader.cpp
 3215   unsigned AddrSpace = TheModule->getDataLayout().getProgramAddressSpace();
 4761       const DataLayout &DL = TheModule->getDataLayout();
lib/CodeGen/Analysis.cpp
  688                               F->getParent()->getDataLayout()))
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  216   return MMI->getModule()->getDataLayout();
  499   const DataLayout &DL = GV->getParent()->getDataLayout();
  593       EmitGlobalConstant(GV->getParent()->getDataLayout(),
  630   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
  695       EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData());
  700       EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrefixData());
  743     EmitGlobalConstant(F.getParent()->getDataLayout(), F.getPrologueData());
 1348       const DataLayout &DL = M.getDataLayout();
 1431       const DataLayout &DL = M.getDataLayout();
 1449       const DataLayout &DL = M.getDataLayout();
 1944     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
 1951     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
 2150     Alignment = getGVAlignment(GV, GV->getParent()->getDataLayout(), Alignment);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  472   return MMI->getModule()->getDataLayout().getPointerSizeInBits() / 8;
lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
   47   unsigned IntPtrSize = M.getDataLayout().getPointerSize();
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   65   Mangler::getNameWithPrefix(TmpStr, SymName, M.getDataLayout());
  100   unsigned IntPtrSize = M.getDataLayout().getPointerSize();
lib/CodeGen/AtomicExpandPass.cpp
  135   const DataLayout &DL = LI->getModule()->getDataLayout();
  140   const DataLayout &DL = SI->getModule()->getDataLayout();
  145   const DataLayout &DL = RMWI->getModule()->getDataLayout();
  150   const DataLayout &DL = CASI->getModule()->getDataLayout();
  177   const DataLayout &DL = RMWI->getModule()->getDataLayout();
  183   const DataLayout &DL = CASI->getModule()->getDataLayout();
  375                                             M->getDataLayout());
  463                                             M->getDataLayout());
  648   const DataLayout &DL = M->getDataLayout();
 1056                                             M->getDataLayout());
 1617   const DataLayout &DL = M->getDataLayout();
lib/CodeGen/BasicTargetTransformInfo.cpp
   33     : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/CodeGen/CodeGenPrepare.cpp
  414   DL = &F.getParent()->getDataLayout();
 2787         DL(MI->getModule()->getDataLayout()), AccessTy(AT), AddrSpace(AS),
 4392       TLI.ParseConstraints(F->getParent()->getDataLayout(), &TRI,
 6735   bool IsLE = SI.getModule()->getDataLayout().isLittleEndian();
lib/CodeGen/ExpandMemCmp.cpp
  844   const DataLayout& DL = F.getParent()->getDataLayout();
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
  256     const DataLayout &DL = AI->getModule()->getDataLayout();
  263     const DataLayout &DL = AI->getModule()->getDataLayout();
 2241   DL = &F.getParent()->getDataLayout();
lib/CodeGen/GlobalMerge.cpp
  220   auto &DL = M.getDataLayout();
  443   auto &DL = M.getDataLayout();
  603   auto &DL = M.getDataLayout();
lib/CodeGen/HardwareLoops.cpp
  184   DL = &F.getParent()->getDataLayout();
lib/CodeGen/IndirectBrExpandPass.cpp
   76   auto &DL = F.getParent()->getDataLayout();
lib/CodeGen/InterleavedLoadCombinePass.cpp
 1258   auto &DL = F.getParent()->getDataLayout();
lib/CodeGen/LowerEmuTLS.cpp
   93   const DataLayout &DL = M.getDataLayout();
lib/CodeGen/MIRParser/MIRParser.cpp
  827             : M.getDataLayout().getPrefTypeAlignment(Value->getType());
lib/CodeGen/MachineFunction.cpp
  259   return F.getParent()->getDataLayout();
lib/CodeGen/SafeStack.cpp
  873     auto *DL = &F.getParent()->getDataLayout();
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  186               TLI->ParseConstraints(Fn->getParent()->getDataLayout(), TRI, CS);
  535       ComputeValueVTs(*TLI, Fn->getParent()->getDataLayout(),
lib/CodeGen/SjLjEHPrepare.cpp
  177   auto &DL = F.getParent()->getDataLayout();
  483                           M.getDataLayout().getAllocaAddrSpace())});
lib/CodeGen/StackProtector.cpp
  129     if (SSPBufferSize <= M->getDataLayout().getTypeAllocSize(AT)) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  649     unsigned Align = GO->getParent()->getDataLayout().getPreferredAlignment(
 1001       GO->getParent()->getDataLayout().getPreferredAlignment(
 1009       GO->getParent()->getDataLayout().getPreferredAlignment(
 1166   Name += MMI->getModule()->getDataLayout().getPrivateGlobalPrefix();
lib/CodeGen/WinEHPrepare.cpp
  121   DL = &Fn.getParent()->getDataLayout();
lib/ExecutionEngine/ExecutionEngine.cpp
   84     : DL(M->getDataLayout()), LazyFunctionCreator(nullptr) {
  198     GV->getParent()->getDataLayout().isDefault()
  200       : GV->getParent()->getDataLayout();
lib/ExecutionEngine/MCJIT/MCJIT.cpp
   83   if (First->getDataLayout().isDefault())
  105   if (M->getDataLayout().isDefault())
  203   assert(M->getDataLayout() == getDataLayout() && "DataLayout Mismatch");
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  140     MangleAndInterner Mangle(ES, M.getDataLayout());
  287           MangleAndInterner Mangle(ES, M.getDataLayout());
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
   96       (*CtorDtors.begin()).Func->getParent()->getDataLayout());
lib/ExecutionEngine/Orc/LLJIT.cpp
  153   if (M.getDataLayout().isDefault())
  156   if (M.getDataLayout() != DL)
lib/ExecutionEngine/Orc/Layer.cpp
   32   MangleAndInterner Mangle(ES, this->TSM.getModuleUnlocked()->getDataLayout());
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  292     if (M->getDataLayout().isDefault())
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  261     if (M->getDataLayout().isDefault()) {
  264       assert(M->getDataLayout() == getDataLayout() && "DataLayout Mismatch");
lib/IR/AsmWriter.cpp
 3491       Mod->getDataLayout().getProgramAddressSpace() != 0)
 3650     if (!Mod || Mod->getDataLayout().getProgramAddressSpace() != 0)
lib/IR/ConstantFold.cpp
 1151             GVAlign = GV->getPointerAlignment(TheModule->getDataLayout());
lib/IR/DataLayout.cpp
  460 void DataLayout::init(const Module *M) { *this = M->getDataLayout(); }
lib/IR/Function.cpp
  219   return Create(Ty, Linkage, M.getDataLayout().getProgramAddressSpace(), N, &M);
  238     return M ? M->getDataLayout().getProgramAddressSpace() : 0;
lib/IR/Mangler.cpp
  121   const DataLayout &DL = GV->getParent()->getDataLayout();
  199     if (Flag[0] == GV->getParent()->getDataLayout().getGlobalPrefix())
lib/IR/Verifier.cpp
  134       : OS(OS), M(M), MST(&M), TT(M.getTargetTriple()), DL(M.getDataLayout()),
lib/LTO/LTO.cpp
  956   const DataLayout &DL = RegularLTO.CombinedModule->getDataLayout();
lib/Linker/IRMover.cpp
 1388   if (DstM.getDataLayout().isDefault())
 1389     DstM.setDataLayout(SrcM->getDataLayout());
 1391   if (SrcM->getDataLayout() != DstM.getDataLayout()) {
 1391   if (SrcM->getDataLayout() != DstM.getDataLayout()) {
lib/Linker/LinkModules.cpp
  192     const DataLayout &DstDL = DstM.getDataLayout();
  193     const DataLayout &SrcDL = SrcM->getDataLayout();
  294     const DataLayout &DL = Dest.getParent()->getDataLayout();
lib/Object/IRSymtab.cpp
  267     Uncommon().CommonSize = GV->getParent()->getDataLayout().getTypeAllocSize(
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
 8364   auto &DL = I.getModule()->getDataLayout();
 8527   const DataLayout &DL = I->getModule()->getDataLayout();
 8591       auto &DL = Ext->getModule()->getDataLayout();
 8792   const DataLayout &DL = LI->getModule()->getDataLayout();
 8925   const DataLayout &DL = SI->getModule()->getDataLayout();
11706       Offset > GV->getParent()->getDataLayout().getTypeAllocSize(T))
12201   const DataLayout &DL = M->getDataLayout();
12240   const DataLayout &DL = M->getDataLayout();
lib/Target/AArch64/AArch64StackTagging.cpp
  519   DL = &Fn.getParent()->getDataLayout();
lib/Target/AArch64/AArch64TargetTransformInfo.h
   64       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
   67     return AMDGPUAAResult(F.getParent()->getDataLayout(),
   87     Result.reset(new AMDGPUAAResult(M.getDataLayout(),
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  309     const DataLayout &DL = GV->getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
   84   DL = &F.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/AMDGPUCodeGenPrepare.cpp
  275   const DataLayout &DL = Mod->getDataLayout();
  641   const DataLayout &DL = Mod->getDataLayout();
  966     int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType());
 1019   DL = &Mod->getDataLayout();
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  346   const DataLayout &DL = Func->getParent()->getDataLayout();
  406   auto &DL = Func.getParent()->getDataLayout();
  763   const DataLayout &DL = Func->getParent()->getDataLayout();
  774   emitKernelArg(Func->getParent()->getDataLayout(), Arg.getType(),
  839   auto &DL = Func.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  920   const DataLayout &DL = Fn.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUInline.cpp
  123   const DataLayout &DL = Caller->getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1423       UCallee->getParent()->getDataLayout().getTypeAllocSize(RetType)));
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
   71   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
   92   const DataLayout &DL = Mod->getDataLayout();
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  114                                    M.getDataLayout());
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  262   DL = &M.getDataLayout();
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  584   TD = &M.getDataLayout();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  140   DL = &Mod->getDataLayout();
  646   const DataLayout &DL = Mod->getDataLayout();
  760   const DataLayout &DL = Mod->getDataLayout();
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  204   DL = &M.getDataLayout();
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  499   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  105     const DataLayout &DL = BB->getModule()->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/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/ARMISelLowering.cpp
16257     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16273     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16292     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16314     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16332     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16344     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
16750   const DataLayout &DL = LI->getModule()->getDataLayout();
16886   const DataLayout &DL = SI->getModule()->getDataLayout();
lib/Target/ARM/ARMParallelDSP.cpp
  269       DL = &M->getDataLayout();
lib/Target/ARM/ARMTargetTransformInfo.h
   88       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/ARM/MVETailPredication.cpp
  388   auto DL = L->getHeader()->getModule()->getDataLayout();
lib/Target/BPF/BTFDebug.cpp
 1115     const DataLayout &DL = Global.getParent()->getDataLayout();
lib/Target/Hexagon/HexagonISelLowering.cpp
 1788     auto &DL = I.getCalledFunction()->getParent()->getDataLayout();
 1824         MaybeAlign(M.getDataLayout().getTypeAllocSizeInBits(VecTy) / 8);
 3301   const DataLayout &DL = AI->getModule()->getDataLayout();
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2426   DL = &L->getHeader()->getModule()->getDataLayout();
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/MipsCallLowering.cpp
   60   const DataLayout &DL = F.getParent()->getDataLayout();
  675   const DataLayout &DL = F.getParent()->getDataLayout();
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/NVPTXISelLowering.cpp
 3777     auto &DL = I.getModule()->getDataLayout();
 3790     auto &DL = I.getModule()->getDataLayout();
 3809     auto &DL = I.getModule()->getDataLayout();
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
   63   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Target/NVPTX/NVPTXLowerArgs.cpp
  162   unsigned AS = Func->getParent()->getDataLayout().getAllocaAddrSpace();
  216                                             F.getParent()->getDataLayout());
lib/Target/NVPTX/NVPTXTargetTransformInfo.h
   40       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl()),
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1765   const DataLayout &DL = GV->getParent()->getDataLayout();
 1784   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  374   SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), "pistart");
lib/Target/PowerPC/PPCTargetTransformInfo.h
   40       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/RISCV/RISCVISelLowering.cpp
 2830     const DataLayout &DL = AI->getModule()->getDataLayout();
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/SystemZ/SystemZTargetTransformInfo.h
   33       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/Target.cpp
   48   return wrap(&unwrap(M)->getDataLayout());
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
  244   return TargetTransformInfo(F.getParent()->getDataLayout());
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  138         uint16_t Size = M.getDataLayout().getTypeAllocSize(G.getValueType());
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  124   const DataLayout &DL = BB->getModule()->getDataLayout();
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/X86InterleavedAccess.cpp
  115         DL(Inst->getModule()->getDataLayout()), Builder(B) {}
lib/Target/X86/X86TargetTransformInfo.h
  100       : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)),
lib/Target/X86/X86WinEHState.cpp
  345                   TheModule->getDataLayout().getAllocaAddrSpace())),
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/AggressiveInstCombine/AggressiveInstCombine.cpp
  353   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Coroutines/CoroEarly.cpp
   72   const DataLayout &DL = TheModule.getDataLayout();
lib/Transforms/Coroutines/CoroElide.cpp
  129   const DataLayout &DL = F->getParent()->getDataLayout();
lib/Transforms/Coroutines/CoroFrame.cpp
  398   const DataLayout &DL = F.getParent()->getDataLayout();
  476     auto &Layout = F.getParent()->getDataLayout();
  526   const DataLayout &DL = A.getModule()->getDataLayout();
lib/Transforms/Coroutines/CoroSplit.cpp
  797   const DataLayout &DL = M->getDataLayout();
 1209     const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/IPO/ArgumentPromotion.cpp
  361   const DataLayout &DL = F->getParent()->getDataLayout();
  487   const DataLayout &DL = Callee->getParent()->getDataLayout();
  926   const DataLayout &DL = F->getParent()->getDataLayout();
lib/Transforms/IPO/ConstantMerge.cpp
   90   return GV->getParent()->getDataLayout().getPreferredAlignment(GV);
lib/Transforms/IPO/FunctionAttrs.cpp
  980   auto &DL = F->getParent()->getDataLayout();
lib/Transforms/IPO/GlobalOpt.cpp
 1662         const DataLayout &DL = GV->getParent()->getDataLayout();
 1798   const DataLayout &DL = GV->getParent()->getDataLayout();
 1926   auto &DL = GV->getParent()->getDataLayout();
 1944     const DataLayout &DL = GV->getParent()->getDataLayout();
 2014     const DataLayout &DL = GV->getParent()->getDataLayout();
 2366         auto &DL = M.getDataLayout();
 2969     auto &DL = M.getDataLayout();
 3004     auto &DL = M.getDataLayout();
lib/Transforms/IPO/GlobalSplit.cpp
   70   const DataLayout &DL = GV.getParent()->getDataLayout();
lib/Transforms/IPO/Inliner.cpp
  234           const DataLayout &DL = Caller->getParent()->getDataLayout();
lib/Transforms/IPO/LowerTypeTests.cpp
  396   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
  734   const DataLayout &DL = M.getDataLayout();
  823   const DataLayout &DL = M.getDataLayout();
 1255         M.getDataLayout().getProgramAddressSpace(),
 1492                        M.getDataLayout().getProgramAddressSpace(),
 1905               M.getDataLayout().getProgramAddressSpace(), FunctionName, &M);
 2026             CI->getOperand(I), Offset, M.getDataLayout()));
lib/Transforms/IPO/PartialInlining.cpp
  812   const DataLayout &DL = Caller->getParent()->getDataLayout();
  850   const DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
lib/Transforms/IPO/SCCP.cpp
   11   const DataLayout &DL = M.getDataLayout();
   51     const DataLayout &DL = M.getDataLayout();
lib/Transforms/IPO/WholeProgramDevirt.cpp
  248       IsBigEndian(Fn->getParent()->getDataLayout().isBigEndian()), WasDevirt(false) {}
  482         IntPtrTy(M.getDataLayout().getIntPtrType(M.getContext(), 0)),
  795           M.getDataLayout().getTypeAllocSize(GV.getInitializer()->getType());
 1055                           M.getDataLayout().getProgramAddressSpace(),
 1060                           M.getDataLayout().getProgramAddressSpace(),
 1170     Evaluator Eval(M.getDataLayout(), nullptr);
 1499         Align(M.getDataLayout().getABITypeAlignment(B.GV->getValueType()));
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1064           II.getModule()->getDataLayout(), &II, nullptr)) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 3512   auto &DL = F.getParent()->getDataLayout();
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  592     LongSize = M.getDataLayout().getPointerSizeInBits();
  608         AI.getModule()->getDataLayout().getTypeAllocSize(Ty);
  758     int LongSize = M.getDataLayout().getPointerSizeInBits();
 1356   const DataLayout &DL = I->getModule()->getDataLayout();
 2043   auto &DL = M.getDataLayout();
 2229   auto &DL = M.getDataLayout();
 2417   int LongSize = M.getDataLayout().getPointerSizeInBits();
 2704   const DataLayout &DL = F.getParent()->getDataLayout();
 2716                       F.getParent()->getDataLayout());
 2801   const bool IsLittleEndian = F.getParent()->getDataLayout().isLittleEndian();
 2897   const DataLayout &DL = F.getParent()->getDataLayout();
 3275       F.getParent()->getDataLayout().getTypeAllocSize(AI->getAllocatedType());
lib/Transforms/Instrumentation/BoundsChecking.cpp
  144   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  436     return DFSF.F->getParent()->getDataLayout();
  548   const DataLayout &DL = M.getDataLayout();
 1195   GetUnderlyingObjects(Addr, Objs, Pos->getModule()->getDataLayout());
 1300   auto &DL = LI.getModule()->getDataLayout();
 1380   auto &DL = SI.getModule()->getDataLayout();
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  365   auto &DL = M.getDataLayout();
  519   const DataLayout &DL = I->getModule()->getDataLayout();
  770   uint64_t SizeInBytes = AI.getModule()->getDataLayout().getTypeAllocSize(Ty);
  840       IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
  976         IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
 1250       M.getDataLayout().getTypeAllocSize(Initializer->getType());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  874   auto &DL = M.getDataLayout();
 1079     const DataLayout &DL = F.getParent()->getDataLayout();
 1090     const DataLayout &DL = F.getParent()->getDataLayout();
 1121     const DataLayout &DL = F.getParent()->getDataLayout();
 1218     const DataLayout &DL = OrigIns->getModule()->getDataLayout();
 1345     const DataLayout &DL = F.getParent()->getDataLayout();
 1442     const DataLayout &DL = F.getParent()->getDataLayout();
 1605       const DataLayout &DL = F->getParent()->getDataLayout();
 2929       auto &DL = F.getParent()->getDataLayout();
 3312       const DataLayout &DL = F.getParent()->getDataLayout();
 3485     const DataLayout &DL = F.getParent()->getDataLayout();
 3692     const DataLayout &DL = F.getParent()->getDataLayout();
 3792     const DataLayout &DL = F.getParent()->getDataLayout();
 4019     const DataLayout &DL = F.getParent()->getDataLayout();
 4171     const DataLayout &DL = F.getParent()->getDataLayout();
 4411     const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  363   DL = &M.getDataLayout();
  893         IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  200   const DataLayout &DL = M.getDataLayout();
  451   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/ObjCARC/DependencyAnalysis.cpp
   54     const DataLayout &DL = Inst->getModule()->getDataLayout();
   88   const DataLayout &DL = Inst->getModule()->getDataLayout();
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
   43   const DataLayout &DL = A->getModule()->getDataLayout();
   58   const DataLayout &DL = A->getModule()->getDataLayout();
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   68   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/ConstantHoisting.cpp
  931   this->DL = &Fn.getParent()->getDataLayout();
lib/Transforms/Scalar/ConstantProp.cpp
   83   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/DeadStoreElimination.cpp
  665   const DataLayout &DL = F->getModule()->getDataLayout();
  776   const DataLayout &DL = BB.getModule()->getDataLayout();
 1076   const DataLayout &DL = BB.getModule()->getDataLayout();
lib/Transforms/Scalar/EarlyCSE.cpp
 1325   EarlyCSE CSE(F.getParent()->getDataLayout(), TLI, TTI, DT, AC, MSSA);
 1370     EarlyCSE CSE(F.getParent()->getDataLayout(), TLI, TTI, DT, AC, MSSA);
lib/Transforms/Scalar/GVN.cpp
  775   const DataLayout &DL = LI->getModule()->getDataLayout();
  864   const DataLayout &DL = LI->getModule()->getDataLayout();
 1160   const DataLayout &DL = LI->getModule()->getDataLayout();
 1949   const DataLayout &DL = I->getModule()->getDataLayout();
lib/Transforms/Scalar/GuardWidening.cpp
  640   auto &DL = IC->getModule()->getDataLayout();
lib/Transforms/Scalar/IndVarSimplify.cpp
  902   if (!Cast->getModule()->getDataLayout().isLegalInteger(Width))
 2259   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
 3143   const DataLayout &DL = F->getParent()->getDataLayout();
 3174     const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1013   const DataLayout &DL = Preheader->getModule()->getDataLayout();
 1408   SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce");
lib/Transforms/Scalar/InstSimplifyPass.cpp
  108     const DataLayout &DL = F.getParent()->getDataLayout();
  136   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/JumpThreading.cpp
  779       const DataLayout &DL = PN->getModule()->getDataLayout();
 1082         ConstantFoldInstruction(I, BB->getModule()->getDataLayout(), TLI);
 1252   auto &DL = BB->getModule()->getDataLayout();
 2341             {BB->getModule()->getDataLayout(), TLI, nullptr, nullptr, New})) {
 2695   auto &DL = BB->getModule()->getDataLayout();
lib/Transforms/Scalar/LICM.cpp
  832               &I, I.getModule()->getDataLayout(), TLI)) {
  984   const DataLayout &DL = LI->getModule()->getDataLayout();
 1933   const DataLayout &MDL = Preheader->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  309       SCEVExpander SCEVE(*SE, I.getModule()->getDataLayout(), "prefaddr");
lib/Transforms/Scalar/LoopFuse.cpp
 1594     const DataLayout &DL = F.getParent()->getDataLayout();
 1609   const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  281     const DataLayout *DL = &L->getHeader()->getModule()->getDataLayout();
  309   const auto *DL = &L.getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopInstSimplify.cpp
   53   const DataLayout &DL = L.getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopLoadElimination.cpp
  116     auto &DL = Load->getParent()->getModule()->getDataLayout();
  571     SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(),
lib/Transforms/Scalar/LoopPredication.cpp
  975   DL = &M->getDataLayout();
lib/Transforms/Scalar/LoopRerollPass.cpp
 1454     const DataLayout &DL = Header->getModule()->getDataLayout();
 1492     const DataLayout &DL = Header->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopRotation.cpp
   41   const DataLayout &DL = L.getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5462   SCEVExpander Rewriter(SE, L->getHeader()->getModule()->getDataLayout(),
 5721     const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/LoopUnswitch.cpp
 1582   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
   87   const auto &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  307   const DataLayout &DL = StartInst->getModule()->getDataLayout();
  546   const DataLayout &DL = SI->getModule()->getDataLayout();
  757   const DataLayout &DL = cpy->getModule()->getDataLayout();
 1153                                            M->getModule()->getDataLayout())) {
 1259   const DataLayout &DL = CS.getCaller()->getParent()->getDataLayout();
lib/Transforms/Scalar/MergeICmps.cpp
  164   const auto &DL = GEP->getModule()->getDataLayout();
  345   const auto &DL = CmpI->getModule()->getDataLayout();
  651     const auto &DL = Phi.getModule()->getDataLayout();
lib/Transforms/Scalar/NaryReassociate.cpp
  205   DL = &F.getParent()->getDataLayout();
lib/Transforms/Scalar/NewGVN.cpp
 4205                 F.getParent()->getDataLayout())
 4235       NewGVN(F, &DT, &AC, &TLI, &AA, &MSSA, F.getParent()->getDataLayout())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1707   const DataLayout &DL = F.getParent()->getDataLayout();
 1942     if (!CI->isNoopCast(CI->getModule()->getDataLayout()))
 1964       assert(CI->isNoopCast(CI->getModule()->getDataLayout()) &&
lib/Transforms/Scalar/SCCP.cpp
 1861   const DataLayout &DL = F.getParent()->getDataLayout();
 1899     const DataLayout &DL = F.getParent()->getDataLayout();
lib/Transforms/Scalar/SROA.cpp
  736       const DataLayout &DL = GEPI.getModule()->getDataLayout();
  953     const DataLayout &DL = Root->getModule()->getDataLayout();
 1195   const DataLayout &DL = PN.getModule()->getDataLayout();
 1333   const DataLayout &DL = SI.getModule()->getDataLayout();
 3835   const DataLayout &DL = AI.getModule()->getDataLayout();
 4119   const DataLayout &DL = AI.getModule()->getDataLayout();
 4261   const DataLayout &DL = AI.getModule()->getDataLayout();
 4443   const DataLayout &DL = AI.getModule()->getDataLayout();
lib/Transforms/Scalar/Scalarizer.cpp
  774                        LI.getModule()->getDataLayout()))
  800                        SI.getModule()->getDataLayout()))
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  247       : IP(InsertionPt), DL(InsertionPt->getModule()->getDataLayout()), DT(DT) {
  363     DL = &M.getDataLayout();
 1299   const DataLayout &DAL = First->getModule()->getDataLayout();
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  161     DL = &M.getDataLayout();
lib/Transforms/Scalar/StructurizeCFG.cpp
  644     SimplifyQuery Q(Func->getParent()->getDataLayout());
lib/Transforms/Scalar/TailRecursionElimination.cpp
  341       const DataLayout &DL = L->getModule()->getDataLayout();
  802     if (Value *PNV = SimplifyInstruction(PN, F.getParent()->getDataLayout())) {
lib/Transforms/Utils/BuildLibCalls.cpp
 1299   const DataLayout &DL = M->getDataLayout();
lib/Transforms/Utils/BypassSlowDivision.cpp
  239   const DataLayout &DL = SlowDivOrRem->getModule()->getDataLayout();
lib/Transforms/Utils/CallPromotionUtils.cpp
  323   auto &DL = Callee->getParent()->getDataLayout();
lib/Transforms/Utils/CloneFunction.cpp
  348               SimplifyInstruction(NewInst, BB->getModule()->getDataLayout())) {
  607   const DataLayout &DL = NewFunc->getParent()->getDataLayout();
lib/Transforms/Utils/CloneModule.cpp
   53   New->setDataLayout(M.getDataLayout());
lib/Transforms/Utils/CodeExtractor.cpp
 1070   const DataLayout &DL = M->getDataLayout();
lib/Transforms/Utils/DemoteRegToStack.cpp
   31   const DataLayout &DL = F->getParent()->getDataLayout();
  116   const DataLayout &DL = P->getModule()->getDataLayout();
lib/Transforms/Utils/FunctionComparator.cpp
  410   const DataLayout &DL = FnL->getParent()->getDataLayout();
  672   const DataLayout &DL = FnL->getParent()->getDataLayout();
lib/Transforms/Utils/InlineFunction.cpp
 1146   auto &DL = CS.getCaller()->getParent()->getDataLayout();
 1252   Value *Size = Builder.getInt64(M->getDataLayout().getTypeStoreSize(AggTy));
 1270   const DataLayout &DL = Caller->getParent()->getDataLayout();
 1680     auto &DL = Caller->getParent()->getDataLayout();
 1973         auto &DL = Caller->getParent()->getDataLayout();
 2410     auto &DL = Caller->getParent()->getDataLayout();
lib/Transforms/Utils/Local.cpp
  605   const DataLayout &DL = BB->getModule()->getDataLayout();
 1257   const DataLayout &DL = DII->getModule()->getDataLayout();
 1645   auto &DL = M.getDataLayout();
 1677         M.getDataLayout().getIndexSizeInBits(GEP->getPointerAddressSpace());
 1680     if (GEP->accumulateConstantOffset(M.getDataLayout(), Offset)) {
 1838   const DataLayout &DL = M.getDataLayout();
 2381   const DataLayout &DL = Source.getModule()->getDataLayout();
lib/Transforms/Utils/LoopSimplify.cpp
  184   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
  587   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
lib/Transforms/Utils/LoopUnroll.cpp
  218   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  636   const DataLayout &DL = Header->getModule()->getDataLayout();
lib/Transforms/Utils/LoopVersioning.cpp
   67   SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(),
lib/Transforms/Utils/LowerSwitch.cpp
  493     const DataLayout &DL = F->getParent()->getDataLayout();
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  272         AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(),
lib/Transforms/Utils/SSAUpdater.cpp
  171           SimplifyInstruction(InsertedPHI, BB->getModule()->getDataLayout())) {
lib/Transforms/Utils/SanitizerStats.cpp
   46   IntegerType *IntPtrTy = B.getIntPtrTy(M->getDataLayout());
lib/Transforms/Utils/SimplifyCFG.cpp
 6133   return SimplifyCFGOpt(TTI, BB->getModule()->getDataLayout(), LoopHeaders,
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1176   const DataLayout &DL = Malloc->getModule()->getDataLayout();
 3262   const DataLayout &DL = CI->getModule()->getDataLayout();
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  124         DL(F.getParent()->getDataLayout()), Builder(SE.getContext()) {}
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  505   const DataLayout &DL = Phi->getModule()->getDataLayout();
lib/Transforms/Vectorize/LoopVectorize.cpp
 1824   auto &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 2168   const DataLayout &DL = Instr->getModule()->getDataLayout();
 2365   const DataLayout &DL = Instr->getModule()->getDataLayout();
 2583   const DataLayout &DL = L->getHeader()->getModule()->getDataLayout();
 2716   SCEVExpander Exp(*PSE.getSE(), Bypass->getModule()->getDataLayout(),
 3021       const DataLayout &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 3136           OrigLoop->getHeader()->getModule()->getDataLayout();
 4007   const DataLayout &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 4589   auto &DL = I->getModule()->getDataLayout();
 4636   auto &DL = I->getModule()->getDataLayout();
 5072   const DataLayout &DL = TheFunction->getParent()->getDataLayout();
 5376   const DataLayout &DL = TheFunction->getParent()->getDataLayout();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2848     const DataLayout &DL = E0->getModule()->getDataLayout();
 5278   DL = &F.getParent()->getDataLayout();
 6828   const DataLayout &DL = BB->getModule()->getDataLayout();
tools/bugpoint/CrashDebugger.cpp
  650       : BD(bd), TestFn(testFn), TTI(bd.getProgram().getDataLayout()) {}
tools/clang/lib/CodeGen/BackendUtil.cpp
 1550     std::string DLDesc = M->getDataLayout().getStringRepresentation();
tools/clang/lib/CodeGen/CGBuilder.h
  181     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
  201     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
  219     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
  234     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
  260     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
  308     const llvm::DataLayout &DL = BB->getParent()->getParent()->getDataLayout();
tools/clang/lib/CodeGen/CodeGenModule.cpp
  125       M.getDataLayout().getAllocaAddrSpace());
 1156       TheModule.getDataLayout().getProgramAddressSpace());
tools/clang/lib/CodeGen/CodeGenModule.h
  677     return TheModule.getDataLayout();
tools/clang/lib/CodeGen/CodeGenTypes.h
  114     return TheModule.getDataLayout();
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
   74     switch (M.getDataLayout().getPointerTypeSize(Type::getInt8PtrTy(C))) {
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
  171     const llvm::DataLayout &DL = module.getDataLayout();
tools/llvm-stress/llvm-stress.cpp
  472     const DataLayout &DL = BB->getModule()->getDataLayout();
tools/opt/Debugify.cpp
   43   return Ty->isSized() ? M.getDataLayout().getTypeAllocSizeInBits(Ty) : 0;
tools/polly/lib/Analysis/ScopBuilder.cpp
 2891   auto &DL = scop->getFunction().getParent()->getDataLayout();
 2936   const DataLayout &DL = LInst->getParent()->getModule()->getDataLayout();
tools/polly/lib/Analysis/ScopDetection.cpp
  453   const DataLayout &DL = CurRegion.getEntry()->getModule()->getDataLayout();
tools/polly/lib/Analysis/ScopInfo.cpp
  475   auto &DL = BB->getModule()->getDataLayout();
 1827     auto &DL = getFunction().getParent()->getDataLayout();
 2674   auto const &DL = F->getParent()->getDataLayout();
 2774   auto &DL = F.getParent()->getDataLayout();
 2810   auto const &DL = F.getParent()->getDataLayout();
tools/polly/lib/CodeGen/BlockGenerators.cpp
   84   const DataLayout &DL = S.getFunction().getParent()->getDataLayout();
  512   const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout();
tools/polly/lib/CodeGen/CodeGeneration.cpp
  199   auto &DL = S.getFunction().getParent()->getDataLayout();
  333     DL = &S.getFunction().getParent()->getDataLayout();
tools/polly/lib/CodeGen/LoopGenerators.cpp
  224   const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout();
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
  184   const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout();
tools/polly/lib/Exchange/JSONExporter.cpp
  778   const DataLayout &DL = S.getFunction().getParent()->getDataLayout();
  802   const DataLayout &DL = S.getFunction().getParent()->getDataLayout();
tools/polly/lib/Support/SCEVAffinator.cpp
   85       TD(S->getFunction().getParent()->getDataLayout()) {}
tools/polly/lib/Transform/DeLICM.cpp
 1050     auto &DL = S->getRegion().getEntry()->getModule()->getDataLayout();
tools/polly/lib/Transform/ScheduleOptimizer.cpp
  863   auto &DL = S->getFunction().getParent()->getDataLayout();
  878   auto &DL = S->getFunction().getParent()->getDataLayout();
unittests/Analysis/AliasAnalysisTest.cpp
  159     BAR.reset(new BasicAAResult(M.getDataLayout(), F, TLI, *AC));
unittests/Analysis/ScalarEvolutionTest.cpp
  172   const DataLayout &DL = F->getParent()->getDataLayout();
  194   SCEVExpander Exp(SE, M.getDataLayout(), "expander");
  402   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(Context);
  790   SCEVExpander Exp(SE, NIM.getDataLayout(), "expander");
 1243   SCEVExpander Exp(SE, M.getDataLayout(), "expander");
 1295   SCEVExpander Exp(SE, M.getDataLayout(), "expander");
 1346   SCEVExpander Exp(SE, M.getDataLayout(), "expander");
 1397   SCEVExpander Exp(SE, M.getDataLayout(), "expander");
 1485       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1535       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1614       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1667     SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1784       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1833       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
 1885       SCEVExpander Exp(SE, M->getDataLayout(), "expander");
unittests/Analysis/ValueLatticeTest.cpp
   52   EXPECT_FALSE(LV1.mergeIn(ValueLatticeElement::get(C1), M.getDataLayout()));
   58                           M.getDataLayout()));
   64   EXPECT_FALSE(LV1.mergeIn(LV1, M.getDataLayout()));
   71   EXPECT_TRUE(LV2.mergeIn(LV1, M.getDataLayout()));
   81       LV1.mergeIn(ValueLatticeElement::getOverdefined(), M.getDataLayout()));
   86       LV1.mergeIn(ValueLatticeElement::getOverdefined(), M.getDataLayout()));
  152                   M.getDataLayout()));
unittests/Analysis/ValueTrackingTest.cpp
   77     auto Known = computeKnownBits(A, M->getDataLayout());
  525   EXPECT_EQ(ComputeNumSignBits(A, M->getDataLayout()), 1u);
  535   EXPECT_EQ(ComputeNumSignBits(A, M->getDataLayout()), 1u);
  547   EXPECT_EQ(ComputeNumSignBits(A, M->getDataLayout()), 1u);
  942   Value *Actual = isBytewiseValue(GV->getInitializer(), M->getDataLayout());
unittests/IR/IRBuilderTest.cpp
  359   EXPECT_TRUE(M->getDataLayout().isLegalInteger(32));
  361   EXPECT_FALSE(M->getDataLayout().isLegalInteger(32));