Home
last modified time | relevance | path

Searched refs:ConcatOps (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp4676 SmallVectorImpl<SDValue> &ConcatOps, in CollectOpsToWiden() argument
4681 VT = ConcatOps[0].getValueType(); in CollectOpsToWiden()
4683 return ConcatOps[0]; in CollectOpsToWiden()
4686 SDLoc dl(ConcatOps[0]); in CollectOpsToWiden()
4693 while (ConcatOps[ConcatEnd-1].getValueType() != MaxVT) { in CollectOpsToWiden()
4695 VT = ConcatOps[Idx--].getValueType(); in CollectOpsToWiden()
4696 while (Idx >= 0 && ConcatOps[Idx].getValueType() == VT) in CollectOpsToWiden()
4712 ConcatOps[OpIdx], DAG.getVectorIdxConstant(i, dl)); in CollectOpsToWiden()
4714 ConcatOps[Idx+1] = VecOp; in CollectOpsToWiden()
4725 SubConcatOps[SubConcatEnd++] = ConcatOps[++Idx]; in CollectOpsToWiden()
[all …]
H A DDAGCombiner.cpp21965 SmallVector<SDValue, 8> ConcatOps(ExtendRatio, DAG.getUNDEF(SubVecVT)); in combineInsertEltToShuffle() local
21966 ConcatOps[0] = SubVec; in combineInsertEltToShuffle()
21967 SDValue PaddedSubV = DAG.getNode(ISD::CONCAT_VECTORS, DL, ShufVT, ConcatOps); in combineInsertEltToShuffle()
23115 SmallVector<SDValue, 2> ConcatOps(NumConcats, DAG.getUNDEF(InVT1)); in createBuildVecShuffle() local
23116 ConcatOps[0] = VecIn1; in createBuildVecShuffle()
23117 ConcatOps[1] = VecIn2 ? VecIn2 : DAG.getUNDEF(InVT1); in createBuildVecShuffle()
23118 VecIn1 = DAG.getNode(ISD::CONCAT_VECTORS, DL, VT, ConcatOps); in createBuildVecShuffle()
23157 SmallVector<SDValue, 2> ConcatOps(2, DAG.getUNDEF(InVT2)); in createBuildVecShuffle() local
23158 ConcatOps[0] = VecIn2; in createBuildVecShuffle()
23159 VecIn2 = DAG.getNode(ISD::CONCAT_VECTORS, DL, VT, ConcatOps); in createBuildVecShuffle()
[all …]
H A DSelectionDAGBuilder.cpp4070 SmallVector<SDValue, 8> ConcatOps; in visitShuffleVector() local
4073 ConcatOps.push_back(DAG.getUNDEF(SrcVT)); in visitShuffleVector()
4075 ConcatOps.push_back(Src1); in visitShuffleVector()
4077 ConcatOps.push_back(Src2); in visitShuffleVector()
4079 setValue(&I, DAG.getNode(ISD::CONCAT_VECTORS, DL, VT, ConcatOps)); in visitShuffleVector()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp944 SmallVector<Value *, 8> ConcatOps; in visitBitCastInst() local
945 ConcatOps.resize(MidVS.NumFragments); in visitBitCastInst()
948 ConcatOps[J] = Op0[SrcI++]; in visitBitCastInst()
949 Value *V = concatenate(Builder, ConcatOps, MidVS, in visitBitCastInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9213 SmallVector<SDValue> ConcatOps(Op->op_begin(), Op->op_end()); in LowerCONCAT_VECTORS_i1() local
9214 while (ConcatOps.size() > 1) { in LowerCONCAT_VECTORS_i1()
9215 for (unsigned I = 0, E = ConcatOps.size(); I != E; I += 2) { in LowerCONCAT_VECTORS_i1()
9216 SDValue V1 = ConcatOps[I]; in LowerCONCAT_VECTORS_i1()
9217 SDValue V2 = ConcatOps[I + 1]; in LowerCONCAT_VECTORS_i1()
9218 ConcatOps[I / 2] = ConcatPair(V1, V2); in LowerCONCAT_VECTORS_i1()
9220 ConcatOps.resize(ConcatOps.size() / 2); in LowerCONCAT_VECTORS_i1()
9222 return ConcatOps[0]; in LowerCONCAT_VECTORS_i1()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14402 SmallVector<SDValue> ConcatOps(Op->op_begin(), Op->op_end()); in LowerCONCAT_VECTORS() local
14403 while (ConcatOps.size() > 1) { in LowerCONCAT_VECTORS()
14404 for (unsigned I = 0, E = ConcatOps.size(); I != E; I += 2) { in LowerCONCAT_VECTORS()
14405 SDValue V1 = ConcatOps[I]; in LowerCONCAT_VECTORS()
14406 SDValue V2 = ConcatOps[I + 1]; in LowerCONCAT_VECTORS()
14409 ConcatOps[I / 2] = in LowerCONCAT_VECTORS()
14412 ConcatOps.resize(ConcatOps.size() / 2); in LowerCONCAT_VECTORS()
14414 return ConcatOps[0]; in LowerCONCAT_VECTORS()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp32599 SmallVector<SDValue, 8> ConcatOps(NumConcats, DAG.getUNDEF(VT)); in ReplaceNodeResults() local
32600 ConcatOps[0] = Res; in ReplaceNodeResults()
32601 Res = DAG.getNode(ISD::CONCAT_VECTORS, dl, MVT::v16i8, ConcatOps); in ReplaceNodeResults()
32953 SmallVector<SDValue, 8> ConcatOps(NumConcats, DAG.getUNDEF(TmpVT)); in ReplaceNodeResults() local
32954 ConcatOps[0] = Res; in ReplaceNodeResults()
32955 Res = DAG.getNode(ISD::CONCAT_VECTORS, dl, ConcatVT, ConcatOps); in ReplaceNodeResults()
33003 SmallVector<SDValue, 8> ConcatOps(NumConcats, DAG.getUNDEF(VT)); in ReplaceNodeResults() local
33004 ConcatOps[0] = Res; in ReplaceNodeResults()
33005 Res = DAG.getNode(ISD::CONCAT_VECTORS, dl, ConcatVT, ConcatOps); in ReplaceNodeResults()
51118 SmallVector<SDValue, 4> ConcatOps(NumConcats, DAG.getUNDEF(InVT)); in combineTruncateWithSat() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16148 SmallVector<SDValue> ConcatOps; in performINSERT_VECTOR_ELTCombine() local
16149 ConcatOps.append(InVec->op_begin(), InVec->op_end()); in performINSERT_VECTOR_ELTCombine()
16150 ConcatOps[ConcatOpIdx] = ConcatOp; in performINSERT_VECTOR_ELTCombine()
16151 return DAG.getNode(ISD::CONCAT_VECTORS, DL, VT, ConcatOps); in performINSERT_VECTOR_ELTCombine()