Home
last modified time | relevance | path

Searched refs:STName (Results 1 – 2 of 2) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DOCLTypeToSPIRV.cpp297 auto STName = NewTy->getPointerElementType()->getStructName(); in adaptArgumentsByMetadata() local
298 if (STName.startswith(kSPR2TypeName::ImagePrefix) || in adaptArgumentsByMetadata()
299 STName == kSPR2TypeName::Pipe) { in adaptArgumentsByMetadata()
300 auto Ty = STName.str(); in adaptArgumentsByMetadata()
DSPIRVWriter.cpp469 StringRef STName = ST->getName(); in transType() local
471 if (STName == "struct._event_t") { in transType()
472 STName = kSPR2TypeName::Event; in transType()
473 ST->setName(STName); in transType()
475 assert (!STName.startswith(kSPR2TypeName::Pipe) && in transType()
481 if (STName.find(kSPR2TypeName::Pipe) == 0) { in transType()
485 STName.split(SubStrs, Delims); in transType()
493 } else if (STName.find(kSPR2TypeName::ImagePrefix) == 0) { in transType()
497 } else if (STName.startswith(kSPIRVTypeName::PrefixAndDelim)) in transType()
499 else if (OCLOpaqueTypeOpCodeMap::find(STName, &OpCode)) { in transType()
[all …]