LLVM  4.0.0
Functions
TargetLoweringObjectFileImpl.cpp File Reference
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Triple.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/COFF.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for TargetLoweringObjectFileImpl.cpp:

Go to the source code of this file.

Functions

static SectionKind getELFKindForNamedSection (StringRef Name, SectionKind K)
 
static unsigned getELFSectionType (StringRef Name, SectionKind K)
 
static unsigned getELFSectionFlags (SectionKind K)
 
static const ComdatgetELFComdat (const GlobalValue *GV)
 
static StringRef getSectionPrefixForGlobal (SectionKind Kind)
 Return the section prefix name used by options FunctionsSections and DataSections. More...
 
static MCSectionELFselectELFSectionForGlobal (MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags, unsigned *NextUniqueID)
 
static MCSectionELFgetStaticStructorSection (MCContext &Ctx, bool UseInitArray, bool IsCtor, unsigned Priority, const MCSymbol *KeySym)
 
static void checkMachOComdat (const GlobalValue *GV)
 
static bool canUsePrivateLabel (const MCAsmInfo &AsmInfo, const MCSection &Section)
 
static unsigned getCOFFSectionFlags (SectionKind K, const TargetMachine &TM)
 
static const GlobalValuegetComdatGVForCOFF (const GlobalValue *GV)
 
static int getSelectionForCOFF (const GlobalValue *GV)
 
static const char * getCOFFSectionNameForUniqueGlobal (SectionKind Kind)
 

Function Documentation

static bool canUsePrivateLabel ( const MCAsmInfo AsmInfo,
const MCSection Section 
)
static
static void checkMachOComdat ( const GlobalValue GV)
static
static unsigned getCOFFSectionFlags ( SectionKind  K,
const TargetMachine TM 
)
static
static const char* getCOFFSectionNameForUniqueGlobal ( SectionKind  Kind)
static
static const GlobalValue* getComdatGVForCOFF ( const GlobalValue GV)
static
static const Comdat* getELFComdat ( const GlobalValue GV)
static
static SectionKind getELFKindForNamedSection ( StringRef  Name,
SectionKind  K 
)
static
static unsigned getELFSectionFlags ( SectionKind  K)
static
static unsigned getELFSectionType ( StringRef  Name,
SectionKind  K 
)
static
static StringRef getSectionPrefixForGlobal ( SectionKind  Kind)
static
static int getSelectionForCOFF ( const GlobalValue GV)
static
static MCSectionELF* getStaticStructorSection ( MCContext Ctx,
bool  UseInitArray,
bool  IsCtor,
unsigned  Priority,
const MCSymbol KeySym 
)
static
static MCSectionELF* selectELFSectionForGlobal ( MCContext Ctx,
const GlobalObject GO,
SectionKind  Kind,
Mangler Mang,
const TargetMachine TM,
bool  EmitUniqueSection,
unsigned  Flags,
unsigned NextUniqueID 
)
static