Lines Matching refs:Agg
1271 static Type *getIndexedTypeInternal(Type *Agg, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal() argument
1274 return Agg; in getIndexedTypeInternal()
1278 if (!Agg->isSized()) in getIndexedTypeInternal()
1283 CompositeType *CT = dyn_cast<CompositeType>(Agg); in getIndexedTypeInternal()
1287 Agg = CT->getTypeAtIndex(Index); in getIndexedTypeInternal()
1289 return CurIdx == IdxList.size() ? Agg : nullptr; in getIndexedTypeInternal()
1555 void InsertValueInst::init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, in init() argument
1565 assert(ExtractValueInst::getIndexedType(Agg->getType(), Idxs) == in init()
1567 Op<0>() = Agg; in init()
1610 Type *ExtractValueInst::getIndexedType(Type *Agg, in getIndexedType() argument
1619 if (ArrayType *AT = dyn_cast<ArrayType>(Agg)) { in getIndexedType()
1622 } else if (StructType *ST = dyn_cast<StructType>(Agg)) { in getIndexedType()
1630 Agg = cast<CompositeType>(Agg)->getTypeAtIndex(Index); in getIndexedType()
1632 return const_cast<Type*>(Agg); in getIndexedType()