LLVM  14.0.0git
HexagonTargetStreamer.h
Go to the documentation of this file.
1 //===-- HexagonTargetStreamer.h - Hexagon Target Streamer ------*- C++ -*--===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef HEXAGONTARGETSTREAMER_H
10 #define HEXAGONTARGETSTREAMER_H
11 
12 #include "llvm/MC/MCStreamer.h"
13 
14 namespace llvm {
16 public:
18  virtual void emitCodeAlignment(unsigned ByteAlignment,
19  const MCSubtargetInfo *STI,
20  unsigned MaxBytesToEmit = 0){};
21  virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){};
23  unsigned ByteAlignment,
24  unsigned AccessGranularity){};
26  unsigned ByteAlign,
27  unsigned AccessGranularity){};
28 };
29 }
30 
31 #endif
llvm::Check::Size
@ Size
Definition: FileCheck.h:73
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::HexagonTargetStreamer::emitCommonSymbolSorted
virtual void emitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, unsigned AccessGranularity)
Definition: HexagonTargetStreamer.h:22
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
llvm::HexagonTargetStreamer::emitCodeAlignment
virtual void emitCodeAlignment(unsigned ByteAlignment, const MCSubtargetInfo *STI, unsigned MaxBytesToEmit=0)
Definition: HexagonTargetStreamer.h:18
llvm::MCStreamer
Streaming machine code generation interface.
Definition: MCStreamer.h:199
llvm::HexagonTargetStreamer
Definition: HexagonTargetStreamer.h:15
llvm::MCTargetStreamer
Target specific streamer interface.
Definition: MCStreamer.h:91
uint64_t
llvm::HexagonTargetStreamer::HexagonTargetStreamer
HexagonTargetStreamer(MCStreamer &S)
Definition: HexagonTargetStreamer.h:17
llvm::HexagonTargetStreamer::emitFAlign
virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit)
Definition: HexagonTargetStreamer.h:21
S
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
Definition: README.txt:210
llvm::HexagonTargetStreamer::emitLocalCommonSymbolSorted
virtual void emitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlign, unsigned AccessGranularity)
Definition: HexagonTargetStreamer.h:25
llvm::LCOMM::ByteAlignment
@ ByteAlignment
Definition: MCAsmInfo.h:50
llvm::ARMBuildAttrs::Symbol
@ Symbol
Definition: ARMBuildAttributes.h:79
MCStreamer.h
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition: MCSubtargetInfo.h:75