reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstructionCombining.cpp
 1829           if (!isa<VectorType>(GEPType) || // case 3
 1944           return CastInst::Create(Instruction::IntToPtr, NewSub, GEPType);
 1951           return CastInst::CreatePointerBitCastOrAddrSpaceCast(Y, GEPType);
 1957   if (GEPType->isVectorTy())
 1995           return new AddrSpaceCastInst(Builder.Insert(Res), GEPType);
 2027             return new AddrSpaceCastInst(NewGEP, GEPType);
 2038         Type *IdxType = DL.getIndexType(GEPType);
 2048         return CastInst::CreatePointerBitCastOrAddrSpaceCast(NewGEP, GEPType);
 2068           assert(Idx->getType() == DL.getIndexType(GEPType) &&
 2085                                                                  GEPType);
 2109           assert(Idx->getType() == DL.getIndexType(GEPType) &&
 2117             Type *IndTy = DL.getIndexType(GEPType);
 2128                                                                  GEPType);
 2179         return new AddrSpaceCastInst(NGEP, GEPType);
 2189     unsigned OffsetBits = DL.getIndexTypeSizeInBits(GEPType);
 2210           return new AddrSpaceCastInst(SrcOp, GEPType);
 2211         return new BitCastInst(SrcOp, GEPType);
 2224         if (NGEP->getType() == GEPType)
 2229           return new AddrSpaceCastInst(NGEP, GEPType);
 2230         return new BitCastInst(NGEP, GEPType);