/external/llvm/include/llvm/IR/ |
D | Constant.h | 58 bool isAllOnesValue() const;
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 205 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01() 206 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01() 531 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp() 543 if (C2->isAllOnesValue()) in visitSelectInstWithICmp() 783 if (FalseValC->isZero() && TrueValC->isAllOnesValue()) in visitSelectInst() 793 if (TrueValC->isZero() && FalseValC->isAllOnesValue()) { in visitSelectInst()
|
D | InstCombineSimplifyDemanded.cpp | 589 if ((I0 + 1).isPowerOf2() && (I0 | KnownZero).isAllOnesValue()) { in SimplifyDemandedUseBits() 719 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits() 936 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
|
D | InstCombineCompares.cpp | 125 return RHS->isAllOnesValue(); in isSignBitCheck() 128 return RHS->isAllOnesValue(); in isSignBitCheck() 157 } else if (RHS->isAllOnesValue()) { in isSignTest() 823 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst() 1082 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst() 1381 if (RHSV.isAllOnesValue()) { in visitICmpInstWithInstAndIntCst()
|
D | InstCombineAndOrXor.cpp | 511 if (C->isAllOnesValue()) { in decomposeBitTestICmp() 1770 if (!Xor.isAllOnesValue()) return 0; in FoldOrWithConstants() 2193 if (Op0I->getOpcode() == Instruction::Sub && RHS->isAllOnesValue()) in visitXor() 2204 if (RHS->isAllOnesValue()) { in visitXor()
|
D | InstCombineAddSub.cpp | 974 if ((XorRHS->getValue() | LHSKnownZero).isAllOnesValue()) in visitAdd() 1046 if ((LHSKnownZero|RHSKnownZero).isAllOnesValue()) in visitAdd()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 230 else if (RHS.isAllOnesValue()) in MakeSymIntVal() 237 else if (RHS.isAllOnesValue()) { in MakeSymIntVal() 387 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 230 if (RHSC->isAllOnesValue()) in ExtractConstantBytes() 699 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction() 967 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1005 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1057 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction() 1065 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
|
D | Constants.cpp | 88 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 95 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue() 100 return Splat->isAllOnesValue(); in isAllOnesValue() 105 return Splat->isAllOnesValue(); in isAllOnesValue()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 384 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference() 514 return KnownZero.isAllOnesValue(); in isZero()
|
D | ConstantFolding.cpp | 53 if (C->isAllOnesValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 559 if ((KnownOne1 | KnownZero0).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 563 if ((KnownOne0 | KnownZero1).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 570 if ((KnownZero | KnownOne).isAllOnesValue()) { in SymbolicallyEvaluateBinop()
|
D | BranchProbabilityInfo.cpp | 401 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
|
D | ValueTracking.cpp | 1197 if (CRHS->isAllOnesValue()) { in ComputeNumSignBits() 1203 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue()) in ComputeNumSignBits() 1227 if ((KnownZero | APInt(TyBits, 1)).isAllOnesValue()) in ComputeNumSignBits()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1130 if (!ConstOpnd.isAllOnesValue()) { in createAndInstr() 1213 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 1230 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 1948 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) { in ReassociateExpression()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 340 bool isAllOnesValue() const { in isAllOnesValue() function 350 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | AMDGPUISelLowering.cpp | 297 return C->isAllOnesValue(); in isHWTrueValue()
|
D | SIISelLowering.cpp | 406 && True->isAllOnesValue() in PerformDAGCombine()
|
/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/include/llvm/Analysis/ |
D | ScalarEvolution.h | 120 bool isAllOnesValue() const;
|
/external/llvm/include/llvm/Support/ |
D | PatternMatch.h | 261 bool isValue(const APInt &C) { return C.isAllOnesValue(); } in isValue() 732 cast<Constant>(RHS)->isAllOnesValue() && in matchIfNot()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 454 return C->isAllOnesValue(); in isHWTrueValue()
|
/external/llvm/lib/Support/ |
D | ConstantRange.cpp | 661 if (umin.isAllOnesValue()) in binaryAnd()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 1667 if (N0C && N0C->isAllOnesValue()) in visitSUB() 1754 if (N0C && N0C->isAllOnesValue()) in visitSUBC() 1830 if (N1IsConst && ConstValue1.isAllOnesValue()) in visitMUL() 1924 if (N1C && N1C->isAllOnesValue()) in visitSDIV() 2516 if (N1C && N1C->isAllOnesValue()) in visitAND() 2621 if (B && Constant.isAllOnesValue()) { in visitAND() 2664 if (cast<ConstantSDNode>(LR)->isAllOnesValue() && Op1 == ISD::SETEQ) { in visitAND() 2671 if (cast<ConstantSDNode>(LR)->isAllOnesValue() && Op1 == ISD::SETGT) { in visitAND() 3135 if (N1C && N1C->isAllOnesValue()) in visitOR() 3182 if (cast<ConstantSDNode>(LR)->isAllOnesValue() && in visitOR() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1233 bool isAllOnesValue() const { return Value->isAllOnesValue(); }
|