Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DManglerTest.cpp19 static std::string mangleStr(StringRef IRName, Mangler &Mang, in mangleStr() argument
23 Mang.getNameWithPrefix(SS, IRName, DL); in mangleStr()
31 Mangler &Mang) { in mangleFunc() argument
40 Mang.getNameWithPrefix(SS, F, false); in mangleFunc()
53 Mangler Mang; in TEST() local
54 EXPECT_EQ(mangleStr("foo", Mang, DL), "_foo"); in TEST()
55 EXPECT_EQ(mangleStr("\01foo", Mang, DL), "foo"); in TEST()
56 EXPECT_EQ(mangleStr("?foo", Mang, DL), "_?foo"); in TEST()
58 llvm::CallingConv::C, Mod, Mang), in TEST()
61 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/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h50 Mangler *Mang, const TargetMachine &TM) const;
54 Mangler *Mang, const TargetMachine &TM) const;
60 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
66 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
78 Mangler *Mang, const TargetMachine &TM) const;
82 Mangler *Mang, const TargetMachine &TM) const;
95 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
101 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
113 Mangler *Mang, const TargetMachine &TM) const;
117 Mangler *Mang, const TargetMachine &TM) const;
/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/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp48 Mangler *Mang, in getCFIPersonalitySymbol() argument
55 return Mang->getSymbol(GV); in getCFIPersonalitySymbol()
59 Mang->getSymbol(GV)->getName()); in getCFIPersonalitySymbol()
176 Mangler *Mang, const TargetMachine &TM) const { in getExplicitSectionGlobal() argument
208 Mangler *Mang, const TargetMachine &TM) const { in SelectSectionForGlobal() argument
225 MCSymbol *Sym = Mang->getSymbol(GV); in SelectSectionForGlobal()
317 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() argument
325 Mang->getNameWithPrefix(Name, GV, true); in getExprForDwarfGlobalReference()
333 MCSymbol *Sym = Mang->getSymbol(GV); in getExprForDwarfGlobalReference()
342 getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getExprForDwarfGlobalReference()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLoweringObjectFile.h78 SectionKind Kind, Mangler *Mang,
85 Mangler *Mang, in SectionForGlobal() argument
87 return SectionForGlobal(GV, getKindForGlobal(GV, TM), Mang, TM); in SectionForGlobal()
97 Mangler *Mang, const TargetMachine &TM) const = 0;
102 getSpecialCasedSectionGlobals(const GlobalValue *GV, Mangler *Mang, in getSpecialCasedSectionGlobals() argument
111 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
117 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
128 Mangler *Mang, const TargetMachine &TM) const;
/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/swiftshader/third_party/LLVM/lib/Target/X86/
DX86TargetObjectFile.cpp23 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() argument
30 const MCSymbol *Sym = Mang->getSymbol(GV); in getExprForDwarfGlobalReference()
38 getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer); in getExprForDwarfGlobalReference()
42 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() argument
44 return Mang->getSymbol(GV); in getCFIPersonalitySymbol()
DX86TargetObjectFile.h25 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
32 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLoweringObjectFile.cpp106 getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, in getCFIPersonalitySymbol() argument
108 return Mang->getSymbol(GV); in getCFIPersonalitySymbol()
251 SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, in SectionForGlobal() argument
255 return getExplicitSectionGlobal(GV, Kind, Mang, TM); in SectionForGlobal()
259 return SelectSectionForGlobal(GV, Kind, Mang, TM); in SectionForGlobal()
267 Mangler *Mang, in SelectSectionForGlobal() argument
298 getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, in getExprForDwarfGlobalReference() argument
301 const MCSymbol *Sym = Mang->getSymbol(GV); in getExprForDwarfGlobalReference()
/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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp44 delete Mang; in Initialize()
45 Mang = new Mangler(); in Initialize()
51 delete Mang; in ~TargetLoweringObjectFile()
119 TM.getNameWithPrefix(NameStr, GV, *Mang); in getSymbolWithGlobalValueBase()
342 Mang->getNameWithPrefix(OutName, GV, /*CannotUsePrivateLabel=*/false); in getNameWithPrefix()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetObjectFile.cpp25 Mangler &Mang, in SelectSectionForGlobal() argument
30 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, TM); in SelectSectionForGlobal()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h145 const Mangler &Mang, StringRef SearchName, in addGlobalValue() argument
155 Mang.getNameWithPrefix(MangledNameStream, &GV, false); in addGlobalValue()
177 Mangler Mang; in buildMangledSymbols() local
180 if (auto GV = addGlobalValue(*Symbols, GO, Mang, SearchName, in buildMangledSymbols()
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.h29 Mangler &Mang,
33 Mangler &Mang,

12345