Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp472 Value *ScalarOp = IEI->getOperand(1); in collectSingleShuffleElements() local
479 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. in collectSingleShuffleElements()
487 } else if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)){ in collectSingleShuffleElements()
627 Value *ScalarOp = IEI->getOperand(1); in collectShuffleElements() local
630 if (ExtractElementInst *EI = dyn_cast<ExtractElementInst>(ScalarOp)) { in collectShuffleElements()
1028 Value *ScalarOp = IE.getOperand(1); in visitInsertElementInst() local
1032 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
1039 match(ScalarOp, m_BitCast(m_Value(ScalarSrc))) && in visitInsertElementInst()
1040 (VecOp->hasOneUse() || ScalarOp->hasOneUse()) && in visitInsertElementInst()
1054 match(ScalarOp, m_ExtractElement(m_Value(ExtVecOp), in visitInsertElementInst()
DInstCombineCasts.cpp671 Value *ScalarOp = InsElt->getOperand(1); in shrinkInsertElt() local
678 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp1521 SDValue ScalarOp = DAG.getNode(Node->getOpcode(), dl, ValueVTs, Opers); in UnrollStrictFPOp() local
1522 SDValue ScalarResult = ScalarOp.getValue(0); in UnrollStrictFPOp()
1523 SDValue ScalarChain = ScalarOp.getValue(1); in UnrollStrictFPOp()
DSelectionDAG.cpp5040 SDValue ScalarOp = InBV->getOperand(i); in FoldConstantVectorArithmetic() local
5041 EVT ScalarVT = ScalarOp.getValueType(); in FoldConstantVectorArithmetic()
5046 ScalarOp = getNode(ISD::TRUNCATE, DL, InSVT, ScalarOp); in FoldConstantVectorArithmetic()
5048 ScalarOps.push_back(ScalarOp); in FoldConstantVectorArithmetic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp811 Constant *ScalarOp = ConstantExpr::getExtractElement(Op, Idx); in ConstantFoldExtractElementInstruction() local
812 if (!ScalarOp) in ConstantFoldExtractElementInstruction()
814 Ops.push_back(ScalarOp); in ConstantFoldExtractElementInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8535 static SDValue getReductionSDNode(unsigned Op, SDLoc DL, SDValue ScalarOp, in getReductionSDNode() argument
8537 SDValue VecOp = ScalarOp.getOperand(0); in getReductionSDNode()
8539 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, ScalarOp.getValueType(), Rdx, in getReductionSDNode()