Home
last modified time | relevance | path

Searched refs:DemangledName (Results 1 – 16 of 16) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp104 const std::string &DemangledName);
112 const std::string &DemangledName);
151 const std::string &DemangledName);
162 const std::string &DemangledName);
167 const std::string &DemangledName);
173 const std::string &DemangledName);
180 const std::string &DemangledName);
191 const std::string &DemangledName);
197 void visitCallNDRange(CallInst *CI, const std::string &DemangledName);
201 const std::string &DemangledName);
[all …]
DSPIRVToOCL20.cpp166 std::string DemangledName; in visitCallInst() local
168 if (!oclIsBuiltin(MangledName, &DemangledName) || in visitCallInst()
169 (OC = getSPIRVFuncOC(DemangledName)) == OpNop) in visitCallInst()
171 DEBUG(dbgs() << "DemangledName = " << DemangledName.c_str() << '\n' in visitCallInst()
407 auto DemangledName = OCLSPIRVBuiltinMap::rmap(OC); in visitCallSPIRVGroupBuiltin() local
408 assert(DemangledName.find(kSPIRVName::GroupPrefix) == 0); in visitCallSPIRVGroupBuiltin()
414 DemangledName = Prefix + DemangledName; in visitCallSPIRVGroupBuiltin()
417 StringRef Op = DemangledName; in visitCallSPIRVGroupBuiltin()
422 DemangledName = Prefix + kSPIRVName::GroupPrefix + in visitCallSPIRVGroupBuiltin()
430 return DemangledName; in visitCallSPIRVGroupBuiltin()
[all …]
DOCL21ToSPIRV.cpp149 std::string DemangledName; in visitCallInst() local
151 if (oclIsBuiltin(MangledName, &DemangledName)) { in visitCallInst()
152 if (DemangledName == kOCLBuiltinName::SubGroupBarrier) { in visitCallInst()
158 if (!oclIsBuiltin(MangledName, &DemangledName, true)) in visitCallInst()
160 DEBUG(dbgs() << "DemangledName:" << DemangledName << '\n'); in visitCallInst()
161 StringRef Ref(DemangledName); in visitCallInst()
197 std::string DemangledName; in visitCallDecorate() local
198 oclIsBuiltin(Name, &DemangledName); in visitCallDecorate()
200 F->setName(mangleBuiltin(DemangledName + kSPIRVPostfix::Divider + in visitCallDecorate()
DOCL20To12.cpp107 std::string DemangledName; in visitCallInst() local
108 if (!oclIsBuiltin(MangledName, &DemangledName)) in visitCallInst()
110 DEBUG(dbgs() << "DemangledName = " << DemangledName.c_str() << '\n'); in visitCallInst()
112 if (DemangledName == kOCLBuiltinName::AtomicWorkItemFence) { in visitCallInst()
DOCLUtil.cpp115 std::string DemangledName; in getBarrierLiterals() local
116 if (!oclIsBuiltin(CI->getCalledFunction()->getName(), &DemangledName)) { in getBarrierLiterals()
121 if (DemangledName == kOCLBuiltinName::SubGroupBarrier) { in getBarrierLiterals()
132 std::string DemangledName = GivenDemangledName; in getExtOp() local
133 if (!oclIsBuiltin(OrigName, DemangledName.empty() ? &DemangledName : nullptr)) in getExtOp()
135 DEBUG(dbgs() << "getExtOp: demangled name: " << DemangledName << '\n'); in getExtOp()
137 bool Found = OCLExtOpMap::rfind(DemangledName, &EOC); in getExtOp()
153 Found = OCLExtOpMap::rfind(Prefix + DemangledName, &EOC); in getExtOp()
DSPIRVLowerOCLBlocks.cpp220 std::string DemangledName; in lowerBlockBind() local
229 } else if (oclIsBuiltin(Name, &DemangledName)) { in lowerBlockBind()
230 lowerBlockBuiltin(CI, InvF, Ctx, CtxLen, CtxAlign, DemangledName); in lowerBlockBind()
286 Value *CtxAlign, const std::string& DemangledName) { in lowerBlockBuiltin() argument
307 if (DemangledName == kOCLBuiltinName::EnqueueKernel) { in lowerBlockBuiltin()
316 return getSPIRVFuncName(OCLSPIRVBuiltinMap::map(DemangledName)); in lowerBlockBuiltin()
DSPIRVWriter.cpp282 const std::string& DemangledName, SPIRVWord* EntryPoint);
295 SPIRVInstruction *transBuiltinToInst(const std::string& DemangledName,
333 std::string DemangledName; in isBuiltinTransToInst() local
334 if (!oclIsBuiltin(F->getName(), &DemangledName) && in isBuiltinTransToInst()
335 !isDecoratedSPIRVFunc(F, &DemangledName)) in isBuiltinTransToInst()
337 SPIRVDBG(spvdbgs() << "CallInst: demangled name: " << DemangledName << '\n'); in isBuiltinTransToInst()
338 return getSPIRVFuncOC(DemangledName) != OpNop; in isBuiltinTransToInst()
347 std::string DemangledName; in isBuiltinTransToExtInst() local
348 if (!oclIsBuiltin(OrigName, &DemangledName)) in isBuiltinTransToExtInst()
351 << DemangledName << '\n'); in isBuiltinTransToExtInst()
[all …]
DOCLTypeToSPIRV.cpp267 std::string DemangledName; in adaptArgumentsBySamplerUse() local
268 if (!oclIsBuiltin(MangledName, &DemangledName, false)) in adaptArgumentsBySamplerUse()
270 if (DemangledName.find(kSPIRVName::SampledImage) == std::string::npos) in adaptArgumentsBySamplerUse()
DSPIRVReader.cpp345 const std::string &DemangledName);
355 const std::string &DemangledName);
363 const std::string &DemangledName);
371 const std::string &DemangledName);
388 const std::string &DemangledName);
487 CallInst* CI, BasicBlock* BB, const std::string &DemangledName);
1000 std::string DemangledName; in postProcessOCL() local
1009 oclIsBuiltin(F->getName(), &DemangledName, isCPP)) { in postProcessOCL()
1029 if (hasArrayArg(F) && oclIsBuiltin(F->getName(), &DemangledName, isCPP)) in postProcessOCL()
1030 if (!postProcessOCLBuiltinWithArrayArguments(F, DemangledName)) in postProcessOCL()
[all …]
DSPIRVUtil.cpp495 bool oclIsBuiltin(const StringRef &Name, std::string *DemangledName, in oclIsBuiltin() argument
498 if (DemangledName) in oclIsBuiltin()
499 *DemangledName = Name; in oclIsBuiltin()
504 if (!DemangledName) in oclIsBuiltin()
522 *DemangledName = Name.substr(Start, Len); in oclIsBuiltin()
527 *DemangledName = Name.substr(Start, Len); in oclIsBuiltin()
DOCLUtil.h272 const std::string &DemangledName = "");
DSPIRVInternal.h623 bool oclIsBuiltin(const StringRef &Name, std::string *DemangledName = nullptr,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h210 const auto DemangledName = DemangledNames.find(Sym); in demangle() local
211 if (DemangledName == DemangledNames.end()) in demangle()
213 return DemangledName->getValue(); in demangle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp475 char *DemangledName = itaniumDemangle(Name.c_str(), nullptr, nullptr, &status); in DemangleName() local
478 std::string Result = DemangledName; in DemangleName()
479 free(DemangledName); in DemangleName()
486 char DemangledName[1024] = {0}; in DemangleName() local
488 Name.c_str(), DemangledName, 1023, in DemangleName()
495 return (result == 0) ? Name : std::string(DemangledName); in DemangleName()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp471 char *DemangledName = __cxa_demangle(Name.c_str(), nullptr, nullptr, &status); in DemangleName() local
474 std::string Result = DemangledName; in DemangleName()
475 free(DemangledName); in DemangleName()
481 char DemangledName[1024] = {0}; in DemangleName()
483 Name.c_str(), DemangledName, 1023, in DemangleName()
490 return (result == 0) ? Name : std::string(DemangledName); in DemangleName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp292 StringRef DemangledName = Name; in findModuleForSymbol() local
293 if (DemangledName[0] == getDataLayout().getGlobalPrefix()) in findModuleForSymbol()
294 DemangledName = DemangledName.substr(1); in findModuleForSymbol()
303 Function *F = M->getFunction(DemangledName); in findModuleForSymbol()
307 GlobalVariable *G = M->getGlobalVariable(DemangledName); in findModuleForSymbol()