Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp391 SmallVector<StringRef, 4> SubStrs; in decodeSPIRVTypeName() local
393 Name.split(SubStrs, Delim, -1, true); in decodeSPIRVTypeName()
394 assert(SubStrs.size() >= 2 && "Invalid SPIRV type name"); in decodeSPIRVTypeName()
395 assert(SubStrs[0] == kSPIRVTypeName::Prefix && "Invalid prefix"); in decodeSPIRVTypeName()
396 assert((SubStrs.size() == 2 || !SubStrs[2].empty()) && "Invalid postfix"); in decodeSPIRVTypeName()
398 if (SubStrs.size() > 2) { in decodeSPIRVTypeName()
401 SubStrs[2].split(Postfixes, PostDelim, -1, true); in decodeSPIRVTypeName()
406 return SubStrs[1].str(); in decodeSPIRVTypeName()
483 SmallVector<StringRef, 4> SubStrs; in transType() local
485 STName.split(SubStrs, Delims); in transType()
[all …]
DSPIRVUtil.cpp1303 SmallVector<StringRef, 4> SubStrs; in mapOCLTypeNameToSPIRV() local
1305 Name.split(SubStrs, Delims); in mapOCLTypeNameToSPIRV()
1306 std::string ImageTyName = SubStrs[1].str(); in mapOCLTypeNameToSPIRV()
1310 DEBUG(dbgs() << "[trans image type] " << SubStrs[1] << " => " << in mapOCLTypeNameToSPIRV()
DOCL20ToSPIRV.cpp1082 SmallVector<StringRef, 4> SubStrs; in visitCallGetImageSize() local