Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp118 Expr *IntExpr, in OpenACCNumWorkersClause() argument
121 LParenLoc, IntExpr, EndLoc) { in OpenACCNumWorkersClause()
122 assert((!IntExpr || IntExpr->isInstantiationDependent() || in OpenACCNumWorkersClause()
123 IntExpr->getType()->isIntegerType()) && in OpenACCNumWorkersClause()
129 SourceLocation LParenLoc, Expr *IntExpr, in Create() argument
134 OpenACCNumWorkersClause(BeginLoc, LParenLoc, IntExpr, EndLoc); in Create()
139 Expr *IntExpr, in OpenACCVectorLengthClause() argument
142 LParenLoc, IntExpr, EndLoc) { in OpenACCVectorLengthClause()
143 assert((!IntExpr || IntExpr->isInstantiationDependent() || in OpenACCVectorLengthClause()
144 IntExpr->getType()->isIntegerType()) && in OpenACCVectorLengthClause()
[all …]
H A DASTDiagnostic.cpp1981 Expr *IntExpr, bool DefaultInt) { in PrintValueDeclAndInteger() argument
1993 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintValueDeclAndInteger()
2001 Expr *IntExpr, bool DefaultInt, ValueDecl *VD, in PrintIntegerAndValueDecl() argument
2006 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintIntegerAndValueDecl()
2009 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/); in PrintIntegerAndValueDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h487 Expr *IntExpr; variable
491 SourceLocation LParenLoc, Expr *IntExpr, in OpenACCClauseWithSingleIntExpr() argument
494 IntExpr(IntExpr) { in OpenACCClauseWithSingleIntExpr()
495 if (IntExpr) in OpenACCClauseWithSingleIntExpr()
496 setExprs(MutableArrayRef<Expr *>{&this->IntExpr, 1}); in OpenACCClauseWithSingleIntExpr()
511 Expr *IntExpr, SourceLocation EndLoc);
520 Expr *IntExpr, SourceLocation EndLoc);
525 Expr *IntExpr, SourceLocation EndLoc);
533 Expr *IntExpr, SourceLocation EndLoc);
538 Expr *IntExpr, SourceLocation EndLoc);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1235 Expr *IntExpr) { in ActOnIntExpr() argument
1248 Expr *IntExpr; in ActOnIntExpr() member in SemaOpenACC::ActOnIntExpr::IntExprConverter
1262 Expr *IntExpr) in ActOnIntExpr() argument
1266 DirectiveKind(DK), ClauseKind(CK), IntExpr(IntExpr) {} in ActOnIntExpr()
1282 << T << IntExpr->getSourceRange(); in ActOnIntExpr()
1315 } IntExprDiagnoser(DK, CK, IntExpr); in ActOnIntExpr()
1318 Loc, IntExpr, IntExprDiagnoser); in ActOnIntExpr()
1322 IntExpr = IntExprResult.get(); in ActOnIntExpr()
1323 if (!IntExpr->isTypeDependent() && !IntExpr->getType()->isIntegerType()) in ActOnIntExpr()
1328 return IntExpr; in ActOnIntExpr()
H A DSemaExpr.cpp1093 static bool handleComplexIntegerToFloatConversion(Sema &S, ExprResult &IntExpr, in handleComplexIntegerToFloatConversion() argument
1102 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating); in handleComplexIntegerToFloatConversion()
1105 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleComplexIntegerToFloatConversion()
1169 ExprResult &IntExpr, in handleIntToFloatConversion() argument
1175 IntExpr = S.ImpCastExprToType(IntExpr.get(), FloatTy, in handleIntToFloatConversion()
1186 IntExpr = S.ImpCastExprToType(IntExpr.get(), result, in handleIntToFloatConversion()
H A DTreeTransform.h11457 Expr *IntExpr = const_cast<Expr *>(C.getIntExpr()); in VisitNumWorkersClause() local
11458 assert(IntExpr && "num_workers clause constructed with invalid int expr"); in VisitNumWorkersClause()
11460 ExprResult Res = Self.TransformExpr(IntExpr); in VisitNumWorkersClause()
11480 Expr *IntExpr = const_cast<Expr *>(C.getIntExpr()); in VisitVectorLengthClause() local
11481 assert(IntExpr && "vector_length clause constructed with invalid int expr"); in VisitVectorLengthClause()
11483 ExprResult Res = Self.TransformExpr(IntExpr); in VisitVectorLengthClause()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp1013 ExprResult IntExpr = ParseOpenACCIntExpr(OpenACCDirectiveKind::Invalid, in ParseOpenACCClauseParams() local
1016 if (IntExpr.isInvalid()) { in ParseOpenACCClauseParams()
1025 ParsedClause.setIntExprDetails(IntExpr.get()); in ParseOpenACCClauseParams()
1083 ExprResult IntExpr = ParseOpenACCIntExpr(OpenACCDirectiveKind::Invalid, in ParseOpenACCClauseParams() local
1086 if (IntExpr.isInvalid()) { in ParseOpenACCClauseParams()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h426 SourceLocation Loc, Expr *IntExpr);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11918 Expr *IntExpr = readSubExpr(); in readOpenACCClause() local
11920 IntExpr, EndLoc); in readOpenACCClause()
11924 Expr *IntExpr = readSubExpr(); in readOpenACCClause() local
11926 IntExpr, EndLoc); in readOpenACCClause()