Searched refs:TyName (Results 1 – 3 of 3) sorted by relevance
955 getOCLTypePrimitiveEnum(StringRef TyName) { in getOCLTypePrimitiveEnum() argument956 return StringSwitch<SPIR::TypePrimitiveEnum>(TyName) in getOCLTypePrimitiveEnum()1067 auto TyName = StructTy->getStructName(); in transTypeDesc() local1068 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 …]
819 isSPIRVConstantName(StringRef TyName);852 bool hasAccessQualifiedName(StringRef TyName);855 StringRef getAccessQualifier(StringRef TyName);
1081 StringRef TyName; in visitCallGetImageSize() local1083 auto IsImg = isOCLImageType(CI->getArgOperand(0)->getType(), &TyName); in visitCallGetImageSize()1086 std::string ImageTyName = TyName.str(); in visitCallGetImageSize()1087 if (hasAccessQualifiedName(TyName)) in visitCallGetImageSize()