Home
last modified time | relevance | path

Searched refs:DerefBytes (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp613 uint64_t DerefBytes = 0; in getPointerDereferenceableBytes() local
616 DerefBytes = A->getDereferenceableBytes(); in getPointerDereferenceableBytes()
617 if (DerefBytes == 0 && (A->hasByValAttr() || A->hasStructRetAttr())) { in getPointerDereferenceableBytes()
620 DerefBytes = DL.getTypeStoreSize(PT); in getPointerDereferenceableBytes()
622 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
623 DerefBytes = A->getDereferenceableOrNullBytes(); in getPointerDereferenceableBytes()
627 DerefBytes = Call->getDereferenceableBytes(AttributeList::ReturnIndex); in getPointerDereferenceableBytes()
628 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
629 DerefBytes = in getPointerDereferenceableBytes()
636 DerefBytes = CI->getLimitedValue(); in getPointerDereferenceableBytes()
[all …]
DAttributes.cpp1441 DerefBytes = DerefOrNullBytes = 0; in clear()
1471 DerefBytes = Attr.getDereferenceableBytes(); in addAttribute()
1495 DerefBytes = 0; in removeAttribute()
1547 DerefBytes = Bytes; in addDereferenceableAttr()
1590 if (!DerefBytes) in merge()
1591 DerefBytes = B.DerefBytes; in merge()
1618 if (B.DerefBytes) in remove()
1619 DerefBytes = 0; in remove()
1689 DerefBytes == B.DerefBytes && ByValType == B.ByValType; in operator ==()
/external/llvm/lib/IR/
DValue.cpp544 unsigned DerefBytes = 0; in getPointerDereferenceableBytes() local
547 DerefBytes = A->getDereferenceableBytes(); in getPointerDereferenceableBytes()
548 if (DerefBytes == 0 && A->hasByValAttr() && A->getType()->isSized()) { in getPointerDereferenceableBytes()
549 DerefBytes = DL.getTypeStoreSize(A->getType()); in getPointerDereferenceableBytes()
552 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
553 DerefBytes = A->getDereferenceableOrNullBytes(); in getPointerDereferenceableBytes()
557 DerefBytes = CS.getDereferenceableBytes(0); in getPointerDereferenceableBytes()
558 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
559 DerefBytes = CS.getDereferenceableOrNullBytes(0); in getPointerDereferenceableBytes()
565 DerefBytes = CI->getLimitedValue(); in getPointerDereferenceableBytes()
[all …]
DAttributes.cpp1238 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0), in AttrBuilder()
1257 Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0; in clear()
1284 DerefBytes = Attr.getDereferenceableBytes(); in addAttribute()
1306 DerefBytes = 0; in removeAttribute()
1376 DerefBytes = Bytes; in addDereferenceableAttr()
1413 if (!DerefBytes) in merge()
1414 DerefBytes = B.DerefBytes; in merge()
1438 if (B.DerefBytes) in remove()
1439 DerefBytes = 0; in remove()
1514 DerefBytes == B.DerefBytes; in operator ==()
/external/llvm-project/llvm/lib/IR/
DValue.cpp715 uint64_t DerefBytes = 0; in getPointerDereferenceableBytes() local
718 DerefBytes = A->getDereferenceableBytes(); in getPointerDereferenceableBytes()
719 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
724 DerefBytes = DL.getTypeStoreSize(ArgMemTy).getKnownMinSize(); in getPointerDereferenceableBytes()
729 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
730 DerefBytes = A->getDereferenceableOrNullBytes(); in getPointerDereferenceableBytes()
734 DerefBytes = Call->getDereferenceableBytes(AttributeList::ReturnIndex); in getPointerDereferenceableBytes()
735 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
736 DerefBytes = in getPointerDereferenceableBytes()
743 DerefBytes = CI->getLimitedValue(); in getPointerDereferenceableBytes()
[all …]
DAttributes.cpp1577 DerefBytes = DerefOrNullBytes = 0; in clear()
1607 DerefBytes = Attr.getDereferenceableBytes(); in addAttribute()
1637 DerefBytes = 0; in removeAttribute()
1689 DerefBytes = Bytes; in addDereferenceableAttr()
1750 if (!DerefBytes) in merge()
1751 DerefBytes = B.DerefBytes; in merge()
1787 if (B.DerefBytes) in remove()
1788 DerefBytes = 0; in remove()
1867 DerefBytes == B.DerefBytes && ByValType == B.ByValType && in operator ==()
/external/llvm/include/llvm/IR/
DAttributes.h448 uint64_t DerefBytes;
454 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
457 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
462 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
526 uint64_t getDereferenceableBytes() const { return DerefBytes; }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp172 uint64_t DerefBytes = Arg.getDereferenceableBytes(); in runOnFunction() local
173 if (DerefBytes != 0) { in runOnFunction()
178 ConstantInt::get(Builder.getInt64Ty(), DerefBytes)))); in runOnFunction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp204 uint64_t DerefBytes = Arg.getDereferenceableBytes(); in runOnFunction() local
205 if (DerefBytes != 0) { in runOnFunction()
210 ConstantInt::get(Builder.getInt64Ty(), DerefBytes)))); in runOnFunction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h450 uint64_t DerefBytes;
456 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
459 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
523 uint64_t getDereferenceableBytes() const { return DerefBytes; }
/external/llvm-project/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp205 uint64_t DerefBytes = V.getPointerDereferenceableBytes(DL, CanBeNull); in getMinimalExtentFrom() local
206 DerefBytes = (CanBeNull && NullIsValidLoc) ? 0 : DerefBytes; in getMinimalExtentFrom()
210 DerefBytes = std::max(DerefBytes, LocSize.getValue()); in getMinimalExtentFrom()
211 return DerefBytes; in getMinimalExtentFrom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp248 uint64_t DerefBytes = V.getPointerDereferenceableBytes(DL, CanBeNull); in getMinimalExtentFrom() local
249 DerefBytes = (CanBeNull && NullIsValidLoc) ? 0 : DerefBytes; in getMinimalExtentFrom()
253 DerefBytes = std::max(DerefBytes, LocSize.getValue()); in getMinimalExtentFrom()
254 return DerefBytes; in getMinimalExtentFrom()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h711 uint64_t DerefBytes = 0;
784 uint64_t getDereferenceableBytes() const { return DerefBytes; }
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h759 uint64_t DerefBytes = 0;
842 uint64_t getDereferenceableBytes() const { return DerefBytes; }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp1780 int64_t DerefBytes = in getKnownNonNullAndDerefBytesForUse() local
1784 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()
1793 int64_t DerefBytes = in getKnownNonNullAndDerefBytesForUse() local
1796 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()
3214 int64_t DerefBytes = getKnownNonNullAndDerefBytesForUse( in followUse() local
3218 takeKnownDerefBytesMaximum(DerefBytes); in followUse()
3277 int64_t DerefBytes = 0; in updateImpl() local
3282 DerefBytes = Base->getPointerDereferenceableBytes(DL, CanBeNull); in updateImpl()
3286 DerefBytes = DS.DerefBytesState.getAssumed(); in updateImpl()
3300 std::max(int64_t(0), DerefBytes - OffsetSExt)); in updateImpl()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp1653 int64_t DerefBytes = in getKnownNonNullAndDerefBytesForUse() local
1657 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()
1667 int64_t DerefBytes = in getKnownNonNullAndDerefBytesForUse() local
1670 return std::max(int64_t(0), DerefBytes); in getKnownNonNullAndDerefBytesForUse()
3510 int64_t DerefBytes = getKnownNonNullAndDerefBytesForUse( in followUseInMBEC() local
3512 LLVM_DEBUG(dbgs() << "[AADereferenceable] Deref bytes: " << DerefBytes in followUseInMBEC()
3516 State.takeKnownDerefBytesMaximum(DerefBytes); in followUseInMBEC()
3572 int64_t DerefBytes = 0; in updateImpl() local
3577 DerefBytes = Base->getPointerDereferenceableBytes(DL, CanBeNull); in updateImpl()
3581 DerefBytes = DS.DerefBytesState.getAssumed(); in updateImpl()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp173 uint64_t DerefBytes = DereferenceableBytes; in annotateDereferenceableBytes() local
177 DerefBytes = std::max(CI->getDereferenceableOrNullBytes( in annotateDereferenceableBytes()
182 DerefBytes) { in annotateDereferenceableBytes()
188 CI->getContext(), DerefBytes)); in annotateDereferenceableBytes()
DInlineFunction.cpp1159 if (auto DerefBytes = AB.getDereferenceableBytes()) in IdentifyValidAttributes() local
1160 Valid.addDereferenceableAttr(DerefBytes); in IdentifyValidAttributes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp197 uint64_t DerefBytes = DereferenceableBytes; in annotateDereferenceableBytes() local
201 DerefBytes = std::max(CI->getDereferenceableOrNullBytes( in annotateDereferenceableBytes()
206 DerefBytes) { in annotateDereferenceableBytes()
212 CI->getContext(), DerefBytes)); in annotateDereferenceableBytes()