Searched refs:WouldOverflowAdd (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceUtils.h | 65 template <typename T> inline bool WouldOverflowAdd(T X, T Y) { in WouldOverflowAdd() function 78 return WouldOverflowAdd(x, y); in add_overflow()
|
D | IceTargetLoweringMIPS32.cpp | 2259 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in getOperandAtIndex() 2301 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in hiOperand() 5246 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) in matchAssign() 5327 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase() 5333 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase()
|
D | IceTargetLoweringX86BaseImpl.h | 1482 assert(!Utils::WouldOverflowAdd(SymOffset->getOffset(), 4)); 5525 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) 5784 if (Utils::WouldOverflowAdd(*Offset + NewOffset, MoreOffset)) 5791 if (Utils::WouldOverflowAdd(*Offset + NewOffset, MoreOffset)) 5795 if (Utils::WouldOverflowAdd(*Offset, NewOffset << Shift))
|
D | IceTargetLoweringARM32.cpp | 2150 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in hiOperand() 5533 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) in matchAssign() 5739 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase() 5745 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase()
|