/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/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/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/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/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/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()
|