Home
last modified time | relevance | path

Searched refs:Postfixes (Results 1 – 3 of 3) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp400 SmallVector<StringRef, 4> Postfixes; in decodeSPIRVTypeName() local
401 SubStrs[2].split(Postfixes, PostDelim, -1, true); in decodeSPIRVTypeName()
402 assert(Postfixes.size() > 1 && Postfixes[0].empty() && "Invalid postfix"); in decodeSPIRVTypeName()
403 for (unsigned I = 1, E = Postfixes.size(); I != E; ++I) in decodeSPIRVTypeName()
404 Strs.push_back(std::string(Postfixes[I]).c_str()); in decodeSPIRVTypeName()
594 SmallVector<std::string, 8> Postfixes; in transSPIRVOpaqueType() local
595 auto TN = decodeSPIRVTypeName(STName, Postfixes); in transSPIRVOpaqueType()
598 assert(Postfixes.size() == 1 && "Invalid pipe type ops"); in transSPIRVOpaqueType()
601 atoi(Postfixes[0].c_str()))); in transSPIRVOpaqueType()
608 Postfixes[0], *Ctx)); in transSPIRVOpaqueType()
[all …]
DSPIRVUtil.cpp1201 getSPIRVTypeName(StringRef BaseName, StringRef Postfixes) { in getSPIRVTypeName() argument
1205 if (Postfixes.empty()) in getSPIRVTypeName()
1207 return TN + kSPIRVTypeName::Delimiter + Postfixes.str(); in getSPIRVTypeName()
1222 StringRef Postfixes; in getSPIRVTypeByChangeBaseTypeName() local
1223 if (isSPIRVType(T, OldName, &Postfixes)) in getSPIRVTypeByChangeBaseTypeName()
1224 return getOrCreateOpaquePtrType(M, getSPIRVTypeName(NewName, Postfixes)); in getSPIRVTypeByChangeBaseTypeName()
1295 std::string Postfixes; in mapOCLTypeNameToSPIRV() local
1296 raw_string_ostream OS(Postfixes); in mapOCLTypeNameToSPIRV()
DSPIRVInternal.h815 getSPIRVTypeName(StringRef BaseTyName, StringRef Postfixes = "");