Searched refs:isAllOnesValue (Results 1 - 25 of 58) sorted by relevance

123

/external/llvm/include/llvm/IR/
H A DConstant.h56 /// isAllOnesValue - Return true if this is the value that would be returned by
58 bool isAllOnesValue() const;
H A DPatternMatch.h261 bool isValue(const APInt &C) { return C.isAllOnesValue(); }
822 cast<Constant>(RHS)->isAllOnesValue() &&
H A DConstants.h177 return Val.isAllOnesValue();
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp229 return C1I->isOne() || C1I->isAllOnesValue() ||
230 C2I->isOne() || C2I->isAllOnesValue();
582 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) {
594 if (C2->isAllOnesValue())
874 if (FalseValC->isZero() && TrueValC->isAllOnesValue())
884 if (TrueValC->isZero() && FalseValC->isAllOnesValue()) {
H A DInstCombineSimplifyDemanded.cpp590 if ((I0 + 1).isPowerOf2() && (I0 | KnownZero).isAllOnesValue()) {
720 if (Rem->isAllOnesValue())
941 if (DemandedElts.isAllOnesValue())
H A DInstCombineCompares.cpp118 return RHS->isAllOnesValue();
121 return RHS->isAllOnesValue();
150 } else if (RHS->isAllOnesValue()) {
822 if (DivIsSigned && DivRHS->isAllOnesValue())
1081 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) {
1397 if (RHSV.isAllOnesValue()) {
H A DInstCombineAndOrXor.cpp524 if (!C->isAllOnesValue())
945 if (LHSCst->getValue() == 0 && RHSCst->getValue().isAllOnesValue())
1899 if (!Xor.isAllOnesValue()) return nullptr;
2305 if (Op0I->getOpcode() == Instruction::Sub && RHS->isAllOnesValue())
2316 if (RHS->isAllOnesValue()) {
H A DInstCombineAddSub.cpp1084 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue())
1143 if ((LHSKnownZero|RHSKnownZero).isAllOnesValue())
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp256 else if (RHS.isAllOnesValue())
263 else if (RHS.isAllOnesValue()) {
413 if (LHSValue.isAllOnesValue() && LHSValue.isSigned())
/external/llvm/lib/Analysis/
H A DLint.cpp384 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(),
517 return KnownZero.isAllOnesValue();
538 if (KnownZero.isAllOnesValue())
H A DConstantFolding.cpp58 if (C->isAllOnesValue() && !DestTy->isX86_MMXTy())
631 if ((KnownOne1 | KnownZero0).isAllOnesValue()) {
635 if ((KnownOne0 | KnownZero1).isAllOnesValue()) {
642 if ((KnownZero | KnownOne).isAllOnesValue()) {
H A DBranchProbabilityInfo.cpp406 } else if (CV->isAllOnesValue()) {
H A DValueTracking.cpp1205 if (CRHS->isAllOnesValue()) {
1211 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue())
1235 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue())
/external/llvm/lib/IR/
H A DConstantFold.cpp46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
230 if (RHSC->isAllOnesValue())
704 if (Cond->isAllOnesValue()) return V1;
981 if (CI2->isAllOnesValue())
1019 if (CI2->isAllOnesValue())
1071 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
1079 if (C2V.isAllOnesValue() && C1V.isMinSignedValue())
H A DConstantRange.cpp663 if (umin.isAllOnesValue())
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp297 return C->isAllOnesValue();
H A DSIISelLowering.cpp406 && True->isAllOnesValue()
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1129 if (!ConstOpnd.isAllOnesValue()) {
1212 if (C3 != 0 && !C3.isAllOnesValue()) {
1229 if (C3 != 0 && !C3.isAllOnesValue()) {
1949 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) {
H A DSeparateConstOffsetFromGEP.cpp595 return (LHSKnownZero | RHSKnownZero).isAllOnesValue();
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp297 return C->isAllOnesValue();
H A DSIISelLowering.cpp406 && True->isAllOnesValue()
/external/llvm/include/llvm/ADT/
H A DAPInt.h338 bool isAllOnesValue() const { function in class:llvm::APInt
348 bool isMaxValue() const { return isAllOnesValue(); }
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h117 /// isAllOnesValue - Return true if the expression is a constant
120 bool isAllOnesValue() const;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1756 if (N0C && N0C->isAllOnesValue())
1843 if (N0C && N0C->isAllOnesValue())
1909 if (N1IsConst && ConstValue1.isAllOnesValue())
2003 if (N1C && N1C->isAllOnesValue())
2627 if (N1C && N1C->isAllOnesValue())
2732 if (B && Constant.isAllOnesValue()) {
2775 if (cast<ConstantSDNode>(LR)->isAllOnesValue() && Op1 == ISD::SETEQ) {
2782 if (cast<ConstantSDNode>(LR)->isAllOnesValue() && Op1 == ISD::SETGT) {
2793 cast<ConstantSDNode>(RR)->isAllOnesValue()) ||
2794 (cast<ConstantSDNode>(LR)->isAllOnesValue()
[all...]
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1355 bool isAllOnesValue() const { return Value->isAllOnesValue(); } function in class:ConstantSDNode

Completed in 3420 milliseconds

123