Searched refs:GEPTy (Results 1 – 4 of 4) sorted by relevance
2062 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtrImpl() local2064 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in ConstantFoldGetElementPtrImpl()2065 return UndefValue::get(GEPTy); in ConstantFoldGetElementPtrImpl()2080 Type *GEPTy = PointerType::get(Ty, PtrTy->getAddressSpace()); in ConstantFoldGetElementPtrImpl() local2082 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in ConstantFoldGetElementPtrImpl()2083 return Constant::getNullValue(GEPTy); in ConstantFoldGetElementPtrImpl()
3526 Type *GEPTy = PointerType::get(LastType, AS); in SimplifyGEPInst() local3528 GEPTy = VectorType::get(GEPTy, VT->getNumElements()); in SimplifyGEPInst()3531 return UndefValue::get(GEPTy); in SimplifyGEPInst()3551 auto PtrToIntOrZero = [GEPTy](Value *P) -> Value * { in SimplifyGEPInst()3553 return Constant::getNullValue(GEPTy); in SimplifyGEPInst()3556 if (Temp->getType() == GEPTy) in SimplifyGEPInst()
2248 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace()); in SimplifyGEPInst() local2249 return UndefValue::get(GEPTy); in SimplifyGEPInst()
261 Type *GEPTy = cast<BitCastInst>(Ptr)->getSrcTy(); in getGEPInstruction() local262 if (!isa<PointerType>(BitcastTy) || !isa<PointerType>(GEPTy)) in getGEPInstruction()265 Type *Pointee2Ty = cast<PointerType>(GEPTy)->getPointerElementType(); in getGEPInstruction()