Lines Matching refs:TM
45 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument
46 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
55 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize()
70 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection()
75 return IsGlobalInSmallSectionImpl(GO, TM); in IsGlobalInSmallSection()
77 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in IsGlobalInSmallSection()
83 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection() argument
85 return IsGlobalInSmallSectionImpl(GO, TM) && in IsGlobalInSmallSection()
95 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl()
97 *static_cast<const MipsTargetMachine &>(TM).getSubtargetImpl(); in IsGlobalInSmallSectionImpl()
150 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal()
155 if (Kind.isBSS() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
157 if (Kind.isData() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
159 if (Kind.isReadOnly() && IsGlobalInSmallSection(GO, TM, Kind)) in SelectSectionForGlobal()
163 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
168 const DataLayout &DL, const Constant *CN, const TargetMachine &TM) const { in IsConstantInSmallSection()
169 return (static_cast<const MipsTargetMachine &>(TM) in IsConstantInSmallSection()
180 if (IsConstantInSmallSection(DL, C, *TM)) in getSectionForConstant()