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

123

/freebsd-12-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-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp66 bool isOne(const Expr *E) { function in class:__anon3296::WalkAST
139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts()))
/freebsd-12-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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp501 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop);
663 RC.IV->getStepRecurrence(*SE)->isOne() &&
727 if (Step->isOne())
891 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.cpp1267 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) ||
1290 if (!Inc || !Inc->isOne())
1385 if (!Shft || !Shft->isOne())
1415 if (!Inc || !Inc->isOne())
H A DIndVarSimplify.cpp2259 if (!Step || !Step->isOne())
2390 ->getElementType())->isOne() &&
2408 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
H A DJumpThreading.cpp255 BP = (CI->isOne() ? BranchProbability::getBranchProbability(
732 cast<ConstantInt>(I->getOperand(1))->isOne()) {
927 KnownCond = CI->isOne();
H A DCorrelatedValuePropagation.cpp138 if (!CI->isOne()) std::swap(ReplaceWith, Other);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp652 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); local
653 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) {
665 if (CI->isOne() &&
1135 if (CI2->isOne())
1140 if (CI2->isOne())
1147 if (CI2->isOne())
1223 assert(CI2->isOne());
2157 if (!CI->isOne())
2162 if (!CI || !CI->isOne())
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp76 bool isOne() const { return isInt() && IntVal == 1; } function in class:__anon5575::FAddendCoef
294 if (That.isOne())
415 if (!BreakNum || Coeff.isOne())
483 return CE.isOne() ? Opnd0.getSymVal() : nullptr;
724 if (!CE.isMinusOne() && !CE.isOne())
750 if (Coeff.isMinusOne() || Coeff.isOne()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopInfo.cpp165 if (CI->isOne())
415 if (!Step || !Step->isOne())
H A DBranchProbabilityInfo.cpp763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) {
H A DIVDescriptors.cpp838 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne()))
H A DLint.cpp432 !cast<ConstantInt>(UnderlyingObject)->isOne(),
H A DMemoryBuiltins.cpp520 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() &&
914 if (Denominator->isOne()) {
2969 if (cast<SCEVConstant>(Ops[0])->getValue()->isOne()) {
3174 if (RHSC->getValue()->isOne())
3201 if (RHSC->getValue()->isOne())
4362 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne();
5346 return getSCEV(CI->isOne()
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.h328 assert(Var.getAlignment().isOne());
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h200 bool isOne() const { function in class:llvm::final
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h544 bool isOne() const { function in class:llvm::ScaledNumber
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp517 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() &&
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2035 if (C && !C->isAllOnesValue() && !C->isOne() &&
2828 return N->isOne();
2835 return (N->isOne() && !SExt) || (SExt && (N->getValueType(0) != MVT::i1));
3445 } else if ((N1C->isNullValue() || N1C->isOne()) &&
3453 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne());
3469 cast<ConstantSDNode>(N0.getOperand(1))->isOne()) {
3492 } else if (N1C->isOne()) {
3515 cast<ConstantSDNode>(Op0.getOperand(1))->isOne()) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1585 bool isOne() const { return Value->isOne(); } function in class:llvm::ConstantSDNode
H A DTargetLowering.h609 if (OldShiftOpcode == ISD::SHL && CC->isOne())
613 if (XC && NewShiftOpcode == ISD::SHL && XC->isOne())

Completed in 301 milliseconds

123