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

Side by Side Diff: src/IceTargetLoweringARM32.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: Cleanup 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
OLDNEW
1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void lowerIntrinsicCall(const InstIntrinsicCall *Inst) override; 125 void lowerIntrinsicCall(const InstIntrinsicCall *Inst) override;
126 void lowerInsertElement(const InstInsertElement *Inst) override; 126 void lowerInsertElement(const InstInsertElement *Inst) override;
127 void lowerLoad(const InstLoad *Inst) override; 127 void lowerLoad(const InstLoad *Inst) override;
128 void lowerPhi(const InstPhi *Inst) override; 128 void lowerPhi(const InstPhi *Inst) override;
129 void lowerRet(const InstRet *Inst) override; 129 void lowerRet(const InstRet *Inst) override;
130 void lowerSelect(const InstSelect *Inst) override; 130 void lowerSelect(const InstSelect *Inst) override;
131 void lowerStore(const InstStore *Inst) override; 131 void lowerStore(const InstStore *Inst) override;
132 void lowerSwitch(const InstSwitch *Inst) override; 132 void lowerSwitch(const InstSwitch *Inst) override;
133 void lowerUnreachable(const InstUnreachable *Inst) override; 133 void lowerUnreachable(const InstUnreachable *Inst) override;
134 void prelowerPhis() override; 134 void prelowerPhis() override;
135 void lowerPhiAssignments(CfgNode *Node,
136 const AssignList &Assignments) override;
137 void doAddressOptLoad() override; 135 void doAddressOptLoad() override;
138 void doAddressOptStore() override; 136 void doAddressOptStore() override;
139 void randomlyInsertNop(float Probability) override; 137 void randomlyInsertNop(float Probability) override;
140 138
141 enum OperandLegalization { 139 enum OperandLegalization {
142 Legal_None = 0, 140 Legal_None = 0,
143 Legal_Reg = 1 << 0, /// physical register, not stack location 141 Legal_Reg = 1 << 0, /// physical register, not stack location
144 Legal_Flex = 1 << 1, /// A flexible operand2, which can hold rotated 142 Legal_Flex = 1 << 1, /// A flexible operand2, which can hold rotated
145 /// small immediates, or shifted registers. 143 /// small immediates, or shifted registers.
146 Legal_Mem = 1 << 2, /// includes [r0, r1 lsl #2] as well as [sp, #12] 144 Legal_Mem = 1 << 2, /// includes [r0, r1 lsl #2] as well as [sp, #12]
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 458
461 private: 459 private:
462 ~TargetHeaderARM32() = default; 460 ~TargetHeaderARM32() = default;
463 461
464 TargetARM32Features CPUFeatures; 462 TargetARM32Features CPUFeatures;
465 }; 463 };
466 464
467 } // end of namespace Ice 465 } // end of namespace Ice
468 466
469 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H 467 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698