Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/
DSPIRVUtil.cpp955 getOCLTypePrimitiveEnum(StringRef TyName) { in getOCLTypePrimitiveEnum() argument
956 return StringSwitch<SPIR::TypePrimitiveEnum>(TyName) in getOCLTypePrimitiveEnum()
1067 auto TyName = StructTy->getStructName(); in transTypeDesc() local
1068 if (TyName.startswith(kSPR2TypeName::ImagePrefix) || in transTypeDesc()
1069 TyName.startswith(kSPR2TypeName::Pipe)) { in transTypeDesc()
1070 auto DelimPos = TyName.find_first_of(kSPR2TypeName::Delimiter, in transTypeDesc()
1073 TyName = TyName.substr(0, DelimPos); in transTypeDesc()
1075 DEBUG(dbgs() << " type name: " << TyName << '\n'); in transTypeDesc()
1077 auto Prim = getOCLTypePrimitiveEnum(TyName); in transTypeDesc()
1079 if (TyName == "opencl.block") { in transTypeDesc()
[all …]
DSPIRVInternal.h819 isSPIRVConstantName(StringRef TyName);
852 bool hasAccessQualifiedName(StringRef TyName);
855 StringRef getAccessQualifier(StringRef TyName);
DOCL20ToSPIRV.cpp1081 StringRef TyName; in visitCallGetImageSize() local
1083 auto IsImg = isOCLImageType(CI->getArgOperand(0)->getType(), &TyName); in visitCallGetImageSize()
1086 std::string ImageTyName = TyName.str(); in visitCallGetImageSize()
1087 if (hasAccessQualifiedName(TyName)) in visitCallGetImageSize()