Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp697 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() local
699 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 …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp729 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() local
731 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 …]