Home
last modified time | relevance | path

Searched full:clause (Results 1 – 25 of 5987) sorted by relevance

12345678910>>...240

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp47 // FIXME: For each clause as we implement them, we can add the in doesClauseApplyToDirective()
350 llvm_unreachable("Invalid clause kind"); in doesClauseApplyToDirective()
355 SemaOpenACC::OpenACCParsedClause &Clause) { in checkAlreadyHasClauseOfKind() argument
357 return C->getClauseKind() == Clause.getClauseKind(); in checkAlreadyHasClauseOfKind()
360 S.Diag(Clause.getBeginLoc(), diag::err_acc_duplicate_clause_disallowed) in checkAlreadyHasClauseOfKind()
361 << Clause.getDirectiveKind() << Clause.getClauseKind(); in checkAlreadyHasClauseOfKind()
377 // OpenACC3.3: Section 2.4: Clauses that precede any device_type clause are in checkValidAfterDeviceType()
378 // default clauses. Clauses that follow a device_type clause up to the end of in checkValidAfterDeviceType()
379 // the directive or up to the next device_type clause are device-specific in checkValidAfterDeviceType()
390 // follow a device_type clause. in checkValidAfterDeviceType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h54 /// This is a basic class for representing single OpenMP clause.
56 /// Starting location of the clause (the clause keyword).
59 /// Ending location of the clause.
62 /// Kind of the clause.
70 /// Returns the starting location of the clause.
73 /// Returns the ending location of the clause.
76 /// Sets the starting location of the clause.
79 /// Sets the ending location of the clause.
82 /// Returns kind of OpenMP clause (private, shared, reduction, etc.).
112 /// Build '\p ClauseKind' clause.
[all …]
H A DOpenACCClause.h57 // Represents the 'auto' clause.
79 // Represents the 'independent' clause.
100 // Represents the 'seq' clause.
200 /// Represents a clause that has a list of parameters.
224 /// A 'device_type' or 'dtype' clause, takes a list of either an 'asterisk' or
241 "Invalid clause kind for device-type"); in OpenACCDeviceTypeClause()
280 /// A 'default' clause, has the optional 'none' or 'present' argument.
295 "Invalid Clause Kind"); in OpenACCDefaultClause()
348 /// An 'if' clause, which has a required condition expression.
363 /// A 'self' clause, which has an optional condition expression.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DConstructDecompositionT.h73 // This is the clause representation in the code using this infrastructure.
98 for (const ClauseTy &clause : clauses) in ConstructDecompositionT() local
99 nodes.push_back(&clause); in ConstructDecompositionT()
108 // clause addresses. in ConstructDecompositionT()
140 ClauseTy *makeClause(llvm::omp::Clause clauseId, S &&specific) { in makeClause()
150 void addClauseSymsToMap(const tomp::clause::MapT<TypeTy, IdTy, ExprTy> &item,
184 // Apply a clause to the only directive that allows it. If there are no
189 // Apply a clause to the first directive in given range that allows it.
194 // Apply a clause to the innermost directive that allows it. If such a
198 // Apply a clause to the outermost directive that allows it. If such a
[all …]
H A DConstructCompositionT.h9 // compound construct whose leaf constructs are the given list, and whose clause
51 All, // Clause is preesnt on all leaf constructs that allow it.
52 Some, // Clause is present on some, but not on all constructs.
53 None, // Clause is absent on all constructs.
57 ClauseTy makeClause(llvm::omp::Clause clauseId, S &&specific) { in makeClause()
64 Presence checkPresence(llvm::omp::Clause clauseId);
67 // 1. "if": the "directive-name-modifier" on the merged clause may need
78 // clause id -> set of leaf constructs that contain it
79 std::unordered_map<llvm::omp::Clause, llvm::BitVector> clausePresence;
80 // clause id -> set of instances of that clause
[all …]
H A DClauseT.h1 //===- ClauseT.h -- clause template definitions ---------------------------===//
11 // The general structure of any specific clause class is that it is either
29 // Clause `foo`
227 // all objects in the clause, otherwise there should be as many mappers as
321 namespace clause {
344 // V5.2: [7.5.2] `adjust_args` clause
350 // V5.2: [12.5.1] `affinity` clause
360 // V5.2: [6.3] `align` clause
369 // V5.2: [5.11] `aligned` clause
382 // V5.2: [6.6] `allocate` clause
[all …]
H A DOMP.td32 // Sorted alphabetically wrt clause spelling.
35 def OMPC_Acquire : Clause<"acquire"> {
38 def OMPC_AcqRel : Clause<"acq_rel"> {
41 def OMPC_AdjustArgs : Clause<"adjust_args"> {
43 def OMPC_Affinity : Clause<"affinity"> {
46 def OMPC_Align : Clause<"align"> {
49 def OMPC_Aligned : Clause<"aligned"> {
53 def OMPC_Allocate : Clause<"allocate"> {
57 def OMPC_Allocator : Clause<"allocator"> {
61 def OMPC_AppendArgs : Clause<"append_args"> {
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenACCKinds.h163 /// Represents the kind of an OpenACC clause.
165 /// 'finalize' clause, allowed on 'exit data' directive.
167 /// 'if_present' clause, allowed on 'host_data' and 'update' directives.
169 /// 'seq' clause, allowed on 'loop' and 'routine' directives.
171 /// 'independent' clause, allowed on 'loop' directives.
173 /// 'auto' clause, allowed on 'loop' directives.
175 /// 'worker' clause, allowed on 'loop', Combined, and 'routine' directives.
177 /// 'vector' clause, allowed on 'loop', Combined, and 'routine' directives.
179 /// 'nohost' clause, allowed on 'routine' directives.
181 /// 'default' clause, allowed on parallel, serial, kernel (and compound)
[all …]
H A DOpenMPKinds.h27 using OpenMPClauseKind = llvm::omp::Clause;
29 /// OpenMP attributes for 'schedule' clause.
37 /// OpenMP modifiers for 'schedule' clause.
46 /// OpenMP modifiers for 'device' clause.
53 /// OpenMP attributes for 'depend' clause.
61 /// OpenMP attributes for 'linear' clause.
69 /// OpenMP mapping kind for 'map' clause.
77 /// OpenMP modifier kind for 'map' clause.
90 /// OpenMP modifier kind for 'to' or 'from' clause.
102 /// OpenMP attributes for 'dist_schedule' clause.
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp289 /// clause as the preinitializer.
349 auto *Clause = in Create() local
352 Clause->setLoopNumIterations(I, nullptr); in Create()
353 Clause->setLoopCounter(I, nullptr); in Create()
355 return Clause; in Create()
361 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty() local
363 Clause->setLoopNumIterations(I, nullptr); in CreateEmpty()
364 Clause->setLoopCounter(I, nullptr); in CreateEmpty()
366 return Clause; in CreateEmpty()
407 auto *Clause = in Create() local
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_sugar.c23 * compiler / the kernel. A clause containing these language features is
24 * referred to as a "super-clause", and its transformation typically entails
30 * statements before and after) is turned into its own sub-clause, with a
85 * Append this clause to the clause list.
88 dt_sugar_append_clause(dt_sugar_parse_t *dp, dt_node_t *clause) in dt_sugar_append_clause() argument
90 dp->dtsp_clause_list = dt_node_link(dp->dtsp_clause_list, clause); in dt_sugar_append_clause()
94 * Prepend this clause to the clause list.
97 dt_sugar_prepend_clause(dt_sugar_parse_t *dp, dt_node_t *clause) in dt_sugar_prepend_clause() argument
99 dp->dtsp_clause_list = dt_node_link(clause, dp->dtsp_clause_list); in dt_sugar_prepend_clause()
123 * Return new clause to evaluate predicate and set newcond. condid is
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenACC/
H A DACC.td35 def ACCC_Async : Clause<"async"> {
41 def ACCC_Auto : Clause<"auto"> {}
44 def ACCC_Attach : Clause<"attach"> {
49 def ACCC_Bind : Clause<"bind"> {
54 def ACCC_Capture : Clause<"capture"> {
58 def ACCC_Collapse : Clause<"collapse"> {
63 def ACCC_Copy : Clause<"copy"> {
69 def ACCC_Copyin : Clause<"copyin"> {
75 def ACCC_Copyout : Clause<"copyout"> {
81 def ACCC_Create : Clause<"create"> {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/
H A DDirectiveBase.td32 // Optional prefix used for the generation of the enumerator in the Clause
56 // Name of the clause value.
59 // Integer value of the clause.
65 // Set clause value used by default when unknown.
69 // Information about a specific clause.
70 class Clause<string c> {
71 // Name of the clause.
80 // Optional class holding value of the clause in clang AST.
83 // Optional class holding value of the clause in flang AST.
89 // Name of enum when there is a list of allowed clause values.
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h153 /// clause is used. The function will return true if default
168 /// Check if the specified variable is used in 'private' clause.
305 /// Explicitly listed variables and functions in a 'to' or 'link' clause.
308 /// The 'device_type' as parsed from the clause.
314 /// The directive with indirect clause.
366 /// Return true if currently in OpenMP task with untied clause context.
799 /// \param TI The trait info object representing the match clause.
820 /// \param AdjustArgsLoc The Location of an 'adjust_args' clause.
821 /// \param AppendArgsLoc The Location of an 'append_args' clause.
834 /// Called on well-formed 'allocator' clause.
[all …]
H A DSemaOpenACC.h42 /// A type to represent all the data for an OpenACC Clause that has been
44 /// discriminated union on the 'Clause Kind', with all of the individual
45 /// clause details stored in a std::variant.
106 "Parsed clause is not a default clause"); in getDefaultClauseKind()
118 "Parsed clause kind does not have a condition expr"); in getConditionExpr()
134 "Parsed clause kind does not have a int exprs"); in getNumIntExprs()
146 "Parsed clause kind does not have a queues location"); in getQueuesLoc()
156 "Parsed clause kind does not have a device number expr"); in getDevNumExpr()
166 "Parsed clause kind does not have a queue id expr list"); in getQueueIdExprs()
179 "Parsed clause kind does not have a int exprs"); in getIntExprs()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp87 Clause C{R}; in GenerateEnumClauseVal()
94 PrintError("enumClauseValue field not set in Clause" + in GenerateEnumClauseVal()
135 PrintError("Clause " + VerClause.getClause().getRecordName() + in HasDuplicateClauses()
239 // Emit Clause enumeration in EmitDirectivesDecl()
240 GenerateEnumClass(DirLang.getClauses(), OS, "Clause", in EmitDirectivesDecl()
257 OS << "Clause get" << DirLang.getName() in EmitDirectivesDecl()
260 OS << "llvm::StringRef get" << DirLang.getName() << "ClauseName(Clause C);\n"; in EmitDirectivesDecl()
262 OS << "/// Return true if \\p C is a valid clause for \\p D in version \\p " in EmitDirectivesDecl()
265 << "Clause C, unsigned Version);\n"; in EmitDirectivesDecl()
349 Clause C{R}; in GenerateGetKindClauseVal()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp536 /// <type> <var> ')' [<clause>[[,] <clause>] ... ]
616 OMPClause *Clause = in ParseOpenMPDeclareMapperDirective() local
618 if (Clause) in ParseOpenMPDeclareMapperDirective()
619 Clauses.push_back(Clause); in ParseOpenMPDeclareMapperDirective()
715 /// clause:
1390 /// Parse clauses for '#pragma omp declare variant ( variant-func-id ) clause'.
1434 // At least one clause is required. in ParseOMPDeclareVariantClauses()
1484 llvm_unreachable("Unexpected clause for declare variant."); in ParseOMPDeclareVariantClauses()
1639 /// <clause> [clause[ [,] clause] ... ]
1655 OMPClause *Clause = in ParseOpenMPClauses() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInsertHardClauses.cpp20 /// instruction to mark the start of each clause.
26 /// hard clause. (Before gfx10 there wasn't a distinction, and both were called
82 // Internal instructions, which are allowed in the middle of a hard clause,
87 // Instructions that are not allowed in a hard clause: SALU, export, branch,
158 // Track information about a clause as we discover it.
160 // The type of all (non-internal) instructions in the clause.
162 // The first (necessarily non-internal) instruction in the clause.
164 // The last non-internal instruction in the clause.
166 // The length of the clause including any internal instructions in the
167 // middle (but not at the end) of the clause.
[all …]
H A DR600EmitClauseMarkers.cpp10 /// Add CF_ALU. R600 Alu instructions are grouped in clause which can hold
190 // Def defines a clause local register, so check that its use will fit in canClauseLocalKillFitInClause()
191 // in the clause. in canClauseLocalKillFitInClause()
195 // Make sure we won't need to end the clause due to KCache limitations. in canClauseLocalKillFitInClause()
201 // current clause. in canClauseLocalKillFitInClause()
220 llvm_unreachable("Clause local register live at end of clause."); in canClauseLocalKillFitInClause()
239 // We put PRED_X in its own clause to ensure that ifcvt won't create in MakeALUClause()
244 // clause as predicated alus). in MakeALUClause()
252 // XXX: GROUP_BARRIER instructions cannot be in the same ALU clause as: in MakeALUClause()
264 // If this instruction defines a clause local register, make sure in MakeALUClause()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCNFFormula.h41 /// Clause identifiers are represented as positive integers.
44 /// A null clause identifier is used as a placeholder in various data structures
67 /// per clause).
75 /// The element at index 0 stands for the literal in the null clause. It is
85 /// The element at index 0 stands for the start index of the null clause. It
91 /// clause always start at index 1. The start index for the literals of the
92 /// second clause depends on the size of the first clause and so on.
102 /// Adds the `L1 v ... v Ln` clause to the formula.
118 /// Valid clause IDs are in the range [1, `numClauses()`].
121 /// Returns the number of literals in clause `C`.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DOpenMPKinds.cpp108 return static_cast<unsigned int>(llvm::StringSwitch<llvm::omp::Clause>(Str) in getOpenMPSimpleClauseType()
249 llvm_unreachable("Invalid OpenMP simple clause kind"); in getOpenMPSimpleClauseType()
262 llvm_unreachable("Invalid OpenMP 'default' clause type"); in getOpenMPSimpleClauseTypeName()
270 llvm_unreachable("Invalid OpenMP 'proc_bind' clause type"); in getOpenMPSimpleClauseTypeName()
284 llvm_unreachable("Invalid OpenMP 'schedule' clause type"); in getOpenMPSimpleClauseTypeName()
294 llvm_unreachable("Invalid OpenMP 'depend' clause type"); in getOpenMPSimpleClauseTypeName()
304 llvm_unreachable("Invalid OpenMP 'doacross' clause type"); in getOpenMPSimpleClauseTypeName()
314 llvm_unreachable("Invalid OpenMP 'linear' clause type"); in getOpenMPSimpleClauseTypeName()
330 llvm_unreachable("Invalid OpenMP 'map' clause type"); in getOpenMPSimpleClauseTypeName()
343 llvm_unreachable("Invalid OpenMP 'to' or 'from' clause type"); in getOpenMPSimpleClauseTypeName()
[all …]
/freebsd/crypto/openssl/doc/man7/
H A Dproperty.pod63 A I<property query clause> is a single conditional test.
67 The third clause represents an optional clause.
72 It is an error if a property name appears in more than one query clause.
88 B<?> is a prefix operator that means that the following clause is optional
93 B<-> is a prefix operator that means any global query clause involving the
130 Where both the context and local queries include a clause with the same name,
131 the local clause overrides the context clause.
133 It is possible for a local property query to remove a clause in the context
140 clause "-fips".
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp41 /// Maps literals (indices of the vector) to clause identifiers (elements of
44 /// For a given clause, its watched literal is always its first literal in
48 /// Maps clause identifiers (elements of the vector) to identifiers of other
51 /// The element at index 0 stands for the identifier of the clause that
52 /// follows the null clause. It is set to 0 and isn't used. Identifiers of
123 // Designate the first literal as the "watched" literal of the clause. in WatchedLiteralsSolverImpl()
196 // We found a unit clause! The value of its unassigned variable is in solve()
301 // the clause. in updateWatchedLiterals()
305 // If the new watched literal isn't watched by any other clause and its in updateWatchedLiterals()
314 // Go to the next clause that watches `FalseLit`. in updateWatchedLiterals()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h329 /// An outlined function may not be an entry if, e.g. the if clause always
639 /// clause associated with a teams construct combined or closely nested
655 /// if-clause), store the condition in \p CondExpr. Similarly, a potential
700 /// Emits code for OpenMP 'if' clause using specified \a CodeGen
794 /// \param IfCond Condition in the associated 'if' clause, if it was
796 /// \param NumThreads The value corresponding to the num_threads clause, if
808 /// \param Hint Value of the 'hint' clause (optional).
877 /// \param ScheduleKind Schedule kind specified in the 'schedule' clause.
878 /// \param Chunked True if chunk is specified in the clause.
885 /// \param ScheduleKind Schedule kind specified in the 'dist_schedule' clause.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h67 return Records.getAllDerivedDefinitions("Clause"); in getClauses()
81 // Base record class used for Directive and Clause class defined in
142 // Wrapper class that contains Clause's information defined in DirectiveBase.td
144 class Clause : public BaseRecord {
146 explicit Clause(const llvm::Record *Def) : BaseRecord(Def) {} in Clause() function
216 // Return the specific clause record wrapped in the Clause class.
217 Clause getClause() const { return Clause{Def->getValueAsDef("clause")}; } in getClause()

12345678910>>...240