| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceOperands.cpp | 48 static bool isOne(Use &Op) { in isOne() function 97 return (isOne(Op) || isZero(Op)) ? nullptr : ConstantInt::get(IntTy, 1); in reduceOperandsOneDeltaPass() 104 if (isOne(Op) || isZero(Op) || isZeroOrOneFP(Op)) in reduceOperandsOneDeltaPass()
|
| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CStringSyntaxChecker.cpp | 66 bool isOne(const Expr *E) { in isOne() function in __anon8860ca9b0111::WalkAST 139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
|
| /openbsd-src/gnu/llvm/llvm/examples/IRTransforms/ |
| H A D | SimplifyCFG.cpp | 154 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v1() 190 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne()); in eliminateCondBranches_v2()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 76 assert(!D.isZero() && !D.isOne() && "Precondition violation."); in get()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPredication.cpp | 519 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep() 682 RC.IV->getStepRecurrence(*SE)->isOne() && in normalizePredicate() 745 if (Step->isOne()) in widenICmpRangeCheck() 923 if (Step->isOne()) { in parseLoopLatchICmp()
|
| H A D | StraightLineStrengthReduce.cpp | 325 return C.Index->isOne() || C.Index->isMinusOne(); in isSimplestForm() 333 return ((C.Index->isOne() || C.Index->isMinusOne()) && in isSimplestForm()
|
| H A D | LoopIdiomRecognize.cpp | 1045 if (!StoreSizeSCEV->isOne()) { in getStartForNegStride() 1684 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) || in detectPopcountIdiom() 1705 if (!Inc || !Inc->isOne()) in detectPopcountIdiom() 1800 if (!Shft || !Shft->isOne()) in detectShiftUntilZeroIdiom() 1829 if (!Inc || (!Inc->isOne() && !Inc->isMinusOne())) in detectShiftUntilZeroIdiom() 2088 if (cast<ConstantInt>(CntInst->getOperand(1))->isOne()) { in transformLoopToCountable()
|
| H A D | JumpThreading.cpp | 268 (CI->isOne() ? BranchProbability::getBranchProbability( in updatePredecessorProfileMetadata() 796 cast<ConstantInt>(I->getOperand(1))->isOne()) { in computeValueKnownInPredecessorsImpl() 982 KnownCond = CI->isOne(); in computeValueKnownInPredecessorsImpl() 2230 } else if (CI->isOne()) { in maybethreadThroughTwoBasicBlocks()
|
| H A D | CorrelatedValuePropagation.cpp | 147 Value *ReplaceWith = CI->isOne() ? S->getTrueValue() : S->getFalseValue(); in processSelect() 503 bool IsIntMinPoison = cast<ConstantInt>(II->getArgOperand(1))->isOne(); in processAbsIntrinsic()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | CharUnits.h | 125 bool isOne() const { return Quantity == 1; } in isOne() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 77 if (Denominator->isOne()) { in divide()
|
| H A D | LoopInfo.cpp | 167 if (CI->isOne()) in getCanonicalInductionVariable() 424 if (!Step || !Step->isOne()) in isCanonical()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1018 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1023 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1030 if (CI2->isOne()) in ConstantFoldBinaryInstruction() 1107 assert(CI2->isOne()); in ConstantFoldBinaryInstruction() 1929 if (!CI->isOne()) in isInBoundsIndices() 1934 if (!CI || !CI->isOne()) in isInBoundsIndices()
|
| H A D | Instruction.cpp | 726 return cast<ConstantInt>(II->getArgOperand(2))->isOne(); in isVolatile() 728 return cast<ConstantInt>(II->getArgOperand(3))->isOne(); in isVolatile()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 237 assert(cast<ConstantInt>(Cmp)->isOne() && "Index must be valid!");
|
| H A D | Constants.h | 199 bool isOne() const { return Val.isOne(); } in isOne() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 77 bool isOne() const { return isInt() && IntVal == 1; } in isOne() function in __anonb54f4bbd0111::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() 958 if (C->isOne() && Op0->hasOneUse()) { in foldAddWithConstant()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 942 if (!N1C || !N1C->isOne()) in combineShiftToAVG() 960 ConstOp->isOne()) { in combineShiftToAVG() 966 ConstOp->isOne()) { in combineShiftToAVG() 972 ConstOp->isOne()) { in combineShiftToAVG() 1903 if (DemandedBits.isOne()) in SimplifyDemandedBits() 2154 if (DemandedBits.isOne() && !TLO.LegalOps && !VT.isVector()) in SimplifyDemandedBits() 2615 if (Op.getOpcode() == ISD::SUB && DemandedBits.isOne() && in SimplifyDemandedBits() 2643 if (C && !C->isAllOnes() && !C->isOne() && in SimplifyDemandedBits() 3670 return CVal.isOne(); in isConstTrueVal() 3705 return N->isOne(); in isExtendedTrueVal() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCleanup.h | 328 assert(Var.getAlignment().isOne()); in setActiveFlag()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 378 bool isOne() const { in isOne() function 385 bool isOneValue() const { return isOne(); } in isOneValue()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1609 bool isOne() const { return Value->isOne(); } 2740 return !cast<ConstantSDNode>(getScale())->isOne(); 2824 return !cast<ConstantSDNode>(getScale())->isOne();
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 313 if (isa<ConstantInt>(Stride) && cast<ConstantInt>(Stride)->isOne()) in matchStridedRecurrence()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 715 return StartC && StartC->isZero() && StepC && StepC->isOne(); in isCanonical() 1069 Step->isOne(); in isCanonical()
|