Home
last modified time | relevance | path

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

12345678

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp34 return std::any_of(std::begin(ia), std::end(ia), test1()) in test_constexpr()
35 && !std::any_of(std::begin(ib), std::end(ib), test1()) in test_constexpr()
45 assert(std::any_of(input_iterator<const int*>(ia), in main()
47 assert(std::any_of(input_iterator<const int*>(ia), in main()
53 assert(std::any_of(input_iterator<const int*>(ia), in main()
55 assert(std::any_of(input_iterator<const int*>(ia), in main()
61 assert(std::any_of(input_iterator<const int*>(ia), in main()
63 assert(std::any_of(input_iterator<const int*>(ia), in main()
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dkernel.cpp208 any_of([&](const event &ev) { in validate_common()
213 if (any_of([](kernel::argument &arg) { in validate_common()
221 if (!any_of(type_equals(module::section::text_executable), m.secs)) in validate_common()
233 if (!d_grid_size || any_of(is_zero(), grid_size)) in validate_grid_size()
257 if (any_of(is_zero(), block_size) || in validate_block_size()
258 any_of(greater(), block_size, q.device().max_block_size())) in validate_block_size()
261 if (any_of(modulus(), grid_size, block_size)) in validate_block_size()
Dprogram.cpp43 if (any_of([&](const device &dev) { in validate_build_common()
58 any_of(is_zero(), range(strings, count))) in clCreateProgramWithSource()
88 if (any_of([&](const device &dev) { in clCreateProgramWithBinary()
116 if (any_of(key_equals(CL_INVALID_VALUE), result)) in clCreateProgramWithBinary()
119 if (any_of(key_equals(CL_INVALID_BINARY), result)) in clCreateProgramWithBinary()
139 if (any_of([&](const device &dev) { in clCreateProgramWithBuiltInKernels()
223 if (!any_of(key_equals(name), headers)) in clCompileProgram()
265 else if (any_of(has_binary, progs)) in validate_link_devices()
Dtransfer.cpp57 if (any_of(is_zero(), region)) in size()
69 if (any_of([&](const event &ev) { in validate_common()
85 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) in validate_object()
92 if (any_of(is_zero(), region)) in validate_object()
110 if (any_of(greater(), orig + region, size)) in validate_object()
113 if (any_of(is_zero(), region)) in validate_object()
127 if (any_of(greater(), map(multiplies(), pitch, region), tail(pitch))) in validate_object()
Dsampler.cpp34 if (!any_of(std::mem_fn(&device::image_support), ctx.devices())) in clCreateSampler()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dprogram.cpp113 if (any_of(type_equals(module::section::text_intermediate), binary.secs)) in binary_type()
115 else if (any_of(type_equals(module::section::text_library), binary.secs)) in binary_type()
117 else if (any_of(type_equals(module::section::text_executable), binary.secs)) in binary_type()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_function.cpp129 bool foundAliased = std::any_of( in ValidateFunctionParameter()
134 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
161 bool foundAliased = std::any_of( in ValidateFunctionParameter()
166 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp282 return !any_of(LIS.getInterval(DstReg), HasCall) && in shouldCoalesce()
283 !any_of(LIS.getInterval(SrcReg), HasCall); in shouldCoalesce()
291 return any_of(LIS.getInterval(LargeReg), HasCall) || in shouldCoalesce()
292 !any_of(LIS.getInterval(SmallReg), HasCall); in shouldCoalesce()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DMCInstrDescView.cpp123 return llvm::any_of(Instr.Variables, [this](const Variable &Var) { in hasImmediateVariables()
179 return llvm::any_of(Defs, HasImplicit) && llvm::any_of(Uses, HasImplicit); in hasImplicitAliasing()
185 return llvm::any_of(Configurations, [](const AliasingRegisterOperands &ARO) { in hasImplicitAliasing()
DLatency.cpp36 if (llvm::any_of(MCInstrDesc.operands(), hasUnknownOperand)) in isInfeasible()
39 if (llvm::any_of(MCInstrDesc.operands(), hasMemoryOperand)) in isInfeasible()
DUops.cpp94 if (llvm::any_of(MCInstrDesc.operands(), hasUnknownOperand)) in isInfeasible()
97 if (llvm::any_of(MCInstrDesc.operands(), hasMemoryOperand)) in isInfeasible()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DLocal.cpp539 EXPECT_TRUE(any_of(CDbgVals, [](DbgInfoIntrinsic *DII) { in TEST()
542 EXPECT_TRUE(any_of(CDbgVals, [](DbgInfoIntrinsic *DII) { in TEST()
551 EXPECT_TRUE(any_of(DDbgVals, [](DbgInfoIntrinsic *DII) { in TEST()
554 EXPECT_TRUE(any_of(DDbgVals, [](DbgInfoIntrinsic *DII) { in TEST()
585 return any_of(ADbgVals, [&](DbgValueInst *DVI) { in TEST()
/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/perfetto/src/trace_processor/
Dsched_slice_table.cc67 bool has_time_constraint = std::any_of(cs.begin(), cs.end(), has_ts_column); in EstimateQueryCost()
79 bool has_utid_eq = std::any_of(cs.begin(), cs.end(), has_utid_eq_cs); in EstimateQueryCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueLatticeUtils.cpp32 return !any_of(GV->users(), [&](User *U) { in canTrackGlobalVariableInterprocedurally()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp78 return any_of(ExplicitAlign, [Inst](const char *InstStr) { in isExplicitAlign()
84 return any_of(ExplicitUnalign, [Inst](const char *InstStr) { in isExplicitUnalign()
176 return any_of(Inst->Operands, [](const CGIOperandList::OperandInfo &OpIn) { in hasRSTRegClass()
183 return any_of(Inst->Operands, [](const CGIOperandList::OperandInfo &OpIn) { in hasPtrTailcallRegClass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DProcess.cpp52 if (any_of(IgnoreList, [&](StringRef S) { return fs::equivalent(S, Dir); })) in FindInEnvPath()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_utils.cpp76 return std::any_of(std::begin(kDebugOpcodes), std::end(kDebugOpcodes), in ContainsDebugOpcode()
Deliminate_dead_const_test.cpp71 return std::any_of( in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_utils.cpp76 return std::any_of(std::begin(kDebugOpcodes), std::end(kDebugOpcodes), in ContainsDebugOpcode()
Deliminate_dead_const_test.cpp71 return std::any_of( in TEST_F()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dmetadata.hpp63 return clover::any_of(is_kernel_node_for(f), in is_kernel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp196 if (!llvm::any_of(Group, [&](MachineInstr *I) { return I->mayLoad(); })) in runOnMachineFunction()
328 llvm::any_of( in collectCmovCandidates()
667 if (llvm::any_of(Group, [&](MachineInstr *I) { in convertCmovInstsToBranches()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp508 return (llvm::any_of(Clobbers, interferes)) || in hoistAndMergeSGPRInits()
509 (llvm::any_of(Inits, [&](InitListMap::value_type &C) { in hoistAndMergeSGPRInits()
511 llvm::any_of(C.second, interferes); in hoistAndMergeSGPRInits()

12345678