/third_party/typescript/tests/baselines/reference/ |
D | numberVsBigIntOperations.js | 92 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);
|
D | numberVsBigIntOperations.symbols | 333 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))
|
D | numberVsBigIntOperations.types | 709 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
|
D | numberVsBigIntOperations.errors.txt | 284 const isOne = (x: 1 | 1n) => x; 285 if (zeroOrBigOne) isOne(zeroOrBigOne); 289 if (bigZeroOrOne) isOne(bigZeroOrOne);
|
/third_party/typescript/tests/cases/compiler/ |
D | numberVsBigIntOperations.ts | 93 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/ |
D | TJScalingFactor.java | 102 public boolean isOne() { in isOne() method in TJScalingFactor
|
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJScalingFactor.java | 102 public boolean isOne() { in isOne() method in TJScalingFactor
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 652 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/ |
D | LoopPredication.cpp | 501 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()
|
D | StraightLineStrengthReduce.cpp | 315 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm() 323 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
|
D | LoopIdiomRecognize.cpp | 1267 !((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()
|
D | JumpThreading.cpp | 255 BP = (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata() 732 cast<ConstantInt>(I->getOperand(1))->isOne()) { in ComputeValueKnownInPredecessorsImpl() 927 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessorsImpl()
|
D | IndVarSimplify.cpp | 2233 if (!Step || !Step->isOne()) in isLoopCounter() 2364 ->getElementType())->isOne() && in genLoopLimit() 2382 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); in genLoopLimit()
|
D | CorrelatedValuePropagation.cpp | 138 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/ |
D | InstCombineAddSub.cpp | 76 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/ |
D | LoopInfo.cpp | 165 if (CI->isOne()) in getCanonicalInductionVariable() 415 if (!Step || !Step->isOne()) in isCanonical()
|
D | ScalarEvolution.cpp | 396 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 …]
|
D | Lint.cpp | 432 !cast<ConstantInt>(UnderlyingObject)->isOne(), in visitMemoryReference()
|
D | BranchProbabilityInfo.cpp | 763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJExample.java | 314 scalingFactor.isOne() && outSubsamp < 0 && outQual < 0) { in main()
|
D | TJUnitTest.java | 733 if (!sf.isOne()) in decompTest() 750 if (!sf.isOne()) in decompTest()
|
/third_party/libjpeg-turbo/java/ |
D | TJExample.java | 314 scalingFactor.isOne() && outSubsamp < 0 && outQual < 0) { in main()
|
D | TJUnitTest.java | 733 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/ |
D | ScaledNumber.h | 544 bool isOne() const { in isOne() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorizationLegality.cpp | 517 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() && in addInductionPhi()
|