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

Side by Side Diff: src/IceTargetLoweringX86RegClass.h

Issue 1427973003: Subzero: Refactor x86 register representation to actively use aliases. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change for consistency Created 5 years, 1 month 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
OLDNEW
(Empty)
1 //===- subzero/src/IceTargetLoweringX86RegClass.h - x86 reg class -*- C++ -*-=//
2 //
3 // The Subzero Code Generator
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// This file declares the X86 register class extensions.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86REGCLASS_H
16 #define SUBZERO_SRC_ICETARGETLOWERINGX86REGCLASS_H
17
18 #include "IceOperand.h" // RC_Target
19
20 namespace Ice {
21 namespace X86Internal {
22
23 // Extend enum RegClass with x86-specific register classes.
24 enum RegClassX86 : uint8_t {
25 RCX86_Is64To8 = RC_Target,
John 2015/11/09 16:23:30 optinal: comment each class?
Jim Stichnoth 2015/11/09 18:45:35 Done.
26 RCX86_Is32To8,
27 RCX86_Is16To8,
28 RCX86_IsTrunc8Rcvr,
29 RCX86_IsAhRcvr,
30 RCX86_NUM
31 };
32
33 } // end of namespace X86Internal
34 } // end of namespace Ice
35
36 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86REGCLASS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698