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

Declarations

include/llvm/IR/DataLayout.h
  561   const StructLayout *getStructLayout(StructType *Ty) const;

References

include/llvm/Analysis/TargetTransformInfoImpl.h
  765         BaseOffset += DL.getStructLayout(STy)->getElementOffset(Field);
include/llvm/Analysis/Utils/Local.h
   55         Size = DL.getStructLayout(STy)->getElementOffset(OpValue);
include/llvm/IR/DataLayout.h
  639                         getStructLayout(cast<StructType>(Ty))->getSizeInBits());
lib/Analysis/BasicAliasAnalysis.cpp
  550           DL.getStructLayout(STy)->getElementOffset(FieldNo);
 1221   const StructLayout *SL = DL.getStructLayout(LastIndexedStruct);
lib/Analysis/ConstantFolding.cpp
  423     const StructLayout *SL = DL.getStructLayout(CS->getType());
  963       const StructLayout &SL = *DL.getStructLayout(STy);
lib/Analysis/InlineCost.cpp
  406       const StructLayout *SL = DL.getStructLayout(STy);
lib/Analysis/MemoryBuiltins.cpp
  339     ElementSize = DL.getStructLayout(ST)->getSizeInBytes();
lib/Analysis/ModuleSummaryAnalysis.cpp
  505     const StructLayout *SL = DL.getStructLayout(C->getType());
lib/Analysis/ScalarEvolution.cpp
 3733       IntTy, getDataLayout().getStructLayout(STy)->getElementOffset(FieldNo));
lib/Analysis/ScalarEvolutionExpander.cpp
  474           const StructLayout &SL = *DL.getStructLayout(STy);
lib/Analysis/TypeMetadataUtils.cpp
  141     const StructLayout *SL = DL.getStructLayout(C->getType());
lib/Analysis/ValueTracking.cpp
 1323         const StructLayout *SL = Q.DL.getStructLayout(STy);
 1868       const StructLayout *SL = Q.DL.getStructLayout(STy);
 5732       Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
lib/CodeGen/Analysis.cpp
   90     const StructLayout *SL = DL.getStructLayout(STy);
  133     const StructLayout *SL = DL.getStructLayout(STy);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2450   const StructLayout *Layout = DL.getStructLayout(CS->getType());
lib/CodeGen/CodeGenPrepare.cpp
 4136         const StructLayout *SL = DL.getStructLayout(STy);
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1068       Offset += DL->getStructLayout(StTy)->getElementOffset(Field);
lib/CodeGen/GlobalMerge.cpp
  522     const StructLayout *MergedLayout = DL.getStructLayout(MergedTy);
lib/CodeGen/SelectionDAG/FastISel.cpp
  694         TotalOffs += DL.getStructLayout(StTy)->getElementOffset(Field);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 3863         uint64_t Offset = DL->getStructLayout(StTy)->getElementOffset(Field);
lib/ExecutionEngine/ExecutionEngine.cpp
 1161         getDataLayout().getStructLayout(cast<StructType>(CPS->getType()));
lib/ExecutionEngine/Interpreter/Execution.cpp
 1056       const StructLayout *SLO = getDataLayout().getStructLayout(STy);
lib/IR/DataLayout.cpp
  724     const StructLayout *Layout = getStructLayout(cast<StructType>(Ty));
  820       const StructLayout *Layout = getStructLayout(STy);
lib/IR/Operator.cpp
   51       const StructLayout *SL = DL.getStructLayout(STy);
lib/Target/AArch64/AArch64FastISel.cpp
  632         const StructLayout *SL = DL.getStructLayout(STy);
 5030         TotalOffs += DL.getStructLayout(StTy)->getElementOffset(Field);
lib/Target/ARM/ARMFastISel.cpp
  764           const StructLayout *SL = DL.getStructLayout(STy);
lib/Target/BPF/BPFISelDAGToDAG.cpp
  358           DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes();
  455   const StructLayout *Layout = DL.getStructLayout(CS->getType());
