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

Declarations

include/llvm/CodeGen/SelectionDAGNodes.h
 1668 bool isAllOnesConstant(SDValue V);

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 3220   if (isAllOnesConstant(N0))
 4486       ((isNullConstant(LR) && isAllOnesConstant(RR)) ||
 4487        (isAllOnesConstant(LR) && isNullConstant(RR)))) {
 4956     if (!isAllOnesConstant(M->getOperand(0)))
 5075   if (isAllOnesConstant(N1))
 5777   if (isAllOnesConstant(N1))
 6946   if (isAllOnesConstant(N1) && N0.hasOneUse() &&
 6961   if (isAllOnesConstant(N1) && N0.getOpcode() == ISD::SUB &&
 7036       isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) {
 8469         CC == ISD::SETUGT && N0.hasOneUse() && isAllOnesConstant(N1) &&
 9397   if (CC == ISD::SETGT && isAllOnesConstant(Ones) && VT == XVT) {
19923     if (!(isAllOnesConstant(N1) || (isNullConstant(N1) && N0 == N2)))
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 5033       turnVectorIntoSplatVector(KAmts, isAllOnesConstant,
 5236       turnVectorIntoSplatVector(AAmts, isAllOnesConstant,
 5240       turnVectorIntoSplatVector(KAmts, isAllOnesConstant,
lib/Target/AArch64/AArch64ISelLowering.cpp
 5062       if (isAllOnesConstant(TVal.getOperand(1))) {
lib/Target/AMDGPU/R600ISelLowering.cpp
  930   return isAllOnesConstant(Op);
lib/Target/ARM/ARMISelLowering.cpp
 4912     } else if (isAllOnesConstant(LowerSatConstant))
10819   return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
lib/Target/Lanai/LanaiISelLowering.cpp
 1326   return AllOnes ? isAllOnesConstant(N) : isNullConstant(N);
lib/Target/PowerPC/PPCISelLowering.cpp
 2141       LeadingOnes &= isAllOnesConstant(UniquedVals[i]);
lib/Target/X86/X86ISelDAGToDAG.cpp
  372             (isOneConstant(SDValue(N, 0)) || isAllOnesConstant(SDValue(N, 0))))
 3024       bool IsNegOne = isAllOnesConstant(StoredVal.getOperand(1));
 3231     if (!isAllOnesConstant(Mask->getOperand(1)))
 3300     if (!isAllOnesConstant(Mask.getOperand(0)))
lib/Target/X86/X86ISelLowering.cpp
17565   bool IsAllOnesElt = VT.isInteger() && llvm::isAllOnesConstant(N1);
20965   } else if (isAllOnesConstant(Op1)) {
21331     if ((isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) &&
21331     if ((isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) &&
21333       SDValue Y = isAllOnesConstant(Op2) ? Op1 : Op2;
21340           (isAllOnesConstant(Op1) == (CondCode == X86::COND_NE))) {
21357       if (isAllOnesConstant(Op1) != (CondCode == X86::COND_E))
21470         (isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) &&
21470         (isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) &&
21475       if (isAllOnesConstant(Op1) != (CondCode == X86::COND_B))
22589   if (isAllOnesConstant(Mask))
22633   if (isAllOnesConstant(Mask))
23312       if (isAllOnesConstant(Mask))
23327       if (isAllOnesConstant(Mask))
24149       if (isAllOnesConstant(Mask)) // return just a truncate store
24162       if (isAllOnesConstant(Mask))
37515     if (isAllOnesConstant(EFLAGS.getOperand(1))) {
42468       isAllOnesConstant(N0.getOperand(1)) && N0.hasOneUse()) {