Home
last modified time | relevance | path

Searched refs:MangledName (Results 1 – 25 of 45) sorted by relevance

12

/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp98 bool eraseUselessConvert(CallInst *Call, const std::string &MangledName,
103 void visitCallConvert(CallInst *CI, StringRef MangledName,
161 void visitCallAtomicLegacy(CallInst *CI, StringRef MangledName,
166 void visitCallAtomicCpp11(CallInst *CI, StringRef MangledName,
172 void visitCallBuiltinSimple(CallInst *CI, StringRef MangledName,
179 void visitCallGetImageSize(CallInst *CI, StringRef MangledName,
190 void visitCallGroupBuiltin(CallInst *CI, StringRef MangledName,
200 void visitCallPipeBuiltin(CallInst *CI, StringRef MangledName,
207 void visitCallReadImageWithSampler(CallInst *CI, StringRef MangledName,
212 void visitCallReadImageMSAA(CallInst *CI, StringRef MangledName,
[all …]
DOCL21ToSPIRV.cpp73 void visitCallConvert(CallInst *CI, StringRef MangledName, Op OC);
80 void visitCallDecorate(CallInst *CI, StringRef MangledName);
148 auto MangledName = F->getName(); in visitCallInst() local
151 if (oclIsBuiltin(MangledName, &DemangledName)) { in visitCallInst()
158 if (!oclIsBuiltin(MangledName, &DemangledName, true)) in visitCallInst()
169 visitCallConvert(&CI, MangledName, OC); in visitCallInst()
173 visitCallDecorate(&CI, MangledName); in visitCallInst()
180 StringRef MangledName, Op OC) { in visitCallConvert() argument
193 StringRef MangledName) { in visitCallDecorate() argument
DSPIRVToOCL20.cpp165 auto MangledName = F->getName(); in visitCallInst() local
168 if (!oclIsBuiltin(MangledName, &DemangledName) || in visitCallInst()
480 std::string MangledName = I.getName(); in translateMangledAtomicTypeName() local
482 if (!oclIsBuiltin(MangledName, &DemangledName) || in translateMangledAtomicTypeName()
485 auto Loc = MangledName.find(kOCLBuiltinName::AtomPrefix); in translateMangledAtomicTypeName()
486 Loc = MangledName.find(kMangledName::AtomicPrefixInternal, Loc); in translateMangledAtomicTypeName()
487 MangledName.replace(Loc, strlen(kMangledName::AtomicPrefixInternal), in translateMangledAtomicTypeName()
489 I.setName(MangledName); in translateMangledAtomicTypeName()
DOCL20To12.cpp106 auto MangledName = F->getName(); in visitCallInst() local
108 if (!oclIsBuiltin(MangledName, &DemangledName)) in visitCallInst()
DSPIRVUtil.cpp303 std::string MangledName = Name; in getOrCreateFunction() local
306 MangledName = mangleBuiltin(Name, ArgTypes, Mangle); in getOrCreateFunction()
311 Function *F = M->getFunction(MangledName); in getOrCreateFunction()
322 MangledName, in getOrCreateFunction()
328 if (NewF->getName() != MangledName) { in getOrCreateFunction()
561 eraseSubstitutionFromMangledName(std::string& MangledName) { in eraseSubstitutionFromMangledName() argument
562 auto Len = MangledName.length(); in eraseSubstitutionFromMangledName()
563 while (Len >= 2 && MangledName.substr(Len - 2, 2) == "S_") { in eraseSubstitutionFromMangledName()
565 MangledName.erase(Len, 2); in eraseSubstitutionFromMangledName()
569 ParamType LastFuncParamType(const std::string &MangledName) { in LastFuncParamType() argument
[all …]
DSPIRVReader.cpp574 std::string MangledName; in transOCLBuiltinFromVariable() local
582 MangleOpenCLBuiltin(FuncName, ArgTy, MangledName); in transOCLBuiltinFromVariable()
583 Function *Func = M->getFunction(MangledName); in transOCLBuiltinFromVariable()
586 Func = Function::Create(FT, GlobalValue::ExternalLinkage, MangledName, M); in transOCLBuiltinFromVariable()
1955 std::string MangledName; in transBuiltinFromInst() local
1970 MangleOpenCLBuiltin(FuncName, ArgTys, MangledName); in transBuiltinFromInst()
1972 MangledName = decorateSPIRVFunction(FuncName); in transBuiltinFromInst()
1973 Function* Func = M->getFunction(MangledName); in transBuiltinFromInst()
1992 Func = Function::Create(FT, GlobalValue::ExternalLinkage, MangledName, M); in transBuiltinFromInst()
2346 std::string MangledName; in transOCLBuiltinFromExtInst() local
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindings.cpp35 void LLVMOrcGetMangledSymbol(LLVMOrcJITStackRef JITStack, char **MangledName, in LLVMOrcGetMangledSymbol() argument
39 *MangledName = new char[Mangled.size() + 1]; in LLVMOrcGetMangledSymbol()
40 strcpy(*MangledName, Mangled.c_str()); in LLVMOrcGetMangledSymbol()
43 void LLVMOrcDisposeMangledSymbol(char *MangledName) { delete[] MangledName; } in LLVMOrcDisposeMangledSymbol() argument
DOrcCBindingsStack.h103 std::string MangledName; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
105 raw_string_ostream MangledNameStream(MangledName); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
108 return MangledName; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
DOrcMCJITReplacement.h334 std::string MangledName; in Mangle() local
336 raw_string_ostream MangledNameStream(MangledName); in Mangle()
339 return MangledName; in Mangle()
/external/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h87 std::string MangledName; in mangle() local
89 raw_string_ostream MangledNameStream(MangledName); in mangle()
92 return MangledName; in mangle()
/external/clang/lib/CodeGen/
DCGCXX.cpp138 StringRef MangledName = getMangledName(AliasDecl); in TryEmitDefinitionAsAlias() local
139 llvm::GlobalValue *Entry = GetGlobalValue(MangledName); in TryEmitDefinitionAsAlias()
142 if (Replacements.count(MangledName)) in TryEmitDefinitionAsAlias()
167 addReplacement(MangledName, Aliasee); in TryEmitDefinitionAsAlias()
208 Alias->setName(MangledName); in TryEmitDefinitionAsAlias()
DCodeGenModule.cpp214 StringRef MangledName = I.first(); in applyReplacements() local
216 llvm::GlobalValue *Entry = GetGlobalValue(MangledName); in applyReplacements()
291 StringRef MangledName = getMangledName(GD); in checkAliases() local
292 llvm::GlobalValue *Entry = GetGlobalValue(MangledName); in checkAliases()
346 StringRef MangledName = getMangledName(GD); in checkAliases() local
347 llvm::GlobalValue *Entry = GetGlobalValue(MangledName); in checkAliases()
1582 StringRef MangledName = getMangledName(GD); in EmitGlobal() local
1588 GetOrCreateLLVMFunction(MangledName, Ty, GD, /*ForVTable=*/false, in EmitGlobal()
1631 StringRef MangledName = getMangledName(GD); in EmitGlobal() local
1632 if (llvm::GlobalValue *GV = GetGlobalValue(MangledName)) { in EmitGlobal()
[all …]
DMicrosoftCXXABI.cpp317 StringRef MangledName = OutName.str(); in getAddrOfVirtualDisplacementMap() local
319 if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName)) in getAddrOfVirtualDisplacementMap()
350 /*Initializer=*/Init, MangledName); in getAddrOfVirtualDisplacementMap()
3310 StringRef MangledName("\01??_7type_info@@6B@"); in getTypeInfoVTable() local
3311 if (auto VTable = CGM.getModule().getNamedGlobal(MangledName)) in getTypeInfoVTable()
3316 /*Initializer=*/nullptr, MangledName); in getTypeInfoVTable()
3459 SmallString<256> MangledName; in getClassHierarchyDescriptor() local
3461 llvm::raw_svector_ostream Out(MangledName); in getClassHierarchyDescriptor()
3466 if (auto CHD = Module.getNamedGlobal(MangledName)) in getClassHierarchyDescriptor()
3494 MangledName); in getClassHierarchyDescriptor()
[all …]
/external/llvm/test/tools/llvm-cxxdump/
Deh.test7 COFF-I386: ??_R0?AUA@@@8[MangledName]: .?AUA@@
10 COFF-I386: ??_R0?AUB@@@8[MangledName]: .?AUB@@
13 COFF-I386: ??_R0?AUC@@@8[MangledName]: .?AUC@@
16 COFF-I386: ??_R0?AUM@@@8[MangledName]: .?AUM@@
19 COFF-I386: ??_R0?AUS@@@8[MangledName]: .?AUS@@
22 COFF-I386: ??_R0?AW4E@@@8[MangledName]: .?AW4E@@
25 COFF-I386: ??_R0PAUA@@@8[MangledName]: .PAUA@@
28 COFF-I386: ??_R0PAUC@@@8[MangledName]: .PAUC@@
31 COFF-I386: ??_R0PAUS@@@8[MangledName]: .PAUS@@
34 COFF-I386: ??_R0PAW4E@@@8[MangledName]: .PAW4E@@
[all …]
Dtrivial.test50 COFF-I386-NEXT: ??_R0?AUA@@@8[MangledName]: .?AUA@@
53 COFF-I386-NEXT: ??_R0?AUS@@@8[MangledName]: .?AUS@@
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h170 std::string MangledName; in addGlobalValue() local
172 raw_string_ostream MangledNameStream(MangledName); in addGlobalValue()
178 if (MangledName == SearchName) in addGlobalValue()
183 Names[MangledName] = &GV; in addGlobalValue()
/external/llvm/tools/lli/
DOrcLazyJIT.h129 std::string MangledName; in mangle() local
131 raw_string_ostream MangledNameStream(MangledName); in mangle()
134 return MangledName; in mangle()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h87 std::string MangledName; in findSymbol() local
88 raw_string_ostream MangledNameStream(MangledName); in findSymbol()
/external/clang/utils/TableGen/
DClangCommentCommandInfoEmitter.cpp120 std::string MangledName = MangleName(Tag.getValueAsString("Name")); in EmitClangCommentCommandList() local
122 OS << "COMMENT_COMMAND(" << MangledName << ")\n"; in EmitClangCommentCommandList()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h97 std::string MangledName; in findSymbol() local
98 raw_string_ostream MangledNameStream(MangledName); in findSymbol()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h107 std::string MangledName; in findSymbol() local
108 raw_string_ostream MangledNameStream(MangledName); in findSymbol()
/external/llvm/lib/LTO/
DLTOCodeGenerator.cpp417 SmallString<64> MangledName; in applyScopeRestrictions() local
426 MangledName.clear(); in applyScopeRestrictions()
427 MangledName.reserve(GV.getName().size() + 1); in applyScopeRestrictions()
428 Mangler::getNameWithPrefix(MangledName, GV.getName(), in applyScopeRestrictions()
430 return MustPreserveSymbols.count(MangledName); in applyScopeRestrictions()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h201 std::string MangledName; in mangle() local
202 raw_string_ostream MangledNameStream(MangledName); in mangle()
/external/v8/tools/gcmole/
Dgcmole.cc48 typedef std::string MangledName; typedef
49 typedef std::set<MangledName> CalleesSet;
53 MangledName* result) { in GetMangledName()
146 MangledName name; in AnalyzeFunction()
159 typedef std::map<MangledName, CalleesSet* > Callgraph;
161 bool Analyzed(const MangledName& name) { in Analyzed()
165 void EnterScope(const MangledName& name) { in EnterScope()
179 void AddCallee(const MangledName& name) { in AddCallee()
260 MangledName name; in KnownToCauseGC()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h233 std::string MangledName; in mangle() local
234 raw_string_ostream MangledNameStream(MangledName); in mangle()

12