Home
last modified time | relevance | path

Searched refs:IdxOp (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp648 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local
650 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()
652 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()
802 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local
805 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in collectShuffleElements()
808 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectShuffleElements()
1609 Value *IdxOp = IE.getOperand(2); in visitInsertElementInst() local
1612 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
1616 if (auto *IndexC = dyn_cast<ConstantInt>(IdxOp)) { in visitInsertElementInst()
1626 Value *NewIns = Builder.CreateInsertElement(BaseVec, ScalarOp, IdxOp); in visitInsertElementInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1638 const auto &IdxOp = MI->getOperand(2); in verifyPreISelGenericInstruction() local
1639 if (!IdxOp.isReg() || MRI->getType(IdxOp.getReg()).isPointer()) in verifyPreISelGenericInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp7357 unsigned IdxOp = Op->getOpcode() == Instruction::InsertElement ? 2 : 1; in canCreateUndefOrPoison() local
7358 auto *Idx = dyn_cast<ConstantInt>(Op->getOperand(IdxOp)); in canCreateUndefOrPoison()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.td8515 Instruction LD1, SDNodeXForm IdxOp>
8518 (LD1 VecListOne128:$Rd, (IdxOp VecIndex:$idx), GPR64sp:$Rn)>;
8522 SDNodeXForm IdxOp>
8527 (IdxOp VecIndex:$idx), GPR64sp:$Rn),
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12020 auto IdxOp = dyn_cast<ConstantSDNode>(Op->getOperand(1)); in calculateByteProvider() local
12021 if (!IdxOp) in calculateByteProvider()
12023 auto VecIdx = IdxOp->getZExtValue(); in calculateByteProvider()