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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 1171563002: Subzero: Emit ARM build-attributes in the file scope (as header). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 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/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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 protected: 591 protected:
592 explicit TargetDataX8632(GlobalContext *Ctx); 592 explicit TargetDataX8632(GlobalContext *Ctx);
593 593
594 private: 594 private:
595 void lowerGlobal(const VariableDeclaration &Var) const; 595 void lowerGlobal(const VariableDeclaration &Var) const;
596 ~TargetDataX8632() override {} 596 ~TargetDataX8632() override {}
597 template <typename T> static void emitConstantPool(GlobalContext *Ctx); 597 template <typename T> static void emitConstantPool(GlobalContext *Ctx);
598 }; 598 };
599 599
600 class TargetHeaderX8632 : public TargetHeaderLowering {
601 TargetHeaderX8632() = delete;
602 TargetHeaderX8632(const TargetHeaderX8632 &) = delete;
603 TargetHeaderX8632 &operator=(const TargetHeaderX8632 &) = delete;
604
605 public:
606 static TargetHeaderLowering *create(GlobalContext *Ctx) {
607 return new TargetHeaderX8632(Ctx);
608 }
609
610 protected:
611 explicit TargetHeaderX8632(GlobalContext *Ctx);
612
613 private:
614 ~TargetHeaderX8632() final {}
615 };
616
600 } // end of namespace Ice 617 } // end of namespace Ice
601 618
602 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 619 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698