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

Side by Side Diff: src/IceAssemblerX8664.h

Issue 1257283004: Iasm and obj lowering for advanced switch lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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/IceAssemblerX8664.h - Assembler for x86-64 -*- C++ -*---===// 1 //===- subzero/src/IceAssemblerX8664.h - Assembler for x86-64 -*- 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 20 matching lines...) Expand all
31 assert(!use_far_branches); 31 assert(!use_far_branches);
32 (void)use_far_branches; 32 (void)use_far_branches;
33 llvm::report_fatal_error("Not yet implemented"); 33 llvm::report_fatal_error("Not yet implemented");
34 } 34 }
35 35
36 ~AssemblerX8664() override = default; 36 ~AssemblerX8664() override = default;
37 37
38 void alignFunction() override; 38 void alignFunction() override;
39 void padWithNop(intptr_t Padding) override; 39 void padWithNop(intptr_t Padding) override;
40 SizeT getBundleAlignLog2Bytes() const override; 40 SizeT getBundleAlignLog2Bytes() const override;
41 const char *getNonExecPadDirective() const override; 41 const char *getAlignDirective() const override;
42 llvm::ArrayRef<uint8_t> getNonExecBundlePadding() const override; 42 llvm::ArrayRef<uint8_t> getNonExecBundlePadding() const override;
43 Label *getOrCreateCfgNodeLabel(SizeT NodeNumber) override;
43 void bindCfgNodeLabel(SizeT NodeNumber) override; 44 void bindCfgNodeLabel(SizeT NodeNumber) override;
44 bool fixupIsPCRel(FixupKind Kind) const override; 45 bool fixupIsPCRel(FixupKind Kind) const override;
45 46
46 static bool classof(const Assembler *Asm) { 47 static bool classof(const Assembler *Asm) {
47 return Asm->getKind() == Asm_X8664; 48 return Asm->getKind() == Asm_X8664;
48 } 49 }
49 }; 50 };
50 51
51 } // end of namespace X8664 52 } // end of namespace X8664
52 } // end of namespace Ice 53 } // end of namespace Ice
53 54
54 #endif // SUBZERO_SRC_ICEASSEMBLERX8664_H 55 #endif // SUBZERO_SRC_ICEASSEMBLERX8664_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698