Searched refs:UnaryPredicate (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | SetVector.h | 198 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 D | PriorityWorklist.h | 192 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 D | STLExtras.h | 626 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 D | DeclMatcher.h | 47 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 D | use-transparent-functors.cpp | 62 template <class InputIt, class UnaryPredicate> 64 UnaryPredicate p);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unused-return-value.cpp | 21 template <typename ForwardIt, typename UnaryPredicate> 22 ForwardIt remove_if(ForwardIt, ForwardIt, UnaryPredicate);
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/ |
| H A D | system-header-simulator-cxx.h | 871 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 D | MipsELFObjectWriter.cpp | 84 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 D | MachinePipeliner.h | 358 template <typename UnaryPredicate> bool remove_if(UnaryPredicate P) { in remove_if()
|
| /llvm-project-15.0.7/llvm/lib/Support/Windows/ |
| H A D | Threading.inc | 233 template <typename R, typename UnaryPredicate> 234 static unsigned aggregate(R &&Range, UnaryPredicate P) {
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDistribute.cpp | 578 template <class UnaryPredicate> 579 void mergeAdjacentPartitionsIf(UnaryPredicate Predicate) { in mergeAdjacentPartitionsIf()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIFixSGPRCopies.cpp | 341 template <class UnaryPredicate> 344 UnaryPredicate Predicate) { in searchPredecessors()
|