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

References

include/llvm/Analysis/TargetTransformInfoImpl.h
  253     unsigned DataSize = DL.getTypeStoreSize(DataType);
  260     unsigned DataSize = DL.getTypeStoreSize(DataType);
include/llvm/CodeGen/BasicTTIImpl.h
  932         static_cast<T *>(this)->getDataLayout().getTypeStoreSize(VecTy);
include/llvm/IR/DataLayout.h
  467     return 8 * getTypeStoreSize(Ty);
  488     return alignTo(getTypeStoreSize(Ty), getABITypeAlignment(Ty));
include/llvm/IR/IRBuilder.h
 2505     assert(DL.getTypeStoreSize(ExtractedTy) + Offset <=
 2506                DL.getTypeStoreSize(IntTy) &&
 2511       ShAmt = 8 * (DL.getTypeStoreSize(IntTy) -
 2512                    DL.getTypeStoreSize(ExtractedTy) - Offset);
lib/Analysis/AliasAnalysisEvaluator.cpp
  145       I1Size = LocationSize::precise(DL.getTypeStoreSize(I1ElTy));
  151         I2Size = LocationSize::precise(DL.getTypeStoreSize(I2ElTy));
  236         Size = LocationSize::precise(DL.getTypeStoreSize(ElTy));
lib/Analysis/BasicAliasAnalysis.cpp
 1160         DL.getTypeStoreSize(cast<SequentialType>(Ty)->getElementType());
lib/Analysis/Lint.cpp
  291           visitMemoryReference(I, Actual, DL->getTypeStoreSize(Ty),
  507                        DL->getTypeStoreSize(I.getType()), I.getAlignment(),
  513                        DL->getTypeStoreSize(I.getOperand(0)->getType()),
lib/Analysis/Loads.cpp
  154                    DL.getTypeStoreSize(Ty));
  204                 DL.getTypeStoreSize(LI->getType()));
  331         LoadSize <= DL.getTypeStoreSize(AccessedTy))
  335         LoadSize <= DL.getTypeStoreSize(AccessedTy))
  345   APInt Size(DL.getIndexTypeSizeInBits(V->getType()), DL.getTypeStoreSize(Ty));
  388   auto AccessSize = LocationSize::precise(DL.getTypeStoreSize(AccessTy));
lib/Analysis/LoopAccessAnalysis.cpp
 1209   APInt Size(IdxWidth, DL.getTypeStoreSize(Ty));
