/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtOpenMP.cpp | 303 const HelperExprs &Exprs, OpenMPDirectiveKind ParamPrevMappedDirective) { in Create() argument 307 Dir->setIterationVariable(Exprs.IterationVarRef); in Create() 308 Dir->setLastIteration(Exprs.LastIteration); in Create() 309 Dir->setCalcLastIteration(Exprs.CalcLastIteration); in Create() 310 Dir->setPreCond(Exprs.PreCond); in Create() 311 Dir->setCond(Exprs.Cond); in Create() 312 Dir->setInit(Exprs.Init); in Create() 313 Dir->setInc(Exprs.Inc); in Create() 314 Dir->setCounters(Exprs.Counters); in Create() 315 Dir->setPrivateCounters(Exprs.PrivateCounters); in Create() [all …]
|
H A D | Stmt.cpp | 510 return cast<Expr>(Exprs[i]); in getOutputExpr() 521 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() 525 Exprs[i + NumOutputs] = E; in setInputExpr() 529 return cast<AddrLabelExpr>(Exprs[i + NumOutputs + NumInputs]); in getLabelExpr() 545 Stmt **Exprs, in setOutputsAndInputsAndClobbers() argument 562 C.Deallocate(this->Exprs); in setOutputsAndInputsAndClobbers() 563 this->Exprs = new (C) Stmt*[NumExprs]; in setOutputsAndInputsAndClobbers() 564 std::copy(Exprs, Exprs + NumExprs, this->Exprs); in setOutputsAndInputsAndClobbers() 833 return cast<Expr>(Exprs[i]); in getOutputExpr() 837 return cast<Expr>(Exprs[i + NumOutputs]); in getInputExpr() [all …]
|
H A D | ComputeDependence.cpp | 387 ArrayRef<Expr *> Exprs = E->getExpressions(); in computeDependence() local 388 if (Exprs.empty()) in computeDependence() 393 assert(Index && *Index < Exprs.size() && "pack index out of bound"); in computeDependence() 394 D |= Exprs[*Index]->getDependence(); in computeDependence()
|
H A D | Expr.cpp | 3290 bool Expr::hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs) { in hasAnyTypeDependentArguments() argument 3291 for (unsigned I = 0; I < Exprs.size(); ++I) in hasAnyTypeDependentArguments() 3292 if (Exprs[I]->isTypeDependent()) in hasAnyTypeDependentArguments() 4377 void ShuffleVectorExpr::setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs) { in setExprs() argument 4380 this->NumExprs = Exprs.size(); in setExprs() 4382 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs() 4730 ParenListExpr::ParenListExpr(SourceLocation LParenLoc, ArrayRef<Expr *> Exprs, in ParenListExpr() argument 4734 ParenListExprBits.NumExprs = Exprs.size(); in ParenListExpr() 4736 for (unsigned I = 0, N = Exprs.size(); I != N; ++I) in ParenListExpr() 4737 getTrailingObjects<Stmt *>()[I] = Exprs[I]; in ParenListExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 213 getClobberConflictLocation(MultiExprArg Exprs, StringLiteral **Constraints, in getClobberConflictLocation() argument 220 for (unsigned int i = 0; i < Exprs.size() - NumLabels; ++i) { in getClobberConflictLocation() 223 Constraint, extractRegisterName(Exprs[i], Target)); in getClobberConflictLocation() 246 MultiExprArg constraints, MultiExprArg Exprs, in ActOnGCCAsmStmt() argument 281 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt() 285 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); in ActOnGCCAsmStmt() 288 Exprs[i] = ER.get(); in ActOnGCCAsmStmt() 291 Expr *OutputExpr = Exprs[i]; in ActOnGCCAsmStmt() 333 if (RequireCompleteType(OutputExpr->getBeginLoc(), Exprs[i]->getType(), in ActOnGCCAsmStmt() 350 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt() [all …]
|
H A D | SemaAMDGPU.cpp | 266 Expr *Exprs[3] = {XExpr, YExpr, ZExpr}; in checkAMDGPUMaxNumWorkGroupsArguments() local 268 if (Exprs[i]) { in checkAMDGPUMaxNumWorkGroupsArguments() 269 if (!S.checkUInt32Argument(Attr, Exprs[i], NumWG, i, in checkAMDGPUMaxNumWorkGroupsArguments() 274 << &Attr << Exprs[i]->getSourceRange(); in checkAMDGPUMaxNumWorkGroupsArguments()
|
H A D | MultiplexExternalSemaSource.cpp | 240 Exprs) { in ReadMismatchingDeleteExpressions() argument 242 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
|
H A D | SemaExprCXX.cpp | 1537 MultiExprArg Exprs, in BuildCXXTypeConstructExpr() argument 1543 assert((!ListInitialization || Exprs.size() == 1) && in BuildCXXTypeConstructExpr() 1550 Exprs.size() in BuildCXXTypeConstructExpr() 1569 Kind, Exprs); in BuildCXXTypeConstructExpr() 1574 MultiExprArg Inits = Exprs; in BuildCXXTypeConstructExpr() 1576 auto *ILE = cast<InitListExpr>(Exprs[0]); in BuildCXXTypeConstructExpr() 1616 if (Ty->isDependentType() || CallExpr::hasAnyTypeDependentArguments(Exprs)) in BuildCXXTypeConstructExpr() 1618 Context, Ty.getNonReferenceType(), TInfo, LParenOrBraceLoc, Exprs, in BuildCXXTypeConstructExpr() 1625 if (Exprs.size() == 1 && !ListInitialization && in BuildCXXTypeConstructExpr() 1626 !isa<InitListExpr>(Exprs[0])) { in BuildCXXTypeConstructExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseStmtAsm.cpp | 529 SmallVector<Expr *, 4> Exprs; in ParseMicrosoftAsmStatement() local 551 ConstraintRefs, ClobberRefs, Exprs, EndLoc); in ParseMicrosoftAsmStatement() 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() 799 Constraints.size() == Exprs.size() && "Input operand size mismatch!"); in ParseAsmStatement() [all …]
|
H A D | ParseExpr.cpp | 3496 ExprVector Exprs; in ParseGenericSelectionExpression() local 3534 Exprs.push_back(ER.get()); in ParseGenericSelectionExpression() 3547 ExprOrTy, Types, Exprs); in ParseGenericSelectionExpression() 3651 bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, in ParseExpressionList() argument 3688 Exprs.push_back(Expr.get()); in ParseExpressionList() 3701 for (auto &E : Exprs) { in ParseExpressionList() 3717 bool Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr *> &Exprs) { in ParseSimpleExpressionList() argument 3723 Exprs.push_back(Expr.get()); in ParseSimpleExpressionList()
|
H A D | ParseExprCXX.cpp | 1058 ExprVector Exprs; in ParseLambdaIntroducer() local 1062 } else if (ParseExpressionList(Exprs)) { in ParseLambdaIntroducer() 1069 Exprs); in ParseLambdaIntroducer() 2037 ExprVector Exprs; in ParseCXXTypeConstructExpression() local 2045 Exprs, T.getOpenLocation(), /*Braced=*/false); in ParseCXXTypeConstructExpression() 2051 if (ParseExpressionList(Exprs, [&] { in ParseCXXTypeConstructExpression() 2070 Exprs, T.getCloseLocation(), in ParseCXXTypeConstructExpression()
|
H A D | ParseOpenMP.cpp | 485 ExprVector Exprs; in ParseOpenMPReductionInitializerForDecl() local 488 auto RunSignatureHelp = [this, OmpPrivParm, LParLoc, &Exprs]() { in ParseOpenMPReductionInitializerForDecl() 492 OmpPrivParm->getLocation(), Exprs, LParLoc, /*Braced=*/false); in ParseOpenMPReductionInitializerForDecl() 496 if (ParseExpressionList(Exprs, [&] { in ParseOpenMPReductionInitializerForDecl() 511 Actions.ActOnParenListExpr(T.getOpenLocation(), RLoc, Exprs); in ParseOpenMPReductionInitializerForDecl() 4902 SmallVectorImpl<Expr *> &Exprs, in ParseOpenMPExprListClause() argument 4924 Exprs.push_back(Val.get()); in ParseOpenMPExprListClause()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtOpenMP.h | 1623 const HelperExprs &Exprs, 1701 Stmt *AssociatedStmt, const HelperExprs &Exprs, 1777 Stmt *AssociatedStmt, const HelperExprs &Exprs); 2218 Stmt *AssociatedStmt, const HelperExprs &Exprs, Expr *TaskRedRef, 2299 Stmt *AssociatedStmt, const HelperExprs &Exprs); 3081 Stmt *AssociatedStmt, Expressions Exprs); 3520 Stmt *AssociatedStmt, const HelperExprs &Exprs, Expr *TaskRedRef, 3775 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); 3843 Stmt *AssociatedStmt, const HelperExprs &Exprs); 3916 Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel); [all …]
|
H A D | Stmt.h | 3123 Stmt **Exprs = nullptr; 3202 return &Exprs[0] + NumOutputs; 3206 return &Exprs[0] + NumOutputs + NumInputs; 3212 return &Exprs[0] + NumOutputs; 3216 return &Exprs[0] + NumOutputs + NumInputs; 3231 return &Exprs[0]; 3235 return &Exprs[0] + NumOutputs; 3243 return &Exprs[0]; 3247 return &Exprs[0] + NumOutputs; 3255 return child_range(&Exprs[0], &Exprs[0] + NumOutputs + NumInputs); [all …]
|
H A D | OpenACCClause.h | 379 MutableArrayRef<Expr *> Exprs; variable 389 assert(Exprs.empty() && "Cannot change Exprs list"); in setExprs() 390 Exprs = NewExprs; in setExprs() 395 llvm::ArrayRef<Expr *> getExprs() const { return Exprs; } in getExprs() 400 return child_range(reinterpret_cast<Stmt **>(Exprs.begin()), in children() 401 reinterpret_cast<Stmt **>(Exprs.end())); in children()
|
H A D | StmtDataCollectors.td | 127 //--- Miscellaneous Exprs ------------------------------------------------//
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.h | 243 bool isHighCostExpansion(ArrayRef<const SCEV *> Exprs, Loop *L, 254 for (auto *Expr : Exprs)
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | MultiplexExternalSemaSource.h | 226 Exprs) override;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTUtils.h | 470 4>> &Exprs) override { in ReadMismatchingDeleteExpressions() argument 472 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 393 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() 1365 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local 1368 Exprs.push_back(Record.readSubExpr()); in VisitShuffleVectorExpr() [all …]
|
H A D | ASTReader.cpp | 8696 Exprs) { in ReadMismatchingDeleteExpressions() argument 8705 Exprs[FD].push_back(std::make_pair(DeleteLoc, IsArrayForm)); in ReadMismatchingDeleteExpressions() 11203 SmallVector<Expr *, 16> Exprs; in VisitOMPCopyinClause() local 11204 Exprs.reserve(NumVars); in VisitOMPCopyinClause() 11206 Exprs.push_back(Record.readSubExpr()); in VisitOMPCopyinClause() 11207 C->setVarRefs(Exprs); in VisitOMPCopyinClause() 11208 Exprs.clear(); in VisitOMPCopyinClause() 11210 Exprs.push_back(Record.readSubExpr()); in VisitOMPCopyinClause() 11211 C->setSourceExprs(Exprs); in VisitOMPCopyinClause() 11212 Exprs.clear(); in VisitOMPCopyinClause() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 299 void writeOpenACCIntExprList(ArrayRef<Expr *> Exprs);
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1929 bool ParseExpressionList(SmallVectorImpl<Expr *> &Exprs, 1937 bool ParseSimpleExpressionList(SmallVectorImpl<Expr *> &Exprs); 2080 bool ParseExpressionListOrTypeId(SmallVectorImpl<Expr*> &Exprs, 2253 SmallVectorImpl<Expr *> &Exprs); 2880 SmallVectorImpl<Expr *> &Exprs, 3607 SmallVectorImpl<Expr *> &Exprs,
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 6558 MapExprsArrayTy Exprs; member 6564 Exprs.append(CurInfo.Exprs.begin(), CurInfo.Exprs.end()); in append() 7343 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList() 7356 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList() 7381 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList() 7391 StructBaseCombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList() 7897 UseDeviceDataCombinedInfo.Exprs.push_back(VD); in generateAllInfoForClauses() 8156 CurInfo.Exprs.push_back(L.VD); in generateAllInfoForClauses() 8260 CombinedInfo.Exprs.push_back(VD); in emitCombinedEntry() 8387 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures() [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Relocations.cpp | 156 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()
|