Searched refs:isOne (Results 26 - 50 of 105) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DLowerExpectIntrinsic.cpp109 bool Likely = ExpectedValue->isOne();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECFieldElement.java32 public boolean isOne() method in class:ECFieldElement
235 if (this.isZero() || this.isOne()) // earlier JDK compatibility
620 public boolean isOne() method in class:ECFieldElement.F2m
622 return x.isOne();
796 return (x.isZero() || x.isOne()) ? this : squarePow(m - 1);
H A DECCurve.java870 return this.order != null && this.cofactor != null && this.b.isOne() && (this.a.isZero() || this.a.isOne());
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DPredicatesTest.java427 Predicate<Integer> isOne = Predicates.equalTo(1);
429 assertTrue(isOne.apply(1));
430 assertFalse(isOne.apply(2));
431 assertFalse(isOne.apply(null));
/external/guava/guava-tests/test/com/google/common/base/
H A DPredicatesTest.java507 Predicate<Integer> isOne = Predicates.equalTo(1);
509 assertTrue(isOne.apply(1));
510 assertFalse(isOne.apply(2));
511 assertFalse(isOne.apply(null));
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp79 if (!CI->isOne()) std::swap(ReplaceWith, Other);
H A DIndVarSimplify.cpp1473 if (!Step || !Step->isOne())
1567 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
1602 cast<PointerType>(IVStart->getType())->getElementType())->isOne()
H A DJumpThreading.cpp430 cast<ConstantInt>(I->getOperand(1))->isOne()) {
558 KnownCond = CI->isOne();
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp63 bool isOne() const { return isInt() && IntVal == 1; } function in class:__anon13426::FAddendCoef
282 if (That.isOne())
405 if (!BreakNum || Coeff.isOne())
557 return CE.isOne() ? Opnd0.getSymVal() : nullptr;
804 if (!CE.isMinusOne() && !CE.isOne())
830 if (Coeff.isMinusOne() || Coeff.isOne()) {
H A DInstCombineSelect.cpp223 return C1I->isOne() || C1I->isAllOnesValue() ||
224 C2I->isOne() || C2I->isAllOnesValue();
/external/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp279 return C.Index->isOne() || C.Index->isMinusOne();
287 return ((C.Index->isOne() || C.Index->isMinusOne()) &&
H A DInductiveRangeCheckElimination.cpp727 if (StepCI->isOne() || StepCI->isMinusOne()) {
728 IsIncreasing = StepCI->isOne();
1323 if (!(ConstD->isMinusOne() || ConstD->isOne()))
H A DCorrelatedValuePropagation.cpp83 if (!CI->isOne()) std::swap(ReplaceWith, Other);
H A DLoopIdiomRecognize.cpp1047 !((SubInst->getOpcode() == Instruction::Sub && Dec->isOne()) ||
1074 if (!Inc || !Inc->isOne())
/external/libjpeg-turbo/java/
H A DTJExample.java277 scaleFactor.isOne()) {
H A DTJUnitTest.java741 if(!sf.isOne())
758 if(!sf.isOne())
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DBranchProbabilityInfo.cpp360 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) {
H A DLazyValueInfo.cpp215 if (Res->isOne())
241 if (Res->isOne())
/external/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp680 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne()))
703 // special handling for "isOne" and "isMinusOne".
713 getConstIntStepValue()->isOne())
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp199 return C1I->isOne() || C1I->isAllOnesValue() ||
200 C2I->isOne() || C2I->isAllOnesValue();
/external/llvm/lib/IR/
H A DConstantFold.cpp639 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); local
640 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) {
652 if (CI->isOne() &&
2010 if (!cast<ConstantInt>(Idxs[0])->isOne())
/external/clang/lib/CodeGen/
H A DCGCleanup.h329 assert(Var.getAlignment().isOne());
/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp448 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) {
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DScalarEvolution.h112 /// isOne - Return true if the expression is a constant one.
114 bool isOne() const;
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstantFold.cpp615 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); local
616 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) {
628 if (CI->isOne() &&
1039 if (CI2->isOne())
2161 if (!cast<ConstantInt>(Idxs[0])->isOne())

Completed in 1015 milliseconds

12345