reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/CodeGen/SelectionDAGNodes.h
 1671 bool isOneConstant(SDValue V);

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2018       !isOneConstant(SetCC.getOperand(0).getOperand(1)))
 2368     if (V.getOpcode() == ISD::AND && isOneConstant(V.getOperand(1))) {
 2756              isOneConstant(Carry0.getOperand(1))) {
 3968   if (isOneConstant(N1))
 4015   if (isOneConstant(N1))
 4147   if (isOneConstant(N->getOperand(1))) {
 4998   if (!isBitwiseNot(Not) || !Not.hasOneUse() || !isOneConstant(And1))
 6923   if (isOneConstant(N1) && N0Opcode == ISD::ZERO_EXTEND && N0.hasOneUse() &&
 6934   if (isOneConstant(N1) && VT == MVT::i1 && N0.hasOneUse() &&
 7036       isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) {
 8337   if (VT == VT0 && VT == MVT::i1 && (N0 == N1 || isOneConstant(N1)))
 8350   if (VT == VT0 && VT == MVT::i1 && isOneConstant(N2)) {
13403       if (isOneConstant(Op0) && Op0.hasOneUse() &&
19928     if (!(isNullConstant(N1) || (isOneConstant(N1) && N0 == N2)))
lib/Target/AArch64/AArch64ISelLowering.cpp
 2244   if (isOneConstant(Other) && isOverflowIntrOpRes(Sel)) {
 4707   if (isOverflowIntrOpRes(LHS) && isOneConstant(RHS) &&
lib/Target/ARM/ARMISelLowering.cpp
 5234   if (LHS.getResNo() == 1 && (isOneConstant(RHS) || isNullConstant(RHS)) &&
 5247     if ((CC == ISD::SETNE) != isOneConstant(RHS)) {
 6131   if (!isOneConstant(N->getOperand(1)) || N->getOpcode() == ISD::SHL)
11475         isNullConstant(LHS->getOperand(1)) && isOneConstant(RHS)) {
14311     if (CC == ARMCC::EQ && isOneConstant(TrueVal)) {
lib/Target/Sparc/SparcISelLowering.cpp
 1890       isOneConstant(LHS.getOperand(0)) &&
lib/Target/X86/X86ISelDAGToDAG.cpp
  372             (isOneConstant(SDValue(N, 0)) || isAllOnesConstant(SDValue(N, 0))))
  665             isOneConstant(U->getOperand(0).getOperand(0)))
  669             isOneConstant(U->getOperand(1).getOperand(0)))
 3023       bool IsOne = isOneConstant(StoredVal.getOperand(1));
 3237     if (!isOneConstant(M0->getOperand(0)))
lib/Target/X86/X86ISelLowering.cpp
20378     if (isOneConstant(Op0.getOperand(0))) {
21028   if ((isOneConstant(Op1) || isNullConstant(Op1)) &&
21131     Cond = isOneConstant(RHS) ? X86::COND_E : X86::COND_B;
21365                isOneConstant(Cmp.getOperand(0).getOperand(1))) {
21406       isOneConstant(Cond.getOperand(1)))
21959   if (isOneConstant(Op.getOperand(1)))
22004       isOneConstant(Cond.getOperand(1)))
36995         isOneConstant(AndNode.getOperand(1))) {
37395       if (isOneConstant(SetCC.getOperand(0)))
37397       if (isOneConstant(SetCC.getOperand(1)))
37522               isOneConstant(Carry.getOperand(1))))
37552             isOneConstant(CarryOp1.getOperand(1)))
39060   if (!isOneConstant(N1))
39785   if (!isOneConstant(N1))
42590       if (!isOneConstant(N0.getOperand(1)))