Home
last modified time | relevance | path

Searched refs:NumVars (Results 1 – 20 of 20) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp61 const size_t NumVars = Vars.size(); in ComputeASanStackFrameLayout() local
62 assert(NumVars > 0); in ComputeASanStackFrameLayout()
63 for (size_t i = 0; i < NumVars; i++) in ComputeASanStackFrameLayout()
74 for (size_t i = 0; i < NumVars; i++) { in ComputeASanStackFrameLayout()
75 bool IsLast = i == NumVars - 1; in ComputeASanStackFrameLayout()
/external/swiftshader/third_party/subzero/src/
DIceLiveness.cpp41 SizeT NumVars = Func->getVariables().size(); in initInternal() local
45 VarToLiveMap.resize(NumVars); in initInternal()
75 RangeMask.resize(NumVars); in initInternal()
76 RangeMask.set(0, NumVars); // Track all variables by default. in initInternal()
DIceInstX8664.cpp75 NumVars = 0; in X86OperandMem()
77 ++NumVars; in X86OperandMem()
79 ++NumVars; in X86OperandMem()
80 if (NumVars) { in X86OperandMem()
81 Vars = Func->allocateArrayOf<Variable *>(NumVars); in X86OperandMem()
87 assert(I == NumVars); in X86OperandMem()
DIceInstX8632.cpp84 NumVars = 0; in X86OperandMem()
86 ++NumVars; in X86OperandMem()
88 ++NumVars; in X86OperandMem()
89 if (NumVars) { in X86OperandMem()
90 Vars = Func->allocateArrayOf<Variable *>(NumVars); in X86OperandMem()
96 assert(I == NumVars); in X86OperandMem()
DIceVariableSplitting.cpp74 : Func(Func), NumVars(Func->getNumVariables()), Map(NumVars) {} in VariableMap()
149 const SizeT NumVars; member in Ice::__anon4d0e651c0111::VariableMap
155 assert(VarNum < NumVars); in getVarNum()
DIceRegAlloc.cpp212 SizeT NumVars = 0; in initForInfOnly() local
238 ++NumVars; in initForInfOnly()
245 Unhandled.reserve(NumVars); in initForInfOnly()
246 UnhandledPrecolored.reserve(NumVars); in initForInfOnly()
265 --NumVars; in initForInfOnly()
294 assert(NumVars == 0); in initForInfOnly()
DIceCfgNode.cpp657 SizeT NumVars = Func->getNumVariables(); in livenessLightweight() local
658 LivenessBV Live(NumVars); in livenessLightweight()
676 const SizeT NumVars = Liveness->getNumVarsInNode(this); in liveness() local
713 Live.resize(NumVars); in liveness()
837 const SizeT NumVars = Liveness->getNumVarsInNode(this); in livenessAddIntervals() local
858 SizeT i1 = IBB == IBE ? NumVars : IBB->first; in livenessAddIntervals()
859 SizeT i2 = IEB == IEE ? NumVars : IEB->first; in livenessAddIntervals()
DIceOperand.h74 SizeT getNumVars() const { return NumVars; } in getNumVars()
121 SizeT NumVars = 0; variable
177 NumVars = 0; in Constant()
875 NumVars = 1; in Variable()
DIceInstARM32.cpp331 NumVars = 1; in OperandARM32Mem()
343 NumVars = 2; in OperandARM32Mem()
369 NumVars = 0; in OperandARM32FlexImm()
479 NumVars = 1; in OperandARM32FlexReg()
482 ++NumVars; in OperandARM32FlexReg()
483 Vars = Func->allocateArrayOf<Variable *>(NumVars); in OperandARM32FlexReg()
DIceCfg.cpp380 SizeT NumVars = getNumVariables(); in advancedPhiLowering() local
389 Variables.begin() + NumVars); in advancedPhiLowering()
DIceTargetLoweringX8632Traits.h929 NumVars = 1;
DIceTargetLoweringX8664Traits.h1005 NumVars = 1;
DIceInstMIPS32.cpp54 NumVars = 1; in OperandMIPS32Mem()