SPIRV::BI__builtin_spirv_distance: {
29 if(VTyA ==
nullptr) {
31diag::err_typecheck_convert_incompatible)
41 if(VTyB ==
nullptr) {
43diag::err_typecheck_convert_incompatible)
50 QualTypeRetTy = VTyA->getElementType();
54 caseSPIRV::BI__builtin_spirv_length: {
60 if(VTy ==
nullptr) {
62diag::err_typecheck_convert_incompatible)
68 QualTypeRetTy = VTy->getElementType();
This file declares semantic analysis for SPIRV constructs.
Enumerates target-specific builtins in their own namespaces within namespace clang.
QualType getVectorType(QualType VectorType, unsigned NumElts, VectorKind VecKind) const
Return the unique reference to a vector type of the specified element type and size.
CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
Expr * getArg(unsigned Arg)
getArg - Return the specified argument.
A (possibly-)qualified type.
SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID, bool DeferHint=false)
Emit a diagnostic.
bool CheckSPIRVBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall)
Sema - This implements semantic analysis and AST building for C.
bool checkArgCount(CallExpr *Call, unsigned DesiredArgCount)
Checks that a call expression's argument count is the desired number.
SourceLocation getBeginLoc() const LLVM_READONLY
const T * getAs() const
Member-template getAs<specific type>'.
Represents a GCC generic vector type.
The JSON file list parser is used to communicate input to InstallAPI.
@ Generic
not a target-specific vector type
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4