Searched refs:MatrixArg (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 2136 const ConstantMatrixType *MatrixArg = dyn_cast<ConstantMatrixType>(Arg); in DeduceTemplateArgumentsByTypeMatch() local 2137 if (!MatrixArg) in DeduceTemplateArgumentsByTypeMatch() 2142 if (MatrixParam->getNumRows() != MatrixArg->getNumRows() || in DeduceTemplateArgumentsByTypeMatch() 2143 MatrixParam->getNumColumns() != MatrixArg->getNumColumns()) { in DeduceTemplateArgumentsByTypeMatch() 2149 MatrixArg->getElementType(), Info, Deduced, TDF); in DeduceTemplateArgumentsByTypeMatch() 2153 const MatrixType *MatrixArg = dyn_cast<MatrixType>(Arg); in DeduceTemplateArgumentsByTypeMatch() local 2154 if (!MatrixArg) in DeduceTemplateArgumentsByTypeMatch() 2163 MatrixArg->getElementType(), Info, Deduced, TDF)) in DeduceTemplateArgumentsByTypeMatch() 2214 auto Result = DeduceMatrixArg(MatrixParam->getRowExpr(), MatrixArg, in DeduceTemplateArgumentsByTypeMatch() 2220 return DeduceMatrixArg(MatrixParam->getColumnExpr(), MatrixArg, in DeduceTemplateArgumentsByTypeMatch()
|
D | SemaChecking.cpp | 15806 ExprResult MatrixArg = DefaultLvalueConversion(TheCall->getArg(0)); in SemaBuiltinMatrixTranspose() local 15807 if (MatrixArg.isInvalid()) in SemaBuiltinMatrixTranspose() 15808 return MatrixArg; in SemaBuiltinMatrixTranspose() 15809 Expr *Matrix = MatrixArg.get(); in SemaBuiltinMatrixTranspose()
|