/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 276 Value *VecOp = IEI->getOperand(0); in CollectSingleShuffleElements() local 287 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in CollectSingleShuffleElements() 302 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in CollectSingleShuffleElements() 343 Value *VecOp = IEI->getOperand(0); in CollectShuffleElements() local 358 Value *V = CollectShuffleElements(VecOp, Mask, RHS); in CollectShuffleElements() 365 if (VecOp == RHS) { in CollectShuffleElements() 392 Value *VecOp = IE.getOperand(0); in visitInsertElementInst() local 398 ReplaceInstUsesWith(IE, VecOp); in visitInsertElementInst() 411 return ReplaceInstUsesWith(IE, VecOp); in visitInsertElementInst() 418 if (EI->getOperand(0) == VecOp && ExtractedIdx == InsertedIdx) in visitInsertElementInst() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 323 Value *VecOp = IEI->getOperand(0); in collectSingleShuffleElements() local 334 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 349 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 470 Value *VecOp = IEI->getOperand(0); in collectShuffleElements() local 484 ShuffleOps LR = collectShuffleElements(VecOp, Mask, RHS, IC); in collectShuffleElements() 506 if (VecOp == PermittedRHS) { in collectShuffleElements() 570 Value *VecOp = IE.getOperand(0); in visitInsertElementInst() local 576 replaceInstUsesWith(IE, VecOp); in visitInsertElementInst() 590 return replaceInstUsesWith(IE, VecOp); in visitInsertElementInst() 597 if (EI->getOperand(0) == VecOp && ExtractedIdx == InsertedIdx) in visitInsertElementInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 316 Value *VecOp = IEI->getOperand(0); in collectSingleShuffleElements() local 327 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 342 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 471 Value *VecOp = IEI->getOperand(0); in collectShuffleElements() local 485 ShuffleOps LR = collectShuffleElements(VecOp, Mask, RHS, IC); in collectShuffleElements() 507 if (VecOp == PermittedRHS) { in collectShuffleElements() 782 Value *VecOp = IE.getOperand(0); in visitInsertElementInst() local 787 VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) in visitInsertElementInst() 792 replaceInstUsesWith(IE, VecOp); in visitInsertElementInst() 806 return replaceInstUsesWith(IE, VecOp); in visitInsertElementInst() [all …]
|
D | InstCombineCasts.cpp | 655 Value *VecOp = InsElt->getOperand(0); in shrinkInsertElt() local 659 if (isa<UndefValue>(VecOp)) { in shrinkInsertElt()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1415 SDValue VecOp = DAG.getUNDEF(NextVT); in WidenVecRes_Binary() local 1418 VecOp = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, NextVT, VecOp, in WidenVecRes_Binary() 1421 ConcatOps[Idx+1] = VecOp; in WidenVecRes_Binary() 2242 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT,LdOps[Start]); in BuildVectorFromScalar() local 2249 VecOp = DAG.getNode(ISD::BITCAST, dl, NewVecVT, VecOp); in BuildVectorFromScalar() 2254 VecOp = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, NewVecVT, VecOp, LdOps[i], in BuildVectorFromScalar() 2257 return DAG.getNode(ISD::BITCAST, dl, VecTy, VecOp); in BuildVectorFromScalar() 2296 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT, LdOp); in GenWidenVectorLoads() local 2297 return DAG.getNode(ISD::BITCAST, dl, WidenVT, VecOp); in GenWidenVectorLoads() 2491 SDValue VecOp = DAG.getNode(ISD::BITCAST, dl, NewVecVT, ValOp); in GenWidenVectorStores() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1727 SDValue VecOp = N->getOperand(OpNo); in SplitVecOp_VECREDUCE() local 1728 EVT VecVT = VecOp.getValueType(); in SplitVecOp_VECREDUCE() 1730 GetSplitVector(VecOp, Lo, Hi); in SplitVecOp_VECREDUCE() 2506 SDValue VecOp = DAG.getUNDEF(NextVT); in WidenVecRes_BinaryCanTrap() local 2509 VecOp = DAG.getNode( in WidenVecRes_BinaryCanTrap() 2510 ISD::INSERT_VECTOR_ELT, dl, NextVT, VecOp, ConcatOps[OpIdx], in WidenVecRes_BinaryCanTrap() 2513 ConcatOps[Idx+1] = VecOp; in WidenVecRes_BinaryCanTrap() 3830 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT,LdOps[Start]); in BuildVectorFromScalar() local 3837 VecOp = DAG.getNode(ISD::BITCAST, dl, NewVecVT, VecOp); in BuildVectorFromScalar() 3842 VecOp = DAG.getNode( in BuildVectorFromScalar() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 2298 SDValue VecOp = DAG.getUNDEF(NextVT); in WidenVecRes_BinaryCanTrap() local 2301 VecOp = DAG.getNode( in WidenVecRes_BinaryCanTrap() 2302 ISD::INSERT_VECTOR_ELT, dl, NextVT, VecOp, ConcatOps[OpIdx], in WidenVecRes_BinaryCanTrap() 2305 ConcatOps[Idx+1] = VecOp; in WidenVecRes_BinaryCanTrap() 3468 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT,LdOps[Start]); in BuildVectorFromScalar() local 3475 VecOp = DAG.getNode(ISD::BITCAST, dl, NewVecVT, VecOp); in BuildVectorFromScalar() 3480 VecOp = DAG.getNode( in BuildVectorFromScalar() 3481 ISD::INSERT_VECTOR_ELT, dl, NewVecVT, VecOp, LdOps[i], in BuildVectorFromScalar() 3484 return DAG.getNode(ISD::BITCAST, dl, VecTy, VecOp); in BuildVectorFromScalar() 3526 SDValue VecOp = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, NewVecVT, LdOp); in GenWidenVectorLoads() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 1725 auto *VecOp = dyn_cast<Instruction>(I); in propagateIRFlags() local 1726 if (!VecOp) in propagateIRFlags() 1733 VecOp->copyIRFlags(Intersection); in propagateIRFlags() 1739 VecOp->andIRFlags(V); in propagateIRFlags()
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelLowering.cpp | 2157 SDValue VecOp = Op.getOperand(0); in LowerINSERT_VECTOR_ELT() local 2185 VecOp, in LowerINSERT_VECTOR_ELT()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5374 SDValue VecOp = DAG.getNode(X86ISD::MOVQ2DQ, dl, MVT::v2i64, InVec); in LowerMMXCONCAT_VECTORS() local 5378 VecOp = DAG.getNode(ISD::BITCAST, dl, ResVT, VecOp); in LowerMMXCONCAT_VECTORS() 5379 VecOp = DAG.getNode(ISD::INSERT_VECTOR_ELT, dl, ResVT, VecOp, in LowerMMXCONCAT_VECTORS() 5385 VecOp = DAG.getVectorShuffle(MVT::v2i64, dl, VecOp, VecOp2, Mask); in LowerMMXCONCAT_VECTORS() 5387 return DAG.getNode(ISD::BITCAST, dl, ResVT, VecOp); in LowerMMXCONCAT_VECTORS()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 209 if (auto *VecOp = dyn_cast<BinaryOperator>(I)) { in propagateIRFlags() local 217 VecOp->copyIRFlags(Intersection); in propagateIRFlags()
|
D | LoopVectorize.cpp | 4104 if (BinaryOperator *VecOp = dyn_cast<BinaryOperator>(V)) in vectorizeBlockInLoop() local 4105 VecOp->copyIRFlags(BinOp); in vectorizeBlockInLoop()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 2424 SDValue VecOp = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, N->getOperand(0)); in performSrlCombine() local 2426 VecOp, One); in performSrlCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 3014 SDValue VecOp = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, N->getOperand(0)); in performSrlCombine() local 3016 VecOp, One); in performSrlCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 3976 if (BinaryOperator *VecOp = dyn_cast<BinaryOperator>(V)) in widenInstruction() local 3977 VecOp->copyIRFlags(BinOp); in widenInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7642 SDValue VecOp = ScalarOp.getOperand(0); in getReductionSDNode() local 7643 auto Rdx = DAG.getNode(Op, DL, VecOp.getSimpleValueType(), VecOp); in getReductionSDNode()
|