Home
last modified time | relevance | path

Searched refs:NonNegative (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp266 APInt find(Value *V, bool SignExtended, bool ZeroExtended, bool NonNegative);
322 bool NonNegative);
516 bool NonNegative) { in CanTraceInto() argument
550 if (BO->getOpcode() == Instruction::Add && !ZeroExtended && NonNegative) { in CanTraceInto()
618 bool ZeroExtended, bool NonNegative) { in find() argument
634 if (CanTraceInto(SignExtended, ZeroExtended, BO, NonNegative)) in find()
638 find(U->getOperand(0), SignExtended, ZeroExtended, NonNegative) in find()
642 ZeroExtended, NonNegative).sext(BitWidth); in find()
H A DCorrelatedValuePropagation.cpp756 enum class Domain { NonNegative, NonPositive, Unknown }; enumerator
760 return Domain::NonNegative; in getDomain()
970 if (Op.D == Domain::NonNegative) in processSRem()
1031 if (Op.D == Domain::NonNegative) in processSDiv()
H A DLICM.cpp2531 auto NonNegative = [&](Value *V) { in hoistGEP() local
2535 all_of(Src->indices(), NonNegative) && in hoistGEP()
2536 all_of(GEP->indices(), NonNegative); in hoistGEP()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10431 bool NonNegative; member
10433 IntRange(unsigned Width, bool NonNegative) in IntRange()
10434 : Width(Width), NonNegative(NonNegative) {} in IntRange()
10438 return NonNegative ? Width : Width - 1; in valueBits()
10524 bool Unsigned = L.NonNegative && R.NonNegative; in join()
10526 L.NonNegative && R.NonNegative); in join()
10532 bool NonNegative = false; in bit_and() local
10533 if (L.NonNegative) { in bit_and()
10535 NonNegative = true; in bit_and()
10537 if (R.NonNegative) { in bit_and()
[all …]