Home
last modified time | relevance | path

Searched refs:NumVars (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/AST/
DOpenMPClause.cpp343 unsigned NumVars) { in CreateEmpty() argument
346 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * NumVars + 2)); in CreateEmpty()
347 return new (Mem) OMPLinearClause(NumVars); in CreateEmpty()
363 unsigned NumVars) { in CreateEmpty() argument
364 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumVars + 1)); in CreateEmpty()
365 return new (Mem) OMPAlignedClause(NumVars); in CreateEmpty()
591 unsigned NumVars = Vars.size(); in Create() local
610 NumVars, NumUniqueDeclarations, in Create()
614 NumVars, NumUniqueDeclarations, NumComponentLists, NumComponents); in Create()
624 OMPMapClause *OMPMapClause::CreateEmpty(const ASTContext &C, unsigned NumVars, in CreateEmpty() argument
[all …]
DDeclOpenMP.cpp36 D->NumVars = VL.size(); in Create()
46 D->NumVars = N; in CreateDeserialized()
51 assert(VL.size() == NumVars && in setVars()
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp58 size_t NumVars = Vars.size(); in ComputeASanStackFrameLayout() local
59 assert(NumVars > 0); in ComputeASanStackFrameLayout()
60 for (size_t i = 0; i < NumVars; i++) in ComputeASanStackFrameLayout()
66 StackDescription << NumVars; in ComputeASanStackFrameLayout()
74 for (size_t i = 0; i < NumVars; i++) { in ComputeASanStackFrameLayout()
75 bool IsLast = i == NumVars - 1; in ComputeASanStackFrameLayout()
/external/clang/include/clang/AST/
DDeclOpenMP.h45 unsigned NumVars; variable
50 Decl(DK, DC, L), NumVars(0) { } in OMPThreadPrivateDecl()
53 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumVars); in getVars()
57 return MutableArrayRef<Expr *>(getTrailingObjects<Expr *>(), NumVars); in getVars()
74 unsigned varlist_size() const { return NumVars; } in varlist_size()
75 bool varlist_empty() const { return NumVars == 0; } in varlist_empty()
DOpenMPClause.h126 unsigned NumVars; variable
132 static_cast<T *>(this)->template getTrailingObjects<Expr *>(), NumVars); in getVarRefs()
137 assert(VL.size() == NumVars && in setVarRefs()
153 : OMPClause(K, StartLoc, EndLoc), LParenLoc(LParenLoc), NumVars(N) {} in OMPVarListClause()
161 unsigned varlist_size() const { return NumVars; } in varlist_size()
162 bool varlist_empty() const { return NumVars == 0; } in varlist_empty()
185 NumVars); in getVarRefs()
1909 unsigned NumVars) in OMPLinearClause() argument
1911 EndLoc, NumVars), in OMPLinearClause()
1919 explicit OMPLinearClause(unsigned NumVars) in OMPLinearClause() argument
[all …]
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1877 unsigned NumVars = Record[Idx++]; in readClause() local
1881 C = OMPMapClause::CreateEmpty(Context, NumVars, NumDeclarations, NumLists, in readClause()
1910 unsigned NumVars = Record[Idx++]; in readClause() local
1914 C = OMPToClause::CreateEmpty(Context, NumVars, NumDeclarations, NumLists, in readClause()
1919 unsigned NumVars = Record[Idx++]; in readClause() local
1923 C = OMPFromClause::CreateEmpty(Context, NumVars, NumDeclarations, NumLists, in readClause()
2042 unsigned NumVars = C->varlist_size(); in VisitOMPPrivateClause() local
2044 Vars.reserve(NumVars); in VisitOMPPrivateClause()
2045 for (unsigned i = 0; i != NumVars; ++i) in VisitOMPPrivateClause()
2049 for (unsigned i = 0; i != NumVars; ++i) in VisitOMPPrivateClause()
[all …]
DASTReaderDecl.cpp2435 unsigned NumVars = D->varlist_size(); in VisitOMPThreadPrivateDecl() local
2437 Vars.reserve(NumVars); in VisitOMPThreadPrivateDecl()
2438 for (unsigned i = 0; i != NumVars; ++i) { in VisitOMPThreadPrivateDecl()