/external/llvm/utils/TableGen/ |
D | RegisterInfoEmitter.cpp | 588 typedef SmallVector<unsigned, 4> MaskVec; typedef 837 SequenceToOffsetTable<MaskVec> LaneMaskSeqs; in runMCDesc() 838 SmallVector<MaskVec, 4> RegUnitLaneMasks(Regs.size()); in runMCDesc() 899 MaskVec &LaneMaskVec = RegUnitLaneMasks[i]; in runMCDesc()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1493 SmallVector<int, 8> MaskVec(Mask.begin(), Mask.end()); in getVectorShuffle() local 1499 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle() 1504 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle() 1515 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) in getVectorShuffle() 1519 if (UndefElements[MaskVec[i] - Offset]) { in getVectorShuffle() 1520 MaskVec[i] = -1; in getVectorShuffle() 1526 MaskVec[i] = i + Offset; in getVectorShuffle() 1539 if (MaskVec[i] >= NElts) { in getVectorShuffle() 1541 MaskVec[i] = -1; in getVectorShuffle() 1544 } else if (MaskVec[i] >= 0) { in getVectorShuffle() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | RegisterInfoEmitter.cpp | 594 typedef SmallVector<LaneBitmask, 4> MaskVec; typedef 846 SequenceToOffsetTable<MaskVec> LaneMaskSeqs; in runMCDesc() 847 SmallVector<MaskVec, 4> RegUnitLaneMasks(Regs.size()); in runMCDesc() 908 MaskVec &LaneMaskVec = RegUnitLaneMasks[i]; in runMCDesc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1580 SmallVector<int, 8> MaskVec(Mask.begin(), Mask.end()); in getVectorShuffle() local 1586 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle() 1591 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle() 1603 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) in getVectorShuffle() 1607 if (UndefElements[MaskVec[i] - Offset]) { in getVectorShuffle() 1608 MaskVec[i] = -1; in getVectorShuffle() 1614 MaskVec[i] = i + Offset; in getVectorShuffle() 1628 if (MaskVec[i] >= NElts) { in getVectorShuffle() 1630 MaskVec[i] = -1; in getVectorShuffle() 1633 } else if (MaskVec[i] >= 0) { in getVectorShuffle() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1259 SmallVector<int, 8> MaskVec; in getVectorShuffle() local 1262 MaskVec.push_back(Mask[i]); in getVectorShuffle() 1269 if (MaskVec[i] >= (int)NElts) MaskVec[i] -= NElts; in getVectorShuffle() 1274 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle() 1281 if (MaskVec[i] >= (int)NElts) { in getVectorShuffle() 1283 MaskVec[i] = -1; in getVectorShuffle() 1286 } else if (MaskVec[i] >= 0) { in getVectorShuffle() 1296 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle() 1303 if (MaskVec[i] >= 0 && MaskVec[i] != (int)i) Identity = false; in getVectorShuffle() 1304 if (MaskVec[i] >= 0) AllUndef = false; in getVectorShuffle() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 4159 SmallVector<int, 8> MaskVec; in CommuteVectorShuffle() local 4164 MaskVec.push_back(idx); in CommuteVectorShuffle() 4166 MaskVec.push_back(idx + NumElems); in CommuteVectorShuffle() 4168 MaskVec.push_back(idx - NumElems); in CommuteVectorShuffle() 4171 SVOp->getOperand(0), &MaskVec[0]); in CommuteVectorShuffle() 4352 SmallVector<int, 8> MaskVec; in NormalizeMask() local 4353 SVOp->getMask(MaskVec); in NormalizeMask() 4356 if (MaskVec[i] > (int)NumElems) { in NormalizeMask() 4357 MaskVec[i] = NumElems; in NormalizeMask() 4363 SVOp->getOperand(1), &MaskVec[0]); in NormalizeMask() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 1877 Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2), in UpgradeIntrinsicCall() local 1883 Rep = Builder.CreateCall(ELd, { Ptr, MaskVec, CI->getOperand(1) }); in UpgradeIntrinsicCall() 1892 Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2), in UpgradeIntrinsicCall() local 1898 Rep = Builder.CreateCall(CSt, { CI->getArgOperand(1), Ptr, MaskVec }); in UpgradeIntrinsicCall()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 6572 Value *MaskVec = CGF.Builder.CreateBitCast(Mask, MaskTy); in getMaskVecValue() local 6580 MaskVec = CGF.Builder.CreateShuffleVector(MaskVec, MaskVec, in getMaskVecValue() 6584 return MaskVec; in getMaskVecValue() 6599 Value *MaskVec = getMaskVecValue(CGF, Ops[2], in EmitX86MaskedStore() local 6602 return CGF.Builder.CreateMaskedStore(Ops[1], Ops[0], Align, MaskVec); in EmitX86MaskedStore() 6616 Value *MaskVec = getMaskVecValue(CGF, Ops[2], in EmitX86MaskedLoad() local 6619 return CGF.Builder.CreateMaskedLoad(Ops[0], Align, MaskVec, Ops[1]); in EmitX86MaskedLoad()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2938 SDValue MaskVec = DAG.getBuildVector(MaskVecTy, DL, Ops); in lowerVECTOR_SHUFFLE_VSHF() local 2957 return DAG.getNode(MipsISD::VSHF, DL, ResTy, MaskVec, Op1, Op0); in lowerVECTOR_SHUFFLE_VSHF()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 2847 SDValue MaskVec = DAG.getBuildVector(MaskVecTy, DL, Ops); in lowerVECTOR_SHUFFLE_VSHF() local 2866 return DAG.getNode(MipsISD::VSHF, DL, ResTy, MaskVec, Op1, Op0); in lowerVECTOR_SHUFFLE_VSHF()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5459 SmallVector<int, 16> MaskVec(NumElems); in getShuffleVectorZeroOrUndef() local 5462 MaskVec[i] = (i == Idx) ? NumElems : i; in getShuffleVectorZeroOrUndef() 5463 return DAG.getVectorShuffle(VT, SDLoc(V2), V1, V2, MaskVec); in getShuffleVectorZeroOrUndef() 8621 int MaskVec[] = { in LowerBUILD_VECTOR() local 8627 return DAG.getVectorShuffle(VT, dl, Ops[0], Ops[1], MaskVec); in LowerBUILD_VECTOR() 17331 SmallVector<int, 16> MaskVec(NumElems * 2, -1); in LowerTRUNCATE() local 17334 MaskVec[i] = i * 2; in LowerTRUNCATE() 17336 SDValue V = DAG.getVectorShuffle(NVT, DL, In, In, MaskVec); in LowerTRUNCATE()
|