Lines Matching refs:PromOp

11573   for (auto &PromOp : PromOps)  in DAGCombineTruncBoolExt()  local
11574 PromOpHandles.emplace_back(PromOp); in DAGCombineTruncBoolExt()
11582 SDValue PromOp = PromOpHandles.back().getValue(); in DAGCombineTruncBoolExt() local
11585 if (PromOp.getOpcode() == ISD::TRUNCATE || in DAGCombineTruncBoolExt()
11586 PromOp.getOpcode() == ISD::SIGN_EXTEND || in DAGCombineTruncBoolExt()
11587 PromOp.getOpcode() == ISD::ZERO_EXTEND || in DAGCombineTruncBoolExt()
11588 PromOp.getOpcode() == ISD::ANY_EXTEND) { in DAGCombineTruncBoolExt()
11589 if (!isa<ConstantSDNode>(PromOp.getOperand(0)) && in DAGCombineTruncBoolExt()
11590 PromOp.getOperand(0).getValueType() != MVT::i1) { in DAGCombineTruncBoolExt()
11592 PromOpHandles.emplace_front(PromOp); in DAGCombineTruncBoolExt()
11596 SDValue RepValue = PromOp.getOperand(0); in DAGCombineTruncBoolExt()
11600 DAG.ReplaceAllUsesOfValueWith(PromOp, RepValue); in DAGCombineTruncBoolExt()
11605 switch (PromOp.getOpcode()) { in DAGCombineTruncBoolExt()
11611 if ((!isa<ConstantSDNode>(PromOp.getOperand(C)) && in DAGCombineTruncBoolExt()
11612 PromOp.getOperand(C).getValueType() != MVT::i1) || in DAGCombineTruncBoolExt()
11613 (!isa<ConstantSDNode>(PromOp.getOperand(C+1)) && in DAGCombineTruncBoolExt()
11614 PromOp.getOperand(C+1).getValueType() != MVT::i1)) { in DAGCombineTruncBoolExt()
11619 PromOpHandles.emplace_front(PromOp); in DAGCombineTruncBoolExt()
11623 SmallVector<SDValue, 3> Ops(PromOp.getNode()->op_begin(), in DAGCombineTruncBoolExt()
11624 PromOp.getNode()->op_end()); in DAGCombineTruncBoolExt()
11631 DAG.ReplaceAllUsesOfValueWith(PromOp, in DAGCombineTruncBoolExt()
11632 DAG.getNode(PromOp.getOpcode(), dl, MVT::i1, Ops)); in DAGCombineTruncBoolExt()
11827 for (auto &PromOp : PromOps) in DAGCombineExtBoolTrunc() local
11828 PromOpHandles.emplace_back(PromOp); in DAGCombineExtBoolTrunc()
11835 SDValue PromOp = PromOpHandles.back().getValue(); in DAGCombineExtBoolTrunc() local
11839 switch (PromOp.getOpcode()) { in DAGCombineExtBoolTrunc()
11845 if ((!isa<ConstantSDNode>(PromOp.getOperand(C)) && in DAGCombineExtBoolTrunc()
11846 PromOp.getOperand(C).getValueType() != N->getValueType(0)) || in DAGCombineExtBoolTrunc()
11847 (!isa<ConstantSDNode>(PromOp.getOperand(C+1)) && in DAGCombineExtBoolTrunc()
11848 PromOp.getOperand(C+1).getValueType() != N->getValueType(0))) { in DAGCombineExtBoolTrunc()
11853 PromOpHandles.emplace_front(PromOp); in DAGCombineExtBoolTrunc()
11859 if (PromOp.getOpcode() == ISD::SELECT || in DAGCombineExtBoolTrunc()
11860 PromOp.getOpcode() == ISD::SELECT_CC) { in DAGCombineExtBoolTrunc()
11861 if ((SelectTruncOp[0].count(PromOp.getNode()) && in DAGCombineExtBoolTrunc()
11862 PromOp.getOperand(0).getValueType() != N->getValueType(0)) || in DAGCombineExtBoolTrunc()
11863 (SelectTruncOp[1].count(PromOp.getNode()) && in DAGCombineExtBoolTrunc()
11864 PromOp.getOperand(1).getValueType() != N->getValueType(0))) { in DAGCombineExtBoolTrunc()
11865 PromOpHandles.emplace_front(PromOp); in DAGCombineExtBoolTrunc()
11870 SmallVector<SDValue, 3> Ops(PromOp.getNode()->op_begin(), in DAGCombineExtBoolTrunc()
11871 PromOp.getNode()->op_end()); in DAGCombineExtBoolTrunc()
11890 if (PromOp.getOpcode() == ISD::SELECT || in DAGCombineExtBoolTrunc()
11891 PromOp.getOpcode() == ISD::SELECT_CC) { in DAGCombineExtBoolTrunc()
11892 auto SI0 = SelectTruncOp[0].find(PromOp.getNode()); in DAGCombineExtBoolTrunc()
11895 auto SI1 = SelectTruncOp[1].find(PromOp.getNode()); in DAGCombineExtBoolTrunc()
11900 DAG.ReplaceAllUsesOfValueWith(PromOp, in DAGCombineExtBoolTrunc()
11901 DAG.getNode(PromOp.getOpcode(), dl, N->getValueType(0), Ops)); in DAGCombineExtBoolTrunc()