Lines Matching defs:Agg
5120 static Value *simplifyInsertValueInst(Value *Agg, Value *Val,
5123 if (Constant *CAgg = dyn_cast<Constant>(Agg))
5130 (Q.isUndefValue(Val) && isGuaranteedNotToBePoison(Agg)))
5131 return Agg;
5135 if (EV->getAggregateOperand()->getType() == Agg->getType() &&
5139 if (isa<PoisonValue>(Agg) ||
5140 (Q.isUndefValue(Agg) &&
5145 if (Agg == EV->getAggregateOperand())
5146 return Agg;
5152 Value *llvm::simplifyInsertValueInst(Value *Agg, Value *Val,
5155 return ::simplifyInsertValueInst(Agg, Val, Idxs, Q, RecursionLimit);
5195 static Value *simplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
5197 if (auto *CAgg = dyn_cast<Constant>(Agg))
5202 for (auto *IVI = dyn_cast<InsertValueInst>(Agg); IVI != nullptr;
5218 Value *llvm::simplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
5220 return ::simplifyExtractValueInst(Agg, Idxs, Q, RecursionLimit);