LLVM
20.0.0git
lib
Target
RISCV
MCTargetDesc
RISCVMCObjectFileInfo.h
Go to the documentation of this file.
1
//===-- RISCVMCObjectFileInfo.h - RISC-V object file Info ------*- 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
// This file contains the declaration of the RISCVMCObjectFileInfo class.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H
14
#define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCOBJECTFILEINFO_H
15
16
#include "
llvm/MC/MCObjectFileInfo.h
"
17
#include "
llvm/MC/MCSubtargetInfo.h
"
18
19
namespace
llvm
{
20
21
class
RISCVMCObjectFileInfo
:
public
MCObjectFileInfo
{
22
public
:
23
static
unsigned
getTextSectionAlignment
(
const
MCSubtargetInfo
&STI);
24
unsigned
getTextSectionAlignment
()
const override
;
25
};
26
27
}
// namespace llvm
28
29
#endif
MCObjectFileInfo.h
MCSubtargetInfo.h
llvm::MCObjectFileInfo
Definition:
MCObjectFileInfo.h:28
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition:
MCSubtargetInfo.h:76
llvm::RISCVMCObjectFileInfo
Definition:
RISCVMCObjectFileInfo.h:21
llvm::RISCVMCObjectFileInfo::getTextSectionAlignment
unsigned getTextSectionAlignment() const override
Definition:
RISCVMCObjectFileInfo.cpp:27
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Thu Nov 21 2024 04:24:36 for LLVM by
1.9.6