Home
last modified time | relevance | path

Searched refs:OffsetRange (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp55 struct OffsetRange { struct
63 OffsetRange() = default;
64 OffsetRange(int32_t L, int32_t H, uint8_t A, uint8_t O = 0) in OffsetRange() argument
66 OffsetRange &intersect(OffsetRange A) { in intersect() argument
84 OffsetRange &shift(int32_t S) { in shift() argument
90 OffsetRange &extendBy(int32_t D) { in extendBy() argument
105 bool operator==(const OffsetRange &R) const { in operator ==() argument
108 bool operator!=(const OffsetRange &R) const { in operator !=() argument
111 bool operator<(const OffsetRange &R) const { in operator <() argument
118 static OffsetRange zero() { return {0, 0, 1}; } in zero() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp80 auto OffsetRange = SE.getUnsignedRange(SE.getSCEV(Offset)); in getBoundsCheckCond() local
91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
94 Value *Cmp3 = SizeRange.sub(OffsetRange) in getBoundsCheckCond()