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 | 2274 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in getOperandAtIndex() 2316 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in hiOperand() 5261 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) in matchAssign() 5342 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase() 5348 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase()
|
D | IceTargetLoweringX86BaseImpl.h | 1432 assert(!Utils::WouldOverflowAdd(SymOffset->getOffset(), 4)); 5446 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) 5705 if (Utils::WouldOverflowAdd(*Offset + NewOffset, MoreOffset)) 5712 if (Utils::WouldOverflowAdd(*Offset + NewOffset, MoreOffset)) 5716 if (Utils::WouldOverflowAdd(*Offset, NewOffset << Shift))
|
D | IceTargetLoweringARM32.cpp | 2156 assert(!Utils::WouldOverflowAdd(Offset->getValue(), 4)); in hiOperand() 5536 if (Utils::WouldOverflowAdd(*Offset, MoreOffset)) in matchAssign() 5742 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase() 5748 if (Utils::WouldOverflowAdd(NewOffset, MoreOffset)) in matchOffsetBase()
|