Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
XCoreTargetObjectFile.h
Go to the documentation of this file.
1//===-- XCoreTargetObjectFile.h - XCore 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_XCORE_XCORETARGETOBJECTFILE_H
10#define LLVM_LIB_TARGET_XCORE_XCORETARGETOBJECTFILE_H
11
12#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
13
14namespacellvm {
15
16staticconstunsignedCodeModelLargeSize = 256;
17
18classXCoreTargetObjectFile :publicTargetLoweringObjectFileELF {
19MCSection *BSSSectionLarge;
20MCSection *DataSectionLarge;
21MCSection *ReadOnlySectionLarge;
22MCSection *DataRelROSectionLarge;
23
24public:
25voidInitialize(MCContext &Ctx,constTargetMachine &TM)override;
26
27MCSection *getExplicitSectionGlobal(constGlobalObject *GO,SectionKind Kind,
28constTargetMachine &TM)const override;
29
30MCSection *SelectSectionForGlobal(constGlobalObject *GO,SectionKind Kind,
31constTargetMachine &TM)const override;
32
33MCSection *getSectionForConstant(constDataLayout &DL,SectionKind Kind,
34constConstant *C,
35Align &Alignment)const override;
36 };
37}// end namespace llvm
38
39#endif
DL
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
Definition:ARMSLSHardening.cpp:73
TargetLoweringObjectFileImpl.h
llvm::Constant
This is an important base class in LLVM.
Definition:Constant.h:42
llvm::DataLayout
A parsed version of the target data layout string in and methods for querying it.
Definition:DataLayout.h:63
llvm::GlobalObject
Definition:GlobalObject.h:27
llvm::MCContext
Context object for machine code objects.
Definition:MCContext.h:83
llvm::MCSection
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition:MCSection.h:36
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
llvm::XCoreTargetObjectFile
Definition:XCoreTargetObjectFile.h:18
llvm::XCoreTargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:XCoreTargetObjectFile.cpp:20
llvm::XCoreTargetObjectFile::getExplicitSectionGlobal
MCSection * getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Targets should implement this method to assign a section to globals with an explicit section specfied...
Definition:XCoreTargetObjectFile.cpp:97
llvm::XCoreTargetObjectFile::getSectionForConstant
MCSection * getSectionForConstant(const DataLayout &DL, SectionKind Kind, const Constant *C, Align &Alignment) const override
Given a constant with the SectionKind, return a section that it should be placed in.
Definition:XCoreTargetObjectFile.cpp:143
llvm::XCoreTargetObjectFile::SelectSectionForGlobal
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Definition:XCoreTargetObjectFile.cpp:108
llvm::CallingConv::C
@ C
The default llvm calling convention, compatible with C.
Definition:CallingConv.h:34
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:AddressRanges.h:18
llvm::CodeModelLargeSize
static const unsigned CodeModelLargeSize
Definition:XCoreTargetObjectFile.h:16
llvm::Align
This struct is a compact representation of a valid (non-zero power of two) alignment.
Definition:Alignment.h:39

Generated on Fri Jul 18 2025 15:09:56 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp