Searched refs:TypeToCastTo (Results 1 – 3 of 3) sorted by relevance
69 Type *TypeToCastTo = LoadedTy; in coerceAvailableValueToLoadTypeHelper() local70 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()
747 Type *TypeToCastTo = LoadedTy; in CoerceAvailableValueToLoadType() local748 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()
714 Type *TypeToCastTo = LoadedTy; in CoerceAvailableValueToLoadType() local715 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()