/freebsd/contrib/llvm-project/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringSyntaxChecker.cpp | 66 bool isOne(const Expr *E) { in isOne() function in __anon8e4070240111::WalkAST 139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
|
H A D | PointerSubChecker.cpp | 72 I && (!I->isOne() && !I->isZero())) in checkArrayBounds()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DivisionByConstantInfo.cpp | 76 assert(!D.isZero() && !D.isOne() && "Precondition violation."); in get()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopPredication.cpp | 479 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSafeToTruncateWideIVType() 644 RC.IV->getStepRecurrence(*SE)->isOne() && in widenICmpRangeCheckDecrementingLoop() 707 if (Step->isOne()) in widenICmpRangeCheck() 855 if (Step->isOne()) { in widenWidenableBranchGuardConditions()
|
H A D | LoopIdiomRecognize.cpp | 979 if (!StoreSizeSCEV->isOne()) { in getStartForNegStride() 1633 if (!Shft || !Shft->isOne()) in detectShiftUntilLessThanIdiom() 1651 if (!Inc || (!Inc->isOne() && !Inc->isMinusOne())) in detectShiftUntilLessThanIdiom() 1734 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom() 1755 if (!Inc || !Inc->isOne()) in detectPopcountIdiom() 1850 if (!Shft || !Shft->isOne()) in detectShiftUntilZeroIdiom() 1879 if (!Inc || (!Inc->isOne() && !Inc->isMinusOne())) in detectShiftUntilZeroIdiom() 2220 if (cast<ConstantInt>(CntInst->getOperand(1))->isOne()) { in transformLoopToCountable()
|
H A D | StraightLineStrengthReduce.cpp | 321 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm() 329 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
|
H A D | CorrelatedValuePropagation.cpp | 134 U.set(CI->isOne() ? S->getTrueValue() : S->getFalseValue()); in processSelect() 388 if (Res && Res->isOne()) { in processSwitch() 501 bool IsIntMinPoison = cast<ConstantInt>(II->getArgOperand(1))->isOne(); in processAbsIntrinsic()
|
H A D | JumpThreading.cpp | 199 (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata() 705 cast<ConstantInt>(I->getOperand(1))->isOne()) { in computeValueKnownInPredecessorsImpl() 885 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl() 2196 } else if (CI->isOne()) { in maybethreadThroughTwoBasicBlocks()
|
H A D | ConstraintElimination.cpp | 980 if (!(-StepOffset).isOne()) in addInfoForInductions() 1009 if (!StepOffset.isOne()) { in addInfoForInductions() 1818 if (cast<ConstantInt>(CB.Inst->getOperand(1))->isOne()) in eliminateConstraints()
|
H A D | IndVarSimplify.cpp | 820 if (!Step || !Step->isOne()) in isLoopCounter() 922 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); in genLoopLimit()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CharUnits.h | 125 bool isOne() const { return Quantity == 1; } in isOne() function
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolutionDivision.cpp | 77 if (Denominator->isOne()) { in divide()
|
H A D | LoopInfo.cpp | 168 if (CI->isOne()) in getCanonicalInductionVariable() 425 if (!Step || !Step->isOne()) in isCanonical()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MatrixBuilder.h | 237 assert(cast<ConstantInt>(Cmp)->isOne() && "Index must be valid!");
|
H A D | Constants.h | 212 bool isOne() const { return Val.isOne(); } in isOne() function
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 77 bool isOne() const { return isInt() && IntVal == 1; } in isOne() function in __anon84b617a60111::FAddendCoef 295 if (That.isOne()) in operator *=() 416 if (!BreakNum || Coeff.isOne()) in drillAddendDownOneStep() 484 return CE.isOne() ? Opnd0.getSymVal() : nullptr; in simplify() 709 if (!CE.isMinusOne() && !CE.isOne()) in calcInstrNumber() 733 if (Coeff.isMinusOne() || Coeff.isOne()) { in createAddendVal() 977 if (C->isOne() && Op0->hasOneUse()) { in foldAddWithConstant() 999 if (C->isOne()) { in foldAddWithConstant()
|
H A D | InstCombineCompares.cpp | 88 if (C.isOne()) { in isSignTest() 1428 if (C.isOne() && C.getBitWidth() > 1) { in foldICmpTruncConstant() 1955 X->getType()->isIntOrIntVectorTy(1) && (C.isZero() || C.isOne())) { in foldICmpAndConstant() 2042 if (C.isOne()) { in foldICmpOrConstant() 2186 if ((*MulC & 1).isOne() || Mul->hasNoUnsignedWrap()) { in foldICmpMulConstant() 2304 if (C.isZero() || (Pred == ICmpInst::ICMP_SGT ? C.isAllOnes() : C.isOne())) in foldICmpShlConstant() 2753 if (C2->isZero() || C2->isOne() || (DivIsSigned && C2->isAllOnes())) in foldICmpDivConstant() 2943 if (Pred == ICmpInst::ICMP_SLT && C.isOne()) in foldICmpSubConstant() 3544 else if (C.isOne()) in foldICmpBinOpEqualityWithConstant() 3946 else if (C.isOne()) in foldICmpOfCmpIntrinsicWithConstant() [all …]
|
H A D | InstCombineSelect.cpp | 505 return C1I.isOne() || C1I.isAllOnes() || C2I.isOne() || C2I.isAllOnes(); in isSelect01() 2122 auto IsZeroOrOne = [](const APInt &C) { return C.isZero() || C.isOne(); }; in foldOverflowingAddSubSelect() 3952 if (Known.One.isOne()) in visitSelectInst() 3954 if (Known.Zero.isOne()) in visitSelectInst()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 963 if (!N1C || !N1C->isOne()) in combineShiftToAVG() 982 ConstOp->isOne()) { in combineShiftToAVG() 989 ConstOp->isOne()) { in combineShiftToAVG() 2036 if (DemandedBits.isOne()) in SimplifyDemandedBits() 2341 if (DemandedBits.isOne() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits() 2835 if (Op.getOpcode() == ISD::SUB && DemandedBits.isOne() && in SimplifyDemandedBits() 2863 if (C && !C->isAllOnes() && !C->isOne() && in SimplifyDemandedBits() 3924 return CVal.isOne(); in isConstTrueVal() 3959 return N->isOne(); in isExtendedTrueVal() 3966 return (N->isOne() && !SExt) || (SExt && (N->getValueType(0) != MVT::i1)); in isExtendedTrueVal() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 1029 return cast<ConstantInt>(II->getArgOperand(2))->isOne(); in isVolatile() 1031 return cast<ConstantInt>(II->getArgOperand(3))->isOne(); in isVolatile()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1677 bool isOne() const { return Value->isOne(); } 2822 return !cast<ConstantSDNode>(getScale())->isOne(); 2906 return !cast<ConstantSDNode>(getScale())->isOne();
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCleanup.h | 392 assert(Var.getAlignment().isOne());
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 545 bool isOne() const { in isOne() function
|