Home
last modified time | relevance | path

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

/external/llvm/test/Transforms/InstCombine/
Dvector-mul.ll6 define <4 x i8> @Zero_i8(<4 x i8> %InVec) {
8 %mul = mul <4 x i8> %InVec, <i8 0, i8 0, i8 0, i8 0>
15 define <4 x i8> @Identity_i8(<4 x i8> %InVec) {
17 %mul = mul <4 x i8> %InVec, <i8 1, i8 1, i8 1, i8 1>
22 ; CHECK: ret <4 x i8> %InVec
24 define <4 x i8> @AddToSelf_i8(<4 x i8> %InVec) {
26 %mul = mul <4 x i8> %InVec, <i8 2, i8 2, i8 2, i8 2>
31 ; CHECK: shl <4 x i8> %InVec, <i8 1, i8 1, i8 1, i8 1>
34 define <4 x i8> @SplatPow2Test1_i8(<4 x i8> %InVec) {
36 %mul = mul <4 x i8> %InVec, <i8 4, i8 4, i8 4, i8 4>
[all …]
Dx86-pshufb.ll5 define <16 x i8> @identity_test(<16 x i8> %InVec) {
7 ; CHECK: ret <16 x i8> %InVec
9 …%1 = tail call <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8> %InVec, <16 x i8> <i8 0, i8 1, i8 2…
13 define <32 x i8> @identity_test_avx2(<32 x i8> %InVec) {
15 ; CHECK: ret <32 x i8> %InVec
17 …%1 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %InVec, <32 x i8> <i8 0, i8 1, i8 2, i8 …
24 define <16 x i8> @fold_to_zero_vector(<16 x i8> %InVec) {
28 …%1 = tail call <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8> %InVec, <16 x i8> <i8 -128, i8 -128…
32 define <32 x i8> @fold_to_zero_vector_avx2(<32 x i8> %InVec) {
36 …%1 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %InVec, <32 x i8> <i8 -128, i8 -128, i8 …
[all …]
/external/llvm/test/CodeGen/X86/
Dsse2-vector-shifts.ll6 define <8 x i16> @test_sllw_1(<8 x i16> %InVec) {
11 %shl = shl <8 x i16> %InVec, <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0>
15 define <8 x i16> @test_sllw_2(<8 x i16> %InVec) {
21 %shl = shl <8 x i16> %InVec, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
25 define <8 x i16> @test_sllw_3(<8 x i16> %InVec) {
31 %shl = shl <8 x i16> %InVec, <i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15>
35 define <4 x i32> @test_slld_1(<4 x i32> %InVec) {
40 %shl = shl <4 x i32> %InVec, <i32 0, i32 0, i32 0, i32 0>
44 define <4 x i32> @test_slld_2(<4 x i32> %InVec) {
50 %shl = shl <4 x i32> %InVec, <i32 1, i32 1, i32 1, i32 1>
[all …]
Davx2-vector-shifts.ll5 define <16 x i16> @test_sllw_1(<16 x i16> %InVec) {
7 …%shl = shl <16 x i16> %InVec, <i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 0, i16 …
15 define <16 x i16> @test_sllw_2(<16 x i16> %InVec) {
17 …%shl = shl <16 x i16> %InVec, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 …
25 define <16 x i16> @test_sllw_3(<16 x i16> %InVec) {
27 …%shl = shl <16 x i16> %InVec, <i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16 15, i16…
35 define <8 x i32> @test_slld_1(<8 x i32> %InVec) {
37 %shl = shl <8 x i32> %InVec, <i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0>
45 define <8 x i32> @test_slld_2(<8 x i32> %InVec) {
47 %shl = shl <8 x i32> %InVec, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12004 SDValue InVec = N->getOperand(0); in visitINSERT_VECTOR_ELT() local
12011 return InVec; in visitINSERT_VECTOR_ELT()
12013 EVT VT = InVec.getValueType(); in visitINSERT_VECTOR_ELT()
12031 if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT && InVec.hasOneUse() in visitINSERT_VECTOR_ELT()
12032 && isa<ConstantSDNode>(InVec.getOperand(2))) { in visitINSERT_VECTOR_ELT()
12034 cast<ConstantSDNode>(InVec.getOperand(2))->getZExtValue(); in visitINSERT_VECTOR_ELT()
12038 InVec.getOperand(0), InVal, EltNo); in visitINSERT_VECTOR_ELT()
12040 return DAG.getNode(ISD::INSERT_VECTOR_ELT, SDLoc(InVec.getNode()), in visitINSERT_VECTOR_ELT()
12041 VT, NewOp, InVec.getOperand(1), InVec.getOperand(2)); in visitINSERT_VECTOR_ELT()
12051 if (InVec.getOpcode() == ISD::BUILD_VECTOR && InVec.hasOneUse()) { in visitINSERT_VECTOR_ELT()
[all …]
DLegalizeVectorTypes.cpp1887 SDValue InVec = N->getOperand(0); in SplitVecOp_TruncateHelper() local
1888 EVT InVT = InVec->getValueType(0); in SplitVecOp_TruncateHelper()
1909 std::tie(InLoVec, InHiVec) = DAG.SplitVector(InVec, DL); in SplitVecOp_TruncateHelper()
2319 SDValue InVec = DAG.getNode(ISD::CONCAT_VECTORS, DL, InWidenVT, Ops); in WidenVecRes_Convert() local
2321 return DAG.getNode(Opcode, DL, WidenVT, InVec); in WidenVecRes_Convert()
2322 return DAG.getNode(Opcode, DL, WidenVT, InVec, N->getOperand(1), Flags); in WidenVecRes_Convert()
DSelectionDAGBuilder.cpp2676 SDValue InVec = getValue(I.getOperand(0)); in visitInsertElement() local
2682 InVec, InVal, InIdx)); in visitInsertElement()
2687 SDValue InVec = getValue(I.getOperand(0)); in visitExtractElement() local
2692 InVec, InIdx)); in visitExtractElement()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1883 SDValue InVec = N->getOperand(0); in PerformDAGCombine() local
1890 return InVec; in PerformDAGCombine()
1892 EVT VT = InVec.getValueType(); in PerformDAGCombine()
1907 if (InVec.getOpcode() == ISD::BUILD_VECTOR) { in PerformDAGCombine()
1908 Ops.append(InVec.getNode()->op_begin(), in PerformDAGCombine()
1909 InVec.getNode()->op_end()); in PerformDAGCombine()
1910 } else if (InVec.getOpcode() == ISD::UNDEF) { in PerformDAGCombine()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp18505 SDValue InVec = Amt.getOperand(0); in LowerScalarVariableShift() local
18506 if (InVec.getOpcode() == ISD::BUILD_VECTOR) { in LowerScalarVariableShift()
18507 assert((SplatIdx < InVec.getSimpleValueType().getVectorNumElements()) && in LowerScalarVariableShift()
18509 BaseShAmt = InVec.getOperand(SplatIdx); in LowerScalarVariableShift()
18510 } else if (InVec.getOpcode() == ISD::INSERT_VECTOR_ELT) { in LowerScalarVariableShift()
18512 dyn_cast<ConstantSDNode>(InVec.getOperand(2))) { in LowerScalarVariableShift()
18514 BaseShAmt = InVec.getOperand(1); in LowerScalarVariableShift()
18520 BaseShAmt = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, EltVT, InVec, in LowerScalarVariableShift()
19348 SDValue InVec = Op->getOperand(0); in LowerBITCAST() local
19357 Elts.push_back(DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, SVT, InVec, in LowerBITCAST()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2254 Value *InVec = vectorizeTree(INVL); in vectorizeTree() local
2260 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()