| /freebsd-12.1/contrib/compiler-rt/lib/BlocksRuntime/ |
| H A D | Block_private.h | 138 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 D | runtime.c | 213 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-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CStringSyntaxChecker.cpp | 67 bool isOne(const Expr *E) { in isOne() function in __anon8c8e0cd30111::WalkAST 140 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 428 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep() 567 if (Step->isOne()) in widenICmpRangeCheck() 685 if (Step->isOne()) { in parseLoopLatchICmp()
|
| H A D | LoopIdiomRecognize.cpp | 1224 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom() 1247 if (!Inc || !Inc->isOne()) in detectPopcountIdiom() 1342 if (!Shft || !Shft->isOne()) in detectShiftUntilZeroIdiom() 1372 if (!Inc || !Inc->isOne()) in detectShiftUntilZeroIdiom()
|
| H A D | StraightLineStrengthReduce.cpp | 315 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm() 323 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
|
| H A D | JumpThreading.cpp | 241 BP = (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata() 716 cast<ConstantInt>(I->getOperand(1))->isOne()) { in ComputeValueKnownInPredecessorsImpl() 911 KnownCond = CI->isOne(); in ComputeValueKnownInPredecessorsImpl()
|
| H A D | IndVarSimplify.cpp | 2180 if (!Step || !Step->isOne()) in isLoopCounter() 2318 ->getElementType())->isOne() && in genLoopLimit() 2335 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); in genLoopLimit()
|
| H A D | CorrelatedValuePropagation.cpp | 118 if (!CI->isOne()) std::swap(ReplaceWith, Other); in processSelect()
|
| H A D | EarlyCSE.cpp | 879 cast<ConstantInt>(KnownCond)->isOne()) { in processNode()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 650 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); in ConstantFoldCastInstruction() local 651 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) { in ConstantFoldCastInstruction() 663 if (CI->isOne() && in ConstantFoldCastInstruction() 1042 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1047 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1054 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1111 assert(CI2->isOne()); in ConstantFoldBinaryInstruction() 2036 if (!CI->isOne()) in isInBoundsIndices() 2041 if (!CI || !CI->isOne()) in isInBoundsIndices()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CharUnits.h | 119 bool isOne() const { return Quantity == 1; } in isOne() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 77 bool isOne() const { return isInt() && IntVal == 1; } in isOne() function in __anonf964e0cb0111::FAddendCoef 295 if (That.isOne()) in operator *=() 416 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep() 484 return CE.isOne() ? Opnd0.getSymVal() : nullptr; in simplify() 725 if (!CE.isMinusOne() && !CE.isOne()) in calcInstrNumber() 751 if (Coeff.isMinusOne() || Coeff.isOne()) { in createAddendVal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCleanup.h | 329 assert(Var.getAlignment().isOne()); in setActiveFlag()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LoopInfo.cpp | 143 if (CI->isOne()) in getCanonicalInductionVariable()
|
| H A D | Lint.cpp | 428 !cast<ConstantInt>(UnderlyingObject)->isOne(), in visitMemoryReference()
|
| H A D | ScalarEvolution.cpp | 371 bool SCEV::isOne() const { in isOne() function in SCEV 373 return SC->getValue()->isOne(); in isOne() 477 if (CI->isOne()) { in isSizeOf() 499 if (CI->isOne() && in isAlignOf() 877 if (Denominator->isOne()) { in divide() 2922 if (cast<SCEVConstant>(Ops[0])->getValue()->isOne()) { in getMulExpr() 3126 if (RHSC->getValue()->isOne()) in getURemExpr() 3153 if (RHSC->getValue()->isOne()) in getUDivExpr() 5345 return getSCEV(CI->isOne() ? TrueVal : FalseVal); in createNodeForSelectOrPHI() 8703 if (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne()) { in howFarToZero() [all …]
|
| H A D | BranchProbabilityInfo.cpp | 728 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
|
| H A D | IVDescriptors.cpp | 811 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne())) in getConsecutiveDirection()
|
| H A D | MemoryBuiltins.cpp | 463 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne(); in lowerObjectSizeCall()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1370 if (C && !C->isAllOnesValue() && !C->isOne() && in SimplifyDemandedBits() 2030 return N->isOne(); in isExtendedTrueVal() 2037 return (N->isOne() && !SExt) || (SExt && (N->getValueType(0) != MVT::i1)); in isExtendedTrueVal() 2515 } else if ((N1C->isNullValue() || N1C->isOne()) && in SimplifySetCC() 2520 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne()); in SimplifySetCC() 2537 cast<ConstantSDNode>(N0.getOperand(1))->isOne()) { in SimplifySetCC() 2560 } else if (N1C->isOne() && in SimplifySetCC() 2578 cast<ConstantSDNode>(Op0.getOperand(1))->isOne()) { in SimplifySetCC()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 545 bool isOne() const { in isOne() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 561 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() && in addInductionPhi()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1523 bool isOne() const { return Value->isOne(); }
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constants.h | 201 bool isOne() const { in isOne() function
|