Home
last modified time | relevance | path

Searched refs:VecOp (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp471 Value *VecOp = IEI->getOperand(0); in collectSingleShuffleElements() local
482 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
497 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
626 Value *VecOp = IEI->getOperand(0); in collectShuffleElements() local
640 ShuffleOps LR = collectShuffleElements(VecOp, Mask, RHS, IC); in collectShuffleElements()
662 if (VecOp == PermittedRHS) { in collectShuffleElements()
1027 Value *VecOp = IE.getOperand(0); in visitInsertElementInst() local
1032 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst()
1038 if (match(VecOp, m_BitCast(m_Value(VecSrc))) && in visitInsertElementInst()
1040 (VecOp->hasOneUse() || ScalarOp->hasOneUse()) && in visitInsertElementInst()
[all …]
DInstCombineCasts.cpp670 Value *VecOp = InsElt->getOperand(0); in shrinkInsertElt() local
674 if (isa<UndefValue>(VecOp)) { in shrinkInsertElt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp992 auto *VecOp = dyn_cast<Instruction>(I); in propagateIRFlags() local
993 if (!VecOp) in propagateIRFlags()
1000 VecOp->copyIRFlags(Intersection); in propagateIRFlags()
1006 VecOp->andIRFlags(V); in propagateIRFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp2060 SDValue VecOp = N->getOperand(OpNo); in SplitVecOp_VECREDUCE() local
2061 EVT VecVT = VecOp.getValueType(); in SplitVecOp_VECREDUCE()
2063 GetSplitVector(VecOp, Lo, Hi); in SplitVecOp_VECREDUCE()
2924 SDValue VecOp = DAG.getUNDEF(NextVT); in CollectOpsToWiden() local
2927 VecOp = DAG.getNode( in CollectOpsToWiden()
2928 ISD::INSERT_VECTOR_ELT, dl, NextVT, VecOp, ConcatOps[OpIdx], in CollectOpsToWiden()
2931 ConcatOps[Idx+1] = VecOp; in CollectOpsToWiden()
4847 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT,LdOps[Start]); in BuildVectorFromScalar() local
4854 VecOp = DAG.getNode(ISD::BITCAST, dl, NewVecVT, VecOp); in BuildVectorFromScalar()
4859 VecOp = DAG.getNode( in BuildVectorFromScalar()
[all …]
DDAGCombiner.cpp17058 SDValue VecOp = N->getOperand(0); in visitEXTRACT_VECTOR_ELT() local
17061 EVT VecVT = VecOp.getValueType(); in visitEXTRACT_VECTOR_ELT()
17062 if (VecOp.isUndef()) in visitEXTRACT_VECTOR_ELT()
17070 if (VecOp.getOpcode() == ISD::INSERT_VECTOR_ELT && in visitEXTRACT_VECTOR_ELT()
17071 Index == VecOp.getOperand(2)) { in visitEXTRACT_VECTOR_ELT()
17072 SDValue Elt = VecOp.getOperand(1); in visitEXTRACT_VECTOR_ELT()
17077 if (VecOp.getOpcode() == ISD::SCALAR_TO_VECTOR) { in visitEXTRACT_VECTOR_ELT()
17081 SDValue InOp = VecOp.getOperand(0); in visitEXTRACT_VECTOR_ELT()
17096 if (IndexC && VecOp.getOpcode() == ISD::BUILD_VECTOR && in visitEXTRACT_VECTOR_ELT()
17098 (VecOp.hasOneUse() || TLI.aggressivelyPreferBuildVectorSources(VecVT))) { in visitEXTRACT_VECTOR_ELT()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2564 virtual bool shouldScalarizeBinop(SDValue VecOp) const { in shouldScalarizeBinop() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp3186 SDValue VecOp = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, LHS); in performSrlCombine() local
3187 SDValue Hi = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, SL, MVT::i32, VecOp, One); in performSrlCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4241 if (auto *VecOp = dyn_cast<Instruction>(V)) in widenInstruction() local
4242 VecOp->copyIRFlags(&I); in widenInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8537 SDValue VecOp = ScalarOp.getOperand(0); in getReductionSDNode() local
8538 auto Rdx = DAG.getNode(Op, DL, VecOp.getSimpleValueType(), VecOp); in getReductionSDNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp5130 bool X86TargetLowering::shouldScalarizeBinop(SDValue VecOp) const { in shouldScalarizeBinop()
5131 unsigned Opc = VecOp.getOpcode(); in shouldScalarizeBinop()
5139 EVT VecVT = VecOp.getValueType(); in shouldScalarizeBinop()
18657 SDValue VecOp = Extract.getOperand(0); in vectorizeExtractedCast() local
18658 MVT FromVT = VecOp.getSimpleValueType(); in vectorizeExtractedCast()
18671 VecOp = DAG.getVectorShuffle(FromVT, DL, VecOp, DAG.getUNDEF(FromVT), Mask); in vectorizeExtractedCast()
18676 VecOp = extract128BitVector(VecOp, 0, DAG, DL); in vectorizeExtractedCast()
18680 SDValue VCast = DAG.getNode(Cast.getOpcode(), DL, ToVT, VecOp); in vectorizeExtractedCast()