Home
last modified time | relevance | path

Searched refs:logical (Results 1 – 25 of 243) sorted by relevance

12345678910

/llvm-project-15.0.7/flang/test/Fir/
H A Dconvert-fold.fir6 %1 = fir.convert %x : (i1) -> !fir.logical<1>
7 %2 = fir.convert %1 : (!fir.logical<1>) -> i1
13 func.func @gtest(%x : !fir.logical<2>) -> !fir.logical<2> {
15 %1 = fir.convert %x : (!fir.logical<2>) -> i1
16 %2 = fir.convert %1 : (i1) -> !fir.logical<2>
17 // CHECK-NEXT: return %{{.*}} : !fir.logical<2>
18 return %2 : !fir.logical<2>
H A Dglobal.fir54 fir.global internal @_QEmasklogical : !fir.array<32768x!fir.logical<4>> {
56 %0 = fir.undefined !fir.array<32768x!fir.logical<4>>
57 %1 = fir.convert %true : (i1) -> !fir.logical<4>
58 …from (0) to (32767) : (!fir.array<32768x!fir.logical<4>>, !fir.logical<4>) -> !fir.array<32768x!fi…
59 fir.has_value %2 : !fir.array<32768x!fir.logical<4>>
H A Dconstant.fir20 func.func @z() -> !fir.logical<2> {
22 %0 = fir.convert %1 : (i1) -> !fir.logical<2>
24 return %0 : !fir.logical<2>
H A Dglobal-initialization.fir32 fir.global internal @_QEmasklogical : !fir.array<32768x!fir.logical<4>> {
34 %0 = fir.undefined !fir.array<32768x!fir.logical<4>>
35 %1 = fir.convert %true : (i1) -> !fir.logical<4>
36 …from (0) to (32767) : (!fir.array<32768x!fir.logical<4>>, !fir.logical<4>) -> !fir.array<32768x!fi…
37 fir.has_value %2 : !fir.array<32768x!fir.logical<4>>
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dredundant-branch-condition.rst24 is an operand of a logical "and" (``&&``) or a logical "or" (``||``) operator:
42 In the first case (logical "and") the suggested fix is to remove the redundant
44 (logical "or") the whole ``if`` is removed similarly to the simple case on the
47 The condition of the outer ``if`` statement may also be a logical "and" (``&&``)
60 The error is also detected if both the outer statement is a logical "and"
61 (``&&``) and the inner statement is a logical "and" (``&&``) or "or" (``||``).
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dmake-member-function-const.rst10 `logical constness <https://isocpp.org/wiki/faq/const-correctness#logical-vs-physical-state>`_
23 ways where logical constness and physical constness coincide:
29 that allows to modify the pointee which might not preserve logical constness.
/llvm-project-15.0.7/flang/lib/Parser/
H A Dexpr-parsers.h33 template <typename PA> inline constexpr auto logical(const PA &p) { in logical() function
47 constexpr auto scalarLogicalVariable{scalar(logical(variable))};
62 constexpr auto logicalExpr{logical(indirect(expr))};
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h145 logical(kind=omp_logical_kind) :: omp_in_parallel
150 logical(kind=omp_logical_kind), value :: enable
155 logical(kind=omp_logical_kind) :: omp_get_dynamic
160 logical(kind=omp_logical_kind) :: omp_get_cancelation
165 logical(kind=omp_logical_kind), value :: enable
170 logical(kind=omp_logical_kind) ::omp_get_nested
227 logical(kind=omp_logical_kind) :: omp_in_final
378 logical(kind=omp_logical_kind) :: omp_test_lock
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dtrap-01.ll53 ; Check conditional compare logical immediate and trap
71 ; Check conditional compare grande logical immediate and trap
125 ; Check conditional compare logical and trap
143 ; Check conditional compare logical grande and trap
H A Dtrap-02.ll7 ; Check conditional compare logical and trap
26 ; Check conditional compare logical grande and trap
H A Dshift-11.ll6 ; Test logical shift right.
42 ; Test 64-bit logical shift right.
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2001-02-06-TypeNotationDebateResp1.txt16 conclusion I do: that you have to go with familiar syntax over logical
42 introduce, no matter how logical it is. Introducing a new syntax that may
51 syntax that they have never seen that has a more logical structure. I think
57 P.S. Also, while I agree that most your syntax is more logical, there is
H A D2001-02-06-TypeNotationDebateResp4.txt2 > conclusion I do: that you have to go with familiar syntax over logical
48 > introduce, no matter how logical it is.
77 > syntax that they have never seen that has a more logical structure. I think
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf240 logical-and-expression := inclusive-or-expression
241 logical-and-expression := logical-and-expression && inclusive-or-expression
243 logical-or-expression := logical-and-expression
244 logical-or-expression := logical-or-expression || logical-and-expression
246 conditional-expression := logical-or-expression
660 requires-clause := REQUIRES constraint-logical-or-expression
661 constraint-logical-or-expression := constraint-logical-and-expression
662 constraint-logical-or-expression := constraint-logical-or-expression || constraint-logical-and-expr…
663 constraint-logical-and-expression := primary-expression
664 constraint-logical-and-expression := constraint-logical-and-expression && primary-expression
[all …]
/llvm-project-15.0.7/flang/lib/Evaluate/
H A DCMakeLists.txt35 fold-logical.cpp
44 logical.cpp
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.f90.var182 logical (kind=omp_logical_kind), value :: dynamic_threads
187 logical (kind=omp_logical_kind), value :: nested
212 logical (kind=omp_logical_kind) omp_in_parallel
217 logical (kind=omp_logical_kind) omp_in_final
222 logical (kind=omp_logical_kind) omp_get_dynamic
227 logical (kind=omp_logical_kind) omp_get_nested
358 logical (kind=omp_logical_kind) omp_is_initial_device
431 logical (kind=omp_logical_kind) omp_test_lock
567 logical (kind=omp_logical_kind), value :: verbose
721 logical (kind=omp_logical_kind) omp_in_explicit_task
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dtwo-entry-phi-node.ll62 %computed = select i1 %c1, i1 true, i1 %c2 ; logical or
125 %computed = select i1 %c1, i1 %c2, i1 false ; logical and
189 %computed = select i1 %c1, i1 %c2, i1 false ; logical and
220 %computed = select i1 %c1, i1 false, i1 %c2 ; huh, what is this, logical nand?
283 %computed = select i1 %c1, i1 true, i1 %c2 ; logical or
314 %computed = select i1 %c1, i1 %c2, i1 true ; huh, what is this, logical nor?
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddwarfdump-associatedVar.ll9 ; CHECK: DW_AT_type ({{0x[0-9]+}} "logical")
66 !16 = !DIBasicType(name: "logical", size: 32, align: 32, encoding: DW_ATE_signed)
H A Ddwarfdump-allocatedVar.ll9 ; CHECK: DW_AT_type ({{0x[0-9]+}} "logical")
66 !16 = !DIBasicType(name: "logical", size: 32, align: 32, encoding: DW_ATE_signed)
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dconstruct-bool.test5 logical: True
/llvm-project-15.0.7/flang/docs/
H A Df2018-grammar.md67 complex-literal-constant | logical-literal-constant |
122 R725 logical-literal-constant ->
320 R904 logical-variable -> variable
402 R1024 logical-expr -> expr
432 R1046 mask-expr -> logical-expr
480 [,] WHILE ( scalar-logical-expr ) |
503 R1139 if-stmt -> IF ( scalar-logical-expr ) action-stmt
535 R1160 stop-stmt -> STOP [stop-code] [, QUIET = scalar-logical-expr]
556 R1180 lock-stat -> ACQUIRED_LOCK = scalar-logical-variable | sync-stat
640 ERR = label | EXIST = scalar-logical-variable |
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dmultiway-paths-covered.rst13 program execution and be the result of a logical error.
35 // The missing default branch might be a logical error. It can be kept empty
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dfusedandshift.ll2 ; Check that we generate fused logical and with shift instruction.
/llvm-project-15.0.7/flang/runtime/
H A Dtools.h42 const Descriptor &logical, const SubscriptValue at[]) { in IsLogicalElementTrue() argument
44 const char *p{logical.Element<char>(at)}; in IsLogicalElementTrue()
45 for (std::size_t j{logical.ElementBytes()}; j-- > 0; ++p) { in IsLogicalElementTrue()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dlive-variables.m17 // Note, due to ObjC method call, the outermost logical operator is wrapped in ExprWithCleanups.

12345678910