Home | History | Annotate | Download | only in IR

Lines Matching refs:Agg

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