OLD | NEW |
1 //===- subzero/src/IceIntrinsics.h - List of Ice Intrinsics -----*- C++ -*-===// | 1 //===- subzero/src/IceIntrinsics.h - List of Ice Intrinsics -----*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
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 // This file declares the kinds of intrinsics supported by PNaCl. | 10 // This file declares the kinds of intrinsics supported by PNaCl. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 150 |
151 // Find the information about a given intrinsic, based on function name. | 151 // Find the information about a given intrinsic, based on function name. |
152 // The function name is expected to have the common "llvm." prefix | 152 // The function name is expected to have the common "llvm." prefix |
153 // stripped. If found, returns a reference to a FullIntrinsicInfo entry | 153 // stripped. If found, returns a reference to a FullIntrinsicInfo entry |
154 // (valid for the lifetime of the map). Otherwise returns null. | 154 // (valid for the lifetime of the map). Otherwise returns null. |
155 const FullIntrinsicInfo *find(const IceString &Name) const; | 155 const FullIntrinsicInfo *find(const IceString &Name) const; |
156 | 156 |
157 private: | 157 private: |
158 // TODO(jvoung): May want to switch to something like LLVM's StringMap. | 158 // TODO(jvoung): May want to switch to something like LLVM's StringMap. |
159 typedef std::map<IceString, FullIntrinsicInfo> IntrinsicMap; | 159 typedef std::map<IceString, FullIntrinsicInfo> IntrinsicMap; |
160 IntrinsicMap map; | 160 IntrinsicMap Map; |
161 | 161 |
162 Intrinsics(const Intrinsics &) LLVM_DELETED_FUNCTION; | 162 Intrinsics(const Intrinsics &) LLVM_DELETED_FUNCTION; |
163 Intrinsics &operator=(const Intrinsics &) LLVM_DELETED_FUNCTION; | 163 Intrinsics &operator=(const Intrinsics &) LLVM_DELETED_FUNCTION; |
164 }; | 164 }; |
165 | 165 |
166 } // end of namespace Ice | 166 } // end of namespace Ice |
167 | 167 |
168 #endif // SUBZERO_SRC_ICEINTRINSICS_H | 168 #endif // SUBZERO_SRC_ICEINTRINSICS_H |
OLD | NEW |