Searched refs:isOne (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-13-stable/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 isObject),
145 BLOCK_EXPORT void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
H A Druntime.c213 static void *(*_Block_allocator)(const unsigned long, const bool isOne, const bool isObject) = _Block_alloc_default;
231 void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), argument
254 void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp66 bool isOne(const Expr *E) { function in class:__anon2177::WalkAST
139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts()))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h118 /// isOne - Test whether the quantity equals one.
119 bool isOne() const { return Quantity == 1; } function in class:clang::CharUnits
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp502 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop);
664 RC.IV->getStepRecurrence(*SE)->isOne() &&
728 if (Step->isOne())
892 if (Step->isOne()) {
H A DStraightLineStrengthReduce.cpp315 return C.Index->isOne() || C.Index->isMinusOne();
323 return ((C.Index->isOne() || C.Index->isMinusOne()) &&
H A DLoopIdiomRecognize.cpp1318 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) ||
1341 if (!Inc || !Inc->isOne())
1436 if (!Shft || !Shft->isOne())
1466 if (!Inc || !Inc->isOne())
H A DJumpThreading.cpp262 (CI->isOne() ? BranchProbability::getBranchProbability(
741 cast<ConstantInt>(I->getOperand(1))->isOne()) {
924 KnownCond = CI->isOne();
2107 } else if (CI->isOne()) {
H A DIndVarSimplify.cpp1901 if (!Step || !Step->isOne())
2032 ->getElementType())->isOne() &&
2050 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
H A DCorrelatedValuePropagation.cpp135 Value *ReplaceWith = CI->isOne() ? S->getTrueValue() : S->getFalseValue();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp79 if (Denominator->isOne()) {
H A DLoopInfo.cpp165 if (CI->isOne())
415 if (!Step || !Step->isOne())
H A DBranchProbabilityInfo.cpp824 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) {
H A DIVDescriptors.cpp839 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne()))
H A DLint.cpp432 !cast<ConstantInt>(UnderlyingObject)->isOne(),
H A DMemoryBuiltins.cpp541 cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne();
H A DScalarEvolution.cpp396 bool SCEV::isOne() const { function in class:SCEV
398 return SC->getValue()->isOne();
502 if (CI->isOne()) {
524 if (CI->isOne() &&
2722 if (cast<SCEVConstant>(Ops[0])->getValue()->isOne()) {
2926 if (RHSC->getValue()->isOne())
2961 if (RHSC->getValue()->isOne())
4150 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne();
5134 return getSCEV(CI->isOne() ? TrueVal : FalseVal);
6929 if ((ExitIfTrue && CI->isZero()) || (!ExitIfTrue && CI->isOne()))
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp663 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); local
664 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) {
676 if (CI->isOne() &&
1183 if (CI2->isOne())
1188 if (CI2->isOne())
1195 if (CI2->isOne())
1272 assert(CI2->isOne());
2235 if (!CI->isOne())
2240 if (!CI || !CI->isOne())
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp76 bool isOne() const { return isInt() && IntVal == 1; } function in class:__anon4559::FAddendCoef
294 if (That.isOne())
415 if (!BreakNum || Coeff.isOne())
483 return CE.isOne() ? Opnd0.getSymVal() : nullptr;
723 if (!CE.isMinusOne() && !CE.isOne())
747 if (Coeff.isMinusOne() || Coeff.isOne()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.h328 assert(Var.getAlignment().isOne());
H A DCGDecl.cpp1716 if (!EltSize.isOne())
1737 if (!EltSize.isOne())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h208 bool isOne() const { function in class:llvm::final
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp520 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() &&
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h544 bool isOne() const { function in class:llvm::ScaledNumber
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1582 bool isOne() const { return Value->isOne(); } function in class:llvm::ConstantSDNode

Completed in 200 milliseconds

123