Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp588 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/
DSelectionDAG.cpp1493 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-10.0/llvm/lib/Analysis/
DVectorUtils.cpp660 SmallVector<Constant *, 16> MaskVec; in createReplicatedMask() local
663 MaskVec.push_back(Builder.getInt32(i)); in createReplicatedMask()
665 return ConstantVector::get(MaskVec); in createReplicatedMask()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1626 SmallVector<int, 8> MaskVec(Mask.begin(), Mask.end()); in getVectorShuffle() local
1632 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle()
1637 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle()
1649 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) in getVectorShuffle()
1653 if (UndefElements[MaskVec[i] - Offset]) { in getVectorShuffle()
1654 MaskVec[i] = -1; in getVectorShuffle()
1660 MaskVec[i] = i + Offset; in getVectorShuffle()
1674 if (MaskVec[i] >= NElts) { in getVectorShuffle()
1676 MaskVec[i] = -1; in getVectorShuffle()
1679 } else if (MaskVec[i] >= 0) { in getVectorShuffle()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp2153 Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2), in UpgradeIntrinsicCall() local
2159 Rep = Builder.CreateCall(ELd, { Ptr, MaskVec, CI->getOperand(1) }); in UpgradeIntrinsicCall()
2168 Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2), in UpgradeIntrinsicCall() local
2174 Rep = Builder.CreateCall(CSt, { CI->getArgOperand(1), Ptr, MaskVec }); in UpgradeIntrinsicCall()
2179 Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2), in UpgradeIntrinsicCall() local
2187 MaskVec }); in UpgradeIntrinsicCall()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp6572 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/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2847 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-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp2961 SDValue MaskVec = DAG.getBuildVector(MaskVecTy, DL, Ops); in lowerVECTOR_SHUFFLE_VSHF() local
2980 return DAG.getNode(MipsISD::VSHF, DL, ResTy, MaskVec, Op1, Op0); in lowerVECTOR_SHUFFLE_VSHF()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp4734 SmallVector<int, 16> MaskVec(NumElems); in getShuffleVectorZeroOrUndef() local
4737 MaskVec[i] = (i == Idx) ? NumElems : i; in getShuffleVectorZeroOrUndef()
4738 return DAG.getVectorShuffle(VT, SDLoc(V2), V1, V2, MaskVec); in getShuffleVectorZeroOrUndef()
6832 int MaskVec[] = { in LowerBUILD_VECTOR() local
6838 return DAG.getVectorShuffle(VT, dl, Ops[0], Ops[1], MaskVec); in LowerBUILD_VECTOR()
14234 SmallVector<int, 16> MaskVec(NumElems * 2, -1); in LowerTRUNCATE() local
14237 MaskVec[i] = i * 2; in LowerTRUNCATE()
14239 DAG.getUNDEF(NVT), MaskVec); in LowerTRUNCATE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6098 SmallVector<int, 16> MaskVec(NumElems); in getShuffleVectorZeroOrUndef() local
6101 MaskVec[i] = (i == Idx) ? NumElems : i; in getShuffleVectorZeroOrUndef()
6102 return DAG.getVectorShuffle(VT, SDLoc(V2), V1, V2, MaskVec); in getShuffleVectorZeroOrUndef()
10158 int MaskVec[] = { in LowerBUILD_VECTOR() local
10164 return DAG.getVectorShuffle(VT, dl, Ops[0], Ops[1], MaskVec); in LowerBUILD_VECTOR()