Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp69 Type *TypeToCastTo = LoadedTy; in coerceAvailableValueToLoadTypeHelper() local
70 if (TypeToCastTo->isPtrOrPtrVectorTy()) in coerceAvailableValueToLoadTypeHelper()
71 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadTypeHelper()
73 if (StoredValTy != TypeToCastTo) in coerceAvailableValueToLoadTypeHelper()
74 StoredVal = Helper.CreateBitCast(StoredVal, TypeToCastTo); in coerceAvailableValueToLoadTypeHelper()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp747 Type *TypeToCastTo = LoadedTy; in CoerceAvailableValueToLoadType() local
748 if (TypeToCastTo->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType()
749 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in CoerceAvailableValueToLoadType()
751 if (StoredValTy != TypeToCastTo) in CoerceAvailableValueToLoadType()
752 StoredVal = IRB.CreateBitCast(StoredVal, TypeToCastTo); in CoerceAvailableValueToLoadType()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp714 Type *TypeToCastTo = LoadedTy; in CoerceAvailableValueToLoadType() local
715 if (TypeToCastTo->isPointerTy()) in CoerceAvailableValueToLoadType()
716 TypeToCastTo = TD.getIntPtrType(StoredValTy->getContext()); in CoerceAvailableValueToLoadType()
718 if (StoredValTy != TypeToCastTo) in CoerceAvailableValueToLoadType()
719 StoredVal = new BitCastInst(StoredVal, TypeToCastTo, "", InsertPt); in CoerceAvailableValueToLoadType()