Home
last modified time | relevance | path

Searched refs:any_of (Results 1 – 25 of 58) sorted by relevance

123

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp34 assert(std::any_of(input_iterator<const int*>(ia), in main()
36 assert(std::any_of(input_iterator<const int*>(ia), in main()
42 assert(std::any_of(input_iterator<const int*>(ia), in main()
44 assert(std::any_of(input_iterator<const int*>(ia), in main()
50 assert(std::any_of(input_iterator<const int*>(ia), in main()
52 assert(std::any_of(input_iterator<const int*>(ia), in main()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dprogram.cpp38 any_of(is_zero<const char *>(), strings, strings + count)) in clCreateProgramWithSource()
67 if (any_of([&](const cl_device_id dev) { in clCreateProgramWithBinary()
95 if (any_of(key_equals<cl_int, module>(CL_INVALID_VALUE), in clCreateProgramWithBinary()
99 if (any_of(key_equals<cl_int, module>(CL_INVALID_BINARY), in clCreateProgramWithBinary()
146 if (any_of([&](const cl_device_id dev) { in clBuildProgram()
Dkernel.cpp203 any_of([&](const cl_event ev) { in kernel_validate()
209 any_of(is_zero<cl_event>(), deps, deps + num_deps)) in kernel_validate()
212 if (any_of([](std::unique_ptr<kernel::argument> &arg) { in kernel_validate()
223 if (!grid_size || any_of(is_zero<size_t>(), grid_size, grid_size + dims)) in kernel_validate()
227 if (any_of([](size_t b, size_t max) { in kernel_validate()
233 if (any_of([](size_t b, size_t g) { in kernel_validate()
Dcontext.cpp40 if (any_of(is_zero<cl_device_id>(), devs, devs + num_devs)) in clCreateContext()
Dtransfer.cpp43 any_of(is_zero<cl_event>(), deps, deps + num_deps)) in validate_base()
46 if (any_of([&](const cl_event ev) { in validate_base()
/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp215 llvm::any_of(Used, [](GlobalValue *V) { return V->hasLocalLinkage(); }); in moduleCanBeRenamedForThinLTO()
220 auto HasInlineAsm = llvm::any_of(M, [](const Function &F) { in moduleCanBeRenamedForThinLTO()
221 return llvm::any_of(instructions(F), [](const Instruction &I) { in moduleCanBeRenamedForThinLTO()
DCFLSteensAliasAnalysis.cpp354 std::any_of(RetParamAttributes.begin(), RetParamAttributes.end(), in getArgModRefInfo()
359 std::any_of(RetParamRelations.begin(), RetParamRelations.end(), in getArgModRefInfo()
/external/llvm/tools/llvm-pdbdump/
DLinePrinter.cpp33 if (!IncludeFilters.empty() && !any_of(IncludeFilters, match_pred)) in IsItemExcluded()
36 if (any_of(ExcludeFilters, match_pred)) in IsItemExcluded()
/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp87 if (std::any_of(Args.begin() + 1, Args.end(), in EmitCUDADevicePrintfCallExpr()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Devent.cpp149 any_of([](const ref_ptr<event> &ev) { in status()
Dbase.hpp246 any_of(F op, It0 it0, It0 end0, Its... its) { in any_of() function
/external/llvm/include/llvm/ADT/
DSTLExtras.h381 bool any_of(R &&Range, UnaryPredicate &&P) {
382 return std::any_of(Range.begin(), Range.end(),
/external/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp199 if (!std::any_of(Defs.begin(), Defs.end(), isa<Instruction, Value *>)) in runOnUse()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp161 if (std::any_of(RD->field_begin(), RD->field_end(), IsTrickyField)) in shouldSkipDecl()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp211 return llvm::any_of(ExitBlocks, [&](BasicBlock * EB) { in blockDominatesAnExit()
DLoopUnroll.cpp275 std::any_of(ExitBlocks.begin(), ExitBlocks.end(), in UnrollLoop()
DLoopUtils.cpp827 if (std::any_of(Users.begin(), Users.end(), [&](User *U) { in findDefsUsedOutsideOfLoop()
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp190 if (std::any_of(IPR.Counts.begin(), IPR.Counts.end(), in shouldEncodeData()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp408 return std::any_of(Names.begin(), Names.end(), [&](StringRef Name) { in matchesNodeUnqualified()
/external/llvm/lib/MC/
DMCCodeView.cpp164 bool HaveColumns = any_of(Locs, [](const MCCVLineEntry &LineEntry) { in emitLineTableForFunction()
/external/llvm/lib/Fuzzer/
DFuzzerInternal.h183 return std::any_of(begin(), end(), [&](const DictionaryEntry &DE) { in ContainsWord()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp524 NeedLift = std::any_of(MemLocs.begin(), MemLocs.end(), in moveUp()
530 NeedLift = std::any_of(CallSites.begin(), CallSites.end(), in moveUp()
DRewriteStatepointsForGC.cpp253 return any_of(ST->subtypes(), containsGCPtrType); in containsGCPtrType()
2271 assert(std::any_of(M.begin(), M.end(), shouldRewriteStatepointsIn) && in stripNonValidAttributes()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp111 return std::any_of(TypeVec.begin(), TypeVec.end(), isInteger); in hasIntegerTypes()
117 return std::any_of(TypeVec.begin(), TypeVec.end(), isFloatingPoint); in hasFloatingPointTypes()
122 return std::any_of(TypeVec.begin(), TypeVec.end(), isScalar); in hasScalarTypes()
128 return std::any_of(TypeVec.begin(), TypeVec.end(), isVector); in hasVectorTypes()
DAsmWriterEmitter.cpp196 if (std::any_of(Idxs.begin()+1, Idxs.end(), in FindUniqueOperandCommands()

123