Home
last modified time | relevance | path

Searched refs:Exprs (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp313 Dir->setInc(Exprs.Inc); in Create()
350 Dir->setInc(Exprs.Inc); in Create()
466 Dir->setInc(Exprs.Inc); in Create()
613 Dir->setInc(Exprs.Inc); in Create()
658 Dir->setInc(Exprs.Inc); in Create()
922 Dir->setX(Exprs.X); in Create()
923 Dir->setV(Exprs.V); in Create()
924 Dir->setR(Exprs.R); in Create()
925 Dir->setExpr(Exprs.E); in Create()
927 Dir->setD(Exprs.D); in Create()
[all …]
H A DStmt.cpp509 return cast<Expr>(Exprs[i]); in getOutputExpr()
520 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr()
524 Exprs[i + NumOutputs] = E; in setInputExpr()
561 C.Deallocate(this->Exprs); in setOutputsAndInputsAndClobbers()
562 this->Exprs = new (C) Stmt*[NumExprs]; in setOutputsAndInputsAndClobbers()
563 std::copy(Exprs, Exprs + NumExprs, this->Exprs); in setOutputsAndInputsAndClobbers()
832 return cast<Expr>(Exprs[i]); in getOutputExpr()
836 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr()
840 Exprs[i + NumOutputs] = E; in setInputExpr()
862 Exprs = new (C) Stmt*[NumExprs]; in GCCAsmStmt()
[all …]
H A DExpr.cpp3254 bool Expr::hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs) { in hasAnyTypeDependentArguments() argument
3255 for (unsigned I = 0; I < Exprs.size(); ++I) in hasAnyTypeDependentArguments()
3256 if (Exprs[I]->isTypeDependent()) in hasAnyTypeDependentArguments()
4298 this->NumExprs = Exprs.size(); in setExprs()
4300 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs()
4643 ParenListExprBits.NumExprs = Exprs.size(); in ParenListExpr()
4645 for (unsigned I = 0, N = Exprs.size(); I != N; ++I) in ParenListExpr()
4646 getTrailingObjects<Stmt *>()[I] = Exprs[I]; in ParenListExpr()
4657 ArrayRef<Expr *> Exprs, in Create() argument
4659 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(Exprs.size()), in Create()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp285 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt()
288 Exprs[i] = ER.get(); in ActOnGCCAsmStmt()
291 Expr *OutputExpr = Exprs[i]; in ActOnGCCAsmStmt()
376 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt()
379 Exprs[i] = ER.get(); in ActOnGCCAsmStmt()
381 Expr *InputExpr = Exprs[i]; in ActOnGCCAsmStmt()
409 InputExpr = Exprs[i] = Result.get(); in ActOnGCCAsmStmt()
599 Expr *OutputExpr = Exprs[TiedTo]; in ActOnGCCAsmStmt()
600 Expr *InputExpr = Exprs[InputOpNo]; in ActOnGCCAsmStmt()
700 Exprs[InputOpNo] = InputExpr; in ActOnGCCAsmStmt()
[all …]
H A DMultiplexExternalSemaSource.cpp240 Exprs) { in ReadMismatchingDeleteExpressions() argument
242 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
H A DSemaExprCXX.cpp1492 MultiExprArg Exprs, in BuildCXXTypeConstructExpr() argument
1505 Exprs.size() in BuildCXXTypeConstructExpr()
1529 MultiExprArg Inits = Exprs; in BuildCXXTypeConstructExpr()
1531 auto *ILE = cast<InitListExpr>(Exprs[0]); in BuildCXXTypeConstructExpr()
1579 if (Exprs.size() == 1 && !ListInitialization && in BuildCXXTypeConstructExpr()
1580 !isa<InitListExpr>(Exprs[0])) { in BuildCXXTypeConstructExpr()
1581 Expr *Arg = Exprs[0]; in BuildCXXTypeConstructExpr()
2069 AllocTypeInfo, Entity, Kind, Exprs); in BuildCXXNew()
2073 MultiExprArg Inits = Exprs; in BuildCXXNew()
2076 auto *ILE = cast<InitListExpr>(Exprs[0]); in BuildCXXNew()
[all …]
H A DSemaTemplateInstantiate.cpp4148 bool Sema::SubstExprs(ArrayRef<Expr *> Exprs, bool IsCall, in SubstExprs() argument
4151 if (Exprs.empty()) in SubstExprs()
4157 return Instantiator.TransformExprs(Exprs.data(), Exprs.size(), in SubstExprs()
H A DSemaChecking.cpp483 llvm::ArrayRef<Expr *> Exprs = {}) { in callPrintFunction()
489 Args.insert(Args.end(), Exprs.begin(), Exprs.end());
16633 SmallVector<const Expr *, 2> Exprs(1, E); in CheckForIntOverflow() local
16636 const Expr *OriginalE = Exprs.pop_back_val(); in CheckForIntOverflow()
16649 Exprs.append(Call->arg_begin(), Call->arg_end()); in CheckForIntOverflow()
16651 Exprs.append(Message->arg_begin(), Message->arg_end()); in CheckForIntOverflow()
16655 Exprs.push_back(Temporary->getSubExpr()); in CheckForIntOverflow()
16657 Exprs.push_back(Array->getIdx()); in CheckForIntOverflow()
16659 Exprs.push_back(Compound->getInitializer()); in CheckForIntOverflow()
16663 Exprs.push_back(*ArraySize); in CheckForIntOverflow()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp529 SmallVector<Expr *, 4> Exprs; in ParseMicrosoftAsmStatement() local
653 Exprs.resize(NumExprs); in ParseMicrosoftAsmStatement()
665 Exprs[i] = OpExpr; in ParseMicrosoftAsmStatement()
671 ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement()
759 ExprVector Exprs; in ParseAsmStatement() local
767 /*NumOutputs*/ 0, /*NumInputs*/ 0, nullptr, Constraints, Exprs, in ParseAsmStatement()
778 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
794 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
853 Exprs.push_back(Res.get()); in ParseAsmStatement()
886 SmallVectorImpl<Expr *> &Exprs) { in ParseAsmOperandsOpt() argument
[all …]
H A DParseExpr.cpp3421 ExprVector Exprs; in ParseGenericSelectionExpression() local
3459 Exprs.push_back(ER.get()); in ParseGenericSelectionExpression()
3472 ExprOrTy, Types, Exprs); in ParseGenericSelectionExpression()
3551 bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, in ParseExpressionList() argument
3588 Exprs.push_back(Expr.get()); in ParseExpressionList()
3601 for (auto &E : Exprs) { in ParseExpressionList()
3617 bool Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr *> &Exprs) { in ParseSimpleExpressionList() argument
3623 Exprs.push_back(Expr.get()); in ParseSimpleExpressionList()
H A DParseExprCXX.cpp984 ExprVector Exprs; in ParseLambdaIntroducer() local
988 } else if (ParseExpressionList(Exprs)) { in ParseLambdaIntroducer()
995 Exprs); in ParseLambdaIntroducer()
1940 ExprVector Exprs; in ParseCXXTypeConstructExpression() local
1946 TypeRep.get()->getCanonicalTypeInternal(), DS.getEndLoc(), Exprs, in ParseCXXTypeConstructExpression()
1953 if (ParseExpressionList(Exprs, [&] { in ParseCXXTypeConstructExpression()
1972 Exprs, T.getCloseLocation(), in ParseCXXTypeConstructExpression()
H A DParseDecl.cpp403 const IdentifierInfo &AttrName, SmallVectorImpl<Expr *> &Exprs, in ParseAttributeArgumentList() argument
437 Exprs.push_back(Expr.get()); in ParseAttributeArgumentList()
451 for (auto &E : Exprs) { in ParseAttributeArgumentList()
2639 ExprVector Exprs; in ParseDeclarationAfterDeclaratorAndAttributes() local
2647 ThisDecl->getLocation(), Exprs, T.getOpenLocation(), in ParseDeclarationAfterDeclaratorAndAttributes()
2665 bool SawError = ParseExpressionList(Exprs, ExpressionStarts); in ParseDeclarationAfterDeclaratorAndAttributes()
2673 ThisDecl->getLocation(), Exprs, T.getOpenLocation(), in ParseDeclarationAfterDeclaratorAndAttributes()
2685 Exprs); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParseOpenMP.cpp479 ExprVector Exprs; in ParseOpenMPReductionInitializerForDecl() local
482 auto RunSignatureHelp = [this, OmpPrivParm, LParLoc, &Exprs]() { in ParseOpenMPReductionInitializerForDecl()
485 OmpPrivParm->getLocation(), Exprs, LParLoc, /*Braced=*/false); in ParseOpenMPReductionInitializerForDecl()
489 if (ParseExpressionList(Exprs, [&] { in ParseOpenMPReductionInitializerForDecl()
504 Actions.ActOnParenListExpr(T.getOpenLocation(), RLoc, Exprs); in ParseOpenMPReductionInitializerForDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h1776 Stmt *AssociatedStmt, const HelperExprs &Exprs);
2298 Stmt *AssociatedStmt, const HelperExprs &Exprs);
3839 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4057 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4122 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4345 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4412 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4477 Stmt *AssociatedStmt, const HelperExprs &Exprs,
4697 Stmt *AssociatedStmt, const HelperExprs &Exprs);
4761 Stmt *AssociatedStmt, const HelperExprs &Exprs);
[all …]
H A DStmt.h3116 Stmt **Exprs = nullptr; variable
3195 return &Exprs[0] + NumOutputs; in begin_inputs()
3205 return &Exprs[0] + NumOutputs; in begin_inputs()
3224 return &Exprs[0]; in begin_outputs()
3228 return &Exprs[0] + NumOutputs; in end_outputs()
3236 return &Exprs[0]; in begin_outputs()
3240 return &Exprs[0] + NumOutputs; in end_outputs()
3248 return child_range(&Exprs[0], &Exprs[0] + NumOutputs + NumInputs); in children()
3252 return const_child_range(&Exprs[0], &Exprs[0] + NumOutputs + NumInputs); in children()
3576 return child_range(&Exprs[0], &Exprs[NumInputs + NumOutputs]); in children()
[all …]
H A DStmtDataCollectors.td127 //--- Miscellaneous Exprs ------------------------------------------------//
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h225 bool isHighCostExpansion(ArrayRef<const SCEV *> Exprs, Loop *L,
236 for (auto *Expr : Exprs)
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DMultiplexExternalSemaSource.h226 Exprs) override;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h464 4>> &Exprs) override { in ReadMismatchingDeleteExpressions() argument
466 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp393 SmallVector<Stmt*, 16> Exprs; in VisitGCCAsmStmt() local
397 Exprs.push_back(Record.readSubStmt()); in VisitGCCAsmStmt()
408 Exprs.push_back(Record.readSubStmt()); in VisitGCCAsmStmt()
413 Exprs.data(), NumOutputs, NumInputs, in VisitGCCAsmStmt()
447 SmallVector<Expr*, 16> Exprs; in VisitMSAsmStmt() local
450 Exprs.reserve(NumOperands); in VisitMSAsmStmt()
454 Exprs.push_back(cast<Expr>(Record.readSubStmt())); in VisitMSAsmStmt()
460 Constraints, Exprs, Clobbers); in VisitMSAsmStmt()
1358 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local
1361 Exprs.push_back(Record.readSubExpr()); in VisitShuffleVectorExpr()
[all …]
H A DASTReader.cpp11058 Exprs.reserve(NumVars); in VisitOMPCopyinClause()
11061 C->setVarRefs(Exprs); in VisitOMPCopyinClause()
11062 Exprs.clear(); in VisitOMPCopyinClause()
11065 C->setSourceExprs(Exprs); in VisitOMPCopyinClause()
11066 Exprs.clear(); in VisitOMPCopyinClause()
11070 Exprs.clear(); in VisitOMPCopyinClause()
11080 Exprs.reserve(NumVars); in VisitOMPCopyprivateClause()
11083 C->setVarRefs(Exprs); in VisitOMPCopyprivateClause()
11084 Exprs.clear(); in VisitOMPCopyprivateClause()
11088 Exprs.clear(); in VisitOMPCopyprivateClause()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1873 bool ParseExpressionList(SmallVectorImpl<Expr *> &Exprs,
1881 bool ParseSimpleExpressionList(SmallVectorImpl<Expr *> &Exprs);
2024 bool ParseExpressionListOrTypeId(SmallVectorImpl<Expr*> &Exprs,
2195 SmallVectorImpl<Expr *> &Exprs);
2816 SmallVectorImpl<Expr *> &Exprs,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6543 MapExprsArrayTy Exprs; member
6549 Exprs.append(CurInfo.Exprs.begin(), CurInfo.Exprs.end()); in append()
7862 UseDeviceDataCombinedInfo.Exprs.push_back(VD); in generateAllInfoForClauses()
8105 CurInfo.Exprs.push_back(L.VD); in generateAllInfoForClauses()
8209 CombinedInfo.Exprs.push_back(VD); in emitCombinedEntry()
8336 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8364 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8377 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8448 CombinedInfo.Exprs.push_back(VD); in generateInfoForCapture()
8692 CombinedInfo.Exprs.push_back(nullptr); in generateDefaultMapInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DRelocations.cpp156 template <RelExpr... Exprs> static bool oneof(RelExpr expr) { in oneof()
161 return (uint64_t(1) << (expr - 64)) & buildMask((Exprs - 64)...); in oneof()
162 return (uint64_t(1) << expr) & buildMask(Exprs...); in oneof()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h4539 NodeArray Exprs = popTrailingNodeArray(ExprsBegin); in parseConversionExpr() local
4540 return make<ConversionExpr>(Ty, Exprs); in parseConversionExpr()
4980 size_t Exprs = Names.size(); in parseExpr() local
4987 NodeArray ExprList = popTrailingNodeArray(Exprs); in parseExpr()
5048 NodeArray Exprs = popTrailingNodeArray(ExprsBegin); in parseExpr() local
5049 if (!IsMany && Exprs.size() != 1) in parseExpr()
5051 return make<ConversionExpr>(Ty, Exprs, Op->getPrecedence()); in parseExpr()

12