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

References

include/llvm/CodeGen/TargetLowering.h
  599       if (OldShiftOpcode == ISD::SHL && CC->isOne())
  603       if (XC && NewShiftOpcode == ISD::SHL && XC->isOne())
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2570       IsFlip = Const->isOne();
 3617   if ((N1C && N1C->isOne()) || (VT.getScalarType() == MVT::i1))
 5266   if (N1C && N1C->isOne() && N0.getOpcode() == ISD::SUB) {
 8236     if (C1->isNullValue() && C2->isOne()) {
 8250     if (C1->isOne() && C2->isNullValue()) {
 8312       C1->isNullValue() && C2->isOne()) {
20109     if (NotExtCompare && N2C->isOne())
20128     if (N2C->isOne())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8687   return Const != nullptr && Const->isOne();
 8806   return C && C->isOne() && C->getValueSizeInBits(0) == BitWidth;
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1969     if (C && !C->isAllOnesValue() && !C->isOne() &&
 2762     return N->isOne();
 2769     return (N->isOne() && !SExt) || (SExt && (N->getValueType(0) != MVT::i1));
 3378     } else if ((N1C->isNullValue() || N1C->isOne()) &&
 3386         bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne());
 3403           cast<ConstantSDNode>(N0.getOperand(1))->isOne()) {
 3426       } else if (N1C->isOne() &&
 3444             cast<ConstantSDNode>(Op0.getOperand(1))->isOne()) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 2085     if (!Cmp && (RHSC->isNullValue() || RHSC->isOne())) {
 5055     } else if (CTVal && CFVal && CTVal->isOne() && CFVal->isNullValue()) {
 5132     if (Opcode == AArch64ISD::CSEL && RHSVal && !RHSVal->isOne() &&
 5141     } else if (Opcode == AArch64ISD::CSNEG && RHSVal && RHSVal->isOne()) {
10223   if (!TValue->isOne()) {
10229   return TValue->isOne() && FValue->isNullValue();
lib/Target/ARM/ARMISelLowering.cpp
14047     if (!cast<ConstantSDNode>(N.getOperand(1))->isOne())
14058     else if (Const->isOne())
14108       if (!Const->isOne() && !Const->isNullValue())