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.cpp264 APInt find(Value *V, bool SignExtended, bool ZeroExtended, bool NonNegative);
320 bool NonNegative);
514 bool NonNegative) { in CanTraceInto() argument
548 if (BO->getOpcode() == Instruction::Add && !ZeroExtended && NonNegative) { in CanTraceInto()
616 bool ZeroExtended, bool NonNegative) { in find() argument
632 if (CanTraceInto(SignExtended, ZeroExtended, BO, NonNegative)) in find()
636 find(U->getOperand(0), SignExtended, ZeroExtended, NonNegative) in find()
640 ZeroExtended, NonNegative).sext(BitWidth); in find()
H A DCorrelatedValuePropagation.cpp734 enum class Domain { NonNegative, NonPositive, Unknown }; enumerator
738 return Domain::NonNegative; in getDomain()
950 if (Op.D == Domain::NonNegative) in processSRem()
1011 if (Op.D == Domain::NonNegative) in processSDiv()
H A DLICM.cpp2513 auto NonNegative = [&](Value *V) { in hoistGEP() local
2517 all_of(Src->indices(), NonNegative) && in hoistGEP()
2518 all_of(GEP->indices(), NonNegative); in hoistGEP()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9262 bool NonNegative; member
9264 IntRange(unsigned Width, bool NonNegative) in IntRange()
9265 : Width(Width), NonNegative(NonNegative) {} in IntRange()
9269 return NonNegative ? Width : Width - 1; in valueBits()
9355 bool Unsigned = L.NonNegative && R.NonNegative; in join()
9357 L.NonNegative && R.NonNegative); in join()
9363 bool NonNegative = false; in bit_and() local
9364 if (L.NonNegative) { in bit_and()
9366 NonNegative = true; in bit_and()
9368 if (R.NonNegative) { in bit_and()
[all …]