Lines Matching refs:TM
52 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
57 TM.getSymbol(GV, Mang)->getName()); in getCFIPersonalitySymbol()
59 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
89 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
95 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); in getTTypeGlobalReference()
101 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
111 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
206 const TargetMachine &TM) const { in getExplicitSectionGlobal()
245 const TargetMachine &TM, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
274 bool UniqueSectionNames = TM.getUniqueSectionNames(); in selectELFSectionForGlobal()
294 TM.getNameWithPrefix(Name, GV, Mang, true); in selectELFSectionForGlobal()
307 const TargetMachine &TM) const { in SelectSectionForGlobal()
315 EmitUniqueSection = TM.getFunctionSections(); in SelectSectionForGlobal()
317 EmitUniqueSection = TM.getDataSections(); in SelectSectionForGlobal()
321 return selectELFSectionForGlobal(getContext(), GV, Kind, Mang, TM, in SelectSectionForGlobal()
326 const Function &F, Mangler &Mang, const TargetMachine &TM) const { in getSectionForJumpTable()
330 bool EmitUniqueSection = TM.getFunctionSections() || C; in getSectionForJumpTable()
335 Mang, TM, EmitUniqueSection, ELF::SHF_ALLOC, in getSectionForJumpTable()
440 Mangler &Mang, const TargetMachine &TM) const { in emitModuleFlags()
523 const TargetMachine &TM) const { in getExplicitSectionGlobal()
565 const TargetMachine &TM) const { in SelectSectionForGlobal()
650 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
659 getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", Mang, TM); in getTTypeGlobalReference()
667 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
677 TM, MMI, Streamer); in getTTypeGlobalReference()
681 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
687 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", Mang, TM); in getCFIPersonalitySymbol()
693 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
775 const TargetMachine &TM) const { in getNameWithPrefix()
776 SectionKind GVKind = TargetLoweringObjectFile::getKindForGlobal(GV, TM); in getNameWithPrefix()
777 const MCSection *TheSection = SectionForGlobal(GV, GVKind, Mang, TM); in getNameWithPrefix()
779 !canUsePrivateLabel(*TM.getMCAsmInfo(), *TheSection); in getNameWithPrefix()
866 const TargetMachine &TM) const { in getExplicitSectionGlobal()
880 MCSymbol *Sym = TM.getSymbol(ComdatGV, Mang); in getExplicitSectionGlobal()
908 const TargetMachine &TM) const { in SelectSectionForGlobal()
913 EmitUniquedSection = TM.getFunctionSections(); in SelectSectionForGlobal()
915 EmitUniquedSection = TM.getDataSections(); in SelectSectionForGlobal()
932 MCSymbol *Sym = TM.getSymbol(ComdatGV, Mang); in SelectSectionForGlobal()
964 const TargetMachine &TM) const { in getNameWithPrefix()
967 ((isa<Function>(GV) && TM.getFunctionSections()) || in getNameWithPrefix()
968 (isa<GlobalVariable>(GV) && TM.getDataSections()))) in getNameWithPrefix()
975 const Function &F, Mangler &Mang, const TargetMachine &TM) const { in getSectionForJumpTable()
979 bool EmitUniqueSection = TM.getFunctionSections() || C; in getSectionForJumpTable()
987 MCSymbol *Sym = TM.getSymbol(&F, Mang); in getSectionForJumpTable()
1002 Mangler &Mang, const TargetMachine &TM) const { in emitModuleFlags()