Chromium Code Reviews

Side by Side Diff: src/IceIntrinsics.h

Issue 350933002: Refactor llvm2ice so that Ice can be built while reading bitcode. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits in patch set 2. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « src/IceConverter.cpp ('k') | src/llvm2ice.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.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef SUBZERO_SRC_ICEINTRINSICS_H 14 #ifndef SUBZERO_SRC_ICEINTRINSICS_H
15 #define SUBZERO_SRC_ICEINTRINSICS_H 15 #define SUBZERO_SRC_ICEINTRINSICS_H
16 16
17 #include "IceDefs.h" 17 #include "IceDefs.h"
18 #include "IceTypes.h"
18 19
19 namespace Ice { 20 namespace Ice {
20 21
21 static const size_t kMaxIntrinsicParameters = 6; 22 static const size_t kMaxIntrinsicParameters = 6;
22 23
23 class Intrinsics { 24 class Intrinsics {
24 public: 25 public:
25 Intrinsics(); 26 Intrinsics();
26 ~Intrinsics(); 27 ~Intrinsics();
27 28
(...skipping 90 matching lines...)
118 typedef std::map<IceString, FullIntrinsicInfo> IntrinsicMap; 119 typedef std::map<IceString, FullIntrinsicInfo> IntrinsicMap;
119 IntrinsicMap map; 120 IntrinsicMap map;
120 121
121 Intrinsics(const Intrinsics &) LLVM_DELETED_FUNCTION; 122 Intrinsics(const Intrinsics &) LLVM_DELETED_FUNCTION;
122 Intrinsics &operator=(const Intrinsics &) LLVM_DELETED_FUNCTION; 123 Intrinsics &operator=(const Intrinsics &) LLVM_DELETED_FUNCTION;
123 }; 124 };
124 125
125 } // end of namespace Ice 126 } // end of namespace Ice
126 127
127 #endif // SUBZERO_SRC_ICEINTRINSICS_H 128 #endif // SUBZERO_SRC_ICEINTRINSICS_H
OLDNEW
« no previous file with comments | « src/IceConverter.cpp ('k') | src/llvm2ice.cpp » ('j') | no next file with comments »

Powered by Google App Engine