Lines Matching refs:StoreBytes
824 unsigned StoreBytes) { in StoreIntToMemory() argument
825 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!"); in StoreIntToMemory()
831 memcpy(Dst, Src, StoreBytes); in StoreIntToMemory()
836 while (StoreBytes > sizeof(uint64_t)) { in StoreIntToMemory()
837 StoreBytes -= sizeof(uint64_t); in StoreIntToMemory()
839 memcpy(Dst + StoreBytes, Src, sizeof(uint64_t)); in StoreIntToMemory()
843 memcpy(Dst, Src + sizeof(uint64_t) - StoreBytes, StoreBytes); in StoreIntToMemory()
849 const unsigned StoreBytes = getTargetData()->getTypeStoreSize(Ty); in StoreValueToMemory() local
853 StoreIntToMemory(Val.IntVal, (uint8_t*)Ptr, StoreBytes); in StoreValueToMemory()
866 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
867 memset(&(Ptr->PointerVal), 0, StoreBytes); in StoreValueToMemory()
877 std::reverse((uint8_t*)Ptr, StoreBytes + (uint8_t*)Ptr); in StoreValueToMemory()