Searched refs:DestPTy (Results 1 – 6 of 6) sorted by relevance
95 Type *DestPTy = DestTy->getElementType(); in InstCombineLoadCast() local104 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast()105 DestPTy->isVectorTy()) { in InstCombineLoadCast()127 IC.getTargetData()->getTypeSizeInBits(DestPTy)) { in InstCombineLoadCast()260 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType(); in InstCombineStoreToCast() local266 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast()309 IC.getTargetData()->getTypeSizeInBits(DestPTy)) in InstCombineStoreToCast()
1004 Type *DestPTy = in GetLoadValueForLoad() local1006 DestPTy = PointerType::get(DestPTy, in GetLoadValueForLoad()1009 PtrVal = Builder.CreateBitCast(PtrVal, DestPTy); in GetLoadValueForLoad()
1869 const PointerType *DestPTy = DestTy->getAs<PointerType>(); in EmitDynamicCast() local1874 if (DestPTy) { in EmitDynamicCast()1875 isDynamicCastToVoid = DestPTy->getPointeeType()->isVoidType(); in EmitDynamicCast()1877 DestRecordTy = DestPTy->getPointeeType(); in EmitDynamicCast()
1048 Type *DestPTy = in GetLoadValueForLoad() local1050 DestPTy = PointerType::get(DestPTy, in GetLoadValueForLoad()1053 PtrVal = Builder.CreateBitCast(PtrVal, DestPTy); in GetLoadValueForLoad()
139 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) { in FoldBitCast() local141 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && in FoldBitCast()149 return BitCastConstantVector(V, DestPTy); in FoldBitCast()156 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
135 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) { in FoldBitCast() local137 assert(DestPTy->getBitWidth() == SrcTy->getBitWidth() && in FoldBitCast()145 return BitCastConstantVector(CV, DestPTy); in FoldBitCast()152 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()