/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 199 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01() 200 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01() 456 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp() 468 if (C2->isAllOnesValue()) in visitSelectInstWithICmp() 692 if (FalseValC->isZero() && TrueValC->isAllOnesValue()) in visitSelectInst() 702 if (TrueValC->isZero() && FalseValC->isAllOnesValue()) { in visitSelectInst()
|
D | InstCombineAndOrXor.cpp | 767 if (LHSCC == ICmpInst::ICMP_SGT && LHSCst->isAllOnesValue()) { in FoldAndOfICmps() 1501 if (LHSCC == ICmpInst::ICMP_SGT && LHSCst->isAllOnesValue()) { in FoldOrOfICmps() 1743 if (!Xor.isAllOnesValue()) return 0; in FoldOrWithConstants() 2147 if (Op0I->getOpcode() == Instruction::Sub && RHS->isAllOnesValue()) in visitXor() 2158 if (RHS->isAllOnesValue()) { in visitXor()
|
D | InstCombineSimplifyDemanded.cpp | 686 if (Rem->isAllOnesValue()) in SimplifyDemandedUseBits() 852 if (DemandedElts.isAllOnesValue()) in SimplifyDemandedVectorElts()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constant.h | 57 bool isAllOnesValue() const;
|
D | Constants.h | 174 return Val.isAllOnesValue(); in isMinusOne() 483 bool isAllOnesValue() const;
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 59 bool isAllOnesValue() const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 61 bool isAllOnesValue() const;
|
/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 | 59 if (C->isAllOnesValue() && !DestTy->isX86_MMXTy() && in FoldBitCast() 652 if ((KnownOne1 | KnownZero0).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 656 if ((KnownOne0 | KnownZero1).isAllOnesValue()) { in SymbolicallyEvaluateBinop() 663 if ((KnownZero | KnownOne).isAllOnesValue()) { in SymbolicallyEvaluateBinop()
|
/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/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 223 return C1I->isOne() || C1I->isAllOnesValue() || in isSelect01() 224 C2I->isOne() || C2I->isAllOnesValue(); in isSelect01() 520 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { in visitSelectInstWithICmp() 532 if (C2->isAllOnesValue()) in visitSelectInstWithICmp()
|
D | InstCombineAndOrXor.cpp | 548 if (!C->isAllOnesValue()) in decomposeBitTestICmp() 1017 if (LHSCst->getValue() == 0 && RHSCst->getValue().isAllOnesValue()) in FoldAndOfICmps() 2080 if (!Xor.isAllOnesValue()) return nullptr; in FoldOrWithConstants() 2111 if (!Xor.isAllOnesValue()) in FoldXorWithConstants() 2539 if (RHS->isAllOnesValue() && Op0->hasOneUse()) in visitXor() 2565 if (Op0I->getOpcode() == Instruction::Sub && RHS->isAllOnesValue()) in visitXor() 2576 if (RHS->isAllOnesValue()) { in visitXor()
|
D | InstCombineCompares.cpp | 137 return RHS->isAllOnesValue(); in isSignBitCheck() 140 return RHS->isAllOnesValue(); in isSignBitCheck() 169 } else if (RHS->isAllOnesValue()) { in isSignTest() 1204 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst() 1455 if (AP2.isAllOnesValue()) in FoldICmpCstShrCst() 1481 if (AP1.isAllOnesValue() && !AP2.isPowerOf2()) in FoldICmpCstShrCst() 1577 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst() 1955 if (RHSV.isAllOnesValue()) { in visitICmpInstWithInstAndIntCst() 2280 if (BO->hasOneUse() && RHS->isAllOnesValue()) { in visitICmpInstWithInstAndIntCst() 3291 if (I.getPredicate() == ICmpInst::ICMP_SGT && CI->isAllOnesValue() && in visitICmpInst()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 46 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 245 if (RHSC->isAllOnesValue()) in ExtractConstantBytes() 729 if (Cond->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction() 1048 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1086 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1137 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction() 1145 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
|
D | AutoUpgrade.cpp | 515 if (C->isAllOnesValue()) in EmitX86Select() 572 if (C->isAllOnesValue()) in UpgradeMaskedStore() 592 if (C->isAllOnesValue()) in UpgradeMaskedLoad() 617 if (!C || !C->isAllOnesValue()) in upgradeMaskedCompare()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 186 bool isValue(const APInt &C) { return C.isAllOnesValue(); } in isValue() 599 return CI->isAllOnesValue() && L.match(LHS); in matchIfNot() 601 return CV->isAllOnesValue() && L.match(LHS); in matchIfNot()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 914 if (CstVal->isAllOnesValue()) // X & -1 -> X in OptimizeExpression() 927 if (CstVal->isAllOnesValue()) // X | -1 -> -1 in OptimizeExpression() 1072 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) { in ReassociateExpression()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 47 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy); in BitCastConstantVector() 227 if (RHSC->isAllOnesValue()) in ExtractConstantBytes() 701 if (CondV->isAllOnesValue()) return V1; in ConstantFoldSelectInstruction() 1101 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1139 if (CI2->isAllOnesValue()) in ConstantFoldBinaryInstruction() 1192 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction() 1200 if (C2V.isAllOnesValue() && C1V.isMinSignedValue()) in ConstantFoldBinaryInstruction()
|
D | Constants.cpp | 65 bool Constant::isAllOnesValue() const { in isAllOnesValue() function in Constant 72 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue() 76 return CV->isAllOnesValue(); in isAllOnesValue() 1078 bool ConstantVector::isAllOnesValue() const { in isAllOnesValue() function in ConstantVector 1090 return (CI && CI->isAllOnesValue()) || in isAllOnesValue() 1091 (CF && CF->isAllOnesValue()); in isAllOnesValue()
|
D | Instruction.cpp | 414 return Op && !Op->isNullValue() && !Op->isAllOnesValue(); in isSafeToSpeculativelyExecute()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | Lint.cpp | 379 !cast<ConstantInt>(UnderlyingObject)->isAllOnesValue(), in visitMemoryReference() 477 return KnownZero.isAllOnesValue(); in isZero()
|
D | BranchProbabilityInfo.cpp | 364 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 338 bool isAllOnesValue() const { in isAllOnesValue() function 348 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1139 if (!ConstOpnd.isAllOnesValue()) { in createAndInstr() 1223 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 1240 if (C3 != 0 && !C3.isAllOnesValue()) { in CombineXorOpnd() 2140 cast<ConstantInt>(Ops.back().Op)->isAllOnesValue()) { in ReassociateExpression()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 342 bool isAllOnesValue() const { in isAllOnesValue() function 352 bool isMaxValue() const { return isAllOnesValue(); } in isMaxValue()
|