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

123

/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp66 bool isOne(const Expr *E) { function in class:__anon921::WalkAST
139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts()))
/netbsd-current/external/apache2/llvm/dist/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
/netbsd-current/external/apache2/llvm/dist/llvm/examples/IRTransforms/
H A DSimplifyCFG.cpp156 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne());
192 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp79 if (Denominator->isOne()) {
H A DLoopInfo.cpp167 if (CI->isOne())
423 if (!Step || !Step->isOne())
H A DLint.cpp406 !cast<ConstantInt>(UnderlyingObject)->isOne(),
H A DScalarEvolution.cpp413 bool SCEV::isOne() const { function in class:SCEV
415 return SC->getValue()->isOne();
533 if (CI->isOne()) {
555 if (CI->isOne() &&
2864 if (LHSC->getValue()->isOne()) {
3102 if (RHSC->getValue()->isOne())
3137 if (RHSC->getValue()->isOne())
4348 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne();
5440 return getSCEV(CI->isOne() ? TrueVal : FalseVal);
6887 /*IsNSW=*/cast<ConstantInt>(II->getArgOperand(1))->isOne());
[all...]
H A DBranchProbabilityInfo.cpp997 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp503 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop);
665 RC.IV->getStepRecurrence(*SE)->isOne() &&
729 if (Step->isOne())
893 if (Step->isOne()) {
H A DStraightLineStrengthReduce.cpp326 return C.Index->isOne() || C.Index->isMinusOne();
334 return ((C.Index->isOne() || C.Index->isMinusOne()) &&
H A DLoopIdiomRecognize.cpp1491 !((SubOneOp->getOpcode() == Instruction::Sub && Dec->isOne()) ||
1514 if (!Inc || !Inc->isOne())
1609 if (!Shft || !Shft->isOne())
1640 if (!Inc || (!Inc->isOne() && !Inc->isMinusOne()))
1899 if (cast<ConstantInt>(CntInst->getOperand(1))->isOne()) {
H A DIndVarSimplify.cpp873 if (!Step || !Step->isOne())
1005 ->getElementType())->isOne() &&
1023 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
H A DJumpThreading.cpp272 (CI->isOne() ? BranchProbability::getBranchProbability(
784 cast<ConstantInt>(I->getOperand(1))->isOne()) {
967 KnownCond = CI->isOne();
2196 } else if (CI->isOne()) {
H A DCorrelatedValuePropagation.cpp139 Value *ReplaceWith = CI->isOne() ? S->getTrueValue() : S->getFalseValue();
453 bool IsIntMinPoison = cast<ConstantInt>(II->getArgOperand(1))->isOne();
H A DLowerMatrixIntrinsics.cpp867 cast<ConstantInt>(Inst->getArgOperand(2))->isOne(),
935 cast<ConstantInt>(Inst->getArgOperand(3))->isOne(),
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp688 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); local
689 if (Constant *C = getFoldedSizeOf(Ty, DestTy, !isOne)) {
701 if (CI->isOne() &&
1264 if (CI2->isOne())
1269 if (CI2->isOne())
1276 if (CI2->isOne())
1353 assert(CI2->isOne());
2325 if (!CI->isOne())
2330 if (!CI || !CI->isOne())
[all...]
H A DInstruction.cpp643 return cast<ConstantInt>(II->getArgOperand(2))->isOne();
645 return cast<ConstantInt>(II->getArgOperand(3))->isOne();
H A DModule.cpp564 return Val && cast<ConstantInt>(Val->getValue())->isOne();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp77 bool isOne() const { return isInt() && IntVal == 1; } function in class:__anon2865::FAddendCoef
295 if (That.isOne())
416 if (!BreakNum || Coeff.isOne())
484 return CE.isOne() ? Opnd0.getSymVal() : nullptr;
724 if (!CE.isMinusOne() && !CE.isOne())
748 if (Coeff.isMinusOne() || Coeff.isOne()) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCleanup.h328 assert(Var.getAlignment().isOne());
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DScaledNumber.h544 bool isOne() const { function in class:llvm::ScaledNumber
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp450 return (CI && CI->isOne()) ? RHS : B.CreateMul(LHS, RHS);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h198 bool isOne() const { return Val.isOneValue(); } function in class:llvm::final
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp519 ID.getConstIntStepValue() && ID.getConstIntStepValue()->isOne() &&
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1555 bool isOne() const { return Value->isOne(); } function in class:llvm::ConstantSDNode

Completed in 280 milliseconds

123