Home
last modified time | relevance | path

Searched refs:conditional (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/llvm-project/llvm/test/CodeGen/SystemZ/
H A Dcall-04.ll1 ; Test conditional sibling calls.
11 ; Check a conditional sibling call.
29 ; Check a conditional sibling call when there are two possibilities.
47 ; Check a conditional sibling call with an argument - not supported.
65 ; Check a conditional sibling call - unsigned compare.
83 ; Check a conditional sibling call - 64-bit compare.
101 ; Check a conditional sibling call - unsigned 64-bit compare.
119 ; Check a conditional sibling call - less-equal compare.
137 ; Check a conditional sibling call - high compare.
155 ; Check a conditional sibling call - high-equal compare.
[all …]
H A Dcall-05.ll1 ; Test conditional sibling calls.
11 ; Check a conditional sibling call.
29 ; Check a conditional sibling call when there are two possibilities.
48 ; Check a conditional sibling call with an argument - not supported.
67 ; Check a conditional sibling call - unsigned compare.
85 ; Check a conditional sibling call - 64-bit compare.
103 ; Check a conditional sibling call - unsigned 64-bit compare.
121 ; Check a conditional sibling call - less-equal compare.
139 ; Check a conditional sibling call - high compare.
157 ; Check a conditional sibling call - high-equal compare.
[all …]
H A Dtrap-01.ll1 ; Test traps and conditional traps
17 ; Check conditional compare immediate and trap
35 ; Check conditional compare grande immediate and trap
53 ; Check conditional compare logical immediate and trap
71 ; Check conditional compare grande logical immediate and trap
89 ; Check conditional compare and trap
107 ; Check conditional compare grande and trap
125 ; Check conditional compare logical and trap
143 ; Check conditional compare logical grande and trap
161 ; Check conditional traps that don't have a valid Compare and Trap
H A Dtrap-02.ll1 ; Test zE12 conditional traps
7 ; Check conditional compare logical and trap
26 ; Check conditional compare logical grande and trap
/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.sign/
H A Dmake_signed.pass.cpp58 test_make_signed< wchar_t, std::conditional<sizeof(wchar_t) == 4, int, short>::type >(); in main()
59 …test_make_signed< const wchar_t, std::conditional<sizeof(wchar_t) == 4, const int, const short>::t… in main()
60 …test_make_signed< const Enum, std::conditional<sizeof(Enum) == sizeof(int), const int, const signe… in main()
61 test_make_signed< BigEnum, std::conditional<sizeof(long) == 4, long long, long>::type >(); in main()
H A Dmake_unsigned.pass.cpp58 …test_make_unsigned<wchar_t, std::conditional<sizeof(wchar_t) == 4, unsigned int, unsigned short>::… in main()
59 …test_make_unsigned<const wchar_t, std::conditional<sizeof(wchar_t) == 4, const unsigned int, const… in main()
60 …test_make_unsigned<const Enum, std::conditional<sizeof(Enum) == sizeof(int), const unsigned int, c… in main()
62 std::conditional<sizeof(long) == 4, unsigned long long, unsigned long>::type> (); in main()
/llvm-project/libcxx/include/__type_traits/
H A Dconditional.h39 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS conditional {
48 struct _LIBCPP_TEMPLATE_VIS conditional<false, _If, _Then> {
55 using conditional_t _LIBCPP_NODEBUG = typename conditional<_Bp, _IfRes, _ElseRes>::type;
60 using __conditional_t _LIBCPP_NODEBUG = typename conditional<_Bp, _If, _Then>::type;
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Davoid-nested-conditional-operator.rst1 .. title:: clang-tidy - readability-avoid-nested-conditional-operator
3 readability-avoid-nested-conditional-operator
6 Identifies instances of nested conditional operators in the code.
8 Nested conditional operators, also known as ternary operators, can contribute
H A Dsimplify-boolean-expr.rst57 2. The conditional return ``if (!b) return false; return true;`` has an
60 3. The conditional return ``if (i < 0) return false; return true;`` becomes
63 The conditional return ``if (i != 0) return false; return true;`` becomes
66 4. The conditional return ``if (p) return true; return false;`` has an
74 5. The conditional return ``if (i & 1) return true; else return false;`` has
79 ``struct X``, the conditional return ``if (x) return true; return false;``
92 If `true`, conditional boolean return statements at the end of an
97 If `true`, conditional boolean assignments at the end of an ``if/else
/llvm-project/lldb/test/Shell/ScriptInterpreter/Lua/Inputs/
H A Dwatchpoint2.in6 print("conditional watchpoint")
10 # CHECK-COUNT-1: conditional watchpoint
11 # CHECK-NOT: conditional watchpoint
/llvm-project/libc/src/__support/CPP/type_traits/
H A Dconditional.h1 //===-- conditional type_traits ---------------------------------*- C++ -*-===//
17 // conditional struct
19 struct conditional : type_identity<T> {};
21 struct conditional<false, T, F> : type_identity<F> {};
23 using conditional_t = typename conditional<B, T, F>::type;
/llvm-project/clang/test/SemaCXX/
H A Dcrash-GH67914.cpp15 struct conditional { struct
20 struct conditional< 0, _Then > { struct
25 using conditional_t = typename conditional< _Bp, _Then >::type; // expected-warning 0+ {{}} argument
H A Dcxx0x-defaulted-functions.cpp215 struct conditional;
218 struct conditional<true, X, Y> { typedef X type; }; struct
221 struct conditional<false, X, Y> { typedef Y type; }; struct
227 using T = typename conditional<B, const X &, int>::type;
231 using U = typename conditional<B, X&&, const X&>::type;
H A Dbuiltin-std-move.cpp56 template <bool B, class T, class F> struct conditional { using type = T; }; struct
57 template <class T, class F> struct conditional<false, T, F> { using type = F; }; struct
60 using CopyConst = typename conditional<
65 using OverrideRef = typename conditional<
H A Dattr-lifetimebound.cpp262 template <bool B, class T, class F> struct conditional {
266 template <class T, class F> struct conditional<false, T, F> {
271 using CopyConst = typename conditional<is_const<remove_reference<U>>::value,
276 typename conditional<is_lvalue_reference<U &&>::value,
177 template <bool B, class T, class F> struct conditional { global() struct
178 typestd::foo::conditional global() argument
181 template <class T, class F> struct conditional<false, T, F> { global() struct
182 typestd::foo::conditional global() argument
/llvm-project/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
H A Dconditional.pass.cpp19 ASSERT_SAME_TYPE(char, std::conditional<true, char, int>::type); in main()
20 ASSERT_SAME_TYPE(int, std::conditional<false, char, int>::type); in main()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dbranch-clone.rst8 branches in conditional operators.
31 If this is the intended behavior, then there is no reason to use a conditional
101 Finally, the check also examines conditional operators and reports code like:
107 Unlike if statements, the check does not detect chains of conditional
/llvm-project/llvm/test/MC/MachO/AArch64/
H A Dreloc-errors.s3 ; CHECK: error: conditional branch requires assembler-local label. 'external' is external.
6 ; CHECK: error: Invalid relocation on conditional branch
/llvm-project/llvm/test/CodeGen/BPF/
H A Dgotol.ll5 ; // (2). conditional jmp (follow-through and non-follow-through)
6 ; // (3). conditional jmp followed by an unconditional jmp
38 ; case (3): conditional jmp followed by an unconditional jmp
50 ; case (2): conditional jmp
/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/
H A Dreset.pass.cpp23 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_pointer()
69 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_nullptr()
96 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_no_arg()
/llvm-project/llvm/test/MC/ARM/
H A Dimplicit-it.s21 @ A single conditional instruction without IT block
31 @ A single conditional instruction with IT block
42 @ A single conditional instruction with IT block, but incorrect condition
50 @ Multiple conditional instructions in an IT block, inverted and non-inverted conditions
/llvm-project/libcxx/test/std/numerics/c.math/
H A Dabs.pass.cpp20 typedef typename std::conditional<sizeof(T) < sizeof(int), int, T>::type type;
50 typedef std::conditional< in main()
/llvm-project/clang/test/Modules/
H A Dpair-unambiguous-ctor.cppm82 struct conditional;
85 struct conditional
89 struct conditional<false, _Iftrue, _Iffalse>
162 operator=(typename conditional<
192 = typename conditional<is_void<_Tp>::value, __undefined, _Tp>::type;
/llvm-project/llvm/test/MC/X86/apx/
H A Dccmp-att-error.s19 # CHECK: [[#@LINE+2]]:13: error: Invalid conditional flags
23 # CHECK: [[#@LINE+2]]:19: error: Duplicated conditional flag
/llvm-project/llvm/test/MC/ELF/
H A Dlto-set-conditional.s18 # Verify that pending conditional symbols are emitted next
32 # Remaining conditional symbols are emitted immediately

12345678910>>...22