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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes, mostly renaming. Created 4 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/IceTargetLowering.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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 void addProlog(CfgNode *Node) override; 213 void addProlog(CfgNode *Node) override;
214 void finishArgumentLowering(Variable *Arg, Variable *FramePtr, 214 void finishArgumentLowering(Variable *Arg, Variable *FramePtr,
215 size_t BasicFrameOffset, size_t StackAdjBytes, 215 size_t BasicFrameOffset, size_t StackAdjBytes,
216 size_t &InArgsSizeBytes); 216 size_t &InArgsSizeBytes);
217 void addEpilog(CfgNode *Node) override; 217 void addEpilog(CfgNode *Node) override;
218 X86Address stackVarToAsmOperand(const Variable *Var) const; 218 X86Address stackVarToAsmOperand(const Variable *Var) const;
219 219
220 InstructionSetEnum getInstructionSet() const { return InstructionSet; } 220 InstructionSetEnum getInstructionSet() const { return InstructionSet; }
221 Operand *legalizeUndef(Operand *From, RegNumT RegNum = RegNumT()); 221 Operand *legalizeUndef(Operand *From, RegNumT RegNum = RegNumT());
222 222
223 Inst *createLoweredMove(Variable *Dest, Variable *SrcVar) override;
224
223 protected: 225 protected:
224 const bool NeedSandboxing; 226 const bool NeedSandboxing;
225 227
226 explicit TargetX86Base(Cfg *Func); 228 explicit TargetX86Base(Cfg *Func);
227 229
228 void postLower() override; 230 void postLower() override;
229 231
230 /// Initializes the RebasePtr member variable -- if so required by 232 /// Initializes the RebasePtr member variable -- if so required by
231 /// SandboxingType for the concrete Target. 233 /// SandboxingType for the concrete Target.
232 void initRebasePtr() { 234 void initRebasePtr() {
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 1171
1170 explicit TargetHeaderX86(GlobalContext *Ctx) : TargetHeaderLowering(Ctx) {} 1172 explicit TargetHeaderX86(GlobalContext *Ctx) : TargetHeaderLowering(Ctx) {}
1171 }; 1173 };
1172 1174
1173 } // end of namespace X86NAMESPACE 1175 } // end of namespace X86NAMESPACE
1174 } // end of namespace Ice 1176 } // end of namespace Ice
1175 1177
1176 #include "IceTargetLoweringX86BaseImpl.h" 1178 #include "IceTargetLoweringX86BaseImpl.h"
1177 1179
1178 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 1180 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceTargetLowering.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698