Searched refs:IdxOp (Results 1 – 5 of 5) sorted by relevance
278 Value *IdxOp = IEI->getOperand(2); in CollectSingleShuffleElements() local280 if (!isa<ConstantInt>(IdxOp)) in CollectSingleShuffleElements()282 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in CollectSingleShuffleElements()345 Value *IdxOp = IEI->getOperand(2); in CollectShuffleElements() local348 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp) && in CollectShuffleElements()352 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in CollectShuffleElements()394 Value *IdxOp = IE.getOperand(2); in visitInsertElementInst() local397 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()403 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp) && in visitInsertElementInst()408 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in visitInsertElementInst()
325 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local327 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()329 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()472 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local475 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in collectShuffleElements()478 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectShuffleElements()572 Value *IdxOp = IE.getOperand(2); in visitInsertElementInst() local575 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()581 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in visitInsertElementInst()587 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in visitInsertElementInst()
318 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local320 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()322 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()473 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local476 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in collectShuffleElements()479 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectShuffleElements()784 Value *IdxOp = IE.getOperand(2); in visitInsertElementInst() local787 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()791 if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) in visitInsertElementInst()797 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in visitInsertElementInst()[all …]
444 unsigned IdxOp = 2; in getInstrMapping() local449 unsigned OutputBankID = isSALUMapping(MI) && isConstant(MI.getOperand(IdxOp), Imm) ? in getInstrMapping()466 unsigned IdxOp = MI.getOpcode() == AMDGPU::G_EXTRACT_VECTOR_ELT ? 2 : 3; in getInstrMapping() local467 unsigned BankID = isSALUMapping(MI) && isConstant(MI.getOperand(IdxOp), Imm) ? in getInstrMapping()
2159 SDValue IdxOp = Op.getOperand(2); in LowerINSERT_VECTOR_ELT() local2166 if (IdxOp.getOpcode() != ISD::UNDEF) { in LowerINSERT_VECTOR_ELT()2167 ConstantSDNode *CN = cast<ConstantSDNode>(IdxOp); in LowerINSERT_VECTOR_ELT()