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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 692633004: Subzero: Remove Variable::NeedsStackSlot. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 6 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/IceRegAlloc.cpp ('k') | src/IceTargetLoweringX8632.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/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 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 // This file declares the TargetLoweringX8632 class, which 10 // This file declares the TargetLoweringX8632 class, which
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 475
476 const X86InstructionSet InstructionSet; 476 const X86InstructionSet InstructionSet;
477 bool IsEbpBasedFrame; 477 bool IsEbpBasedFrame;
478 bool NeedsStackAlignment; 478 bool NeedsStackAlignment;
479 size_t FrameSizeLocals; 479 size_t FrameSizeLocals;
480 size_t SpillAreaSizeBytes; 480 size_t SpillAreaSizeBytes;
481 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; 481 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM];
482 llvm::SmallBitVector ScratchRegs; 482 llvm::SmallBitVector ScratchRegs;
483 llvm::SmallBitVector RegsUsed; 483 llvm::SmallBitVector RegsUsed;
484 SizeT NextLabelNumber; 484 SizeT NextLabelNumber;
485 bool ComputedLiveRanges;
486 VarList PhysicalRegisters[IceType_NUM]; 485 VarList PhysicalRegisters[IceType_NUM];
487 VarList FakeKilledScratchRegisters; 486 VarList FakeKilledScratchRegisters;
488 static IceString RegNames[]; 487 static IceString RegNames[];
489 488
490 private: 489 private:
491 ~TargetX8632() override {} 490 ~TargetX8632() override {}
492 // Ideally, this initialization would be done in the constructor, 491 // Ideally, this initialization would be done in the constructor,
493 // but we need to defer it until after the initial CFG is built, 492 // but we need to defer it until after the initial CFG is built,
494 // because some of the bitcode reader tests rely on the order that 493 // because some of the bitcode reader tests rely on the order that
495 // Variables are created and their default printable names. 494 // Variables are created and their default printable names.
(...skipping 24 matching lines...) Expand all
520 }; 519 };
521 520
522 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; 521 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const;
523 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; 522 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const;
524 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; 523 template <> void ConstantFloat::emit(GlobalContext *Ctx) const;
525 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; 524 template <> void ConstantDouble::emit(GlobalContext *Ctx) const;
526 525
527 } // end of namespace Ice 526 } // end of namespace Ice
528 527
529 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 528 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW
« no previous file with comments | « src/IceRegAlloc.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698