lib/Analysis/MemoryLocation.cpp
   41       LocationSize::precise(DL.getTypeStoreSize(LI->getType())), AATags);
   50                         LocationSize::precise(DL.getTypeStoreSize(
   69                         LocationSize::precise(DL.getTypeStoreSize(
   80                         LocationSize::precise(DL.getTypeStoreSize(
  178           Arg, LocationSize::precise(DL.getTypeStoreSize(II->getType())),
  184                             LocationSize::precise(DL.getTypeStoreSize(
lib/Analysis/StackSafetyAnalysis.cpp
  296             getAccessRange(UI, Ptr, DL.getTypeStoreSize(I->getType())));
  310             UI, Ptr, DL.getTypeStoreSize(I->getOperand(0)->getType())));
lib/Analysis/ValueTracking.cpp
 3199   const uint64_t Size = DL.getTypeStoreSize(V->getType());
 3518       uint64_t SizeInBytes = DL.getTypeStoreSize(GVTy);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2514   AP.OutStreamer->EmitZeros(DL.getTypeAllocSize(ET) - DL.getTypeStoreSize(ET));
lib/CodeGen/AtomicExpandPass.cpp
  136   return DL.getTypeStoreSize(LI->getType());
  141   return DL.getTypeStoreSize(SI->getValueOperand()->getType());
  146   return DL.getTypeStoreSize(RMWI->getValOperand()->getType());
  151   return DL.getTypeStoreSize(CASI->getCompareOperand()->getType());
  178   return DL.getTypeStoreSize(RMWI->getValOperand()->getType());
  184   return DL.getTypeStoreSize(CASI->getCompareOperand()->getType());
  650   unsigned ValueSize = DL.getTypeStoreSize(ValueType);
lib/CodeGen/GlobalISel/IRTranslator.cpp
  257     Alignment = DL.getTypeStoreSize(AI->getCompareOperand()->getType());
  264     Alignment = DL.getTypeStoreSize(AI->getValOperand()->getType());
  365   if (Ret && DL->getTypeStoreSize(Ret->getType()) == 0)
  866   if (DL->getTypeStoreSize(LI.getType()) == 0)
  908   if (DL->getTypeStoreSize(SI.getValueOperand()->getType()) == 0)
 1964                                 Flags, DL->getTypeStoreSize(ValType),
 2033                                 Flags, DL->getTypeStoreSize(ResType),
 2299     if (DL->getTypeStoreSize(Arg.getType()) == 0)
lib/CodeGen/LowerEmuTLS.cpp
  151       ConstantInt::get(WordType, DL.getTypeStoreSize(GVType)),
lib/CodeGen/MachineFunction.cpp
 1032   uint64_t StoreSize = DL.getTypeStoreSize(A->getType());
 1033   if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128)
lib/CodeGen/SafeStack.cpp
  296         if (!IsAccessSafe(UI, DL.getTypeStoreSize(I->getType()), AllocaPtr,
  313         if (!IsAccessSafe(UI, DL.getTypeStoreSize(I->getOperand(0)->getType()),
  417         DL.getTypeStoreSize(Arg.getType()->getPointerElementType());
  511     uint64_t Size = DL.getTypeStoreSize(Ty);
  568     uint64_t Size = DL.getTypeStoreSize(Ty);
lib/CodeGen/SelectionDAG/FastISel.cpp
 2422   unsigned Size = DL.getTypeStoreSize(ValTy);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4049                LocationSize::precise(DAG.getDataLayout().getTypeStoreSize(Ty)),
 4165            SV, LocationSize::precise(DAG.getDataLayout().getTypeStoreSize(Ty)),
 4471                            DAG.getDataLayout().getTypeStoreSize(I.getType())),
 4521                              DAG.getDataLayout().getTypeStoreSize(I.getType())),
 9486         DL.getTypeStoreSize(Arg->getType()) !=
lib/ExecutionEngine/ExecutionEngine.cpp
 1024   const unsigned StoreBytes = getDataLayout().getTypeStoreSize(Ty);
 1074   const unsigned LoadBytes = getDataLayout().getTypeStoreSize(Ty);
lib/IR/DataLayout.cpp
  573    unsigned Alignment = getTypeStoreSize(Ty);
lib/IR/Value.cpp
  619         DerefBytes = DL.getTypeStoreSize(PT);
  660       DerefBytes = DL.getTypeStoreSize(AI->getAllocatedType());
  667       DerefBytes = DL.getTypeStoreSize(GV->getValueType());
lib/Target/AArch64/AArch64CallLowering.cpp
  427     if (DL.getTypeStoreSize(Arg.getType()) == 0)
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3085   switch (MIRBuilder.getDataLayout().getTypeStoreSize(CPVal->getType())) {
lib/Target/AArch64/AArch64StackTagging.cpp
  108     int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType());
  264         V, IRB.getIntNTy(DL->getTypeStoreSize(V->getType()) * 8));
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  373   unsigned TypeSize = DL.getTypeStoreSize(ParamTy);
  596     if (DL.getTypeStoreSize(Arg.getType()) == 0)
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
  112     unsigned LoadSize = DL.getTypeStoreSize(Load->getType());
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  196       DL->getTypeStoreSize(ArgTy->getPointerElementType()) > MaxOutArgSizeBytes) {
  240     ReturnNumRegs = DL->getTypeStoreSize(RetTy) / 4;
  296       unsigned ArgNumRegs = DL->getTypeStoreSize(ArgTy) / 4;
lib/Target/AMDGPU/SIISelLowering.cpp
 1164     if (Ty->isSized() && DL.getTypeStoreSize(Ty) < 4)
lib/Target/Hexagon/HexagonISelLowering.cpp
 3302   unsigned Size = DL.getTypeStoreSize(AI->getCompareOperand()->getType());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1938   unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
 2016   unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1188       ElementSize = DL.getTypeStoreSize(ETy);
 1362     ElementSize = DL.getTypeStoreSize(ETy);
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
   76         if (DL.getTypeStoreSize(LI->getType()) < MaxAggrCopySize)
  109     unsigned NumLoads = DL.getTypeStoreSize(LI->getType());
lib/Target/Target.cpp
  106   return unwrap(TD)->getTypeStoreSize(unwrap(Ty));
lib/Target/X86/X86TargetTransformInfo.cpp
  961       unsigned VecTySize = DL.getTypeStoreSize(Tp);
 3290   unsigned DataSize = DL.getTypeStoreSize(DataType);
 3301   unsigned DataSize = DL.getTypeStoreSize(DataType);
 3517   unsigned VecTySize = DL.getTypeStoreSize(VecTy);
 3617   unsigned VecTySize = DL.getTypeStoreSize(VecTy);
lib/Transforms/IPO/Attributor.cpp
 1557           Offset + (int64_t)DL.getTypeStoreSize(PtrTy->getPointerElementType());
lib/Transforms/IPO/GlobalOpt.cpp
 1854                  DL.getTypeStoreSize(LTy) <= DL.getTypeStoreSize(STy);
 1854                  DL.getTypeStoreSize(LTy) <= DL.getTypeStoreSize(STy);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  110   uint64_t AllocElTyStoreSize = DL.getTypeStoreSize(AllocElTy);
  111   uint64_t CastElTyStoreSize = DL.getTypeStoreSize(CastElTy);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  175   uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType());
lib/Transforms/Instrumentation/BoundsChecking.cpp
   60   uint64_t NeededSize = DL.getTypeStoreSize(InstVal->getType());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1301   uint64_t Size = DL.getTypeStoreSize(LI.getType());
 1381   uint64_t Size = DL.getTypeStoreSize(SI.getValueOperand()->getType());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1080     unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
 1092     unsigned IntptrSize = DL.getTypeStoreSize(MS.IntptrTy);
 1123     unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType());
 1443     int Size = DL.getTypeStoreSize(ShadowTy);
 2931                   DL.getTypeStoreSize(Shadow->getType()),
 3643     int Size = DL.getTypeStoreSize(ElType);
 3872           unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType());
lib/Transforms/Scalar/LICM.cpp
 2066       Alignment < MDL.getTypeStoreSize(SomePtrElemType))
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  542     unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
  680     unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType());
  777       StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType());
 1062   unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType());
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  173     int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType());
  589           uint64_t Size = DL.getTypeStoreSize(T);
  651             DL.getTypeStoreSize(SI->getOperand(0)->getType()),
  684       uint64_t Size = DL.getTypeStoreSize(T);
