reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstructionCombining.cpp
 2645   Value *Agg = EV.getAggregateOperand();
 2647   if (!EV.hasIndices())
 2648     return replaceInstUsesWith(EV, Agg);
 2650   if (Value *V = SimplifyExtractValueInst(Agg, EV.getIndices(),
 2651                                           SQ.getWithInstruction(&EV)))
 2652     return replaceInstUsesWith(EV, V);
 2657     for (exti = EV.idx_begin(), insi = IV->idx_begin(),
 2658          exte = EV.idx_end(), inse = IV->idx_end();
 2671                                         EV.getIndices());
 2678       return replaceInstUsesWith(EV, IV->getInsertedValueOperand());
 2689                                                 EV.getIndices());
 2712       if (*EV.idx_begin() == 0) {
 2740       for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end();
 2740       for (ExtractValueInst::idx_iterator I = EV.idx_begin(), E = EV.idx_end();
 2749       Instruction *NL = Builder.CreateLoad(EV.getType(), GEP);
 2757       return replaceInstUsesWith(EV, NL);