/external/llvm/include/llvm/IR/ |
D | Constant.h | 60 bool isAllOnesValue() const;
|
D | PatternMatch.h | 248 bool isValue(const APInt &C) { return C.isAllOnesValue(); } in isValue() 850 cast<Constant>(RHS)->isAllOnesValue() && L.match(LHS); in matchIfNot()
|
D | Constants.h | 178 return Val.isAllOnesValue(); in isMinusOne()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 202 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01() 203 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01() 509 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp() 521 if (C2->isAllOnesValue()) in visitSelectInstWithICmp() 878 if (FalseValC->isZero() && TrueValC->isAllOnesValue()) in visitSelectInst() 888 if (TrueValC->isZero() && FalseValC->isAllOnesValue()) { in visitSelectInst()
|
D | InstCombineCompares.cpp | 128 return RHS->isAllOnesValue(); in isSignBitCheck() 131 return RHS->isAllOnesValue(); in isSignBitCheck() 160 } else if (RHS->isAllOnesValue()) { in isSignTest() 878 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst() 1129 if (AP2.isAllOnesValue()) in FoldICmpCstShrCst() 1155 if (AP1.isAllOnesValue() && !AP2.isPowerOf2()) in FoldICmpCstShrCst() 1252 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst() 1630 if (RHSV.isAllOnesValue()) { in visitICmpInstWithInstAndIntCst() 2865 if (I.getPredicate() == ICmpInst::ICMP_SGT && CI->isAllOnesValue() && in visitICmpInst()
|
D | InstCombineAndOrXor.cpp | 560 if (!C->isAllOnesValue()) in decomposeBitTestICmp() 1044 if (LHSCst->getValue() == 0 && RHSCst->getValue().isAllOnesValue()) in FoldAndOfICmps() 2189 if (!Xor.isAllOnesValue()) return nullptr; in FoldOrWithConstants() 2220 if (!Xor.isAllOnesValue()) in FoldXorWithConstants() 2680 if (RHS->isAllOnesValue() && Op0->hasOneUse()) in visitXor() 2706 if (Op0I->getOpcode() == Instruction::Sub && RHS->isAllOnesValue()) in visitXor() 2717 if (RHS->isAllOnesValue()) { in visitXor()
|
D | InstCombineSimplifyDemanded.cpp | 678 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits() 900 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
|
D | InstCombineAddSub.cpp | 1114 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue()) in visitAdd() 1585 if ((IntVal | KnownZero).isAllOnesValue()) { in visitSub()
|
D | InstCombineCasts.cpp | 594 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp() 979 (Pred == ICmpInst::ICMP_SGT && Op1C->isAllOnesValue())) { in transformSExtICmp()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 386 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference() 519 return KnownZero.isAllOnesValue(); in isZero() 540 if (KnownZero.isAllOnesValue()) in isZero()
|
D | ConstantFolding.cpp | 57 if (C->isAllOnesValue() && !DestTy->isX86_MMXTy() && in FoldBitCast() 638 if ((KnownOne1 | KnownZero0).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 642 if ((KnownOne0 | KnownZero1).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 649 if ((KnownZero | KnownOne).isAllOnesValue()) { in SymbolicallyEvaluateBinop()
|
D | ValueTracking.cpp | 154 return (LHSKnownZero | RHSKnownZero).isAllOnesValue(); in haveNoCommonBitsSet() 571 if (KnownOneTemp.isAllOnesValue() || KnownZeroTemp.isNegative()) { in computeKnownBitsFromTrueCondition() 924 if (RHSKnownOne.isAllOnesValue() || RHSKnownZero.isNegative()) { in computeKnownBitsFromAssume() 944 if (RHSKnownZero.isAllOnesValue() || RHSKnownOne.isNegative()) { in computeKnownBitsFromAssume() 2268 if (CRHS->isAllOnesValue()) { in ComputeNumSignBits() 2275 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue()) in ComputeNumSignBits() 2300 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue()) in ComputeNumSignBits()
|
D | BranchProbabilityInfo.cpp | 439 } else if (CV->isAllOnesValue()) { in calcZeroHeuristics()
|
D | ScalarEvolution.cpp | 280 bool SCEV::isAllOnesValue() const { in isAllOnesValue() function in SCEV 282 return SC->getValue()->isAllOnesValue(); in isAllOnesValue() 2446 } else if (Ops[0]->isAllOnesValue()) { in getMulExpr() 4583 if (CI->isAllOnesValue()) in createSCEV() 4648 if (CI->isAllOnesValue()) in createSCEV() 6635 if (StepC->getValue()->equalsInt(1) || StepC->getValue()->isAllOnesValue()) { in HowFarToZero() 6849 ME->getOperand(0)->isAllOnesValue()) { in SimplifyICmpOperands() 7931 !Add->getOperand(0)->isAllOnesValue()) in MatchNotExpr() 7936 !AddRHS->getOperand(0)->isAllOnesValue()) in MatchNotExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 256 else if (RHS.isAllOnesValue()) in MakeSymIntVal() 263 else if (RHS.isAllOnesValue()) { in MakeSymIntVal() 413 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 48 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 244 if (RHSC->isAllOnesValue()) in ExtractConstantBytes() 730 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction() 1034 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1072 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1124 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction() 1132 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
|
D | Constants.cpp | 106 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 113 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue() 118 return Splat->isAllOnesValue(); in isAllOnesValue() 123 return Splat->isAllOnesValue(); in isAllOnesValue()
|
D | ConstantRange.cpp | 753 if (umin.isAllOnesValue()) in binaryAnd()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 338 bool isAllOnesValue() const { in isAllOnesValue() function 348 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 297 return C->isAllOnesValue(); in isHWTrueValue()
|
D | SIISelLowering.cpp | 406 && True->isAllOnesValue() in PerformDAGCombine()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1240 if (!ConstOpnd.isAllOnesValue()) { in createAndInstr() 1323 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 1340 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 2205 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) { in ReassociateExpression()
|
D | LoopIdiomRecognize.cpp | 817 Dec->isAllOnesValue()))) { in detectPopcountIdiom()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 127 bool isAllOnesValue() const;
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1438 bool isAllOnesValue() const { return Value->isAllOnesValue(); }
|