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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1275953002: Fix translator handling of basic block indices. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 years, 4 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/IceGlobalContext.cpp ('k') | src/PNaClTranslator.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/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- 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 /// \file 10 /// \file
11 /// This file declares the TargetLoweringX86 template class, which 11 /// This file declares the TargetLoweringX86 template class, which
12 /// implements the TargetLowering base interface for the x86 12 /// implements the TargetLowering base interface for the x86
13 /// architecture. 13 /// architecture.
14 /// 14 ///
15 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===//
16 16
17 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 17 #ifndef SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
18 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 18 #define SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
19 19
20 #include "IceDefs.h" 20 #include "IceDefs.h"
21 #include "IceInst.h" 21 #include "IceInst.h"
22 #include "IceSwitchLowering.h" 22 #include "IceSwitchLowering.h"
23 #include "IceTargetLowering.h" 23 #include "IceTargetLowering.h"
24 24
25 #include <type_traits> 25 #include <type_traits>
26 #include <unordered_map>
27 #include <utility> 26 #include <utility>
28 27
29 namespace Ice { 28 namespace Ice {
30 namespace X86Internal { 29 namespace X86Internal {
31 30
32 template <class MachineTraits> class BoolFolding; 31 template <class MachineTraits> class BoolFolding;
33 32
34 template <class Machine> struct MachineTraits {}; 33 template <class Machine> struct MachineTraits {};
35 34
36 /// TargetX86Base is a template for all X86 Targets, and it relies on the CRT 35 /// TargetX86Base is a template for all X86 Targets, and it relies on the CRT
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 653 }
655 654
656 BoolFolding FoldingInfo; 655 BoolFolding FoldingInfo;
657 }; 656 };
658 } // end of namespace X86Internal 657 } // end of namespace X86Internal
659 } // end of namespace Ice 658 } // end of namespace Ice
660 659
661 #include "IceTargetLoweringX86BaseImpl.h" 660 #include "IceTargetLoweringX86BaseImpl.h"
662 661
663 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 662 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceGlobalContext.cpp ('k') | src/PNaClTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698