Home
last modified time | relevance | path

Searched refs:StoredValTy (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DGVN.cpp882 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() local
884 uint64_t StoreSize = DL.getTypeSizeInBits(StoredValTy); in CoerceAvailableValueToLoadType()
890 if (StoredValTy->getScalarType()->isPointerTy() && in CoerceAvailableValueToLoadType()
895 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType()
896 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
897 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
904 if (StoredValTy != TypeToCastTo) in CoerceAvailableValueToLoadType()
920 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType()
921 StoredValTy = DL.getIntPtrType(StoredValTy); in CoerceAvailableValueToLoadType()
922 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
[all …]