LLVM API Documentation

llvm::DarwinTargetAsmInfo Struct Reference

#include <DarwinTargetAsmInfo.h>

Inheritance diagram for llvm::DarwinTargetAsmInfo:
[legend]
Collaboration diagram for llvm::DarwinTargetAsmInfo:
[legend]

List of all members.

Public Member Functions

 DarwinTargetAsmInfo (const TargetMachine &TM)
virtual const Section * SelectSectionForGlobal (const GlobalValue *GV) const
virtual std::string UniqueSectionForGlobal (const GlobalValue *GV, SectionKind::Kind kind) const
virtual bool emitUsedDirectiveFor (const GlobalValue *GV, Mangler *Mang) const
const Section * MergeableConstSection (const GlobalVariable *GV) const
const Section * MergeableConstSection (const Type *Ty) const
const Section * MergeableStringSection (const GlobalVariable *GV) const
const Section * SelectSectionForMachineConst (const Type *Ty) const

Public Attributes

const Section * TextCoalSection
const Section * ConstTextCoalSection
const Section * ConstDataCoalSection
const Section * ConstDataSection
const Section * DataCoalSection
const Section * FourByteConstantSection
const Section * EightByteConstantSection
const Section * SixteenByteConstantSection


Detailed Description

Definition at line 26 of file DarwinTargetAsmInfo.h.


Constructor & Destructor Documentation

DarwinTargetAsmInfo::DarwinTargetAsmInfo ( const TargetMachine &  TM  )  [explicit]


Member Function Documentation

const Section * DarwinTargetAsmInfo::SelectSectionForGlobal ( const GlobalValue *  GV  )  const [virtual]

std::string DarwinTargetAsmInfo::UniqueSectionForGlobal ( const GlobalValue *  GV,
SectionKind::Kind  kind 
) const [virtual]

Reimplemented from llvm::TargetAsmInfo.

Definition at line 165 of file DarwinTargetAsmInfo.cpp.

bool DarwinTargetAsmInfo::emitUsedDirectiveFor ( const GlobalValue *  GV,
Mangler *  Mang 
) const [virtual]

emitUsedDirectiveFor - On Darwin, internally linked data beginning with the PrivateGlobalPrefix or the LessPrivateGlobalPrefix does not have the directive emitted (this occurs in ObjC metadata).

Reimplemented from llvm::TargetAsmInfo.

Definition at line 60 of file DarwinTargetAsmInfo.cpp.

References llvm::TargetAsmInfo::getLessPrivateGlobalPrefix(), llvm::TargetAsmInfo::getPrivateGlobalPrefix(), llvm::Mangler::getValueName(), and llvm::GlobalValue::hasLocalLinkage().

const Section * DarwinTargetAsmInfo::MergeableConstSection ( const GlobalVariable *  GV  )  const

const Section * DarwinTargetAsmInfo::MergeableConstSection ( const Type *  Ty  )  const [inline]

const Section * DarwinTargetAsmInfo::MergeableStringSection ( const GlobalVariable *  GV  )  const

const Section * DarwinTargetAsmInfo::SelectSectionForMachineConst ( const Type *  Ty  )  const [virtual]


Member Data Documentation

Definition at line 27 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and SelectSectionForGlobal().

Definition at line 28 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and SelectSectionForGlobal().

Definition at line 29 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and SelectSectionForGlobal().

Definition at line 31 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and SelectSectionForGlobal().

Definition at line 32 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and MergeableConstSection().

Definition at line 33 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and MergeableConstSection().

Definition at line 34 of file DarwinTargetAsmInfo.h.

Referenced by DarwinTargetAsmInfo(), and MergeableConstSection().


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