Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp950 llvm::function_ref<bool(clang::QualType PassedType)> Check) { in CheckArgsTypesAreCorrect()
952 QualType PassedType = TheCall->getArg(i)->getType(); in CheckArgsTypesAreCorrect() local
953 if (Check(PassedType)) { in CheckArgsTypesAreCorrect()
954 if (auto *VecTyA = PassedType->getAs<VectorType>()) in CheckArgsTypesAreCorrect()
959 << PassedType << ExpectedType << 1 << 0 << 0; in CheckArgsTypesAreCorrect()
967 auto checkAllFloatTypes = [](clang::QualType PassedType) -> bool { in CheckAllArgsHaveFloatRepresentation() argument
968 return !PassedType->hasFloatingRepresentation(); in CheckAllArgsHaveFloatRepresentation()
975 auto checkFloatorHalf = [](clang::QualType PassedType) -> bool { in CheckFloatOrHalfRepresentations() argument
977 PassedType->isVectorType() in CheckFloatOrHalfRepresentations()
978 ? PassedType->getAs<clang::VectorType>()->getElementType() in CheckFloatOrHalfRepresentations()
[all …]
H A DSemaPPC.cpp355 QualType PassedType = Arg->getType(); in BuiltinPPCMMACall() local
356 QualType StrippedRVType = PassedType.getCanonicalType(); in BuiltinPPCMMACall()
371 << PassedType << ExpectedType << 1 << 0 << 0; in BuiltinPPCMMACall()