Lines Matching refs:Agg
1375 Type *Agg = PTy->getElementType(); in getIndexedTypeInternal() local
1379 return Agg; in getIndexedTypeInternal()
1383 if (!Agg->isSized()) in getIndexedTypeInternal()
1388 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
1392 Agg = CT->getTypeAtIndex(Index); in getIndexedTypeInternal()
1394 return CurIdx == IdxList.size() ? Agg : nullptr; in getIndexedTypeInternal()
1660 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init() argument
1670 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
1672 Op<0>() = Agg; in init()
1715 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() argument
1724 if (ArrayType *AT = dyn_cast<ArrayType>(Agg)) { in getIndexedType()
1727 } else if (StructType *ST = dyn_cast<StructType>(Agg)) { in getIndexedType()
1735 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
1737 return const_cast<Type*>(Agg); in getIndexedType()