Lines Matching refs:DerefBytes
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()
567 if (DerefBytes == 0) { in getPointerDereferenceableBytes()
571 DerefBytes = CI->getLimitedValue(); in getPointerDereferenceableBytes()
577 DerefBytes = DL.getTypeStoreSize(AI->getAllocatedType()); in getPointerDereferenceableBytes()
584 DerefBytes = DL.getTypeStoreSize(GV->getValueType()); in getPointerDereferenceableBytes()
588 return DerefBytes; in getPointerDereferenceableBytes()