LLVM
8.0.1
lib
Target
AVR
AVRTargetObjectFile.h
Go to the documentation of this file.
1
//===-- AVRTargetObjectFile.h - AVR Object Info -----------------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLVM_AVR_TARGET_OBJECT_FILE_H
11
#define LLVM_AVR_TARGET_OBJECT_FILE_H
12
13
#include "
llvm/CodeGen/TargetLoweringObjectFileImpl.h
"
14
15
namespace
llvm
{
16
17
/// Lowering for an AVR ELF32 object file.
18
class
AVRTargetObjectFile
:
public
TargetLoweringObjectFileELF
{
19
typedef
TargetLoweringObjectFileELF
Base
;
20
21
public
:
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
private
:
28
MCSection
*ProgmemDataSection;
29
};
30
31
}
// end namespace llvm
32
33
#endif // LLVM_AVR_TARGET_OBJECT_FILE_H
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit...
Definition:
MCSection.h:39
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::AVRTargetObjectFile::SelectSectionForGlobal
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Definition:
AVRTargetObjectFile.cpp:29
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::SectionKind
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition:
SectionKind.h:23
TargetLoweringObjectFileImpl.h
llvm::TargetLoweringObjectFileELF::TM
const TargetMachine * TM
Definition:
TargetLoweringObjectFileImpl.h:39
llvm::GlobalObject
Definition:
GlobalObject.h:30
llvm::TargetLoweringObjectFileELF
Definition:
TargetLoweringObjectFileImpl.h:32
Kind
const unsigned Kind
Definition:
ARMAsmParser.cpp:10586
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:59
llvm::AVRTargetObjectFile
Lowering for an AVR ELF32 object file.
Definition:
AVRTargetObjectFile.h:18
llvm::AVRTargetObjectFile::Initialize
void Initialize(MCContext &ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
AVRTargetObjectFile.cpp:22
Generated on Sun Dec 20 2020 13:56:39 for LLVM by
1.8.13