Searched refs:GEPTy (Results 1 – 4 of 4) sorted by relevance
59 auto *GEPTy = cast<PointerType>(GEP->getType()); in rewrite() local60 NewGEP->mutateType(changeAddressSpace(GEPTy, AS)); in rewrite()
440 auto *GEPTy = cast<PointerType>(GEP->getType()); in aspaceWrapValue() local443 NewGEP->mutateType(GEPTy->getPointerTo(0)); in aspaceWrapValue()
1344 Type *GEPTy = GetElementPtrInst::getGEPReturnType( in ConstantFoldGetElementPtr() local1348 return PoisonValue::get(GEPTy); in ConstantFoldGetElementPtr()1351 return UndefValue::get(GEPTy); in ConstantFoldGetElementPtr()1364 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()1366 cast<VectorType>(GEPTy)->getElementCount(), C) in ConstantFoldGetElementPtr()
4992 Type *GEPTy = Ptr->getType(); in simplifyGEPInst() local4993 if (!GEPTy->isVectorTy()) { in simplifyGEPInst()4998 GEPTy = VectorType::get(GEPTy, VT->getElementCount()); in simplifyGEPInst()5005 if (Ptr->getType() == GEPTy && in simplifyGEPInst()5013 return PoisonValue::get(GEPTy); in simplifyGEPInst()5017 return UndefValue::get(GEPTy); in simplifyGEPInst()5031 if (TyAllocSize == 0 && Ptr->getType() == GEPTy) in simplifyGEPInst()5038 auto CanSimplify = [GEPTy, &P, Ptr]() -> bool { in simplifyGEPInst()5039 return P->getType() == GEPTy && in simplifyGEPInst()5086 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in simplifyGEPInst()[all …]