• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/

Lines Matching defs:DL

177                                IRBuilder<NoFolder> &IRB, const DataLayout &DL) {
191 const StructLayout *SL = DL.getStructLayout(STy);
202 uint64_t ElementSize = DL.getTypeAllocSize(Ty);
355 const DataLayout &DL, APInt &Offset, bool AllowNonInbounds,
372 return Val->stripAndAccumulateConstantOffsets(DL, Offset, AllowNonInbounds,
378 int64_t &BytesOffset, const DataLayout &DL, bool AllowNonInbounds = false) {
382 APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
384 A, QueryingAA, Ptr, DL, OffsetAPInt, AllowNonInbounds);
392 const DataLayout &DL,
398 return GetPointerBaseWithConstantOffset(Ptr, BytesOffset, DL,
1593 const DataLayout &DL = A.getInfoCache().getDL();
1635 getMinimalBaseOfAccsesPointerOperand(A, QueryingAA, I, Offset, DL);
1640 (int64_t)DL.getTypeStoreSize(PtrTy->getPointerElementType()) + Offset;
1648 Base = getBasePointerOfAccessPointerOperand(I, Offset, DL,
1654 (int64_t)DL.getTypeStoreSize(PtrTy->getPointerElementType());
1727 const DataLayout &DL = A.getDataLayout();
1741 if (!isKnownNonZero(&V, DL, 0, AC, CtxI, DT))
3335 const DataLayout &DL = A.getDataLayout();
3338 I, Offset, DL, /*AllowNonInbounds*/ true)) {
3341 uint64_t Size = DL.getTypeStoreSize(PtrTy->getPointerElementType());
3403 const DataLayout &DL = A.getDataLayout();
3408 DL.getIndexSizeInBits(V.getType()->getPointerAddressSpace());
3411 stripAndAccumulateMinimalOffsets(A, *this, &V, DL, Offset, false);
3420 DerefBytes = Base->getPointerDereferenceableBytes(DL, CanBeNull);
3559 const DataLayout &DL = A.getDataLayout();
3575 if (const Value *Base = GetPointerBaseWithConstantOffset(UseV, Offset, DL)) {
3694 const DataLayout &DL = A.getDataLayout();
3701 Align PA = V.getPointerAlignment(DL);
4020 bool isDereferenceableOrNull(Value *O, const DataLayout &DL) override {
4021 if (CaptureTracker::isDereferenceableOrNull(O, DL))
5256 const DataLayout &DL = F.getParent()->getDataLayout();
5260 const StructLayout *PrivStructLayout = DL.getStructLayout(PrivStructType);
5264 PointeeTy, &Base, PrivStructLayout->getElementOffset(u), IRB, DL);
5269 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeePtrTy);
5272 constructPointer(PointeePtrTy, &Base, u * PointeeTySize, IRB, DL);
5290 const DataLayout &DL = IP->getModule()->getDataLayout();
5298 const StructLayout *PrivStructLayout = DL.getStructLayout(PrivStructType);
5303 PrivStructLayout->getElementOffset(u), IRB, DL);
5310 uint64_t PointeeTySize = DL.getTypeStoreSize(PointeeTy);
5314 constructPointer(PointeePtrTy, Base, u * PointeeTySize, IRB, DL);