Searched refs:DerefBytes (Results 1 – 9 of 9) sorted by relevance
857 uint64_t DerefBytes = 0; in getPointerDereferenceableBytes() local861 DerefBytes = A->getDereferenceableBytes(); in getPointerDereferenceableBytes()862 if (DerefBytes == 0) { in getPointerDereferenceableBytes()867 DerefBytes = DL.getTypeStoreSize(ArgMemTy).getKnownMinValue(); in getPointerDereferenceableBytes()872 if (DerefBytes == 0) { in getPointerDereferenceableBytes()873 DerefBytes = A->getDereferenceableOrNullBytes(); in getPointerDereferenceableBytes()877 DerefBytes = Call->getRetDereferenceableBytes(); in getPointerDereferenceableBytes()878 if (DerefBytes == 0) { in getPointerDereferenceableBytes()879 DerefBytes = Call->getRetDereferenceableOrNullBytes(); in getPointerDereferenceableBytes()885 DerefBytes = CI->getLimitedValue(); in getPointerDereferenceableBytes()[all …]
234 uint64_t DerefBytes = Arg.getDereferenceableBytes(); in lowerKernelArguments() local235 if (DerefBytes != 0) { in lowerKernelArguments()240 ConstantInt::get(Builder.getInt64Ty(), DerefBytes)))); in lowerKernelArguments()
306 auto DerefBytes = static_cast<unsigned>(Arg.getDereferenceableBytes()); in lowerFormalArguments() local307 if (DerefBytes != 0) in lowerFormalArguments()309 SPIRV::Decoration::MaxByteOffset, {DerefBytes}); in lowerFormalArguments()
174 uint64_t DerefBytes = in getMinimalExtentFrom() local176 DerefBytes = (CanBeNull && NullIsValidLoc) ? 0 : DerefBytes; in getMinimalExtentFrom()180 DerefBytes = std::max(DerefBytes, LocSize.getValue().getKnownMinValue()); in getMinimalExtentFrom()181 return TypeSize::getFixed(DerefBytes); in getMinimalExtentFrom()
957 uint64_t DerefBytes = in SymbolicallyEvaluateGEP() local959 if (DerefBytes != 0 && !CanBeNull && Offset.sle(DerefBytes)) in SymbolicallyEvaluateGEP()
2534 int64_t DerefBytes = Loc->Size.getValue() + Offset; in getKnownNonNullAndDerefBytesForUse() local2536 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()2543 int64_t DerefBytes = Loc->Size.getValue(); in getKnownNonNullAndDerefBytesForUse() local2545 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()4957 int64_t DerefBytes = getKnownNonNullAndDerefBytesForUse( in followUseInMBEC() local4959 LLVM_DEBUG(dbgs() << "[AADereferenceable] Deref bytes: " << DerefBytes in followUseInMBEC()4963 State.takeKnownDerefBytesMaximum(DerefBytes); in followUseInMBEC()5045 int64_t DerefBytes = 0; in updateImpl() local5050 DerefBytes = in updateImpl()5055 DerefBytes = DS.DerefBytesState.getAssumed(); in updateImpl()[all …]
272 uint64_t DerefBytes = DereferenceableBytes; in annotateDereferenceableBytes() local276 DerefBytes = std::max(CI->getParamDereferenceableOrNullBytes(ArgNo), in annotateDereferenceableBytes()279 if (CI->getParamDereferenceableBytes(ArgNo) < DerefBytes) { in annotateDereferenceableBytes()285 CI->getContext(), DerefBytes)); in annotateDereferenceableBytes()
1440 if (auto DerefBytes = CB.getRetDereferenceableBytes()) in IdentifyValidUBGeneratingAttributes() local1441 Valid.addDereferenceableAttr(DerefBytes); in IdentifyValidUBGeneratingAttributes()
3060 uint64_t DerefBytes = UnderlyingPtrOp->getPointerDereferenceableBytes( in visitGetElementPtrInst() local3062 if (!CanBeNull && !CanBeFreed && DerefBytes != 0) { in visitGetElementPtrInst()3065 APInt AllocSize(IdxWidth, DerefBytes); in visitGetElementPtrInst()