Lines Matching refs:TM
53 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
58 TM.getSymbol(GV, Mang)->getName()); in getCFIPersonalitySymbol()
60 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
88 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
94 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); in getTTypeGlobalReference()
100 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
110 getTTypeGlobalReference(GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
209 const TargetMachine &TM) const { in getExplicitSectionGlobal()
248 const TargetMachine &TM, bool EmitUniqueSection, in selectELFSectionForGlobal() argument
279 bool UniqueSectionNames = TM.getUniqueSectionNames(); in selectELFSectionForGlobal()
301 TM.getNameWithPrefix(Name, GV, Mang, true); in selectELFSectionForGlobal()
314 const TargetMachine &TM) const { in SelectSectionForGlobal()
322 EmitUniqueSection = TM.getFunctionSections(); in SelectSectionForGlobal()
324 EmitUniqueSection = TM.getDataSections(); in SelectSectionForGlobal()
328 return selectELFSectionForGlobal(getContext(), GV, Kind, Mang, TM, in SelectSectionForGlobal()
333 const Function &F, Mangler &Mang, const TargetMachine &TM) const { in getSectionForJumpTable()
337 bool EmitUniqueSection = TM.getFunctionSections() || C; in getSectionForJumpTable()
342 Mang, TM, EmitUniqueSection, ELF::SHF_ALLOC, in getSectionForJumpTable()
427 const TargetMachine &TM) const { in lowerRelativeReference()
440 MCSymbolRefExpr::create(TM.getSymbol(LHS, Mang), PLTRelativeVariantKind, in lowerRelativeReference()
442 MCSymbolRefExpr::create(TM.getSymbol(RHS, Mang), getContext()), in lowerRelativeReference()
471 Mangler &Mang, const TargetMachine &TM) const { in emitModuleFlags()
546 const TargetMachine &TM) const { in getExplicitSectionGlobal()
588 const TargetMachine &TM) const { in SelectSectionForGlobal()
674 const TargetMachine &TM, MachineModuleInfo *MMI, in getTTypeGlobalReference() argument
683 getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", Mang, TM); in getTTypeGlobalReference()
689 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
699 TM, MMI, Streamer); in getTTypeGlobalReference()
703 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
709 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, "$non_lazy_ptr", Mang, TM); in getCFIPersonalitySymbol()
715 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
797 const TargetMachine &TM) const { in getNameWithPrefix()
798 SectionKind GVKind = TargetLoweringObjectFile::getKindForGlobal(GV, TM); in getNameWithPrefix()
799 const MCSection *TheSection = SectionForGlobal(GV, GVKind, Mang, TM); in getNameWithPrefix()
801 !canUsePrivateLabel(*TM.getMCAsmInfo(), *TheSection); in getNameWithPrefix()
810 getCOFFSectionFlags(SectionKind K, const TargetMachine &TM) { in getCOFFSectionFlags() argument
812 bool isThumb = TM.getTargetTriple().getArch() == Triple::thumb; in getCOFFSectionFlags()
890 const TargetMachine &TM) const { in getExplicitSectionGlobal()
892 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getExplicitSectionGlobal()
904 MCSymbol *Sym = TM.getSymbol(ComdatGV, Mang); in getExplicitSectionGlobal()
930 const TargetMachine &TM) const { in SelectSectionForGlobal()
935 EmitUniquedSection = TM.getFunctionSections(); in SelectSectionForGlobal()
937 EmitUniquedSection = TM.getDataSections(); in SelectSectionForGlobal()
941 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in SelectSectionForGlobal()
958 MCSymbol *Sym = TM.getSymbol(ComdatGV, Mang); in SelectSectionForGlobal()
990 const TargetMachine &TM) const { in getNameWithPrefix()
993 ((isa<Function>(GV) && TM.getFunctionSections()) || in getNameWithPrefix()
994 (isa<GlobalVariable>(GV) && TM.getDataSections()))) in getNameWithPrefix()
1001 const Function &F, Mangler &Mang, const TargetMachine &TM) const { in getSectionForJumpTable()
1005 bool EmitUniqueSection = TM.getFunctionSections() || C; in getSectionForJumpTable()
1013 MCSymbol *Sym = TM.getSymbol(&F, Mang); in getSectionForJumpTable()
1018 unsigned Characteristics = getCOFFSectionFlags(Kind, TM); in getSectionForJumpTable()
1029 Mangler &Mang, const TargetMachine &TM) const { in emitModuleFlags()