Lines Matching refs:TM

39 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){  in Initialize()  argument
40 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
41 InitializeELF(TM.Options.UseInitArray); in Initialize()
50 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize()
65 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection()
70 return IsGlobalInSmallSectionImpl(GV, TM); in IsGlobalInSmallSection()
72 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection()
78 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument
80 return (IsGlobalInSmallSectionImpl(GV, TM) && in IsGlobalInSmallSection()
89 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl()
91 *static_cast<const MipsTargetMachine &>(TM).getSubtargetImpl(); in IsGlobalInSmallSectionImpl()
119 const TargetMachine &TM) const { in SelectSectionForGlobal()
124 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
126 if (Kind.isData() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
130 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
135 const DataLayout &DL, const Constant *CN, const TargetMachine &TM) const { in IsConstantInSmallSection()
136 return (static_cast<const MipsTargetMachine &>(TM) in IsConstantInSmallSection()
147 if (IsConstantInSmallSection(DL, C, *TM)) in getSectionForConstant()