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

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
  613     return getElementOffset(Idx) * 8;
lib/Analysis/BasicAliasAnalysis.cpp
  550           DL.getStructLayout(STy)->getElementOffset(FieldNo);
 1223   const uint64_t V1Off = SL->getElementOffset(C1->getZExtValue());
 1224   const uint64_t V2Off = SL->getElementOffset(C2->getZExtValue());
lib/Analysis/ConstantFolding.cpp
  425     uint64_t CurEltOffset = SL->getElementOffset(Index);
  445       uint64_t NextEltOffset = SL->getElementOffset(Index);
  973       Offset -= APInt(BitWidth, SL.getElementOffset(ElIdx));
lib/Analysis/InlineCost.cpp
  407       Offset += APInt(IntPtrWidth, SL->getElementOffset(ElementIdx));
lib/Analysis/ModuleSummaryAnalysis.cpp
  510       auto Offset = SL->getElementOffset(EI - EB);
lib/Analysis/ScalarEvolution.cpp
 3733       IntTy, getDataLayout().getStructLayout(STy)->getElementOffset(FieldNo));
lib/Analysis/ScalarEvolutionExpander.cpp
  482                 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx));
lib/Analysis/TypeMetadataUtils.cpp
  147                               Offset - SL->getElementOffset(Op), M);
lib/Analysis/ValueTracking.cpp
 1324         uint64_t Offset = SL->getElementOffset(Idx);
 1869       uint64_t ElementOffset = SL->getElementOffset(ElementIdx);
 5732       Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
lib/CodeGen/Analysis.cpp
   96                       StartingOffset + SL->getElementOffset(EI - EB));
  136                        StartingOffset + SL->getElementOffset(I));
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2460     uint64_t PadSize = ((i == e-1 ? Size : Layout->getElementOffset(i+1))
 2461                         - Layout->getElementOffset(i)) - FieldSize;
lib/CodeGen/CodeGenPrepare.cpp
 4139         ConstantOffset += SL->getElementOffset(Idx);
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1068       Offset += DL->getStructLayout(StTy)->getElementOffset(Field);
lib/CodeGen/GlobalMerge.cpp
  532                              MergedLayout->getElementOffset(StructIdxs[idx]));
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
 1163       InitializeMemory(CPS->getOperand(i), (char*)Addr+SL->getElementOffset(i));
lib/ExecutionEngine/Interpreter/Execution.cpp
 1061       Total += SLO->getElementOffset(Index);
lib/IR/DataLayout.cpp
  823       Result += Layout->getElementOffset(FieldNo);
lib/IR/Operator.cpp
   52       Offset += APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx));
lib/Target/AArch64/AArch64FastISel.cpp
  634         TmpOffset += SL->getElementOffset(Idx);
 5030         TotalOffs += DL.getStructLayout(StTy)->getElementOffset(Field);
lib/Target/ARM/ARMFastISel.cpp
  766           TmpOffset += SL->getElementOffset(Idx);
lib/Target/BPF/BPFISelDAGToDAG.cpp
  458     uint64_t SizeSoFar = Layout->getElementOffset(i);
lib/Target/Mips/MipsFastISel.cpp
  498         TmpOffset += SL->getElementOffset(Idx);
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
  188                          StartingOffset + SL->getElementOffset(ElementNum));
lib/Target/PowerPC/PPCFastISel.cpp
  356           TmpOffset += SL->getElementOffset(Idx);
lib/Target/Target.cpp
  139   return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  276         TmpOffset += SL->getElementOffset(Idx);
lib/Target/X86/X86FastISel.cpp
  913         Disp += SL->getElementOffset(cast<ConstantInt>(Op)->getZExtValue());
lib/Transforms/Coroutines/CoroEarly.cpp
   74       DL.getStructLayout(SampleStruct)->getElementOffset(2), Alignement);
lib/Transforms/IPO/GlobalOpt.cpp
  499       uint64_t FieldOffset = Layout.getElementOffset(i);
lib/Transforms/IPO/GlobalSplit.cpp
   84     unsigned SplitBegin = SL->getElementOffset(I);
   87                             : SL->getElementOffset(I + 1);
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
  683       auto EltAlign = MinAlign(Align, SL->getElementOffset(i));
 1217       auto EltAlign = MinAlign(Align, SL->getElementOffset(i));
lib/Transforms/InstCombine/InstructionCombining.cpp
 1133       Offset -= SL->getElementOffset(Elt);
lib/Transforms/Scalar/SROA.cpp
  749               APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx));
 1518   Offset -= APInt(Offset.getBitWidth(), SL->getElementOffset(Index));
 3552   Offset -= SL->getElementOffset(Index);
 3581     if (SL->getElementOffset(EndIndex) != EndOffset)
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  806             DL->getStructLayout(StTy)->getElementOffset(Field);
tools/clang/lib/CodeGen/CGBuilder.h
  183     auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
  310     auto Offset = CharUnits::fromQuantity(Layout->getElementOffset(Index));
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4121           ->getElementOffset(blockInfo.getCapture(VD).getIndex()));
tools/clang/lib/CodeGen/CGDecl.cpp
 1011     unsigned CurOff = Layout->getElementOffset(i);
tools/clang/lib/CodeGen/CGExprConstant.cpp
  339                                         Layout->getElementOffset(Op));
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4630           IntPtrTy, DL.getStructLayout(STy)->getElementOffset(FieldNo));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2935        CharUnits::fromQuantity(layout->getElementOffset(capture.getIndex()));
tools/clang/lib/CodeGen/TargetInfo.cpp
 3128     IROffset -= SL->getElementOffset(Elt);
 3215       IROffset -= SL->getElementOffset(FieldIdx);
 3283   assert(TD.getStructLayout(Result)->getElementOffset(1) == 8 &&