Home
last modified time | relevance | path

Searched refs:UnaryPredicate (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSetVector.h198 template <typename UnaryPredicate>
199 bool remove_if(UnaryPredicate P) { in remove_if()
201 llvm::remove_if(vector_, TestAndEraseFromSet<UnaryPredicate>(P, set_)); in remove_if()
281 template <typename UnaryPredicate>
283 UnaryPredicate P;
287 TestAndEraseFromSet(UnaryPredicate P, set_type &set_) in TestAndEraseFromSet()
H A DPriorityWorklist.h192 template <typename UnaryPredicate>
193 bool erase_if(UnaryPredicate P) { in erase_if()
195 remove_if(V, TestAndEraseFromMap<UnaryPredicate>(P, M)); in erase_if()
H A DSTLExtras.h626 template <typename R, typename UnaryPredicate>
627 bool all_of(R &&range, UnaryPredicate P);
628 template <typename R, typename UnaryPredicate>
629 bool any_of(R &&range, UnaryPredicate P);
1617 bool all_of(R &&Range, UnaryPredicate P) {
1624 bool any_of(R &&Range, UnaryPredicate P) {
1631 bool none_of(R &&Range, UnaryPredicate P) {
1644 auto find_if(R &&Range, UnaryPredicate P) {
1656 auto remove_if(R &&Range, UnaryPredicate P) {
1716 auto count_if(R &&Range, UnaryPredicate P) {
[all …]
/llvm-project-15.0.7/clang/unittests/AST/
H A DDeclMatcher.h47 using UnaryPredicate = std::function<bool(const NodeType *)>; variable
48 UnaryPredicate Predicate;
60 DeclCounterWithPredicate(UnaryPredicate P) : Predicate(P) {} in DeclCounterWithPredicate()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-transparent-functors.cpp62 template <class InputIt, class UnaryPredicate>
64 UnaryPredicate p);
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dunused-return-value.cpp21 template <typename ForwardIt, typename UnaryPredicate>
22 ForwardIt remove_if(ForwardIt, ForwardIt, UnaryPredicate);
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h871 template <class InputIt, class UnaryPredicate>
872 InputIt find_if (InputIt first, InputIt last, UnaryPredicate p);
874 template <class ExecutionPolicy, class ForwardIt, class UnaryPredicate>
876 UnaryPredicate p);
878 template <class InputIt, class UnaryPredicate>
879 InputIt find_if_not (InputIt first, InputIt last, UnaryPredicate q);
881 template <class ExecutionPolicy, class ForwardIt, class UnaryPredicate>
883 ForwardIt last, UnaryPredicate q);
1166 template<class BidirIt, class UnaryPredicate>
1167 BidirIt partition(BidirIt first, BidirIt last, UnaryPredicate p);
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp84 template <class InputIt, class OutputIt1, class OutputIt2, class UnaryPredicate>
87 UnaryPredicate Predicate) { in copy_if_else()
110 template <class InputIt, class UnaryPredicate, class Comparator>
111 static InputIt find_best(InputIt First, InputIt Last, UnaryPredicate Predicate, in find_best()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachinePipeliner.h358 template <typename UnaryPredicate> bool remove_if(UnaryPredicate P) { in remove_if()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DThreading.inc233 template <typename R, typename UnaryPredicate>
234 static unsigned aggregate(R &&Range, UnaryPredicate P) {
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopDistribute.cpp578 template <class UnaryPredicate>
579 void mergeAdjacentPartitionsIf(UnaryPredicate Predicate) { in mergeAdjacentPartitionsIf()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp341 template <class UnaryPredicate>
344 UnaryPredicate Predicate) { in searchPredecessors()