Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
MCSection *getHSADataGlobalProgramSection(MCContext &Ctx); | MCSection *getHSADataGlobalProgramSection(MCContext &Ctx); | ||||
MCSection *getHSARodataReadonlyAgentSection(MCContext &Ctx); | MCSection *getHSARodataReadonlyAgentSection(MCContext &Ctx); | ||||
bool isGroupSegment(const GlobalValue *GV); | bool isGroupSegment(const GlobalValue *GV); | ||||
bool isGlobalSegment(const GlobalValue *GV); | bool isGlobalSegment(const GlobalValue *GV); | ||||
bool isReadOnlySegment(const GlobalValue *GV); | bool isReadOnlySegment(const GlobalValue *GV); | ||||
/// \returns True if constants should be emitted to .text section for given | |||||
/// target triple \p TT, false otherwise. | |||||
bool shouldEmitConstantsToTextSection(const Triple &TT); | |||||
/// \returns Integer value requested using \p F's \p Name attribute. | /// \returns Integer value requested using \p F's \p Name attribute. | ||||
/// | /// | ||||
/// \returns \p Default if attribute is not present. | /// \returns \p Default if attribute is not present. | ||||
/// | /// | ||||
/// \returns \p Default and emits error if requested value cannot be converted | /// \returns \p Default and emits error if requested value cannot be converted | ||||
/// to integer. | /// to integer. | ||||
int getIntegerAttribute(const Function &F, StringRef Name, int Default); | int getIntegerAttribute(const Function &F, StringRef Name, int Default); | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |