Home
last modified time | relevance | path

Searched refs:NoWrapKind (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h145 unsigned NoWrapKind);
151 unsigned NoWrapKind);
351 unsigned NoWrapKind) const;
362 ConstantRange addWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
374 ConstantRange subWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h145 unsigned NoWrapKind);
151 unsigned NoWrapKind);
335 unsigned NoWrapKind) const;
346 ConstantRange addWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
358 ConstantRange subWithNoWrap(const ConstantRange &Other, unsigned NoWrapKind,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp227 unsigned NoWrapKind) { in makeGuaranteedNoWrapRegion() argument
232 assert((NoWrapKind == OBO::NoSignedWrap || in makeGuaranteedNoWrapRegion()
233 NoWrapKind == OBO::NoUnsignedWrap) && in makeGuaranteedNoWrapRegion()
236 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion()
298 unsigned NoWrapKind) { in makeExactNoWrapRegion() argument
301 return makeGuaranteedNoWrapRegion(BinOp, ConstantRange(Other), NoWrapKind); in makeExactNoWrapRegion()
821 unsigned NoWrapKind) const { in overflowingBinaryOp()
826 return addWithNoWrap(Other, NoWrapKind); in overflowingBinaryOp()
828 return subWithNoWrap(Other, NoWrapKind); in overflowingBinaryOp()
857 unsigned NoWrapKind, in addWithNoWrap() argument
[all …]
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp228 unsigned NoWrapKind) { in makeGuaranteedNoWrapRegion() argument
233 assert((NoWrapKind == OBO::NoSignedWrap || in makeGuaranteedNoWrapRegion()
234 NoWrapKind == OBO::NoUnsignedWrap) && in makeGuaranteedNoWrapRegion()
237 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion()
299 unsigned NoWrapKind) { in makeExactNoWrapRegion() argument
302 return makeGuaranteedNoWrapRegion(BinOp, ConstantRange(Other), NoWrapKind); in makeExactNoWrapRegion()
839 unsigned NoWrapKind) const { in overflowingBinaryOp()
844 return addWithNoWrap(Other, NoWrapKind); in overflowingBinaryOp()
846 return subWithNoWrap(Other, NoWrapKind); in overflowingBinaryOp()
923 unsigned NoWrapKind, in addWithNoWrap() argument
[all …]
/external/llvm/lib/IR/
DConstantRange.cpp171 unsigned NoWrapKind) { in makeGuaranteedNoWrapRegion() argument
186 assert((NoWrapKind == OBO::NoSignedWrap || in makeGuaranteedNoWrapRegion()
187 NoWrapKind == OBO::NoUnsignedWrap || in makeGuaranteedNoWrapRegion()
188 NoWrapKind == (OBO::NoUnsignedWrap | OBO::NoSignedWrap)) && in makeGuaranteedNoWrapRegion()
203 if (NoWrapKind & OBO::NoUnsignedWrap) in makeGuaranteedNoWrapRegion()
208 if (NoWrapKind & OBO::NoSignedWrap) { in makeGuaranteedNoWrapRegion()
/external/llvm/include/llvm/IR/
DConstantRange.h115 unsigned NoWrapKind);
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp1013 unsigned NoWrapKind = 0; in solveBlockValueBinaryOp() local
1015 NoWrapKind |= OverflowingBinaryOperator::NoUnsignedWrap; in solveBlockValueBinaryOp()
1017 NoWrapKind |= OverflowingBinaryOperator::NoSignedWrap; in solveBlockValueBinaryOp()
1021 [BO, NoWrapKind](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp()
1022 return CR1.overflowingBinaryOp(BO->getOpcode(), CR2, NoWrapKind); in solveBlockValueBinaryOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1100 unsigned NoWrapKind = 0; in solveBlockValueBinaryOp() local
1102 NoWrapKind |= OverflowingBinaryOperator::NoUnsignedWrap; in solveBlockValueBinaryOp()
1104 NoWrapKind |= OverflowingBinaryOperator::NoSignedWrap; in solveBlockValueBinaryOp()
1108 [BO, NoWrapKind](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp()
1109 return CR1.overflowingBinaryOp(BO->getOpcode(), CR2, NoWrapKind); in solveBlockValueBinaryOp()
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp1726 unsigned NoWrapKind, Fn OverflowFn) { in TestNoWrapRegionExhaustive() argument
1735 ConstantRange::makeGuaranteedNoWrapRegion(BinOp, CR, NoWrapKind); in TestNoWrapRegionExhaustive()