Home
last modified time | relevance | path

Searched refs:isOne (Results 1 – 25 of 57) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DnumberVsBigIntOperations.js92 const isOne = (x: 1 | 1n) => x; function
93 if (zeroOrBigOne) isOne(zeroOrBigOne);
95 if (bigZeroOrOne) isOne(bigZeroOrOne);
269 const isOne = (x) => x;
271 isOne(zeroOrBigOne);
274 isOne(bigZeroOrOne);
DnumberVsBigIntOperations.symbols333 const isOne = (x: 1 | 1n) => x;
334 >isOne : Symbol(isOne, Decl(numberVsBigIntOperations.ts, 90, 5))
338 if (zeroOrBigOne) isOne(zeroOrBigOne);
340 >isOne : Symbol(isOne, Decl(numberVsBigIntOperations.ts, 90, 5))
346 if (bigZeroOrOne) isOne(bigZeroOrOne);
348 >isOne : Symbol(isOne, Decl(numberVsBigIntOperations.ts, 90, 5))
DnumberVsBigIntOperations.types709 const isOne = (x: 1 | 1n) => x;
710 >isOne : (x: 1 | 1n) => 1n | 1
715 if (zeroOrBigOne) isOne(zeroOrBigOne);
717 >isOne(zeroOrBigOne) : 1n | 1
718 >isOne : (x: 1n | 1) => 1n | 1
724 if (bigZeroOrOne) isOne(bigZeroOrOne);
726 >isOne(bigZeroOrOne) : 1n | 1
727 >isOne : (x: 1n | 1) => 1n | 1
DnumberVsBigIntOperations.errors.txt284 const isOne = (x: 1 | 1n) => x;
285 if (zeroOrBigOne) isOne(zeroOrBigOne);
289 if (bigZeroOrOne) isOne(bigZeroOrOne);
/third_party/typescript/tests/cases/compiler/
DnumberVsBigIntOperations.ts93 const isOne = (x: 1 | 1n) => x; constant
94 if (zeroOrBigOne) isOne(zeroOrBigOne);
96 if (bigZeroOrOne) isOne(bigZeroOrOne);
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJScalingFactor.java102 public boolean isOne() { in isOne() method in TJScalingFactor
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJScalingFactor.java102 public boolean isOne() { in isOne() method in TJScalingFactor
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp652 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); in ConstantFoldCastInstruction() local
653 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) { in ConstantFoldCastInstruction()
665 if (CI->isOne() && in ConstantFoldCastInstruction()
1135 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1140 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1147 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1223 assert(CI2->isOne()); in ConstantFoldBinaryInstruction()
2157 if (!CI->isOne()) in isInBoundsIndices()
2162 if (!CI || !CI->isOne()) in isInBoundsIndices()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp501 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep()
663 RC.IV->getStepRecurrence(*SE)->isOne() && in normalizePredicate()
727 if (Step->isOne()) in widenICmpRangeCheck()
891 if (Step->isOne()) { in parseLoopLatchICmp()
DStraightLineStrengthReduce.cpp315 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm()
323 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
DLoopIdiomRecognize.cpp1267 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()
1290 if (!Inc || !Inc->isOne()) in detectPopcountIdiom()
1385 if (!Shft || !Shft->isOne()) in detectShiftUntilZeroIdiom()
1415 if (!Inc || !Inc->isOne()) in detectShiftUntilZeroIdiom()
DJumpThreading.cpp255 BP = (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata()
732 cast<ConstantInt>(I->getOperand(1))->isOne()) { in ComputeValueKnownInPredecessorsImpl()
927 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessorsImpl()
DIndVarSimplify.cpp2233 if (!Step || !Step->isOne()) in isLoopCounter()
2364 ->getElementType())->isOne() && in genLoopLimit()
2382 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); in genLoopLimit()
DCorrelatedValuePropagation.cpp138 if (!CI->isOne()) std::swap(ReplaceWith, Other); in processSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp76 bool isOne() const { return isInt() && IntVal == 1; } in isOne() function in __anon9c7a6f500111::FAddendCoef
294 if (That.isOne()) in operator *=()
415 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep()
483 return CE.isOne() ? Opnd0.getSymVal() : nullptr; in simplify()
724 if (!CE.isMinusOne() && !CE.isOne()) in calcInstrNumber()
750 if (Coeff.isMinusOne() || Coeff.isOne()) { in createAddendVal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp165 if (CI->isOne()) in getCanonicalInductionVariable()
415 if (!Step || !Step->isOne()) in isCanonical()
DScalarEvolution.cpp396 bool SCEV::isOne() const { in isOne() function in SCEV
398 return SC->getValue()->isOne(); in isOne()
502 if (CI->isOne()) { in isSizeOf()
524 if (CI->isOne() && in isAlignOf()
914 if (Denominator->isOne()) { in divide()
2969 if (cast<SCEVConstant>(Ops[0])->getValue()->isOne()) { in getMulExpr()
3174 if (RHSC->getValue()->isOne()) in getURemExpr()
3201 if (RHSC->getValue()->isOne()) in getUDivExpr()
4362 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown()
5346 return getSCEV(CI->isOne() ? TrueVal : FalseVal); in createNodeForSelectOrPHI()
[all …]
DLint.cpp432 !cast<ConstantInt>(UnderlyingObject)->isOne(), in visitMemoryReference()
DBranchProbabilityInfo.cpp763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/
DTJExample.java314 scalingFactor.isOne() && outSubsamp < 0 && outQual < 0) { in main()
DTJUnitTest.java733 if (!sf.isOne()) in decompTest()
750 if (!sf.isOne()) in decompTest()
/third_party/libjpeg-turbo/java/
DTJExample.java314 scalingFactor.isOne() && outSubsamp < 0 && outQual < 0) { in main()
DTJUnitTest.java733 if (!sf.isOne()) in decompTest()
750 if (!sf.isOne()) in decompTest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DScaledNumber.h544 bool isOne() const { in isOne() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp517 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() && in addInductionPhi()

123