Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A DBlock_private.h138 BLOCK_EXPORT void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool i…
145 BLOCK_EXPORT void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool …
H A Druntime.c213 static void *(*_Block_allocator)(const unsigned long, const bool isOne, const bool isObject) = _Blo…
231 void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), in _Block_use_GC() argument
254 void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), in _Block_use_GC5() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp66 bool isOne(const Expr *E) { in isOne() function in __anon25ce06580111::WalkAST
139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp503 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep()
665 RC.IV->getStepRecurrence(*SE)->isOne() && in normalizePredicate()
729 if (Step->isOne()) in widenICmpRangeCheck()
893 if (Step->isOne()) { in parseLoopLatchICmp()
H A DStraightLineStrengthReduce.cpp326 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm()
334 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
H A DLoopIdiomRecognize.cpp1537 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom()
1560 if (!Inc || !Inc->isOne()) in detectPopcountIdiom()
1655 if (!Shft || !Shft->isOne()) in detectShiftUntilZeroIdiom()
1686 if (!Inc || (!Inc->isOne() && !Inc->isMinusOne())) in detectShiftUntilZeroIdiom()
1945 if (cast<ConstantInt>(CntInst->getOperand(1))->isOne()) { in transformLoopToCountable()
H A DIndVarSimplify.cpp873 if (!Step || !Step->isOne()) in isLoopCounter()
1005 ->getElementType())->isOne() && in genLoopLimit()
1023 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); in genLoopLimit()
H A DCorrelatedValuePropagation.cpp140 Value *ReplaceWith = CI->isOne() ? S->getTrueValue() : S->getFalseValue(); in processSelect()
453 bool IsIntMinPoison = cast<ConstantInt>(II->getArgOperand(1))->isOne(); in processAbsIntrinsic()
H A DJumpThreading.cpp272 (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata()
783 cast<ConstantInt>(I->getOperand(1))->isOne()) { in computeValueKnownInPredecessorsImpl()
966 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl()
2195 } else if (CI->isOne()) { in maybethreadThroughTwoBasicBlocks()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h119 bool isOne() const { return Quantity == 1; } in isOne() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp79 if (Denominator->isOne()) { in divide()
H A DLoopInfo.cpp167 if (CI->isOne()) in getCanonicalInductionVariable()
423 if (!Step || !Step->isOne()) in isCanonical()
H A DScalarEvolution.cpp415 bool SCEV::isOne() const { in isOne() function in SCEV
417 return SC->getValue()->isOne(); in isOne()
535 if (CI->isOne()) { in isSizeOf()
555 if (CI->isOne() && in isAlignOf()
3007 if (LHSC->getValue()->isOne()) { in getMulExpr()
3245 if (RHSC->getValue()->isOne()) in getURemExpr()
3286 if (RHSC->getValue()->isOne()) in getUDivExpr()
5641 return getSCEV(CI->isOne() ? TrueVal : FalseVal); in createNodeForSelectOrPHI()
9487 if (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne()) { in howFarToZero()
11688 } else if (!Stride->isOne() && !NoWrap) { in howManyLessThans()
[all …]
H A DLint.cpp406 !cast<ConstantInt>(UnderlyingObject)->isOne(), in visitMemoryReference()
H A DMemoryBuiltins.cpp544 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne(); in lowerObjectSizeCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp1013 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1018 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1025 if (CI2->isOne()) in ConstantFoldBinaryInstruction()
1102 assert(CI2->isOne()); in ConstantFoldBinaryInstruction()
2074 if (!CI->isOne()) in isInBoundsIndices()
2079 if (!CI || !CI->isOne()) in isInBoundsIndices()
H A DInstruction.cpp664 return cast<ConstantInt>(II->getArgOperand(2))->isOne(); in isVolatile()
666 return cast<ConstantInt>(II->getArgOperand(3))->isOne(); in isVolatile()
H A DModule.cpp568 return Val && cast<ConstantInt>(Val->getValue())->isOne(); in isDwarf64()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp77 bool isOne() const { return isInt() && IntVal == 1; } in isOne() function in __anonc1ebfd5a0111::FAddendCoef
295 if (That.isOne()) in operator *=()
416 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep()
484 return CE.isOne() ? Opnd0.getSymVal() : nullptr; in simplify()
724 if (!CE.isMinusOne() && !CE.isOne()) in calcInstrNumber()
748 if (Coeff.isMinusOne() || Coeff.isOne()) { in createAddendVal()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.h328 assert(Var.getAlignment().isOne()); in setActiveFlag()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp450 return (CI && CI->isOne()) ? RHS : B.CreateMul(LHS, RHS); in buildMul()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h544 bool isOne() const { in isOne() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp535 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() && in addInductionPhi()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1565 bool isOne() const { return Value->isOne(); }
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h200 bool isOne() const { return Val.isOneValue(); } in isOne() function

123