Searched refs:StoredValTy (Results 1 – 2 of 2) sorted by relevance
697 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() local699 uint64_t StoreSize = TD.getTypeSizeInBits(StoredValTy); in CoerceAvailableValueToLoadType()705 if (StoredValTy->isPointerTy() && LoadedTy->isPointerTy()) in CoerceAvailableValueToLoadType()709 if (StoredValTy->isPointerTy()) { in CoerceAvailableValueToLoadType()710 StoredValTy = TD.getIntPtrType(StoredValTy->getContext()); in CoerceAvailableValueToLoadType()711 StoredVal = new PtrToIntInst(StoredVal, StoredValTy, "", InsertPt); in CoerceAvailableValueToLoadType()716 TypeToCastTo = TD.getIntPtrType(StoredValTy->getContext()); in CoerceAvailableValueToLoadType()718 if (StoredValTy != TypeToCastTo) in CoerceAvailableValueToLoadType()734 if (StoredValTy->isPointerTy()) { in CoerceAvailableValueToLoadType()735 StoredValTy = TD.getIntPtrType(StoredValTy->getContext()); in CoerceAvailableValueToLoadType()[all …]
729 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() local731 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy); in CoerceAvailableValueToLoadType()737 if (StoredValTy->getScalarType()->isPointerTy() && in CoerceAvailableValueToLoadType()742 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType()743 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()744 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()751 if (StoredValTy != TypeToCastTo) in CoerceAvailableValueToLoadType()768 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType()769 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()770 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()[all …]