lib/Transforms/Scalar/SROA.cpp
  790     uint64_t Size = DL.getTypeStoreSize(LI.getType());
  805     uint64_t Size = DL.getTypeStoreSize(ValOp->getType());
  963                         DL.getTypeStoreSize(LI->getType()).getFixedSize());
  971                         DL.getTypeStoreSize(Op->getType()).getFixedSize());
 1223     uint64_t Size = DL.getTypeStoreSize(LI->getType());
 2006   uint64_t Size = DL.getTypeStoreSize(AllocaTy);
 2022     if (DL.getTypeStoreSize(LI->getType()) > Size)
 2047     if (DL.getTypeStoreSize(ValueTy) > Size)
 2135   assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
 2135   assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
 2139     ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
 2139     ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
 2164   assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
 2164   assert(DL.getTypeStoreSize(Ty) + Offset <= DL.getTypeStoreSize(IntTy) &&
 2168     ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
 2168     ShAmt = 8 * (DL.getTypeStoreSize(IntTy) - DL.getTypeStoreSize(Ty) - Offset);
 2505     const bool IsLoadPastEnd = DL.getTypeStoreSize(TargetTy) > SliceSize;
 2571       assert(SliceSize < DL.getTypeStoreSize(LI.getType()) &&
 2664     if (SliceSize < DL.getTypeStoreSize(V->getType())) {
 2680     const bool IsStorePastEnd = DL.getTypeStoreSize(V->getType()) > SliceSize;
 2924          SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) ||
lib/Transforms/Scalar/Scalarizer.cpp
  434   Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy);
lib/Transforms/Utils/Evaluator.cpp
  533                     DL.getTypeStoreSize(ElemTy)) {
lib/Transforms/Utils/InlineFunction.cpp
 1252   Value *Size = Builder.getInt64(M->getDataLayout().getTypeStoreSize(AggTy));
lib/Transforms/Utils/VNCoercion.cpp
  268   unsigned LoadSize = DL.getTypeStoreSize(LoadTy);
  411   unsigned SrcValStoreSize = DL.getTypeStoreSize(SrcVal->getType());
  412   unsigned LoadSize = DL.getTypeStoreSize(LoadTy);
  455   unsigned SrcValStoreSize = DL.getTypeStoreSize(SrcVal->getType());
  456   unsigned LoadSize = DL.getTypeStoreSize(LoadTy);
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  327       DL.getTypeStoreSize(PtrATy) != DL.getTypeStoreSize(PtrBTy) ||
  327       DL.getTypeStoreSize(PtrATy) != DL.getTypeStoreSize(PtrBTy) ||
  328       DL.getTypeStoreSize(PtrATy->getScalarType()) !=
  329           DL.getTypeStoreSize(PtrBTy->getScalarType()))
  333   APInt Size(PtrBitWidth, DL.getTypeStoreSize(PtrATy));
lib/Transforms/Vectorize/LoopVectorize.cpp
  323     return VF * DL.getTypeAllocSize(Ty) != DL.getTypeStoreSize(VectorTy);
tools/clang/lib/CodeGen/CGAtomic.cpp
  317   return (CGM.getDataLayout().getTypeStoreSize(type) * 8 == expectedSize);
tools/clang/lib/CodeGen/CGCall.cpp
 1140     CGF.CGM.getDataLayout().getTypeStoreSize(FirstElt);
 1142       FirstEltSize < CGF.CGM.getDataLayout().getTypeStoreSize(SrcSTy))
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 3763     module.addInt(LongTy, CGM.getDataLayout().getTypeStoreSize(moduleTy));
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  194   offset += CharUnits::fromQuantity(layout.getTypeStoreSize(type));
  234       offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType));
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
   56   return CharUnits::fromQuantity(CGM.getDataLayout().getTypeStoreSize(type));
tools/clang/lib/CodeGen/TargetInfo.cpp
 9486       CharUnits::fromQuantity(getDataLayout().getTypeStoreSize(Field1Ty));
tools/lldb/source/Expression/IRInterpreter.cpp
  152     size_t type_size = m_target_data.getTypeStoreSize(type);
  178       size_t value_size = m_target_data.getTypeStoreSize(value->getType());
  211     size_t value_byte_size = m_target_data.getTypeStoreSize(value->getType());
  346     size_t constant_size = m_target_data.getTypeStoreSize(constant->getType());
  386     size_t length = m_target_data.getTypeStoreSize(type);
 1324       size_t target_size = data_layout.getTypeStoreSize(target_ty);
 1412       size_t target_size = data_layout.getTypeStoreSize(target_ty);
unittests/IR/VectorTypesTest.cpp
  199   EXPECT_EQ(DL.getTypeStoreSize(V2Int64Ty),
  200             DL.getTypeStoreSize(V4Int32Ty));
  204   EXPECT_EQ(DL.getTypeStoreSize(V2Int64Ty), 16U);
  243   EXPECT_EQ(DL.getTypeStoreSize(ScV2Int64Ty),
  244             DL.getTypeStoreSize(ScV4Int32Ty));
  248   EXPECT_EQ(DL.getTypeStoreSize(ScV2Int64Ty).getKnownMinSize(), 16U);