Lines Matching defs:IdxOp
486 Value *IdxOp = IEI->getOperand(2);
488 if (!isa<ConstantInt>(IdxOp))
490 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
636 Value *IdxOp = IEI->getOperand(2);
639 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) {
642 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue();
1047 Value *IdxOp = IE.getOperand(2);
1050 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE)))
1061 // inselt undef, (bitcast ScalarSrc), IdxOp -->
1062 // bitcast (inselt undef, ScalarSrc, IdxOp)
1066 Value *NewInsElt = Builder.CreateInsertElement(NewUndef, ScalarSrc, IdxOp);
1079 // inselt (bitcast VecSrc), (bitcast ScalarSrc), IdxOp -->
1080 // bitcast (inselt VecSrc, ScalarSrc, IdxOp)
1081 Value *NewInsElt = Builder.CreateInsertElement(VecSrc, ScalarSrc, IdxOp);
1092 match(IdxOp, m_ConstantInt(InsertedIdx)) &&