2015-06-17 05:06:16 +02:00
|
|
|
//===-- HexagonTargetStreamer.h - Hexagon Target Streamer ------*- C++ -*--===//
|
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-06-17 05:06:16 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef HEXAGONTARGETSTREAMER_H
|
|
|
|
#define HEXAGONTARGETSTREAMER_H
|
|
|
|
|
|
|
|
#include "llvm/MC/MCStreamer.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class HexagonTargetStreamer : public MCTargetStreamer {
|
|
|
|
public:
|
|
|
|
HexagonTargetStreamer(MCStreamer &S) : MCTargetStreamer(S) {}
|
2020-02-15 04:21:58 +01:00
|
|
|
virtual void emitCodeAlignment(unsigned ByteAlignment,
|
2015-06-17 05:06:16 +02:00
|
|
|
unsigned MaxBytesToEmit = 0){};
|
|
|
|
virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){};
|
2020-02-15 03:16:24 +01:00
|
|
|
virtual void emitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
|
2015-06-17 05:06:16 +02:00
|
|
|
unsigned ByteAlignment,
|
|
|
|
unsigned AccessGranularity){};
|
2020-02-15 03:16:24 +01:00
|
|
|
virtual void emitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
|
2015-06-17 05:06:16 +02:00
|
|
|
unsigned ByteAlign,
|
|
|
|
unsigned AccessGranularity){};
|
|
|
|
};
|
2015-06-23 11:49:53 +02:00
|
|
|
}
|
2015-06-17 05:06:16 +02:00
|
|
|
|
|
|
|
#endif
|