Home
last modified time | relevance | path

Searched refs:UniqName (Results 1 – 6 of 6) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp714 Info.UniqName = "atomic_" + Prefix + Sign + Stem.str() + Postfix; in visitCallAtomicLegacy()
769 Info.UniqName = std::string("atomic_") + NewStem; in visitCallAtomicCpp11()
787 const size_t NumOrder = getAtomicBuiltinNumMemoryOrderArgs(Info.UniqName); in transAtomicBuiltin()
806 int offset = Info.UniqName.find("atomic_compare_exchange") == 0 ? 1 : 0; in transAtomicBuiltin()
810 return getSPIRVFuncName(OCLSPIRVBuiltinMap::map(Info.UniqName)); in transAtomicBuiltin()
936 Info.UniqName = DemangledName; in visitCallGroupBuiltin()
959 if (StringRef(Info.UniqName).startswith(kSPIRVName::Prefix)) in transBuiltin()
961 if (OCLSPIRVBuiltinMap::find(Info.UniqName, &OC)) in transBuiltin()
962 Info.UniqName = getSPIRVFuncName(OC); in transBuiltin()
963 else if ((ExtOp = getExtOp(Info.MangledName, Info.UniqName)) != ~0U) in transBuiltin()
[all …]
DOCLUtil.cpp166 if (OCLSPIRVBuiltinMap::find(Info.UniqName, &OC)) in getSPIRVInst()
168 else if ((ExtOp = getExtOp(Info.MangledName, Info.UniqName)) != ~0U) in getSPIRVInst()
374 void init(const std::string &UniqName) { in init() argument
375 UnmangledName = UniqName; in init()
594 llvm::MangleOpenCLBuiltin(const std::string &UniqName, in MangleOpenCLBuiltin() argument
597 MangledName = SPIRV::mangleBuiltin(UniqName, ArgTypes, &BtnInfo); in MangleOpenCLBuiltin()
DSPIRVInternal.h404 BuiltinFuncMangleInfo(const std::string &UniqName = "") : LocalArgBlockIdx(-1),
406 if (!UniqName.empty())
407 init(UniqName);
909 mangleBuiltin(const std::string &UniqName,
DSPIRVUtil.cpp1382 mangleBuiltin(const std::string &UniqName, in mangleBuiltin() argument
1385 return UniqName; in mangleBuiltin()
1386 BtnInfo->init(UniqName); in mangleBuiltin()
1388 DEBUG(dbgs() << "[mangle] " << UniqName << " => "); in mangleBuiltin()
DOCLUtil.h119 std::string UniqName; member
DSPIRVWriter.cpp117 std::string UniqName; member