Home
last modified time | relevance | path

Searched refs:NumExprs (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp556 unsigned NumExprs = NumOutputs + NumInputs + NumLabels; in setOutputsAndInputsAndClobbers() local
559 this->Names = new (C) IdentifierInfo*[NumExprs]; in setOutputsAndInputsAndClobbers()
560 std::copy(Names, Names + NumExprs, this->Names); in setOutputsAndInputsAndClobbers()
563 this->Exprs = new (C) Stmt*[NumExprs]; in setOutputsAndInputsAndClobbers()
564 std::copy(Exprs, Exprs + NumExprs, this->Exprs); in setOutputsAndInputsAndClobbers()
858 unsigned NumExprs = NumOutputs + NumInputs + NumLabels; in GCCAsmStmt() local
860 Names = new (C) IdentifierInfo*[NumExprs]; in GCCAsmStmt()
861 std::copy(names, names + NumExprs, Names); in GCCAsmStmt()
863 Exprs = new (C) Stmt*[NumExprs]; in GCCAsmStmt()
864 std::copy(exprs, exprs + NumExprs, Exprs); in GCCAsmStmt()
H A DExpr.cpp1683 NumComps(comps.size()), NumExprs(exprs.size()) { in OffsetOfExpr()
4369 BuiltinLoc(BLoc), RParenLoc(RP), NumExprs(args.size()) { in ShuffleVectorExpr()
4380 this->NumExprs = Exprs.size(); in setExprs()
4381 SubExprs = new (C) Stmt*[NumExprs]; in setExprs()
4734 ParenListExprBits.NumExprs = Exprs.size(); in ParenListExpr()
4741 ParenListExpr::ParenListExpr(EmptyShell Empty, unsigned NumExprs) in ParenListExpr() argument
4743 ParenListExprBits.NumExprs = NumExprs; in ParenListExpr()
4756 unsigned NumExprs) { in CreateEmpty() argument
4758 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumExprs), alignof(ParenListExpr)); in CreateEmpty()
4759 return new (Mem) ParenListExpr(EmptyShell(), NumExprs); in CreateEmpty()
[all …]
H A DExprCXX.cpp1944 unsigned NumExprs, in CreateEmpty() argument
1946 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumExprs), in CreateEmpty()
1948 return new (Mem) CXXParenListInitExpr(Empty, NumExprs); in CreateEmpty()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp651 unsigned NumExprs = NumOutputs + NumInputs; in ParseMicrosoftAsmStatement() local
652 ConstraintRefs.resize(NumExprs); in ParseMicrosoftAsmStatement()
653 Exprs.resize(NumExprs); in ParseMicrosoftAsmStatement()
654 for (unsigned i = 0, e = NumExprs; i != e; ++i) { in ParseMicrosoftAsmStatement()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h2482 unsigned NumExprs; variable
2495 TSInfo(nullptr), NumComps(numComps), NumExprs(numExprs) {} in OffsetOfExpr()
2505 unsigned NumComps, unsigned NumExprs);
2537 assert(Idx < NumExprs && "Subscript out of range"); in getIndexExpr()
2542 assert(Idx < NumExprs && "Subscript out of range"); in getIndexExpr()
2552 return NumExprs; in getNumExpressions()
2565 return child_range(begin, begin + NumExprs); in children()
2570 return const_child_range(begin, begin + NumExprs); in children()
4463 unsigned NumExprs; variable
4489 unsigned getNumSubExprs() const { return NumExprs; } in getNumSubExprs()
[all …]
H A DExprCXX.h4966 unsigned NumExprs; variable
4975 NumExprs(Args.size()), NumUserSpecifiedExprs(NumUserSpecifiedExprs), in CXXParenListInitExpr()
4978 assert(NumExprs >= NumUserSpecifiedExprs && in CXXParenListInitExpr()
4984 size_t numTrailingObjects(OverloadToken<Expr *>) const { return NumExprs; } in numTrailingObjects()
4995 explicit CXXParenListInitExpr(EmptyShell Empty, unsigned NumExprs) in CXXParenListInitExpr() argument
4996 : Expr(CXXParenListInitExprClass, Empty), NumExprs(NumExprs), in CXXParenListInitExpr()
5002 return ArrayRef(getTrailingObjects<Expr *>(), NumExprs); in getInitExprs()
5006 return ArrayRef(getTrailingObjects<Expr *>(), NumExprs); in getInitExprs()
5051 return child_range(Begin, Begin + NumExprs); in children()
5057 return const_child_range(Begin, Begin + NumExprs); in children()
H A DStmt.h676 unsigned NumExprs;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1013 unsigned NumExprs = in VisitReductionClause() local
1016 if (NumExprs > 1) { in VisitReductionClause()
1019 << NumExprs; in VisitReductionClause()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp711 unsigned NumExprs = Record.readInt(); in VisitParenListExpr() local
712 assert((NumExprs == E->getNumExprs()) && "Wrong NumExprs!"); in VisitParenListExpr()
713 for (unsigned I = 0; I != NumExprs; ++I) in VisitParenListExpr()
1366 unsigned NumExprs = Record.readInt(); in VisitShuffleVectorExpr() local
1367 while (NumExprs--) in VisitShuffleVectorExpr()
2259 assert(E->NumExprs == ExpectedNumExprs && in VisitCXXParenListInitExpr()
H A DASTReader.cpp11876 unsigned NumExprs = readInt(); in readOpenACCIntExprList() local
11878 for (unsigned I = 0; I < NumExprs; ++I) in readOpenACCIntExprList()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4500 unsigned NumExprs = 0; in validateSOPLiteral() local
4517 ++NumExprs; in validateSOPLiteral()
4522 return NumLiterals + NumExprs <= 1; in validateSOPLiteral()
4661 unsigned NumExprs = 0; in validateVOPLiteral() local
4694 ++NumExprs; in validateVOPLiteral()
4697 NumLiterals += NumExprs; in validateVOPLiteral()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp6103 unsigned NumExprs = NumOutputs + NumInputs; in parseMSInlineAsm() local
6104 OpDecls.resize(NumExprs); in parseMSInlineAsm()
6105 Constraints.resize(NumExprs); in parseMSInlineAsm()
H A DMasmParser.cpp7456 unsigned NumExprs = NumOutputs + NumInputs; in parseMSInlineAsm() local
7457 OpDecls.resize(NumExprs); in parseMSInlineAsm()
7458 Constraints.resize(NumExprs); in parseMSInlineAsm()