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()
48 this->TM = &static_cast<const MipsTargetMachine &>(TM); in Initialize()
63 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM) const { in IsGlobalInSmallSection()
68 return IsGlobalInSmallSectionImpl(GV, TM); in IsGlobalInSmallSection()
70 return IsGlobalInSmallSection(GV, TM, getKindForGlobal(GV, TM)); in IsGlobalInSmallSection()
76 IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM, in IsGlobalInSmallSection() argument
78 return (IsGlobalInSmallSectionImpl(GV, TM) && in IsGlobalInSmallSection()
87 const TargetMachine &TM) const { in IsGlobalInSmallSectionImpl()
89 *static_cast<const MipsTargetMachine &>(TM).getSubtargetImpl(); in IsGlobalInSmallSectionImpl()
117 const TargetMachine &TM) const { in SelectSectionForGlobal()
122 if (Kind.isBSS() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
124 if (Kind.isData() && IsGlobalInSmallSection(GV, TM, Kind)) in SelectSectionForGlobal()
128 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()
133 const DataLayout &DL, const Constant *CN, const TargetMachine &TM) const { in IsConstantInSmallSection()
134 return (static_cast<const MipsTargetMachine &>(TM) in IsConstantInSmallSection()
143 if (IsConstantInSmallSection(DL, C, *TM)) in getSectionForConstant()