Lines Matching defs:Agg
5145 static Value *simplifyInsertValueInst(Value *Agg, Value *Val,
5148 if (Constant *CAgg = dyn_cast<Constant>(Agg))
5155 (Q.isUndefValue(Val) && isGuaranteedNotToBePoison(Agg)))
5156 return Agg;
5160 if (EV->getAggregateOperand()->getType() == Agg->getType() &&
5164 if (isa<PoisonValue>(Agg) ||
5165 (Q.isUndefValue(Agg) &&
5170 if (Agg == EV->getAggregateOperand())
5171 return Agg;
5177 Value *llvm::simplifyInsertValueInst(Value *Agg, Value *Val,
5180 return ::simplifyInsertValueInst(Agg, Val, Idxs, Q, RecursionLimit);
5224 static Value *simplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
5226 if (auto *CAgg = dyn_cast<Constant>(Agg))
5231 for (auto *IVI = dyn_cast<InsertValueInst>(Agg); IVI != nullptr;
5247 Value *llvm::simplifyExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs,
5249 return ::simplifyExtractValueInst(Agg, Idxs, Q, RecursionLimit);