Home
last modified time | relevance | path

Searched refs:maybe (Results 1 – 25 of 107) sorted by relevance

12345

/llvm-project-15.0.7/flang/lib/Parser/
H A DFortran-parsers.cpp277 maybe(digitString) >> maybe(exponentPart) >> ok ||
444 maybe(coarraySpec), maybe("*" >> charLength), maybe(initialization)))
450 maybe(Parser<ComponentArraySpec>{}), maybe("*" >> charLength))))
616 maybe(arraySpec), maybe(coarraySpec), maybe("*" >> charLength),
666 maybe(coarraySpec), maybe("*" >> charLength), maybe(initialization)))
756 defaulted(maybe("::"_tok) >> in TYPE_PARSER()
774 construct<ObjectDecl>(objectName, maybe(arraySpec), maybe(coarraySpec)))
1002 maybe(","_tok))))
1021 many(maybe(","_tok) >>
1083 maybe(scalarIntExpr), ":" >> maybe(scalarIntExpr)))
[all …]
H A Dexecutable-parsers.cpp215 maybe(name)))
220 construct<CriticalStmt>(maybe(name / ":"),
244 maybe("," >> scalarLogicalExpr))))
272 maybe(","_tok) >>
283 maybe(name / ":"), "DO" >> label, maybe(loopControl)))
287 construct<NonLabelDoStmt>(maybe(name / ":"), "DO" >> maybe(loopControl)))
363 ":" >> maybe(caseValue))) ||
395 maybe(name))))
422 maybe(name)))
435 maybe(","_tok) >> scalarIntExpr))
[all …]
H A Dprogram-parsers.cpp222 maybe(Parser<ModuleSubprogramPart>{}),
298 recovery("END SUBMODULE" >> maybe(name) || bareEnd,
309 construct<BlockDataStmt>("BLOCK DATA" >> maybe(name)))
314 recovery("END BLOCK DATA" >> maybe(name) || bareEnd,
352 maybe("::"_tok) >> specificProcedures) ||
355 maybe("::"_tok) >> specificProcedures))
443 maybe(keyword / "=" / !"="_ch), Parser<ActualArg>{}))
484 executionPart, maybe(internalSubprogramPart),
493 parenthesized(optionalList(name)), maybe(suffix)) ||
553 recovery("END PROCEDURE" >> maybe(name) || bareEnd,
[all …]
H A Dopenmp-parsers.cpp43 maybe("ALWAYS" >> construct<OmpMapType::Always>() / maybe(","_tok)),
53 maybe(Parser<OmpMapType>{}), Parser<OmpObjectList>{}))
70 maybe(":" >>
90 maybe("," >> Parser<OmpScheduleModifierType>{}) / ":"))
98 maybe("," >> scalarIntExpr)))
102 maybe(
166 maybe(":" >> scalarIntConstantExpr))) ||
279 many(maybe(","_tok) >> sourced(Parser<OmpClause>{})))))
366 maybe(parenthesized(Parser<OmpObjectList>{})))))
419 maybe(Parser<OmpReductionInitializerClause>{}))))
[all …]
H A Dopenacc-parsers.cpp38 maybe(Parser<AccDataModifier>{}), Parser<AccObjectList>{}))
45 TYPE_PARSER(construct<AccWaitArgument>(maybe("DEVNUM:" >> scalarIntExpr / ":"),
72 maybe(("NUM:"_tok >> scalarIntExpr || scalarIntExpr)),
73 maybe(", STATIC:" >> Parser<AccSizeExpr>{})))
145 maybe(parenthesized(name)), Parser<AccClauseList>{})))
161 statement(assignmentStmt), maybe(Parser<AccEndAtomic>{} / endAccLine)))
165 statement(assignmentStmt), maybe(Parser<AccEndAtomic>{} / endAccLine)))
168 construct<AccAtomicUpdate>(maybe(verbatim("UPDATE"_tok)) / endAccLine,
169 statement(assignmentStmt), maybe(Parser<AccEndAtomic>{} / endAccLine)))
188 many(maybe(","_tok) >> sourced(Parser<AccClause>{})))))
[all …]
H A Dstmt-parser.h30 maybe(label), space >> p)); in unterminatedStatement()
36 constexpr auto semicolons{";"_ch >> skipMany(";"_tok) / space / maybe("\n"_ch)};
64 skipStuffBeforeStatement >> maybe(label) >> maybe(name / ":") >> space};
H A Dio-parsers.cpp63 TYPE_PARSER(first(construct<ConnectSpec>(maybe("UNIT ="_tok) >> fileUnitNumber),
134 construct<CloseStmt::CloseSpec>(maybe("UNIT ="_tok) >> fileUnitNumber),
159 construct<std::optional<IoUnit>>(maybe("UNIT ="_tok) >> ioUnit),
241 construct<std::optional<IoUnit>>(maybe("UNIT ="_tok) >> ioUnit),
297 TYPE_PARSER(first(construct<WaitSpec>(maybe("UNIT ="_tok) >> fileUnitNumber),
337 construct<PositionOrFlushSpec>(maybe("UNIT ="_tok) >> fileUnitNumber) ||
549 maybe(repeat), Parser<format::DerivedTypeDataEditDesc>{}) ||
559 defaulted(formatItems / maybe(","_tok)),
588 mandatoryWidth, maybe("." >> digits), noInt) ||
598 mandatoryWidth, mandatoryDigits, maybe("E " >> digits)) ||
[all …]
H A Dexpr-parsers.cpp38 TYPE_PARSER(construct<AcSpec>(maybe(typeSpec / "::"),
49 ":" >> scalarIntExpr, maybe(":" >> scalarIntExpr)))) ||
63 maybe(integerTypeSpec / "::"), loopBounds(scalarIntExpr)))
472 maybe(construct<WhereConstruct::Elsewhere>(
479 maybe(name / ":"), "WHERE" >> parenthesized(logicalExpr)))
491 "ELSE WHERE" >> parenthesized(logicalExpr), maybe(name)))
495 construct<ElsewhereStmt>("ELSE WHERE" >> maybe(name)))
500 recovery("END WHERE" >> maybe(name), endStmtErrorRecovery)))
513 maybe(name / ":"), "FORALL" >> indirect(concurrentHeader)))
531 recovery("END FORALL" >> maybe(name), endStmtErrorRecovery)))
H A Dexpr-parsers.h98 scalar(name) / "=", p / ",", p, maybe("," >> p)); in loopBounds()
102 doVariable / "=", p / ",", p, maybe("," >> p)); in loopBounds()
/llvm-project-15.0.7/clang/test/Analysis/
H A Duninit-sometimes.cpp4 bool maybe();
34 if (maybe()) { in test_while_false()
64 if (maybe()) { in test_do_while_false()
100 if (maybe()) { in test_for_false()
177 maybe() // expected-warning {{whenever '?:' condition is true}} \ in test_conditional_true()
189 maybe() // expected-warning {{whenever '&&' condition is false}} \ in test_logical_and_false()
201 maybe() // expected-warning {{whenever '&&' condition is true}} \ in test_logical_and_true()
215 maybe() // expected-warning {{whenever '||' condition is false}} \ in test_logical_or_false()
229 maybe() // expected-warning {{whenever '||' condition is true}} \ in test_logical_or_true()
340 maybe(); in test_no_false_positive_1()
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dtautological-constant-compare.c494 maybe in main() enumerator
524 if (e == maybe) in main()
526 if (e != maybe) in main()
528 if (e < maybe) in main()
530 if (e <= maybe) in main()
532 if (e > maybe) in main()
534 if (e >= maybe) in main()
537 if (maybe == e) in main()
539 if (maybe != e) in main()
541 if (maybe < e) in main()
[all …]
H A Doutof-range-constant-compare.c109 maybe in main() enumerator
/llvm-project-15.0.7/utils/bazel/
H A DWORKSPACE6 load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
31 maybe(
36 maybe(
50 maybe(
56 maybe(
69 maybe(
H A Dconfigure.bzl7 load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
94 maybe(
99 maybe(
105 maybe(
110 maybe(
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Ddag-divergence.ll11 %maybe.not.uniform.load = load i32, i32 addrspace(4)* %gep, align 4
12 store i32 %maybe.not.uniform.load, i32 addrspace(1)* undef
27 %maybe.not.uniform.load = load i32, i32 addrspace(4)* %gep, align 4
28 store i32 %maybe.not.uniform.load, i32 addrspace(1)* undef
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dnocapture-2.ll171 ; IS________OPM-SAME: (i32* nofree readnone dereferenceable_or_null(4) "no-capture-maybe-returned" …
193 ; IS________NPM-SAME: (i32* nofree readnone dereferenceable_or_null(4) "no-capture-maybe-returned" …
240 ; IS________OPM-SAME: (double* nofree readnone dereferenceable_or_null(8) "no-capture-maybe-returne…
262 ; IS________NPM-SAME: (double* nofree readnone dereferenceable_or_null(8) "no-capture-maybe-returne…
308 ; CHECK-SAME: (i16* nofree readnone dereferenceable_or_null(4) "no-capture-maybe-returned" [[A:%.*]…
411 …noundef nonnull returned writeonly align 8 dereferenceable(8) "no-capture-maybe-returned" [[A:%.*]…
432 ; CHECK-SAME: (i64* nofree nonnull writeonly align 8 dereferenceable(16) "no-capture-maybe-returned…
484 ; IS__TUNIT____-SAME: (i64* nofree returned writeonly align 8 "no-capture-maybe-returned" [[A:%.*]]…
486 …4* @not_captured_but_returned_0(i64* nofree writeonly align 8 "no-capture-maybe-returned" [[A]]) #…
513 …4* @not_captured_but_returned_0(i64* nofree writeonly align 8 "no-capture-maybe-returned" [[A]]) #…
[all …]
H A Dalign.ll24 ; CHECK-SAME: (i32* nofree readnone returned align 8 "no-capture-maybe-returned" [[TMP0:%.*]]) #[[A…
34 ; CHECK-SAME: (i32* nofree readnone returned "no-capture-maybe-returned" [[TMP0:%.*]]) #[[ATTR0]] {
44 …* nofree readnone align 8 "no-capture-maybe-returned" [[TMP0:%.*]], i32* nofree readnone align 4 "…
56 … nofree readnone align 32 "no-capture-maybe-returned" [[TMP0:%.*]], i32* nofree readnone align 32 …
385 ; IS__TUNIT____-SAME: (i32* nofree readnone returned align 32 "no-capture-maybe-returned" [[P:%.*]]…
390 ; IS__CGSCC_OPM-SAME: (i32* nofree readnone returned align 32 "no-capture-maybe-returned" [[P:%.*]]…
395 ; IS__CGSCC_NPM-SAME: (i32* nofree readnone returned align 32 "no-capture-maybe-returned" [[P:%.*]]…
470 ; define align 32 i32* @test10a(i32* align 32 "no-capture-maybe-returned" %p)
532 ; define align 32 i32* @test10b(i32* align 32 "no-capture-maybe-returned" %p)
540 ; IS__TUNIT____-SAME: (i32* nofree noundef nonnull align 32 dereferenceable(4) "no-capture-maybe-re…
[all …]
H A Dreturned.ll332 ; CHECK-SAME: (double* nofree readnone returned "no-capture-maybe-returned" [[R:%.*]]) #[[ATTR0]] {
558 ; IS__TUNIT____-SAME: (i32* nofree readnone [[A:%.*]], i32* nofree readnone "no-capture-maybe-retur…
571 ; IS__CGSCC____-SAME: (i32* nofree readnone [[A:%.*]], i32* nofree readnone "no-capture-maybe-retur…
600 …ture nofree readnone [[A:%.*]], i32* nofree readnone returned "no-capture-maybe-returned" [[B:%.*]…
607 …ture nofree readnone [[A:%.*]], i32* nofree readnone returned "no-capture-maybe-returned" [[B:%.*]…
620 …ture nofree readnone [[A:%.*]], i32* nofree readnone returned "no-capture-maybe-returned" [[B:%.*]…
671 ; IS__TUNIT____-SAME: (i32* nofree readnone returned "no-capture-maybe-returned" [[R:%.*]]) #[[ATTR…
677 ; IS__CGSCC____-SAME: (i32* nofree readnone returned "no-capture-maybe-returned" [[R:%.*]]) #[[ATTR…
697 ; Verify the maybe-redefined function is not annotated:
746 ; Verify the maybe-redefined function is not annotated:
[all …]
H A Ddepgraph.ll81 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
83 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
84 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
85 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
96 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
99 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
101 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
103 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
126 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
227 … load i32, i32* %0, align 4' at position {arg: [@0]} with state assumed not-captured-maybe-returned
[all …]
/llvm-project-15.0.7/libcxxabi/test/configs/
H A Dcmake-bridge.cfg.in38 …config.substitutions.append(('%{maybe-include-libunwind}', '-I "@LIBCXXABI_LIBUNWIND_INCLUDES_INTE…
40 config.substitutions.append(('%{maybe-include-libunwind}', ''))
H A Dibm-libc++abi-shared.cfg.in7 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} '…
H A Dllvm-libc++abi-static.cfg.in10 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -…
H A Dllvm-libc++abi-merged.cfg.in9 …'-nostdinc++ -I %{include} -I %{cxx-include} -I %{cxx-target-include} %{maybe-include-libunwind} -…
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Drewrite-loop-exit-value.ll134 ; CHECK: maybe:
148 br i1 %cond1, label %loop, label %maybe
150 maybe:
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64Schedule.td48 def WriteLDIdx : SchedWrite; // Load from a register index (maybe scaled).
49 def WriteSTIdx : SchedWrite; // Store to a register index (maybe scaled).

12345