Lines Matching refs:IntegerLiteral
14 class IntegerLiteral {
16 IntegerLiteral(bool negative, uint64_t absolute_value) in IntegerLiteral() function
22 explicit IntegerLiteral(T value) : IntegerLiteral(value, true) {} in IntegerLiteral() function
32 return Compare(IntegerLiteral(std::numeric_limits<T>::min(), false)) >= 0 && in IsRepresentableAs()
33 Compare(IntegerLiteral(std::numeric_limits<T>::max(), false)) <= 0; in IsRepresentableAs()
52 int Compare(const IntegerLiteral& other) const { in Compare()
67 explicit IntegerLiteral(T value, bool perform_dcheck) : negative_(false) { in IntegerLiteral() function
81 inline bool operator==(const IntegerLiteral& x, const IntegerLiteral& y) {
85 inline bool operator!=(const IntegerLiteral& x, const IntegerLiteral& y) {
90 const IntegerLiteral& literal) {
94 inline IntegerLiteral operator|(const IntegerLiteral& x,
95 const IntegerLiteral& y) {
98 return IntegerLiteral(false, x.absolute_value() | y.absolute_value());
101 IntegerLiteral operator<<(const IntegerLiteral& x, const IntegerLiteral& y);
102 IntegerLiteral operator+(const IntegerLiteral& x, const IntegerLiteral& y);