Searched refs:NoWrapKind (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h132 /// NoWrapKind must be one of OBO::NoUnsignedWrap or OBO::NoSignedWrap.
145 unsigned NoWrapKind);
151 unsigned NoWrapKind);
332 /// the provided knowledge about lack of wrapping \p NoWrapKind.
335 unsigned NoWrapKind) const;
342 /// from an addition with wrap type \p NoWrapKind of a value in this
346 ConstantRange addWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
354 /// from an subtraction with wrap type \p NoWrapKind of a value in this
358 ConstantRange subWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp227 unsigned NoWrapKind) {
232 assert((NoWrapKind == OBO::NoSignedWrap ||
233 NoWrapKind == OBO::NoUnsignedWrap) &&
234 "NoWrapKind invalid!");
236 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap;
298 unsigned NoWrapKind) {
301 return makeGuaranteedNoWrapRegion(BinOp, ConstantRange(Other), NoWrapKind);
821 unsigned NoWrapKind) const {
826 return addWithNoWrap(Other, NoWrapKind);
828 return subWithNoWrap(Other, NoWrapKind);
225 makeGuaranteedNoWrapRegion(Instruction::BinaryOps BinOp, const ConstantRange &Other, unsigned NoWrapKind) argument
296 makeExactNoWrapRegion(Instruction::BinaryOps BinOp, const APInt &Other, unsigned NoWrapKind) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp1100 unsigned NoWrapKind = 0; local
1102 NoWrapKind |= OverflowingBinaryOperator::NoUnsignedWrap;
1104 NoWrapKind |= OverflowingBinaryOperator::NoSignedWrap;
1108 [BO, NoWrapKind](const ConstantRange &CR1, const ConstantRange &CR2) {
1109 return CR1.overflowingBinaryOp(BO->getOpcode(), CR2, NoWrapKind);

Completed in 111 milliseconds