Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h857 void ActOnOpenMPDeviceNum(Expr *DeviceNumExpr);
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp835 Expr *DeviceNumExpr = DeviceNumExprResult.get(); in parseOMPTraitPropertyKind() local
836 Actions.OpenMP().ActOnOpenMPDeviceNum(DeviceNumExpr); in parseOMPTraitPropertyKind()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp16037 void SemaOpenMP::ActOnOpenMPDeviceNum(Expr *DeviceNumExpr) { in ActOnOpenMPDeviceNum() argument
16041 if (!DeviceNumExpr->isValueDependent() && in ActOnOpenMPDeviceNum()
16042 DeviceNumExpr->EvaluateAsInt(EvalResult, SemaRef.Context)) { in ActOnOpenMPDeviceNum()
16048 Diag(DeviceNumExpr->getExprLoc(), in ActOnOpenMPDeviceNum()
16050 << "device_num" << 0 << DeviceNumExpr->getSourceRange(); in ActOnOpenMPDeviceNum()
16052 } else if (auto *DeclRef = dyn_cast<DeclRefExpr>(DeviceNumExpr)) { in ActOnOpenMPDeviceNum()
16059 Diag(DeviceNumExpr->getExprLoc(), diag::err_expected_expression); in ActOnOpenMPDeviceNum()