Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 //===-- subzero/src/IceAPInt.h - Constant integer conversions --*- C++ -*--===// | 1 //===-- subzero/src/IceAPInt.h - Constant integer conversions --*- C++ -*--===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| 11 /// \brief This file implements a class to represent 64 bit integer constant | 11 /// \brief Implements a class to represent 64 bit integer constant |
|
Jim Stichnoth
2015/12/01 18:41:15
Reflow to 80-col
rkotlerimgtec
2015/12/02 01:32:47
this file has been deleted
| |
| 12 /// values, and their conversion to variable bit sized integers. | 12 /// values, and their conversion to variable bit sized integers. |
| 13 /// | 13 /// |
| 14 /// Note: This is a simplified version of llvm/include/llvm/ADT/APInt.h for use | 14 /// Note: This is a simplified version of llvm/include/llvm/ADT/APInt.h for use |
| 15 /// with Subzero. | 15 /// with Subzero. |
| 16 //===----------------------------------------------------------------------===// | 16 //===----------------------------------------------------------------------===// |
| 17 | 17 |
| 18 #ifndef SUBZERO_SRC_ICEAPINT_H | 18 #ifndef SUBZERO_SRC_ICEAPINT_H |
| 19 #define SUBZERO_SRC_ICEAPINT_H | 19 #define SUBZERO_SRC_ICEAPINT_H |
| 20 | 20 |
| 21 #include "IceDefs.h" | 21 #include "IceDefs.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 return; | 57 return; |
| 58 | 58 |
| 59 // Mask out the high bits. | 59 // Mask out the high bits. |
| 60 Val &= ~static_cast<uint64_t>(0) >> (APINT_BITS_PER_WORD - BitWidth); | 60 Val &= ~static_cast<uint64_t>(0) >> (APINT_BITS_PER_WORD - BitWidth); |
| 61 } | 61 } |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // end of namespace Ice | 64 } // end of namespace Ice |
| 65 | 65 |
| 66 #endif // SUBZERO_SRC_ICEAPINT_H | 66 #endif // SUBZERO_SRC_ICEAPINT_H |
| OLD | NEW |