Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.predicate/
H A Dpredicate.compile.pass.cpp17 static_assert(std::predicate<bool()>);
18 static_assert(std::predicate<bool (*)()>);
19 static_assert(std::predicate<bool (&)()>);
21 static_assert(!std::predicate<void()>);
22 static_assert(!std::predicate<void (*)()>);
23 static_assert(!std::predicate<void (&)()>);
27 static_assert(!std::predicate<S(int), int>);
29 static_assert(std::predicate<int S::*, S*>);
35 static_assert(!std::predicate<bool(S)>);
36 static_assert(!std::predicate<bool(S&), S>);
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalizer-info-validation.mir12 # Watch out for every "SKIPPED: user-defined predicate detected" in the
74 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
75 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
86 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
87 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
91 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
95 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
99 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
103 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
107 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
[all …]
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td551 AnySignedInteger.predicate, fir_IntegerType.predicate]>, "any integer">;
563 fir_SequenceType.predicate, fir_ComplexType.predicate, AnyComplex.predicate,
569 fir_HeapType.predicate, fir_PointerType.predicate,
581 fir_BoxCharType.predicate, fir_BoxProcType.predicate]>, "any box">;
584 AnyBoxLike.predicate, FunctionType.predicate]>,
587 fir_HeapType.predicate, fir_PointerType.predicate, fir_BoxType.predicate]>,
594 fir_ShapeShiftType.predicate, fir_ShiftType.predicate]>,
600 Index.predicate, fir_IntegerType.predicate]>,
605 Index.predicate, fir_IntegerType.predicate, fir_FieldType.predicate]>,
610 Index.predicate, fir_IntegerType.predicate, fir_FieldType.predicate,
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Ddispatch-once.m20 void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
24 …once' uses the local variable 'once' for the predicate value. Using such transient memory for the…
35 …tch_once' uses heap-allocated memory for the predicate value. Using such transient memory for the…
49 …rning{{Call to 'dispatch_once' uses memory within the local variable 's' for the predicate value.}}
54 … // expected-warning{{Call to 'dispatch_once' uses heap-allocated memory for the predicate value.}}
69 …ected-warning{{Call to 'dispatch_once' uses the instance variable 'once' for the predicate value.}}
72 …ng{{Call to 'dispatch_once' uses memory within the instance variable 's' for the predicate value.}}
81 …ected-warning{{Call to 'dispatch_once' uses the instance variable 'once' for the predicate value.}}
94 …ected-warning{{Call to 'dispatch_once' uses the instance variable 'once' for the predicate value.}}
106 …expected-warning{{Call to 'dispatch_once' uses the block variable 'once' for the predicate value.}}
[all …]
H A Dunix-fns.c47 void dispatch_once(dispatch_once_t *predicate,
57 void _dispatch_once(dispatch_once_t *predicate, in _dispatch_once() argument
60 if (__builtin_expect((*predicate), (~0l)) != ~0l) { in _dispatch_once()
61 dispatch_once(predicate, block); in _dispatch_once()
65 __builtin_assume(*predicate == ~0l); in _dispatch_once()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantOpsBase.td32 Type<Or<[etype.predicate,
33 TensorOf<[etype]>.predicate,
34 VectorOf<[etype]>.predicate]>,
44 Type<Or<[AnyFloat.predicate, quant_QuantizedType.predicate]>,
50 Type<Or<[AnySignlessInteger.predicate, quant_QuantizedType.predicate]>,
63 Type<Or<[quant_RealValueType.predicate,
64 quant_StorageValueType.predicate]>>;
/llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/
H A Dtwo-entry-phi-node.ll25 %c0 = icmp eq i8 %v0, 0 ; canonical predicate
29 %c1 = icmp eq i8 %v1, 0 ; canonical predicate
30 %c2 = icmp eq i8 %v2, 0 ; canonical predicate
56 %c0 = icmp eq i8 %v0, 0 ; canonical predicate
60 %c1 = icmp eq i8 %v1, 0 ; canonical predicate
61 %c2 = icmp eq i8 %v2, 0 ; canonical predicate
88 %c0 = icmp eq i8 %v0, 0 ; canonical predicate
92 %c1 = icmp eq i8 %v1, 0 ; canonical predicate
93 %c2 = icmp eq i8 %v2, 0 ; canonical predicate
119 %c0 = icmp eq i8 %v0, 0 ; canonical predicate
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86SchedPredicates.td9 // This file defines scheduling predicate definitions that are common to
14 // A predicate used to identify dependency-breaking instructions that clear the
15 // content of the destination register. Note that this predicate only checks if
16 // input registers are the same. This predicate doesn't make any assumptions on
21 // A predicate used to identify VPERM that have bits 3 and 7 of their mask set.
28 // A predicate used to check if a LEA instruction uses all three source
58 // This predicate evaluates to true only if the input machine instruction is a
64 // A predicate to check for COND_A and COND_BE CMOVs which have an extra uop
76 // A predicate to check for COND_A and COND_BE SETCCs which have an extra uop
88 // A predicate used to check if an instruction has a LOCK prefix.
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dit-nv.s4 @ CHECK-ERRS: error: unpredictable IT predicate sequence
6 @ CHECK-ERRS: error: unpredictable IT predicate sequence
8 @ CHECK-ERRS: error: unpredictable IT predicate sequence
10 @ CHECK-ERRS: error: unpredictable IT predicate sequence
12 @ CHECK-ERRS: error: unpredictable IT predicate sequence
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/
H A D__init__.py34 def predicate(entry): function
35 entry_hash = predicate.unique(entry)
36 if entry_hash not in predicate.state:
37 predicate.state.add(entry_hash)
41 predicate.unique = method
42 predicate.state = set()
43 return predicate
H A Dreport.py477 def predicate(bug): function
480 current_category = predicate.categories.get(bug_category, dict())
488 predicate.categories.update({bug_category: current_category})
489 predicate.total += 1
491 predicate.total = 0
492 predicate.categories = dict()
493 return predicate
497 def predicate(bug): function
508 return predicate
512 def predicate(crash): function
[all …]
H A Dclang.py91 def predicate(checker): function
94 return any(pattern.match(checker) for pattern in predicate.patterns)
96 predicate.patterns = [re.compile(r'^' + a + r'(\.|$)') for a in checkers]
97 return predicate
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-nodiscard.cpp137 bool f39(const std::function<bool()> &predicate) const;
139 bool f39a(std::function<bool()> predicate) const;
141 bool f39b(const std::function<bool()> predicate) const;
143 bool f45(const boost::function<bool()> &predicate) const;
145 bool f45a(boost::function<bool()> predicate) const;
147 bool f45b(const boost::function<bool()> predicate) const;
/llvm-project-15.0.7/libcxx/include/__concepts/
H A Drelation.h27 predicate<_Rp, _Tp, _Tp> && predicate<_Rp, _Up, _Up> &&
28 predicate<_Rp, _Tp, _Up> && predicate<_Rp, _Up, _Tp>;
/llvm-project-15.0.7/flang/runtime/
H A Dterminator.cpp53 const char *predicate, const char *file, int line) const { in CheckFailed() argument
54 Crash("Internal error: RUNTIME_CHECK(%s) failed at %s(%d)", predicate, file, in CheckFailed()
58 [[noreturn]] void Terminator::CheckFailed(const char *predicate) const { in CheckFailed()
59 Crash("Internal error: RUNTIME_CHECK(%s) failed at %s(%d)", predicate, in CheckFailed()
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dtesting.h17 #define TEST(predicate) \ argument
18 testing::Test(__FILE__, __LINE__, #predicate, (predicate))
26 const char *file, int line, const char *predicate, bool pass);
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.relation/
H A Drelation.subsumption.compile.pass.cpp28 requires std::predicate<F, T, T> && std::predicate<F, T, U> &&
29 std::predicate<F, U, T> && std::predicate<F, U, U>
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dsve-cmp-folds.ll135 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilege.nxv4i1.i64(i64 %next, i64 %end)
136 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
146 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilegt.nxv4i1.i64(i64 %next, i64 %end)
147 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
158 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
169 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
180 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
191 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
202 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
213 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dtarget-env.mlir59 func.func @group_non_uniform_ballot_suitable_version(%predicate: i1) -> vector<4xi32> attributes {
63 %0 = "test.convert_to_group_non_uniform_ballot_op"(%predicate): (i1) -> (vector<4xi32>)
68 func.func @group_non_uniform_ballot_unsupported_version(%predicate: i1) -> vector<4xi32> attributes…
72 %0 = "test.convert_to_group_non_uniform_ballot_op"(%predicate): (i1) -> (vector<4xi32>)
99 func.func @subgroup_ballot_missing_capability(%predicate: i1) -> vector<4xi32> attributes {
103 %0 = "test.convert_to_subgroup_ballot_op"(%predicate): (i1) -> (vector<4xi32>)
130 func.func @subgroup_ballot_suitable_extension(%predicate: i1) -> vector<4xi32> attributes {
134 %0 = "test.convert_to_subgroup_ballot_op"(%predicate): (i1) -> (vector<4xi32>)
139 func.func @subgroup_ballot_missing_extension(%predicate: i1) -> vector<4xi32> attributes {
143 %0 = "test.convert_to_subgroup_ballot_op"(%predicate): (i1) -> (vector<4xi32>)
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dfcmp-select.ll15 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
29 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
46 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
60 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
73 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
86 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
99 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
112 call void @use(i1 %cmp) ; extra use to thwart predicate canonicalization
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ARM/
H A Dit-nv.txt3 # CHECK: ite al @ unpredictable IT predicate sequence
4 # CHECK: itet al @ unpredictable IT predicate sequence
5 # CHECK: itte al @ unpredictable IT predicate sequence
/llvm-project-15.0.7/llvm/test/Transforms/Util/PredicateInfo/
H A Dunnamed-types.ll9 ; CHECK: Has predicate info
10 ; CHECK: branch predicate info { TrueEdge: 1 Comparison: %cmp1 = icmp ne %0* %arg, null Edge: [lab…
14 ; CHECK: Has predicate info
15 ; CHECK-NEXT: branch predicate info { TrueEdge: 0 Comparison: %cmp2 = icmp ne %1* null, %tmp Edge:…
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-death-test.h172 # define ASSERT_EXIT(statement, predicate, regex) \ argument
173 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_)
177 # define EXPECT_EXIT(statement, predicate, regex) \ argument
178 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetInstrPredicate.td21 // The syntax for MCInstPredicate is declarative, and predicate definitions can
30 // example, `CheckOpcode` is a special type of predicate used to describe a
61 // For example, a `CheckOpcode` predicate is expanded using method
73 // A generic machine instruction predicate.
81 // A predicate used to negate the outcome of another predicate.
201 // Used to expand the body of a function predicate. See the definition of
207 class MCReturnStatement<MCInstPredicate predicate> : MCStatement {
208 MCInstPredicate Pred = predicate;
277 // predicate.
332 // True if we need an equivalent predicate function in the MC layer.
[all …]
/llvm-project-15.0.7/mlir/test/lib/Dialect/SPIRV/
H A DTestAvailability.cpp201 Value predicate = op->getOperand(0); in matchAndRewrite() local
204 op, op->getResult(0).getType(), predicate); in matchAndRewrite()
215 Value predicate = op->getOperand(0); in matchAndRewrite() local
218 op, op->getResult(0).getType(), spirv::Scope::Workgroup, predicate); in matchAndRewrite()
241 Value predicate = op->getOperand(0); in matchAndRewrite() local
244 op, op->getResult(0).getType(), predicate); in matchAndRewrite()

12345678910>>...19