Searched refs:STName (Results 1 – 2 of 2) sorted by relevance
297 auto STName = NewTy->getPointerElementType()->getStructName(); in adaptArgumentsByMetadata() local298 if (STName.startswith(kSPR2TypeName::ImagePrefix) || in adaptArgumentsByMetadata()299 STName == kSPR2TypeName::Pipe) { in adaptArgumentsByMetadata()300 auto Ty = STName.str(); in adaptArgumentsByMetadata()
469 StringRef STName = ST->getName(); in transType() local471 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 …]