Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp278 Value *IdxOp = IEI->getOperand(2); in CollectSingleShuffleElements() local
280 if (!isa<ConstantInt>(IdxOp)) in CollectSingleShuffleElements()
282 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in CollectSingleShuffleElements()
345 Value *IdxOp = IEI->getOperand(2); in CollectShuffleElements() local
348 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() local
397 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp325 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local
327 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()
329 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()
472 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local
475 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() local
575 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp318 Value *IdxOp = IEI->getOperand(2); in collectSingleShuffleElements() local
320 if (!isa<ConstantInt>(IdxOp)) in collectSingleShuffleElements()
322 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); in collectSingleShuffleElements()
473 Value *IdxOp = IEI->getOperand(2); in collectShuffleElements() local
476 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() local
787 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp444 unsigned IdxOp = 2; in getInstrMapping() local
449 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() local
467 unsigned BankID = isSALUMapping(MI) && isConstant(MI.getOperand(IdxOp), Imm) ? in getInstrMapping()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp2159 SDValue IdxOp = Op.getOperand(2); in LowerINSERT_VECTOR_ELT() local
2166 if (IdxOp.getOpcode() != ISD::UNDEF) { in LowerINSERT_VECTOR_ELT()
2167 ConstantSDNode *CN = cast<ConstantSDNode>(IdxOp); in LowerINSERT_VECTOR_ELT()