Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp660 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local
662 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()
664 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()
814 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local
817 if (isa<ConstantInt>(EI->getOperand(1)) && isa<ConstantInt>(IdxOp)) { in collectShuffleElements()
820 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectShuffleElements()
1687 Value *IdxOp = IE.getOperand(2); in visitInsertElementInst() local
1690 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
1694 if (auto *IndexC = dyn_cast<ConstantInt>(IdxOp)) { in visitInsertElementInst()
1704 Value *NewIns = Builder.CreateInsertElement(BaseVec, ScalarOp, IdxOp); in visitInsertElementInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1700 const auto &IdxOp = MI->getOperand(2); in verifyPreISelGenericInstruction() local
1701 if (!IdxOp.isReg() || MRI->getType(IdxOp.getReg()).isPointer()) in verifyPreISelGenericInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3857 const auto *IdxOp = dyn_cast<ConstantInt>(EE->getIndexOperand()); in getVectorInstrCostHelper() local
3858 if (!IdxOp) in getVectorInstrCostHelper()
3871 const auto *IdxOp = dyn_cast<ConstantInt>(OtherEE->getIndexOperand()); in getVectorInstrCostHelper() local
3872 if (!IdxOp) in getVectorInstrCostHelper()
H A DAArch64InstrInfo.td9081 Instruction LD1, SDNodeXForm IdxOp>
9084 (LD1 VecListOne128:$Rd, (IdxOp VecIndex:$idx), GPR64sp:$Rn)>;
9088 SDNodeXForm IdxOp>
9093 (IdxOp VecIndex:$idx), GPR64sp:$Rn),
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp7469 unsigned IdxOp = Op->getOpcode() == Instruction::InsertElement ? 2 : 1; in canCreateUndefOrPoison() local
7470 auto *Idx = dyn_cast<ConstantInt>(Op->getOperand(IdxOp)); in canCreateUndefOrPoison()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp12790 auto *IdxOp = dyn_cast<ConstantSDNode>(Op->getOperand(1)); in calculateByteProvider() local
12791 if (!IdxOp) in calculateByteProvider()
12793 auto VecIdx = IdxOp->getZExtValue(); in calculateByteProvider()