| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMPredicates.td | 9 def HasV4T : Predicate<"Subtarget->hasV4TOps()">, 11 def NoV4T : Predicate<"!Subtarget->hasV4TOps()">; 12 def HasV5T : Predicate<"Subtarget->hasV5TOps()">, 14 def NoV5T : Predicate<"!Subtarget->hasV5TOps()">; 15 def HasV5TE : Predicate<"Subtarget->hasV5TEOps()">, 17 def HasV6 : Predicate<"Subtarget->hasV6Ops()">, 19 def NoV6 : Predicate<"!Subtarget->hasV6Ops()">; 20 def HasV6M : Predicate<"Subtarget->hasV6MOps()">, 134 def HasV7Clrex : Predicate<"Subtarget->hasV7Clrex()">, 143 def HasVirtualization: Predicate<"false">, [all …]
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | counting_predicates.h | 16 template <typename Predicate, typename Arg> 22 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate() 30 Predicate p_; 35 template <typename Predicate, typename Arg1, typename Arg2=Arg1> 42 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate() 50 Predicate p_; 56 template <class Predicate> 58 Predicate pred_; 63 …constexpr counting_predicate(Predicate pred, int& count) : pred_(std::move(pred)), count_(&count) … in counting_predicate() 78 template <class Predicate> [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 26 enum Predicate { enum 70 Predicate InvertPredicate(Predicate Opcode); 74 Predicate getSwappedPredicate(Predicate Opcode); 77 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition() 82 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint() 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() 88 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
| H A D | remove_if.pass.cpp | 25 template <class L, class Predicate> 63 Predicate cp(g); in main() 75 Predicate cp(g); in main() 88 Predicate cp(g); in main() 99 Predicate cp(g); in main() 112 Predicate cp(g); in main() 141 Predicate cp(g); in main() 153 Predicate cp(g); in main() 166 Predicate cp(g); in main() 177 Predicate cp(g); in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPU.td | 1370 // Predicate helper class 1423 Predicate<"!Subtarget->hasGFX90AInsts() &&" 1461 def isGFX9Only : Predicate < 1470 Predicate<"Subtarget->hasGFX90AInsts()">, 1474 Predicate<"!Subtarget->hasGFX90AInsts()">, 1478 Predicate<"!Subtarget->hasGFX90AInsts() &&" 1492 Predicate<"Subtarget->hasGFX940Insts()">, 1496 Predicate<"Subtarget->hasGFX940Insts() ||" 1606 Predicate<"Subtarget->hasSDWA()">, 1610 Predicate<"Subtarget->hasSDWA()">, [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCV.td | 18 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">, 25 def HasStdExtZmmul : Predicate<"Subtarget->hasStdExtZmmul()">, 38 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">, 45 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">, 53 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">, 76 def HasStdExtZfh : Predicate<"Subtarget->hasStdExtZfh()">, 126 def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">, 253 : Predicate<"Subtarget->hasStdExtZbkc()">, 439 def IsRV64 : Predicate<"Subtarget->is64Bit()">, 442 def IsRV32 : Predicate<"!Subtarget->is64Bit()">, [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 227 template<typename Predicate> 228 Predicate all(Predicate P0, Predicate P1) { in all() 235 Predicate all(Predicate P0, Predicate P1, Args... args) { in all() 240 template<typename Predicate> 241 Predicate any(Predicate P0, Predicate P1) { in any() 248 Predicate any(Predicate P0, Predicate P1, Args... args) { in any() 394 LegalityPredicate Predicate; variable 401 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() argument 405 return Predicate(Query); in match() 468 add({Predicate, Action}); in actionIf() [all …]
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | filter.td | 8 class Predicate; 9 def pred1 : Predicate; 10 def pred2 : Predicate; 11 def pred3 : Predicate; 12 def pred4 : Predicate; 13 def pred5 : Predicate; 15 class DeduplicatePredList<list<Predicate> predlist, Predicate pred> { 16 list<Predicate> ret = 63 list<Predicate> duplist = [pred1, pred2, pred1, pred3, pred4, pred1, pred5]; 64 list<Predicate> deduplist = DeduplicatePredList<duplist, pred1>.ret;
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonDepArch.td | 12 def HasV5 : Predicate<"HST->hasV5Ops()">, AssemblerPredicate<(all_of ArchV5)>; 14 def HasV55 : Predicate<"HST->hasV55Ops()">, AssemblerPredicate<(all_of ArchV55)>; 16 def HasV60 : Predicate<"HST->hasV60Ops()">, AssemblerPredicate<(all_of ArchV60)>; 18 def HasV62 : Predicate<"HST->hasV62Ops()">, AssemblerPredicate<(all_of ArchV62)>; 20 def HasV65 : Predicate<"HST->hasV65Ops()">, AssemblerPredicate<(all_of ArchV65)>; 22 def HasV66 : Predicate<"HST->hasV66Ops()">, AssemblerPredicate<(all_of ArchV66)>; 24 def HasV67 : Predicate<"HST->hasV67Ops()">, AssemblerPredicate<(all_of ArchV67)>; 26 def HasV68 : Predicate<"HST->hasV68Ops()">, AssemblerPredicate<(all_of ArchV68)>; 28 def HasV69 : Predicate<"HST->hasV69Ops()">, AssemblerPredicate<(all_of ArchV69)>;
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CmpInstAnalysis.h | 46 unsigned getICmpCode(CmpInst::Predicate Pred); 55 CmpInst::Predicate &Pred); 59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2); 63 inline unsigned getFCmpCode(CmpInst::Predicate CC) { in getFCmpCode() 92 CmpInst::Predicate &Pred); 97 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/ |
| H A D | LLVMToLLVMIRTranslation.cpp | 35 return llvm::CmpInst::Predicate::ICMP_EQ; in getLLVMCmpPredicate() 37 return llvm::CmpInst::Predicate::ICMP_NE; in getLLVMCmpPredicate() 39 return llvm::CmpInst::Predicate::ICMP_SLT; in getLLVMCmpPredicate() 41 return llvm::CmpInst::Predicate::ICMP_SLE; in getLLVMCmpPredicate() 43 return llvm::CmpInst::Predicate::ICMP_SGT; in getLLVMCmpPredicate() 45 return llvm::CmpInst::Predicate::ICMP_SGE; in getLLVMCmpPredicate() 47 return llvm::CmpInst::Predicate::ICMP_ULT; in getLLVMCmpPredicate() 49 return llvm::CmpInst::Predicate::ICMP_ULE; in getLLVMCmpPredicate() 51 return llvm::CmpInst::Predicate::ICMP_UGT; in getLLVMCmpPredicate() 53 return llvm::CmpInst::Predicate::ICMP_UGE; in getLLVMCmpPredicate() [all …]
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | is_partitioned.pass.cpp | 26 template <typename Iterator1, typename Predicate> 28 … operator()(pstl::execution::unsequenced_policy, Iterator1 begin1, Iterator1 end1, Predicate pred) in operator ()() 31 template <typename Iterator1, typename Predicate> 33 …r()(pstl::execution::parallel_unsequenced_policy, Iterator1 begin1, Iterator1 end1, Predicate pred) in operator ()() 38 template <typename ExecutionPolicy, typename Iterator1, typename Predicate> 40 operator()(ExecutionPolicy&& exec, Iterator1 begin1, Iterator1 end1, Predicate pred) in operator ()() 48 template <typename T, typename Predicate> 50 test(Predicate pred) in test()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Predicate.h | 41 template <class T> class Predicate { 47 Predicate() : m_value() {} in Predicate() function 56 Predicate(T initial_value) : m_value(initial_value) {} in Predicate() function 61 ~Predicate() = default; 223 Predicate(const Predicate &) = delete; 224 const Predicate &operator=(const Predicate &) = delete;
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/ |
| H A D | find_if.pass.cpp | 26 template <typename Iterator, typename Predicate, typename NotPredicate> 28 operator()(pstl::execution::unsequenced_policy, Iterator first, Iterator last, Predicate pred, in operator ()() 32 template <typename Iterator, typename Predicate, typename NotPredicate> 34 …ator()(pstl::execution::parallel_unsequenced_policy, Iterator first, Iterator last, Predicate pred, in operator ()() 40 template <typename Policy, typename Iterator, typename Predicate, typename NotPredicate> 42 operator()(Policy&& exec, Iterator first, Iterator last, Predicate pred, NotPredicate not_pred) in operator ()() 52 template <typename T, typename Predicate, typename Hit, typename Miss> 54 test(Predicate pred, Hit hit, Miss miss) in test()
|
| H A D | find_first_of.pass.cpp | 25 template <typename Iterator1, typename Iterator2, typename Predicate> 28 Predicate pred) in operator ()() 31 template <typename Iterator1, typename Iterator2, typename Predicate> 34 Predicate pred) in operator ()() 39 template <typename ExecutionPolicy, typename Iterator1, typename Iterator2, typename Predicate> 41 …)(ExecutionPolicy&& exec, Iterator1 b, Iterator1 e, Iterator2 bsub, Iterator2 esub, Predicate pred) in operator ()() 54 template <typename T, typename Predicate> 56 test(Predicate pred) in test()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | arm_mve.td | 394 Predicate:$pred), 395 (bitcast (IRInt<int_op, [UVector, Predicate]> 428 Predicate:$pred), 718 def: Intrinsic<Predicate, arguments, 721 def: Intrinsic<Predicate, !con(arguments, (args Predicate:$inpred)), 962 Predicate:$pred), 964 [Vector, UVector, Predicate]> 982 Predicate:$pred), 996 [UVector, Vector, Predicate]> 1014 Predicate:$pred), [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 1107 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate(); in ConstantFoldBinaryInstruction() 1581 Constant *llvm::ConstantFoldCompareInstruction(CmpInst::Predicate Predicate, in ConstantFoldCompareInstruction() argument 1657 switch (Predicate) { in ConstantFoldCompareInstruction() 1747 if (Predicate == FCmpInst::FCMP_UGT || Predicate == FCmpInst::FCMP_OGT) in ConstantFoldCompareInstruction() 1755 if (Predicate == FCmpInst::FCMP_ULT || Predicate == FCmpInst::FCMP_OLT) in ConstantFoldCompareInstruction() 1763 if (Predicate == FCmpInst::FCMP_OEQ || Predicate == FCmpInst::FCMP_UEQ) in ConstantFoldCompareInstruction() 1837 if (Predicate == ICmpInst::ICMP_ULT || Predicate == ICmpInst::ICMP_ULE) in ConstantFoldCompareInstruction() 1843 if (Predicate == ICmpInst::ICMP_SLT || Predicate == ICmpInst::ICMP_SLE) in ConstantFoldCompareInstruction() 1849 if (Predicate == ICmpInst::ICMP_UGT || Predicate == ICmpInst::ICMP_UGE) in ConstantFoldCompareInstruction() 1855 if (Predicate == ICmpInst::ICMP_SGT || Predicate == ICmpInst::ICMP_SGE) in ConstantFoldCompareInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKY.td | 37 def HasFdivdu : Predicate<"Subtarget->hasFdivdu()">, 107 def HasSTM : Predicate<"Subtarget->hasSTM()">, 119 def HasDSP : Predicate<"Subtarget->hasDSP()">, 169 def HasJAVA : Predicate<"Subtarget->hasJAVA()">, 181 def HasNVIC : Predicate<"Subtarget->hasNVIC()">, 255 def UseCCRT : Predicate<"Subtarget->useCCRT()">, 268 def iHasE1 : Predicate<"Subtarget->hasE1()">, 275 def iHasE2 : Predicate<"Subtarget->hasE2()">, 281 def iHas2E3 : Predicate<"Subtarget->has2E3()">, 287 def iHasMP : Predicate<"Subtarget->hasMP()">, [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | GIMatchDagPredicateDependencyEdge.h | 32 const GIMatchDagPredicate *Predicate; variable 40 const GIMatchDagPredicate *Predicate, in GIMatchDagPredicateDependencyEdge() argument 42 : RequiredMI(RequiredMI), RequiredMO(RequiredMO), Predicate(Predicate), in GIMatchDagPredicateDependencyEdge() 47 const GIMatchDagPredicate *getPredicate() const { return Predicate; } in getPredicate()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Relation.h | 34 RelationKind Predicate; member 38 return std::tie(Subject, Predicate, Object) == 39 std::tie(Other.Subject, Other.Predicate, Other.Object); 43 return std::tie(Subject, Predicate, Object) < 44 std::tie(Other.Subject, Other.Predicate, Other.Object); 71 RelationKind Predicate) const;
|
| H A D | Relation.cpp | 27 return OS << R.Subject << " " << R.Predicate << " " << R.Object; in operator <<() 31 RelationSlab::lookup(const SymbolID &Subject, RelationKind Predicate) const { in lookup() 33 Relation{Subject, Predicate, SymbolID{}}, in lookup() 35 return std::tie(A.Subject, A.Predicate) < in lookup() 36 std::tie(B.Subject, B.Predicate); in lookup()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | PatternMatch.cpp | 77 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 80 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 83 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 0)) in TEST_F() 87 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 90 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 93 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ, APInt(BitWidth, 1)) in TEST_F() 116 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 119 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 122 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE, APInt(BitWidth, 0)) in TEST_F() 1781 ICmpInst::Predicate Pred = ICmpInst::ICMP_UGT; in TYPED_TEST() [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | GlobalISelEmitter.cpp | 344 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 347 if (Predicate.isLoad() || Predicate.isStore()) { in isTrivialOperatorNode() 352 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in isTrivialOperatorNode() 361 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 1592 Predicate(Predicate) {} in OperandImmPredicateMatcher() 1963 Predicate(Predicate) {} in InstructionImmPredicateMatcher() 2224 Predicate(Predicate) {} in GenericInstructionPredicateMatcher() 3789 (Predicate.isLoad() || Predicate.isAtomic()) && in getEquivNode() 3834 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates() 3909 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 719 enum Predicate : unsigned { 841 static Predicate getInversePredicate(Predicate pred); 856 static Predicate getSwappedPredicate(Predicate pred); 889 static Predicate getStrictPredicate(Predicate pred); 902 static Predicate getNonStrictPredicate(Predicate pred); 907 static Predicate getFlippedStrictnessPredicate(Predicate pred); 960 static Predicate getSignedPredicate(Predicate pred); 972 static Predicate getUnsignedPredicate(Predicate pred); 985 static Predicate getFlippedSignednessPredicate(Predicate pred); 1028 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.callable/concept.predicate/ |
| H A D | predicate.compile.pass.cpp | 40 struct Predicate { struct 43 static_assert(std::predicate<Predicate, int, double, char>); 44 static_assert(std::predicate<Predicate&, int, double, char>); 45 static_assert(!std::predicate<const Predicate, int, double, char>); 46 static_assert(!std::predicate<const Predicate&, int, double, char>);
|