2015-06-17 11:06:16 +08:00
|
|
|
//===-- HexagonTargetStreamer.h - Hexagon Target Streamer ------*- C++ -*--===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08: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 11:06:16 +08: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 11:21:58 +08:00
|
|
|
virtual void emitCodeAlignment(unsigned ByteAlignment,
|
2015-06-17 11:06:16 +08:00
|
|
|
unsigned MaxBytesToEmit = 0){};
|
|
|
|
virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){};
|
2020-02-15 10:16:24 +08:00
|
|
|
virtual void emitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
|
2015-06-17 11:06:16 +08:00
|
|
|
unsigned ByteAlignment,
|
|
|
|
unsigned AccessGranularity){};
|
2020-02-15 10:16:24 +08:00
|
|
|
virtual void emitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
|
2015-06-17 11:06:16 +08:00
|
|
|
unsigned ByteAlign,
|
|
|
|
unsigned AccessGranularity){};
|
|
|
|
};
|
2015-06-23 17:49:53 +08:00
|
|
|
}
|
2015-06-17 11:06:16 +08:00
|
|
|
|
|
|
|
#endif
|