Lines Matching refs:Agg
1074 Type *Agg = PTy->getElementType(); in getIndexedTypeInternal() local
1078 return Agg; in getIndexedTypeInternal()
1082 if (!Agg->isSized()) in getIndexedTypeInternal()
1087 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
1091 Agg = CT->getTypeAtIndex(Index); in getIndexedTypeInternal()
1093 return CurIdx == NumIdx ? Agg : 0; in getIndexedTypeInternal()
1330 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init() argument
1340 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
1342 Op<0>() = Agg; in init()
1385 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() argument
1395 if (ArrayType *AT = dyn_cast<ArrayType>(Agg)) { in getIndexedType()
1398 } else if (StructType *ST = dyn_cast<StructType>(Agg)) { in getIndexedType()
1406 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
1408 return const_cast<Type*>(Agg); in getIndexedType()