Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp2043 if ((isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
2045 SDValue Y = isAllOnesConstant(Op2) ? Op1 : Op2; in LowerSELECT()
2052 (isAllOnesConstant(Op1) == (CondCode == M68k::COND_NE))) { in LowerSELECT()
2073 if (isAllOnesConstant(Op1) != (CondCode == M68k::COND_EQ)) in LowerSELECT()
2184 (isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
2189 if (isAllOnesConstant(Op1) != (CondCode == M68k::COND_CS)) in LowerSELECT()
3253 if (isAllOnesConstant(CCR.getOperand(1))) { in combineCarryThroughADD()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1326 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3636 if (isAllOnesConstant(N0)) in visitSUBC()
5020 ((isNullConstant(LR) && isAllOnesConstant(RR)) || in foldLogicOfSetCCs()
5021 (isAllOnesConstant(LR) && isNullConstant(RR)))) { in foldLogicOfSetCCs()
5502 if (!isAllOnesConstant(M->getOperand(0))) in unfoldExtremeBitClearingToShifts()
5647 if (isAllOnesConstant(N1)) in visitAND()
6453 if (isAllOnesConstant(N1)) in visitOR()
7819 if (isAllOnesConstant(N1) && N0.hasOneUse() && in visitXOR()
7834 if (isAllOnesConstant(N1) && N0.getOpcode() == ISD::SUB && in visitXOR()
7841 if (isAllOnesConstant(N1) && N0.getOpcode() == ISD::ADD && in visitXOR()
7914 isAllOnesConstant(N1) && isOneConstant(N0.getOperand(0))) { in visitXOR()
[all …]
H A DTargetLowering.cpp5590 turnVectorIntoSplatVector(KAmts, isAllOnesConstant, in prepareUREMEqFold()
5839 turnVectorIntoSplatVector(AAmts, isAllOnesConstant, in prepareSREMEqFold()
5843 turnVectorIntoSplatVector(KAmts, isAllOnesConstant, in prepareSREMEqFold()
H A DSelectionDAG.cpp9452 bool llvm::isAllOnesConstant(SDValue V) { in isAllOnesConstant() function in llvm
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3211 bool IsNegOne = isAllOnesConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3418 if (!isAllOnesConstant(Mask->getOperand(1))) in matchBitExtract()
3487 if (!isAllOnesConstant(Mask.getOperand(0))) in matchBitExtract()
H A DX86ISelLowering.cpp18936 bool IsAllOnesElt = VT.isInteger() && llvm::isAllOnesConstant(N1); in LowerINSERT_VECTOR_ELT()
23341 } else if (isAllOnesConstant(Op1)) { in EmitAVX512Test()
23423 if (isAllOnesConstant(Op1) && Op0.getOpcode() == ISD::ADD && in emitFlagsForSetcc()
23720 Op1.getOperand(0) == CmpOp0 && isAllOnesConstant(Op2)); in LowerSELECT()
23726 } else if ((isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
23728 SDValue Y = isAllOnesConstant(Op2) ? Op1 : Op2; in LowerSELECT()
23737 (isAllOnesConstant(Op1) == (CondCode == X86::COND_NE))) { in LowerSELECT()
23751 if (isAllOnesConstant(Op1) != (CondCode == X86::COND_E)) in LowerSELECT()
23859 (isAllOnesConstant(Op1) || isAllOnesConstant(Op2)) && in LowerSELECT()
23864 if (isAllOnesConstant(Op1) != (CondCode == X86::COND_B)) in LowerSELECT()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1629 bool isAllOnesConstant(SDValue V);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp842 return isAllOnesConstant(Op); in isHWTrueValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp990 if (CC == ISD::SETGT && isAllOnesConstant(RHS)) { in translateSetCCForBranch()
5438 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in combineSelectCCAndUse()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5178 } else if (isAllOnesConstant(LowerSatConstant)) in LowerSELECT_CC()
11762 return AllOnes ? isAllOnesConstant(N) : isNullConstant(N); in isZeroOrAllOnes()
13147 if (isAllOnesConstant(Mask->getOperand(0)) && in PerformMVEVMULLCombine()
13149 isAllOnesConstant(Mask->getOperand(2)) && in PerformMVEVMULLCombine()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp2440 LeadingOnes &= isAllOnesConstant(UniquedVals[i]); in get_VSPLTI_elt()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7023 if (isAllOnesConstant(TVal.getOperand(1))) { in LowerSELECT_CC()