Searched refs:TyAllocSize (Results 1 – 3 of 3) sorted by relevance
2918 uint64_t TyAllocSize = DL.getTypeAllocSize(GEPEltType).getFixedValue(); in visitGetElementPtrInst() local2920 if (TyAllocSize == 1) { in visitGetElementPtrInst()2947 if ((has_single_bit(TyAllocSize) && in visitGetElementPtrInst()2950 m_SpecificInt(countr_zero(TyAllocSize))))) || in visitGetElementPtrInst()2952 m_IDiv(m_Value(V), m_SpecificInt(TyAllocSize)))) { in visitGetElementPtrInst()2965 if (has_single_bit(TyAllocSize) && in visitGetElementPtrInst()2967 C->uge(countr_zero(TyAllocSize))) in visitGetElementPtrInst()2968 NewC = *C - countr_zero(TyAllocSize); in visitGetElementPtrInst()2972 APInt::udivrem(*C, TyAllocSize, Quot, Rem); in visitGetElementPtrInst()2978 APInt::sdivrem(*C, TyAllocSize, Quot, Rem); in visitGetElementPtrInst()
931 uint64_t TyAllocSize = DL.getTypeAllocSize(AllocTy).getFixedValue(); in canReplaceGEPIdxWithZero() local958 return isObjectSizeLessThanOrEq(GEPI->getOperand(0), TyAllocSize, DL) && in canReplaceGEPIdxWithZero()
5029 uint64_t TyAllocSize = Q.DL.getTypeAllocSize(Ty); in simplifyGEPInst() local5031 if (TyAllocSize == 0 && Ptr->getType() == GEPTy) in simplifyGEPInst()5043 if (TyAllocSize == 1 && in simplifyGEPInst()5054 TyAllocSize == 1ULL << C && CanSimplify()) in simplifyGEPInst()5061 m_SpecificInt(TyAllocSize))) && in simplifyGEPInst()