Home
last modified time | relevance | path

Searched refs:Mang (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm-project/llvm/unittests/IR/
DManglerTest.cpp18 static std::string mangleStr(StringRef IRName, Mangler &Mang, in mangleStr() argument
22 Mang.getNameWithPrefix(SS, IRName, DL); in mangleStr()
30 Mangler &Mang) { in mangleFunc() argument
39 Mang.getNameWithPrefix(SS, F, false); in mangleFunc()
52 Mangler Mang; in TEST() local
53 EXPECT_EQ(mangleStr("foo", Mang, DL), "_foo"); in TEST()
54 EXPECT_EQ(mangleStr("\01foo", Mang, DL), "foo"); in TEST()
55 EXPECT_EQ(mangleStr("?foo", Mang, DL), "_?foo"); in TEST()
57 llvm::CallingConv::C, Mod, Mang), in TEST()
60 llvm::CallingConv::C, Mod, Mang), in TEST()
[all …]
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h57 Mangler &Mang,
61 Mangler &Mang,
64 MCSection *getSectionForJumpTable(const Function &F, Mangler &Mang,
74 Mangler &Mang, const TargetMachine &TM,
79 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang,
90 const GlobalValue *RHS, Mangler &Mang,
104 Mangler &Mang, const TargetMachine &TM) const override;
107 Mangler &Mang,
111 Mangler &Mang,
121 Mangler &Mang, const TargetMachine &TM,
[all …]
/external/llvm/include/llvm/Target/
DTargetLoweringObjectFile.h68 Mangler &Mang, const TargetMachine &TM) const {} in emitModuleFlags() argument
86 Mangler &Mang, const TargetMachine &TM) const;
91 MCSection *SectionForGlobal(const GlobalValue *GV, Mangler &Mang, in SectionForGlobal() argument
93 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal()
97 const GlobalValue *GV, Mangler &Mang,
100 virtual MCSection *getSectionForJumpTable(const Function &F, Mangler &Mang,
111 Mangler &Mang, const TargetMachine &TM) const = 0;
116 Mangler &Mang) const { in getSpecialCasedSectionGlobals() argument
124 Mangler &Mang, const TargetMachine &TM,
130 StringRef Suffix, Mangler &Mang,
[all …]
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp53 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()
87 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 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()
208 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() argument
247 SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal() argument
301 TM.getNameWithPrefix(Name, GV, Mang, true); in selectELFSectionForGlobal()
[all …]
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp104 const GlobalValue *GV, StringRef Suffix, Mangler &Mang, in getSymbolWithGlobalValueBase() argument
110 TM.getNameWithPrefix(NameStr, GV, Mang); in getSymbolWithGlobalValueBase()
116 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
118 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
234 SectionKind Kind, Mangler &Mang, in SectionForGlobal() argument
238 return getExplicitSectionGlobal(GV, Kind, Mang, TM); in SectionForGlobal()
242 return SelectSectionForGlobal(GV, Kind, Mang, TM); in SectionForGlobal()
246 const Function &F, Mangler &Mang, const TargetMachine &TM) const { in getSectionForJumpTable() argument
286 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument
290 MCSymbolRefExpr::create(TM.getSymbol(GV, Mang), getContext()); in getTTypeGlobalReference()
[all …]
DTargetMachine.cpp192 const GlobalValue *GV, Mangler &Mang, in getNameWithPrefix() argument
197 Mang.getNameWithPrefix(Name, GV, false); in getNameWithPrefix()
201 TLOF->getNameWithPrefix(Name, GV, Mang, *this); in getNameWithPrefix()
204 MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV, Mangler &Mang) const { in getSymbol()
206 getNameWithPrefix(NameStr, GV, Mang); in getSymbol()
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp33 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument
41 const MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
51 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
55 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
57 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
DAArch64TargetObjectFile.h30 unsigned Encoding, Mangler &Mang,
35 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang,
/external/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp19 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument
26 MCSymbol *SSym = getSymbolWithGlobalValueBase(GV, ".DW.stub", Mang, TM); in getTTypeGlobalReference()
32 MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp27 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument
34 const MCSymbol *Sym = TM.getSymbol(GV, Mang); in getTTypeGlobalReference()
42 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
46 const GlobalValue *GV, Mangler &Mang, const TargetMachine &TM, in getCFIPersonalitySymbol() argument
48 return TM.getSymbol(GV, Mang); in getCFIPersonalitySymbol()
77 const GlobalValue *LHS, const GlobalValue *RHS, Mangler &Mang, in lowerRelativeReference() argument
99 TM.getSymbol(LHS, Mang), MCSymbolRefExpr::VK_COFF_IMGREL32, getContext()); in lowerRelativeReference()
DX86TargetObjectFile.h24 Mangler &Mang, const TargetMachine &TM,
30 MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, Mangler &Mang,
62 Mangler &Mang,
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp105 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
121 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal()
134 Mang, TM); in SelectSectionForGlobal()
139 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() argument
164 return selectSmallSectionForGlobal(GV, Kind, Mang, TM); in getExplicitSectionGlobal()
169 Mang, TM); in getExplicitSectionGlobal()
307 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in selectSmallSectionForGlobal() argument
390 Mang, TM); in selectSmallSectionForGlobal()
DHexagonTargetObjectFile.h23 Mangler &Mang, const TargetMachine &TM) const override;
26 Mangler &Mang, const TargetMachine &TM) const override;
43 SectionKind Kind, Mangler &Mang, const TargetMachine &TM) const;
/external/llvm/lib/Target/ARM/
DARMTargetObjectFile.cpp44 const GlobalValue *GV, unsigned Encoding, Mangler &Mang, in getTTypeGlobalReference() argument
49 GV, Encoding, Mang, TM, MMI, Streamer); in getTTypeGlobalReference()
53 return MCSymbolRefExpr::create(TM.getSymbol(GV, Mang), in getTTypeGlobalReference()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetObjectFile.cpp25 Mangler &Mang, in SelectSectionForGlobal() argument
30 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp43 delete Mang; in Initialize()
44 Mang = new Mangler(); in Initialize()
54 delete Mang; in ~TargetLoweringObjectFile()
122 TM.getNameWithPrefix(NameStr, GV, *Mang); in getSymbolWithGlobalValueBase()
346 Mang->getNameWithPrefix(OutName, GV, /*CannotUsePrivateLabel=*/false); in getNameWithPrefix()
/external/llvm/lib/Target/AVR/
DAVRTargetObjectFile.cpp30 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
38 return Base::SelectSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal()
/external/llvm-project/llvm/lib/Target/
DTargetLoweringObjectFile.cpp45 delete Mang; in Initialize()
46 Mang = new Mangler(); in Initialize()
56 delete Mang; in ~TargetLoweringObjectFile()
133 TM.getNameWithPrefix(NameStr, GV, *Mang); in getSymbolWithGlobalValueBase()
376 Mang->getNameWithPrefix(OutName, GV, /*CannotUsePrivateLabel=*/false); in getNameWithPrefix()
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h29 Mangler &Mang,
33 Mangler &Mang,
/external/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp26 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
50 Mang, TM); in SelectSectionForGlobal()
DPPCMCInstLower.cpp40 Mangler *Mang = AP.Mang; in GetSymbolFromOperand() local
57 TM.getNameWithPrefix(Name, GV, *Mang); in GetSymbolFromOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h140 const Mangler &Mang, StringRef SearchName, in addGlobalValue() argument
150 Mang.getNameWithPrefix(MangledNameStream, &GV, false); in addGlobalValue()
172 Mangler Mang; in buildMangledSymbols() local
175 if (auto GV = addGlobalValue(*Symbols, GO, Mang, SearchName, in buildMangledSymbols()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h163 const Mangler &Mang, StringRef SearchName, in addGlobalValue() argument
173 Mang.getNameWithPrefix(MangledNameStream, &GV, false); in addGlobalValue()
196 Mangler Mang; in buildMangledSymbols() local
199 if (auto GV = addGlobalValue(*Symbols, GO, Mang, SearchName, in buildMangledSymbols()
/external/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp95 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
104 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, in SelectSectionForGlobal()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp118 SectionKind Kind, Mangler &Mang, in SelectSectionForGlobal() argument
130 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); in SelectSectionForGlobal()

1234