Home
last modified time | relevance | path

Searched refs:SrcElt (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask() local
133 if (SrcElt < 4) in getTransformedMask()
134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask()
135 else if (SrcElt < 8) in getTransformedMask()
136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
138 assert(SrcElt == 8 && "Bad src elt!"); in getTransformedMask()
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/
DPerfectShuffle.cpp131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask() local
133 if (SrcElt < 4) in getTransformedMask()
134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask()
135 else if (SrcElt < 8) in getTransformedMask()
136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
138 assert(SrcElt == 8 && "Bad src elt!"); in getTransformedMask()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp131 unsigned SrcElt = (ShuffleMask >> (4*i)) & 0xF; in getTransformedMask() local
133 if (SrcElt < 4) in getTransformedMask()
134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask()
135 else if (SrcElt < 8) in getTransformedMask()
136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
138 assert(SrcElt == 8 && "Bad src elt!"); in getTransformedMask()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUISelLowering.cpp1868 unsigned SrcElt = SVN->getMaskElt(i); in LowerVECTOR_SHUFFLE() local
1871 if (SrcElt >= V2EltIdx0) { in LowerVECTOR_SHUFFLE()
1874 if (EltsFromV2 == 0 && CurrElt == (SrcElt - V2EltIdx0)) in LowerVECTOR_SHUFFLE()
1875 V2EltOffset = (SrcElt - V2EltIdx0) * (EltVT.getSizeInBits()/8); in LowerVECTOR_SHUFFLE()
1879 } else if (CurrElt != SrcElt) { in LowerVECTOR_SHUFFLE()
1887 if (PrevElt > 0 && SrcElt < MaxElts) { in LowerVECTOR_SHUFFLE()
1888 if ((PrevElt == SrcElt - 1) in LowerVECTOR_SHUFFLE()
1889 || (PrevElt == MaxElts - 1 && SrcElt == 0)) { in LowerVECTOR_SHUFFLE()
1890 PrevElt = SrcElt; in LowerVECTOR_SHUFFLE()
1894 } else if (i == 0 || (PrevElt==0 && SrcElt==1)) { in LowerVECTOR_SHUFFLE()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp128 unsigned SrcElt = 0; in FoldBitCast() local
134 Constant *Src = dyn_cast<ConstantInt>(CV->getOperand(SrcElt++)); in FoldBitCast()
/external/llvm/lib/Analysis/
DConstantFolding.cpp177 unsigned SrcElt = 0; in FoldBitCast() local
183 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++)); in FoldBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp205 unsigned SrcElt = 0; in FoldBitCast() local
211 Constant *Src = C->getAggregateElement(SrcElt++); in FoldBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp3059 SDValue SrcElt = BV.getOperand(1); in performTruncateCombine() local
3060 EVT SrcEltVT = SrcElt.getValueType(); in performTruncateCombine()
3062 SrcElt = DAG.getNode(ISD::BITCAST, SL, in performTruncateCombine()
3063 SrcEltVT.changeTypeToInteger(), SrcElt); in performTruncateCombine()
3066 return DAG.getNode(ISD::TRUNCATE, SL, VT, SrcElt); in performTruncateCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1557 unsigned SrcElt = 0; in executeBitCastInst() local
1566 Tmp = TempSrc.AggregateVal[SrcElt++].IntVal; in executeBitCastInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1558 unsigned SrcElt = 0; in executeBitCastInst() local
1567 Tmp = TempSrc.AggregateVal[SrcElt++].IntVal; in executeBitCastInst()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp4303 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local
4306 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement+j, in LowerVECTOR_SHUFFLE()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7633 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local
7637 ResultMask.push_back(DAG.getConstant(31 - (SrcElt*BytesPerElement + j), in LowerVECTOR_SHUFFLE()
7640 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement + j, dl, in LowerVECTOR_SHUFFLE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8622 unsigned SrcElt = PermMask[i] < 0 ? 0 : PermMask[i]; in LowerVECTOR_SHUFFLE() local
8626 ResultMask.push_back(DAG.getConstant(31 - (SrcElt*BytesPerElement + j), in LowerVECTOR_SHUFFLE()
8629 ResultMask.push_back(DAG.getConstant(SrcElt*BytesPerElement + j, dl, in LowerVECTOR_SHUFFLE()