LLVM API Documentation

Public Member Functions
llvm::MipsTargetObjectFile Class Reference

#include <MipsTargetObjectFile.h>

Inheritance diagram for llvm::MipsTargetObjectFile:
Inheritance graph
[legend]
Collaboration diagram for llvm::MipsTargetObjectFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Initialize (MCContext &Ctx, const TargetMachine &TM) override
bool IsGlobalInSmallSection (const GlobalValue *GV, const TargetMachine &TM, SectionKind Kind) const
bool IsGlobalInSmallSection (const GlobalValue *GV, const TargetMachine &TM) const
const MCSectionSelectSectionForGlobal (const GlobalValue *GV, SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const override

Detailed Description

Definition at line 17 of file MipsTargetObjectFile.h.


Member Function Documentation

void MipsTargetObjectFile::Initialize ( MCContext ctx,
const TargetMachine TM 
) [override, virtual]

This method must be called before any actual lowering is done. This specifies the current context for codegen, and gives the lowering implementations a chance to set up their default sections.

Initialize - this method must be called before any actual lowering is done. This specifies the current context for codegen, and gives the lowering implementations a chance to set up their default sections.

Reimplemented from llvm::TargetLoweringObjectFile.

Definition at line 27 of file MipsTargetObjectFile.cpp.

References llvm::SectionKind::getBSS(), llvm::TargetLoweringObjectFile::getContext(), llvm::SectionKind::getDataRel(), llvm::MCContext::getELFSection(), llvm::TargetLoweringObjectFileELF::InitializeELF(), llvm::TargetMachine::Options, llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_WRITE, llvm::ELF::SHT_NOBITS, llvm::ELF::SHT_PROGBITS, and llvm::TargetOptions::UseInitArray.

const MCSection * MipsTargetObjectFile::SelectSectionForGlobal ( const GlobalValue GV,
SectionKind  Kind,
Mangler Mang,
const TargetMachine TM 
) const [override, virtual]

The documentation for this class was generated from the following files: