Lines Matching refs:ValIdx
36 unsigned ValIdx; member
53 void optimizeAtomic(Instruction &I, AtomicRMWInst::BinOp Op, unsigned ValIdx,
99 optimizeAtomic(*Info.I, Info.Op, Info.ValIdx, Info.ValDivergent); in runOnFunction()
135 const unsigned ValIdx = 1; in visitAtomicRMWInst() local
143 const bool ValDivergent = DA->isDivergentUse(&I.getOperandUse(ValIdx)); in visitAtomicRMWInst()
157 const ReplacementInfo Info = {&I, Op, ValIdx, ValDivergent}; in visitAtomicRMWInst()
215 const unsigned ValIdx = 0; in visitIntrinsicInst() local
217 const bool ValDivergent = DA->isDivergentUse(&I.getOperandUse(ValIdx)); in visitIntrinsicInst()
239 const ReplacementInfo Info = {&I, Op, ValIdx, ValDivergent}; in visitIntrinsicInst()
414 unsigned ValIdx, in optimizeAtomic() argument
450 Value *const V = I.getOperand(ValIdx); in optimizeAtomic()
579 NewI->setOperand(ValIdx, NewV); in optimizeAtomic()