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()
437 auto *GEPTy = cast<PointerType>(GEP->getType()); in aspaceWrapValue() local440 NewGEP->mutateType(PointerType::getUnqual(GEPTy->getContext())); in aspaceWrapValue()
1320 Type *GEPTy = GetElementPtrInst::getGEPReturnType( in ConstantFoldGetElementPtr() local1324 return PoisonValue::get(GEPTy); in ConstantFoldGetElementPtr()1327 return UndefValue::get(GEPTy); in ConstantFoldGetElementPtr()1340 return GEPTy->isVectorTy() && !C->getType()->isVectorTy() in ConstantFoldGetElementPtr()1342 cast<VectorType>(GEPTy)->getElementCount(), C) in ConstantFoldGetElementPtr()
5018 Type *GEPTy = Ptr->getType(); in simplifyGEPInst() local5019 if (!GEPTy->isVectorTy()) { in simplifyGEPInst()5024 GEPTy = VectorType::get(GEPTy, VT->getElementCount()); in simplifyGEPInst()5031 if (Ptr->getType() == GEPTy && in simplifyGEPInst()5039 return PoisonValue::get(GEPTy); in simplifyGEPInst()5043 return UndefValue::get(GEPTy); in simplifyGEPInst()5057 if (TyAllocSize == 0 && Ptr->getType() == GEPTy) in simplifyGEPInst()5064 auto CanSimplify = [GEPTy, &P, Ptr]() -> bool { in simplifyGEPInst()5065 return P->getType() == GEPTy && in simplifyGEPInst()5112 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in simplifyGEPInst()[all …]