Lines Matching refs:StoredValTy
729 Type *StoredValTy = StoredVal->getType();
731 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy);
737 if (StoredValTy->getScalarType()->isPointerTy() &&
742 if (StoredValTy->getScalarType()->isPointerTy()) {
743 StoredValTy = DL.getIntPtrType(StoredValTy);
744 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy);
751 if (StoredValTy != TypeToCastTo)
768 if (StoredValTy->getScalarType()->isPointerTy()) {
769 StoredValTy = DL.getIntPtrType(StoredValTy);
770 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy);
774 if (!StoredValTy->isIntegerTy()) {
775 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize);
776 StoredVal = IRB.CreateBitCast(StoredVal, StoredValTy);
782 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy) -
788 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadedValSize);