reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOpenMP.cpp
13163     auto Res = getPrivateItem(S, SimpleRefExpr, ELoc, ERange,
13171           S, ELoc, ERange, Stack->getCurScope(), ReductionIdScopeSpec,
13207     if (S.RequireCompleteType(ELoc, D->getType(),
13213     if (rejectConstNotMutableType(S, D, Type, ClauseKind, ELoc,
13227             S.Diag(ELoc, diag::err_omp_reduction_ref_type_arg)
13248         S.Diag(ELoc, diag::err_omp_once_referenced)
13255         S.Diag(ELoc, diag::err_omp_wrong_dsa)
13271           S.Diag(ELoc, diag::err_omp_required_access)
13284         S, ELoc, ERange, Stack->getCurScope(), ReductionIdScopeSpec,
13314         S.Diag(ELoc, diag::err_omp_clause_not_arithmetic_type_arg)
13327         S.Diag(ELoc, diag::err_omp_clause_floating_type_arg)
13341     VarDecl *LHSVD = buildVarDecl(S, ELoc, Type, ".reduction.lhs",
13343     VarDecl *RHSVD = buildVarDecl(S, ELoc, Type, D->getName(),
13370           S.Diag(ELoc, diag::err_omp_reduction_vla_unsupported) << !!OASE;
13371           S.Diag(ELoc, diag::note_vla_unsupported);
13373           S.targetDiag(ELoc, diag::err_omp_reduction_vla_unsupported) << !!OASE;
13374           S.targetDiag(ELoc, diag::note_vla_unsupported);
13385           new (Context) OpaqueValueExpr(ELoc, Context.getSizeType(), VK_RValue),
13393         buildVarDecl(S, ELoc, PrivateTy, D->getName(),
13398     DeclRefExpr *LHSDRE = buildDeclRefExpr(S, LHSVD, Type, ELoc);
13399     DeclRefExpr *RHSDRE = buildDeclRefExpr(S, RHSVD, Type, ELoc);
13416           Init = S.ActOnIntegerConstant(ELoc, /*Val=*/0).get();
13422           Init = S.ActOnIntegerConstant(ELoc, /*Val=*/1).get();
13435                                          Type, ELoc);
13440           Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc);
13445           Init = S.CreateBuiltinBinOp(ELoc, BO_Add, Init, Im).get();
13466           Init = IntegerLiteral::Create(Context, InitValue, IntTy, ELoc);
13470                 ELoc, Context.getTrivialTypeSourceInfo(Type, ELoc), ELoc, Init);
13470                 ELoc, Context.getTrivialTypeSourceInfo(Type, ELoc), ELoc, Init);
13470                 ELoc, Context.getTrivialTypeSourceInfo(Type, ELoc), ELoc, Init);
13479                                          Type, ELoc);
13518       S.Diag(ELoc, diag::err_omp_reduction_id_not_compatible)
13531     DeclRefExpr *PrivateDRE = buildDeclRefExpr(S, PrivateVD, PrivateTy, ELoc);
13536       ExprResult LHS = S.CreateBuiltinUnaryOp(ELoc, UO_AddrOf, LHSDRE);
13537       ExprResult RHS = S.CreateBuiltinUnaryOp(ELoc, UO_AddrOf, RHSDRE);
13552           ELoc, Context.getPointerType(FnTy), VK_RValue, OK_Ordinary,
13556           CallExpr::Create(Context, OVE, Args, Context.VoidTy, VK_RValue, ELoc);
13567               ConditionalOperator(ReductionOp.get(), ELoc, LHSDRE, ELoc, RHSDRE,
13567               ConditionalOperator(ReductionOp.get(), ELoc, LHSDRE, ELoc, RHSDRE,
13602         S.Diag(ELoc, diag::err_omp_in_reduction_not_task_reduction);
13651               S.BuildBinOp(Stack->getCurScope(), ELoc, BO_Assign, SimpleRefExpr,