lib/Target/Mips/MipsFastISel.cpp
  496         const StructLayout *SL = DL.getStructLayout(STy);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1952           Bytes = DL.getStructLayout(ST)->getElementOffset(0) +
 1954                   DL.getStructLayout(ST)->getElementOffset(i);
 1956           Bytes = DL.getStructLayout(ST)->getElementOffset(i + 1) -
 1957                   DL.getStructLayout(ST)->getElementOffset(i);
lib/Target/NVPTX/NVPTXISelLowering.cpp
  184     auto const *SL = DL.getStructLayout(STy);
lib/Target/PowerPC/PPCFastISel.cpp
  354           const StructLayout *SL = DL.getStructLayout(STy);
lib/Target/Target.cpp
  133   return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
  139   return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  274         const StructLayout *SL = DL.getStructLayout(STy);
lib/Target/X86/X86FastISel.cpp
  912         const StructLayout *SL = DL.getStructLayout(STy);
lib/Transforms/Coroutines/CoroEarly.cpp
   74       DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignement);
lib/Transforms/IPO/ArgumentPromotion.cpp
  796   const StructLayout *Layout = DL.getStructLayout(StructTy);
lib/Transforms/IPO/GlobalOpt.cpp
  482     const StructLayout &Layout = *DL.getStructLayout(STy);
 1312       TypeSize = DL.getStructLayout(ST)->getSizeInBytes();
 1540       unsigned TypeSize = DL.getStructLayout(AllocSTy)->getSizeInBytes();
lib/Transforms/IPO/GlobalSplit.cpp
   71   const StructLayout *SL = DL.getStructLayout(Init->getType());
lib/Transforms/InstCombine/InstCombineCompares.cpp
  443         Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
  473       Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  663     auto *SL = DL.getStructLayout(ST);
 1193     auto *SL = DL.getStructLayout(ST);
lib/Transforms/InstCombine/InstructionCombining.cpp
 1125       const StructLayout *SL = DL.getStructLayout(STy);
lib/Transforms/Scalar/SROA.cpp
  747           const StructLayout *SL = DL.getStructLayout(STy);
 1513   const StructLayout *SL = DL.getStructLayout(STy);
 3478     const StructLayout *SL = DL.getStructLayout(STy);
 3544   const StructLayout *SL = DL.getStructLayout(STy);
 3591   const StructLayout *SubSL = DL.getStructLayout(SubTy);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  806             DL->getStructLayout(StTy)->getElementOffset(Field);
tools/clang/lib/CodeGen/CGBuilder.h
  182     const llvm::StructLayout *Layout = DL.getStructLayout(ElTy);
  309     const llvm::StructLayout *Layout = DL.getStructLayout(ElTy);
tools/clang/lib/CodeGen/CGCall.cpp
 4134       auto layout = CGM.getDataLayout().getStructLayout(coercionType);
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4120       target.getStructLayout(blockInfo.StructureType)
 4231       CGM.getDataLayout().getStructLayout(block.StructureType);
tools/clang/lib/CodeGen/CGDecl.cpp
 1005   const llvm::StructLayout *Layout = DL.getStructLayout(STy);
tools/clang/lib/CodeGen/CGExprConstant.cpp
  334           CGM.getDataLayout().getStructLayout(ST);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4630           IntPtrTy, DL.getStructLayout(STy)->getElementOffset(FieldNo));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2607     CGM.getDataLayout().getStructLayout(cast<llvm::StructType>(Ty));
 2916   CGM.getDataLayout().getStructLayout(blockInfo.StructureType);
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  803   const llvm::StructLayout *SL = getDataLayout().getStructLayout(ST);
tools/clang/lib/CodeGen/TargetInfo.cpp
 3126     const llvm::StructLayout *SL = TD.getStructLayout(STy);
 3212     const llvm::StructLayout *SL = getDataLayout().getStructLayout(STy);
 3283   assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 &&
 8257       const llvm::StructLayout *Layout = DL.getStructLayout(StrTy);