Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ADT/
DSTLExtras.h372 template<typename R, class UnaryPredicate>
373 bool all_of(R &&Range, UnaryPredicate &&P) {
375 std::forward<UnaryPredicate>(P));
380 template <typename R, class UnaryPredicate>
381 bool any_of(R &&Range, UnaryPredicate &&P) {
383 std::forward<UnaryPredicate>(P));
388 template <typename R, class UnaryPredicate>
389 bool none_of(R &&Range, UnaryPredicate &&P) {
391 std::forward<UnaryPredicate>(P));
410 template<typename R, class UnaryPredicate>
[all …]
DSetVector.h186 template <typename UnaryPredicate>
187 bool remove_if(UnaryPredicate P) { in remove_if()
190 TestAndEraseFromSet<UnaryPredicate>(P, set_)); in remove_if()
260 template <typename UnaryPredicate>
262 UnaryPredicate P;
266 TestAndEraseFromSet(UnaryPredicate P, set_type &set_) in TestAndEraseFromSet()
DPriorityWorklist.h157 template <typename UnaryPredicate>
158 bool erase_if(UnaryPredicate P) { in erase_if()
160 V.begin(), V.end(), TestAndEraseFromMap<UnaryPredicate>(P, M)); in erase_if()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSTLExtras.h472 template <typename R, typename UnaryPredicate>
473 bool all_of(R &&Range, UnaryPredicate P) {
479 template <typename R, typename UnaryPredicate>
480 bool any_of(R &&Range, UnaryPredicate P) {
486 template <typename R, typename UnaryPredicate>
487 bool none_of(R &&Range, UnaryPredicate P) {
500 template <typename R, typename UnaryPredicate>
501 auto find_if(R &&Range, UnaryPredicate P) -> decltype(std::begin(Range)) {
505 template <typename R, typename UnaryPredicate>
506 auto find_if_not(R &&Range, UnaryPredicate P) -> decltype(std::begin(Range)) {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
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()
271 template <typename UnaryPredicate>
273 UnaryPredicate P;
277 TestAndEraseFromSet(UnaryPredicate P, set_type &set_) in TestAndEraseFromSet()
DSTLExtras.h520 template <typename R, typename UnaryPredicate>
521 bool all_of(R &&range, UnaryPredicate P);
522 template <typename R, typename UnaryPredicate>
523 bool any_of(R &&range, UnaryPredicate P);
1174 template <typename R, typename UnaryPredicate>
1175 UnaryPredicate for_each(R &&Range, UnaryPredicate P) {
1181 template <typename R, typename UnaryPredicate>
1182 bool all_of(R &&Range, UnaryPredicate P) {
1188 template <typename R, typename UnaryPredicate>
1189 bool any_of(R &&Range, UnaryPredicate P) {
[all …]
DPriorityWorklist.h193 template <typename UnaryPredicate>
194 bool erase_if(UnaryPredicate P) { in erase_if()
196 remove_if(V, TestAndEraseFromMap<UnaryPredicate>(P, M)); in erase_if()
/external/llvm-project/llvm/include/llvm/ADT/
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()
DSTLExtras.h589 template <typename R, typename UnaryPredicate>
590 bool all_of(R &&range, UnaryPredicate P);
591 template <typename R, typename UnaryPredicate>
592 bool any_of(R &&range, UnaryPredicate P);
1497 template <typename R, typename UnaryPredicate>
1498 bool all_of(R &&Range, UnaryPredicate P) {
1504 template <typename R, typename UnaryPredicate>
1505 bool any_of(R &&Range, UnaryPredicate P) {
1511 template <typename R, typename UnaryPredicate>
1512 bool none_of(R &&Range, UnaryPredicate P) {
[all …]
DPriorityWorklist.h193 template <typename UnaryPredicate>
194 bool erase_if(UnaryPredicate P) { in erase_if()
196 remove_if(V, TestAndEraseFromMap<UnaryPredicate>(P, M)); in erase_if()
/external/llvm-project/clang/unittests/AST/
DDeclMatcher.h47 using UnaryPredicate = std::function<bool(const NodeType *)>; variable
48 UnaryPredicate Predicate;
60 DeclCounterWithPredicate(UnaryPredicate P) : Predicate(P) {} in DeclCounterWithPredicate()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-transparent-functors.cpp62 template <class InputIt, class UnaryPredicate>
64 UnaryPredicate p);
Dbugprone-unused-return-value.cpp21 template <typename ForwardIt, typename UnaryPredicate>
22 ForwardIt remove_if(ForwardIt, ForwardIt, UnaryPredicate);
/external/llvm-project/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h839 template <class InputIt, class UnaryPredicate>
840 InputIt find_if (InputIt first, InputIt last, UnaryPredicate p);
842 template <class ExecutionPolicy, class ForwardIt, class UnaryPredicate>
844 UnaryPredicate p);
846 template <class InputIt, class UnaryPredicate>
847 InputIt find_if_not (InputIt first, InputIt last, UnaryPredicate q);
849 template <class ExecutionPolicy, class ForwardIt, class UnaryPredicate>
851 ForwardIt last, UnaryPredicate q);
1053 template<class BidirIt, class UnaryPredicate>
1054 BidirIt partition(BidirIt first, BidirIt last, UnaryPredicate p);
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp69 template <class InputIt, class OutputIt1, class OutputIt2, class UnaryPredicate>
72 UnaryPredicate Predicate) { in copy_if_else()
103 template <class InputIt, class UnaryPredicate, class Comparator>
104 InputIt find_best(InputIt First, InputIt Last, UnaryPredicate Predicate, in find_best()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePipeliner.h343 template <typename UnaryPredicate> bool remove_if(UnaryPredicate P) { in remove_if()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachinePipeliner.h349 template <typename UnaryPredicate> bool remove_if(UnaryPredicate P) { in remove_if()
/external/llvm-project/llvm/lib/Support/Windows/
DThreading.inc215 template <typename R, typename UnaryPredicate>
216 static unsigned aggregate(R &&Range, UnaryPredicate P) {
/external/tensorflow/tensorflow/python/framework/
Dpython_api_info.cc56 template <typename T, typename UnaryPredicate>
57 void RemoveIf(UnaryPredicate p, std::vector<T>* vec) { in RemoveIf()
/external/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp525 template <class UnaryPredicate>
526 void mergeAdjacentPartitionsIf(UnaryPredicate Predicate) { in mergeAdjacentPartitionsIf()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp580 template <class UnaryPredicate>
581 void mergeAdjacentPartitionsIf(UnaryPredicate Predicate) { in mergeAdjacentPartitionsIf()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp357 template <class UnaryPredicate>
360 UnaryPredicate Predicate) { in searchPredecessors()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp580 template <class UnaryPredicate>
581 void mergeAdjacentPartitionsIf(UnaryPredicate Predicate) { in mergeAdjacentPartitionsIf()

12