/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Value.cpp | 613 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 …]
|
D | Attributes.cpp | 1441 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/ |
D | Value.cpp | 544 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 …]
|
D | Attributes.cpp | 1238 : 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/ |
D | Value.cpp | 715 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 …]
|
D | Attributes.cpp | 1577 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/ |
D | Attributes.h | 448 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/ |
D | AMDGPULowerKernelArguments.cpp | 172 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/ |
D | AMDGPULowerKernelArguments.cpp | 204 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/ |
D | Attributes.h | 450 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/ |
D | BasicAliasAnalysis.cpp | 205 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/ |
D | BasicAliasAnalysis.cpp | 248 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/ |
D | Attributes.h | 711 uint64_t DerefBytes = 0; 784 uint64_t getDereferenceableBytes() const { return DerefBytes; }
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Attributes.h | 759 uint64_t DerefBytes = 0; 842 uint64_t getDereferenceableBytes() const { return DerefBytes; }
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Attributor.cpp | 1780 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/ |
D | AttributorAttributes.cpp | 1653 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/ |
D | SimplifyLibCalls.cpp | 173 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()
|
D | InlineFunction.cpp | 1159 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/ |
D | SimplifyLibCalls.cpp | 197 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()
|