Home
last modified time | relevance | path

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

12345678910>>...25

/llvm-project/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>);
28 static_assert(!std::predicate<S(double), double>);
29 static_assert(std::predicate<int S::*, S*>);
30 static_assert(std::predicate<int (S::*)(), S*>);
[all …]
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalizer-info-validation.mir13 # Watch out for every "SKIPPED: user-defined predicate detected" in the
94 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
95 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
98 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
99 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
106 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
107 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
110 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
111 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
114 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detecte
[all...]
/llvm-project/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td582 def AnyIntegerLike : TypeConstraint<Or<[SignlessIntegerOrIndexLike.predicate,
583 AnySignedInteger.predicate, AnyUnsignedInteger.predicate,
584 fir_IntegerType.predicate, fir_UnsignedType.predicate]>, "any integer">;
585 def AnyLogicalLike : TypeConstraint<Or<[BoolLike.predicate,
586 fir_LogicalType.predicate]>, "any logical">;
587 def AnyRealLike : TypeConstraint<FloatLike.predicate, "any real">;
588 def AnyIntegerType : Type<AnyIntegerLike.predicate, "any integer">;
592 def AnyFirComplex : Type<AnyFirComplexLike.predicate,
[all...]
/llvm-project/mlir/include/mlir/IR/
H A DConstraints.td28 // 1. CPred: the primitive leaf predicate.
29 // 2. Compound predicate: a predicate composed from child predicates using
30 // predicate combiners ("conjunction", "disjunction", "negation" or
34 // A logical predicate wrapping any C expression.
37 // predicate from the perspective of TableGen and the "interface" between
44 // this predicate is used. They serve as "hooks" to the enclosing environment.
49 // * `$_self` will be replaced with the entity this predicate is attached to.
61 // if you have a predicate in the form `CPred<"CheckType($_self)">, the argument
67 // Kinds of predicate combiner
[all...]
/llvm-project/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.}}
75 …to 'dispatch_once' uses memory within the instance variable 'once_array' for the predicate value.}}
81 …ected-warning{{Call to 'dispatch_once' uses the instance variable 'once' for the predicate value.}}
85 …ng{{Call to 'dispatch_once' uses memory within the instance variable 's' for the predicate value.}}
[all …]
/llvm-project/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/mlir/include/mlir/Dialect/Quant/
H A DQuantOpsBase.td
/llvm-project/mlir/test/Integration/GPU/CUDA/sm90/python/tools/
H A DmatmulBuilder.py73 def debug_print(fmt, *args, predicate=None, threadNumber=-1, forcePrint=False): argument
96 predicate = arith.cmpi(arith.CmpIPredicate.eq, tidx, c(threadNumber))
98 if_op = scf.IfOp(predicate)
338 nvgpu.mbarrier_init(mbarTMA, c(1), c(i), predicate=wgPrimaryThread)
339 nvgpu.mbarrier_init(mbarDONE, c(1), c(i), predicate=wgPrimaryThread)
343 nvgpu.tma_prefetch_descriptor(a_tma_desc_op, predicate=wgPrimaryThread)
344 nvgpu.tma_prefetch_descriptor(b_tma_desc_op, predicate=wgPrimaryThread)
369 predicate=producerPrimaryThread,
379 predicate=producerPrimaryThread,
427 predicate
[all...]
/llvm-project/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/mlir/include/mlir/Dialect/ArmSME/IR/
H A DArmSMEIntrinsicOps.td24 let summary = "a vector type that is a supported predicate for the SME MOP instructions";
92 Arg<MOPPredicate, "LHS predicate">:$lhs_predicate,
93 Arg<MOPPredicate, "RHS predicate">:$rhs_predicate,
122 Arguments<(ins Arg<SVEPredicate, "Vector predicate">:$predicate,
141 Arguments<(ins Arg<SVEPredicate, "Vector predicate">:$predicate,
169 [AllShapesMatch<["predicate", "vector"]>]>,
172 Arg<SVEPredicate, "Vector predicate">:$predicate,
[all...]
/llvm-project/clang/tools/scan-build-py/lib/libscanbuild/
H A D__init__.py35 def predicate(entry): function
36 entry_hash = predicate.unique(entry)
37 if entry_hash not in predicate.state:
38 predicate.state.add(entry_hash)
42 predicate.unique = method
43 predicate.state = set()
44 return predicate
H A Dreport.py561 def predicate(bug): function
564 current_category = predicate.categories.get(bug_category, dict())
575 predicate.categories.update({bug_category: current_category})
576 predicate.total += 1
578 predicate.total = 0
579 predicate.categories = dict()
580 return predicate
584 def predicate(bug): function
595 return predicate
599 def predicate(crash): function
[all …]
/llvm-project/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/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/flang/include/flang/Optimizer/HLFIR/
H A DHLFIROpBase.td94 def AnyFortranValue : TypeConstraint<Or<[AnyLogicalLike.predicate,
95 AnyIntegerLike.predicate, AnyRealLike.predicate,
96 AnyFirComplexLike.predicate,
97 hlfir_ExprType.predicate]>, "any Fortran value type">;
100 def AnyFortranEntity : TypeConstraint<Or<[AnyFortranVariable.predicate,
101 AnyFortranValue.predicate]>, "any Fortran value or variable type">;
119 Type<Or<[AnyScalarCharacterExpr.predicate,
120 AnyArrayCharacterExpr.predicate]>,
129 : Type<And<[AnyFortranNumericalArrayObject.predicate,
[all...]
/llvm-project/libcxx/include/__concepts/
H A Drelation.h27predicate<_Rp, _Tp, _Tp> && predicate<_Rp, _Up, _Up> && predicate<_Rp, _Tp, _Up> && predicate<_Rp,…
/llvm-project/mlir/test/Examples/NVGPU/
H A DCh3.py53 mbar_group[0].arrive(ta_count, predicate=p)
55 a_tma.load(a, mbar_group[0], coords=[0, 0], predicate=p)
56 b_tma.load(b1, mbar_group[0], coords=[0, 0], predicate=p)
57 b_tma.load(b2, mbar_group[0], coords=[64, 0], predicate=p)
87 mbar_group[0].init(1, predicate=isThread0)
88 a_tma.prefetch(predicate=isThread0)
89 b_tma.prefetch(predicate=isThread0)
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dsve-cmp-folds.ll130 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilege.nxv4i1.i64(i64 %next, i64 %end)
131 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
141 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilegt.nxv4i1.i64(i64 %next, i64 %end)
142 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
152 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilehi.nxv4i1.i64(i64 %next, i64 %end)
153 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
163 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilehs.nxv4i1.i64(i64 %next, i64 %end)
164 %bit = extractelement <vscale x 4 x i1> %predicate, i64 0
174 %predicate = call <vscale x 4 x i1> @llvm.aarch64.sve.whilele.nxv4i1.i64(i64 %next, i64 %end)
175 %bit = extractelement <vscale x 4 x i1> %predicate, i6
[all...]
/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaOperands.td24 // imm8 predicate - Immediate in the range [-128,127]
31 // imm8_sh8 predicate - Immediate in the range [-32768,32512] with (bits[7-0] == 0)
40 // imm12 predicate - Immediate in the range [-2048,2047]
47 // imm12m predicate - Immediate for MOV operation
54 // uimm4 predicate - Immediate in the range [0,15]
61 // uimm5 predicate - Immediate in the range [0,31]
68 // imm1_16 predicate - Immediate in the range [1,16]
75 // imm1n_15 predicate - Immediate in the range [-1,15], except 0
82 // imm32n_95 predicate - Immediate in the range [-32,95]
89 // shimm1_31 predicate
[all...]
/llvm-project/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/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/mlir/lib/Conversion/ArmSMEToSCF/
H A DArmSMEToSCF.cpp58 function_ref<Value(/*index=*/Value, ValueRange, /*predicate=*/Value, in createLoadStoreForOverTileSlices()
76 Value predicate; in createLoadStoreForOverTileSlices() local
100 predicate = in createLoadStoreForOverTileSlices()
104 // No mask. Create an 'all true' predicate for the tile slice. in createLoadStoreForOverTileSlices()
105 predicate = rewriter.create<arith::ConstantOp>( in createLoadStoreForOverTileSlices()
122 tileSliceIndex, adjustedIndices, predicate, in createLoadStoreForOverTileSlices()
135 function_ref<void(/*index=*/Value, ValueRange, /*predicate=*/Value)> in createLoadStoreForOverTileSlices()
139 [&](Value index, ValueRange adjustedIndices, Value predicate, in createLoadStoreForOverTileSlices()
141 makeLoopBody(index, adjustedIndices, predicate); in createLoadStoreForOverTileSlices()
208 [&](Value tileSliceIndex, ValueRange memrefIndices, Value predicate, in matchAndRewrite()
140 __anon3c026b480202(Value index, ValueRange adjustedIndices, Value predicate, Value) createLoadStoreForOverTileSlices() argument
209 __anon3c026b480302(Value tileSliceIndex, ValueRange memrefIndices, Value predicate, Value currentTile) matchAndRewrite() argument
381 __anon3c026b480402(Value tileSliceIndex, ValueRange memrefIndices, Value predicate) matchAndRewrite() argument
[all...]
/llvm-project/flang/runtime/
H A Dterminator.cpp93 const char *predicate, const char *file, int line) const { in CheckFailed() argument
94 Crash("Internal error: RUNTIME_CHECK(%s) failed at %s(%d)", predicate, file, in CheckFailed()
99 const char *predicate) const { in CheckFailed()
100 Crash("Internal error: RUNTIME_CHECK(%s) failed at %s(%d)", predicate, in CheckFailed()
/llvm-project/mlir/test/Examples/NVGPU/tools/
H A Dnvdsl.py71 def init(self, count: int, predicate=None): argument
73 if predicate is None:
77 self.mbar_group_op, count_op, self.id_op, predicate=predicate
80 def arrive(self, txcount: int = 0, predicate=None): argument
84 self.mbar_group_op, txcount_op, self.id_op, predicate=predicate
151 def prefetch(self, predicate=None): argument
152 nvgpu.tma_prefetch_descriptor(self.tma_descriptor, predicate=predicate)
154 def load(self, dest, mbarrier: Mbarriers, coords=[0], predicate=None): argument
161 predicate=predicate,
/llvm-project/mlir/lib/Conversion/ArithToEmitC/
H A DArithToEmitC.cpp88 emitc::CmpPredicate predicate; in matchAndRewrite()
99 predicate = emitc::CmpPredicate::eq; in matchAndRewrite()
103 predicate = emitc::CmpPredicate::gt; in matchAndRewrite()
107 predicate = emitc::CmpPredicate::ge; in matchAndRewrite()
111 predicate = emitc::CmpPredicate::lt; in matchAndRewrite()
115 predicate = emitc::CmpPredicate::le; in matchAndRewrite()
119 predicate = emitc::CmpPredicate::ne; in matchAndRewrite()
130 predicate = emitc::CmpPredicate::eq; in matchAndRewrite()
134 predicate = emitc::CmpPredicate::gt; in matchAndRewrite()
138 predicate in matchAndRewrite()
78 emitc::CmpPredicate predicate; matchAndRewrite() local
[all...]

12345678910>>...25