Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp20645 SmallVector<SDValue, 8> VecIns; in LowerVectorAllZeroTest() local
20646 if (!matchScalarReduction(Op, ISD::OR, VecIns)) in LowerVectorAllZeroTest()
20650 EVT VT = VecIns[0].getValueType(); in LowerVectorAllZeroTest()
20658 for (unsigned i = 0, e = VecIns.size(); i < e; ++i) in LowerVectorAllZeroTest()
20659 VecIns[i] = DAG.getBitcast(TestVT, VecIns[i]); in LowerVectorAllZeroTest()
20662 for (unsigned Slot = 0, e = VecIns.size(); e - Slot > 1; Slot += 2, e += 1) { in LowerVectorAllZeroTest()
20665 SDValue LHS = VecIns[Slot]; in LowerVectorAllZeroTest()
20666 SDValue RHS = VecIns[Slot + 1]; in LowerVectorAllZeroTest()
20667 VecIns.push_back(DAG.getNode(ISD::OR, DL, TestVT, LHS, RHS)); in LowerVectorAllZeroTest()
20672 return DAG.getNode(X86ISD::PTEST, DL, MVT::i32, VecIns.back(), VecIns.back()); in LowerVectorAllZeroTest()