Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Side by Side Diff: src/IceIntrinsics.h

Issue 619893002: Subzero: Auto-awesome iterators. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Use AsmCodeByte instead of uint8_t Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceIntrinsics.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceIntrinsics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698