Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3275 auto checkOneUse = [checkUses](SDValue Op) { return checkUses(Op, 1); }; in matchBitExtract() local
3278 auto peekThroughOneUseTruncation = [checkOneUse](SDValue V) { in matchBitExtract()
3279 if (V->getOpcode() == ISD::TRUNCATE && checkOneUse(V)) { in matchBitExtract()
3289 auto matchPatternA = [checkOneUse, peekThroughOneUseTruncation, in matchBitExtract()
3292 if (Mask->getOpcode() != ISD::ADD || !checkOneUse(Mask)) in matchBitExtract()
3299 if (M0->getOpcode() != ISD::SHL || !checkOneUse(M0)) in matchBitExtract()
3315 auto matchPatternB = [checkOneUse, isAllOnes, peekThroughOneUseTruncation, in matchBitExtract()
3318 if (Mask.getOpcode() != ISD::XOR || !checkOneUse(Mask)) in matchBitExtract()
3325 if (M0->getOpcode() != ISD::SHL || !checkOneUse(M0)) in matchBitExtract()
3335 auto matchShiftAmt = [checkOneUse, &NBits](SDValue ShiftAmt, in matchBitExtract()
[all …]