Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp303 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 DStmt.cpp510 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 DComputeDependence.cpp387 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 DExpr.cpp3290 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 DSemaStmtAsm.cpp213 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 DSemaAMDGPU.cpp266 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 DMultiplexExternalSemaSource.cpp240 Exprs) { in ReadMismatchingDeleteExpressions() argument
242 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
H A DSemaExprCXX.cpp1537 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 DParseStmtAsm.cpp529 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 DParseExpr.cpp3496 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 DParseExprCXX.cpp1058 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 DParseOpenMP.cpp485 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 DStmtOpenMP.h1623 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 DStmt.h3123 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 DOpenACCClause.h379 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 DStmtDataCollectors.td127 //--- Miscellaneous Exprs ------------------------------------------------//
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h243 bool isHighCostExpansion(ArrayRef<const SCEV *> Exprs, Loop *L,
254 for (auto *Expr : Exprs)
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DMultiplexExternalSemaSource.h226 Exprs) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h470 4>> &Exprs) override { in ReadMismatchingDeleteExpressions() argument
472 Source->ReadMismatchingDeleteExpressions(Exprs); in ReadMismatchingDeleteExpressions()
/freebsd/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()
1365 SmallVector<Expr *, 16> Exprs; in VisitShuffleVectorExpr() local
1368 Exprs.push_back(Record.readSubExpr()); in VisitShuffleVectorExpr()
[all …]
H A DASTReader.cpp8696 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 DASTRecordWriter.h299 void writeOpenACCIntExprList(ArrayRef<Expr *> Exprs);
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1929 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 DCGOpenMPRuntime.cpp6558 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 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()

12