Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp2752 StringRef NameWithParameters = TypeName; in parseBuiltinTypeNameToTargetExtType() local
2757 if (NameWithParameters.starts_with("opencl.")) { in parseBuiltinTypeNameToTargetExtType()
2759 SPIRV::lookupOpenCLType(NameWithParameters); in parseBuiltinTypeNameToTargetExtType()
2762 NameWithParameters); in parseBuiltinTypeNameToTargetExtType()
2763 NameWithParameters = OCLTypeRecord->SpirvTypeLiteral; in parseBuiltinTypeNameToTargetExtType()
2769 assert(NameWithParameters.starts_with("spirv.") && in parseBuiltinTypeNameToTargetExtType()
2774 if (!NameWithParameters.contains('_')) in parseBuiltinTypeNameToTargetExtType()
2775 return TargetExtType::get(Context, NameWithParameters); in parseBuiltinTypeNameToTargetExtType()
2778 unsigned BaseNameLength = NameWithParameters.find('_') - 1; in parseBuiltinTypeNameToTargetExtType()
2779 SplitString(NameWithParameters.substr(BaseNameLength + 1), Parameters, "_"); in parseBuiltinTypeNameToTargetExtType()
[all …]