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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1253833002: Subzero: Cleanly implement register allocation after phi lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Improve translation-time performance 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/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('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
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void lowerLoad(const InstLoad *Inst) override; 137 void lowerLoad(const InstLoad *Inst) override;
138 void lowerPhi(const InstPhi *Inst) override; 138 void lowerPhi(const InstPhi *Inst) override;
139 void lowerRet(const InstRet *Inst) override; 139 void lowerRet(const InstRet *Inst) override;
140 void lowerSelect(const InstSelect *Inst) override; 140 void lowerSelect(const InstSelect *Inst) override;
141 void lowerStore(const InstStore *Inst) override; 141 void lowerStore(const InstStore *Inst) override;
142 void lowerSwitch(const InstSwitch *Inst) override; 142 void lowerSwitch(const InstSwitch *Inst) override;
143 void lowerUnreachable(const InstUnreachable *Inst) override; 143 void lowerUnreachable(const InstUnreachable *Inst) override;
144 void lowerOther(const Inst *Instr) override; 144 void lowerOther(const Inst *Instr) override;
145 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); 145 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW);
146 void prelowerPhis() override; 146 void prelowerPhis() override;
147 void lowerPhiAssignments(CfgNode *Node,
148 const AssignList &Assignments) override;
149 void doAddressOptLoad() override; 147 void doAddressOptLoad() override;
150 void doAddressOptStore() override; 148 void doAddressOptStore() override;
151 void randomlyInsertNop(float Probability) override; 149 void randomlyInsertNop(float Probability) override;
152 150
153 /// Naive lowering of cmpxchg. 151 /// Naive lowering of cmpxchg.
154 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, 152 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
155 Operand *Desired); 153 Operand *Desired);
156 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. 154 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized.
157 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, 155 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr,
158 Operand *Expected, Operand *Desired); 156 Operand *Expected, Operand *Desired);
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 } 603 }
606 604
607 BoolFolding FoldingInfo; 605 BoolFolding FoldingInfo;
608 }; 606 };
609 } // end of namespace X86Internal 607 } // end of namespace X86Internal
610 } // end of namespace Ice 608 } // end of namespace Ice
611 609
612 #include "IceTargetLoweringX86BaseImpl.h" 610 #include "IceTargetLoweringX86BaseImpl.h"
613 611
614 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 612 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698