LLVM
20.0.0git
lib
Target
PowerPC
PPCTargetObjectFile.h
Go to the documentation of this file.
1
//===-- PPCTargetObjectFile.h - PPC Object 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
#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
10
#define LLVM_LIB_TARGET_POWERPC_PPCTARGETOBJECTFILE_H
11
12
#include "
llvm/CodeGen/TargetLoweringObjectFileImpl.h
"
13
#include "
llvm/Target/TargetLoweringObjectFile.h
"
14
#include "
llvm/Target/TargetMachine.h
"
15
16
namespace
llvm
{
17
18
/// PPC64LinuxTargetObjectFile - This implementation is used for
19
/// 64-bit PowerPC Linux.
20
class
PPC64LinuxTargetObjectFile
:
public
TargetLoweringObjectFileELF
{
21
22
void
Initialize(
MCContext
&Ctx,
const
TargetMachine
&
TM
)
override
;
23
24
MCSection
*SelectSectionForGlobal(
const
GlobalObject
*GO,
SectionKind
Kind,
25
const
TargetMachine
&
TM
)
const override
;
26
27
/// Describe a TLS variable address within debug info.
28
const
MCExpr
*getDebugThreadLocalSymbol(
const
MCSymbol
*
Sym
)
const override
;
29
};
30
31
}
// end namespace llvm
32
33
#endif
Sym
Symbol * Sym
Definition:
ELF_riscv.cpp:479
TargetLoweringObjectFileImpl.h
TargetLoweringObjectFile.h
llvm::GlobalObject
Definition:
GlobalObject.h:27
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition:
MCExpr.h:34
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition:
MCSection.h:36
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition:
MCSymbol.h:41
llvm::PPC64LinuxTargetObjectFile
PPC64LinuxTargetObjectFile - This implementation is used for 64-bit PowerPC Linux.
Definition:
PPCTargetObjectFile.h:20
llvm::SectionKind
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition:
SectionKind.h:22
llvm::TargetLoweringObjectFileELF
Definition:
TargetLoweringObjectFileImpl.h:34
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition:
TargetLoweringObjectFile.h:68
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:77
TargetMachine.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Nov 24 2024 10:32:11 for LLVM by
1.9.6