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

Side by Side Diff: src/IceTargetLoweringX86BaseImpl.h

Issue 1417393003: Subzero. ARM32. New bool folding. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds --force to check-spec 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
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/assembler/arm32/branch-mult-fwd.ll » ('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/IceTargetLoweringX86BaseImpl.h - x86 lowering -*- C++ -*-==// 1 //===- subzero/src/IceTargetLoweringX86BaseImpl.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
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 template <class MachineTraits> class BoolFolding { 76 template <class MachineTraits> class BoolFolding {
77 public: 77 public:
78 enum BoolFoldingProducerKind { 78 enum BoolFoldingProducerKind {
79 PK_None, 79 PK_None,
80 // TODO(jpp): PK_Icmp32 is no longer meaningful. Rename to PK_IcmpNative. 80 // TODO(jpp): PK_Icmp32 is no longer meaningful. Rename to PK_IcmpNative.
81 PK_Icmp32, 81 PK_Icmp32,
82 PK_Icmp64, 82 PK_Icmp64,
83 PK_Fcmp, 83 PK_Fcmp,
84 PK_Trunc, 84 PK_Trunc,
85 PK_Arith // A flag-setting arithmetic instruction. 85 PK_Arith // A flag-setting arithmetic instruction.
86 }; 86 };
87 87
88 /// Currently the actual enum values are not used (other than CK_None), but we 88 /// Currently the actual enum values are not used (other than CK_None), but we
89 /// go ahead and produce them anyway for symmetry with the 89 /// go ahead and produce them anyway for symmetry with the
90 /// BoolFoldingProducerKind. 90 /// BoolFoldingProducerKind.
91 enum BoolFoldingConsumerKind { CK_None, CK_Br, CK_Select, CK_Sext, CK_Zext }; 91 enum BoolFoldingConsumerKind { CK_None, CK_Br, CK_Select, CK_Sext, CK_Zext };
92 92
93 private: 93 private:
94 BoolFolding(const BoolFolding &) = delete; 94 BoolFolding(const BoolFolding &) = delete;
95 BoolFolding &operator=(const BoolFolding &) = delete; 95 BoolFolding &operator=(const BoolFolding &) = delete;
(...skipping 5856 matching lines...) Expand 10 before | Expand all | Expand 10 after
5952 } 5952 }
5953 // the offset is not eligible for blinding or pooling, return the original 5953 // the offset is not eligible for blinding or pooling, return the original
5954 // mem operand 5954 // mem operand
5955 return MemOperand; 5955 return MemOperand;
5956 } 5956 }
5957 5957
5958 } // end of namespace X86Internal 5958 } // end of namespace X86Internal
5959 } // end of namespace Ice 5959 } // end of namespace Ice
5960 5960
5961 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H 5961 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/assembler/arm32/branch-mult-fwd.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698