/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 37 context_->GetDominatorAnalysis(loop_construct_header_->GetParent()); in Apply() 38 context_->cfg(); in Apply() 39 context_->GetStructuredCFGAnalysis(); in Apply() 54 context_->InvalidateAnalysesExceptFor( in Apply() 62 context_->InvalidateAnalysesExceptFor( in Apply() 71 for (auto pred : context_->cfg()->preds(original_target_id)) { in RedirectToClosestMergeBlock() 79 if (!context_->IsReachable(*context_->cfg()->block(pred))) { in RedirectToClosestMergeBlock() 91 if (context_->cfg()->block(pred)->MergeBlockIdIfAny()) { in RedirectToClosestMergeBlock() 92 new_merge_target = context_->cfg()->block(pred)->MergeBlockIdIfAny(); in RedirectToClosestMergeBlock() 94 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock() [all …]
|
D | structured_construct_to_block_reduction_opportunity.cpp | 21 return context_->get_def_use_mgr()->GetDef(construct_header_) != nullptr; in PreconditionHolds() 25 auto header_block = context_->cfg()->block(construct_header_); in Apply() 26 auto merge_block = context_->cfg()->block(header_block->MergeBlockId()); in Apply() 32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply() 33 auto* postdominators = context_->GetPostDominatorAnalysis(enclosing_function); in Apply() 50 context_->InvalidateAnalysesExceptFor(opt::IRContext::kAnalysisNone); in Apply() 54 context_->KillInst(header_block->GetMergeInst()); in Apply() 63 context_->InvalidateAnalysesExceptFor(opt::IRContext::kAnalysisNone); in Apply()
|
D | merge_blocks_reduction_opportunity.cpp | 27 context_ = context; in MergeBlocksReductionOpportunity() 43 const auto predecessors = context_->cfg()->preds(successor_block_->id()); in PreconditionHolds() 49 context_->get_instr_block(predecessor_id); in PreconditionHolds() 50 return opt::blockmergeutil::CanMergeWithSuccessor(context_, in PreconditionHolds() 59 const auto predecessors = context_->cfg()->preds(successor_block_->id()); in Apply() 68 opt::blockmergeutil::MergeWithSuccessor(context_, function_, bi); in Apply() 70 context_->InvalidateAnalysesExceptFor( in Apply()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 37 context_->GetDominatorAnalysis(loop_construct_header_->GetParent()); in Apply() 38 context_->cfg(); in Apply() 39 context_->GetStructuredCFGAnalysis(); in Apply() 54 context_->InvalidateAnalysesExceptFor( in Apply() 62 context_->InvalidateAnalysesExceptFor( in Apply() 71 for (auto pred : context_->cfg()->preds(original_target_id)) { in RedirectToClosestMergeBlock() 79 if (!context_->IsReachable(*context_->cfg()->block(pred))) { in RedirectToClosestMergeBlock() 91 if (context_->cfg()->block(pred)->MergeBlockIdIfAny()) { in RedirectToClosestMergeBlock() 92 new_merge_target = context_->cfg()->block(pred)->MergeBlockIdIfAny(); in RedirectToClosestMergeBlock() 94 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock() [all …]
|
D | structured_construct_to_block_reduction_opportunity.cpp | 21 return context_->get_def_use_mgr()->GetDef(construct_header_) != nullptr; in PreconditionHolds() 25 auto header_block = context_->cfg()->block(construct_header_); in Apply() 26 auto merge_block = context_->cfg()->block(header_block->MergeBlockId()); in Apply() 32 auto* dominators = context_->GetDominatorAnalysis(enclosing_function); in Apply() 33 auto* postdominators = context_->GetPostDominatorAnalysis(enclosing_function); in Apply() 50 context_->InvalidateAnalysesExceptFor(opt::IRContext::kAnalysisNone); in Apply() 54 context_->KillInst(header_block->GetMergeInst()); in Apply() 63 context_->InvalidateAnalysesExceptFor(opt::IRContext::kAnalysisNone); in Apply()
|
D | merge_blocks_reduction_opportunity.cpp | 27 context_ = context; in MergeBlocksReductionOpportunity() 43 const auto predecessors = context_->cfg()->preds(successor_block_->id()); in PreconditionHolds() 49 context_->get_instr_block(predecessor_id); in PreconditionHolds() 50 return opt::blockmergeutil::CanMergeWithSuccessor(context_, in PreconditionHolds() 59 const auto predecessors = context_->cfg()->preds(successor_block_->id()); in Apply() 68 opt::blockmergeutil::MergeWithSuccessor(context_, function_, bi); in Apply() 70 context_->InvalidateAnalysesExceptFor( in Apply()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_generator_factory.cc | 56 : context_(context) {} in ImmutableGeneratorFactory() 61 if (HasDescriptorMethods(descriptor, context_->EnforceLite())) { in NewMessageGenerator() 62 return new ImmutableMessageGenerator(descriptor, context_); in NewMessageGenerator() 64 return new ImmutableMessageLiteGenerator(descriptor, context_); in NewMessageGenerator() 70 if (HasDescriptorMethods(descriptor->file(), context_->EnforceLite())) { in NewExtensionGenerator() 71 return new ImmutableExtensionGenerator(descriptor, context_); in NewExtensionGenerator() 73 return new ImmutableExtensionLiteGenerator(descriptor, context_); in NewExtensionGenerator() 79 return new ImmutableServiceGenerator(descriptor, context_); in NewServiceGenerator()
|
/third_party/node/src/ |
D | node_url.h | 97 Parse(input, len, kUnknownState, &context_, false, nullptr, false); in URL() 103 &context_, false, in URL() 104 &(base->context_), true); in URL() 106 Parse(input, len, kUnknownState, &context_, false, nullptr, false); in URL() 114 &context_, false, in URL() 115 &(_base.context_), true); in URL() 117 Parse(input, len, kUnknownState, &context_, false, nullptr, false); in URL() 134 return context_.flags; in flags() 138 return context_.port; in port() 142 return context_.scheme; in protocol() [all …]
|
/third_party/grpc/test/cpp/interop/ |
D | server_helper.cc | 53 : context_(context) {} in InteropServerContextInspector() 57 return grpc_call_test_only_get_compression_algorithm(context_.call_); in GetCallCompressionAlgorithm() 61 return grpc_call_test_only_get_encodings_accepted_by_peer(context_.call_); in GetEncodingsAcceptedByClient() 65 return (grpc_call_test_only_get_message_flags(context_.call_) & in WasCompressed() 67 (grpc_call_test_only_get_message_flags(context_.call_) & in WasCompressed() 73 return context_.auth_context(); in GetAuthContext() 77 return context_.IsCancelled(); in IsCancelled()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
D | libspirv.cpp | 27 Context::Context(spv_target_env env) : context_(spvContextCreate(env)) {} in Context() 29 Context::Context(Context&& other) : context_(other.context_) { in Context() 30 other.context_ = nullptr; in Context() 34 spvContextDestroy(context_); in operator =() 35 context_ = other.context_; in operator =() 36 other.context_ = nullptr; in operator =() 41 Context::~Context() { spvContextDestroy(context_); } in ~Context() 44 SetContextMessageConsumer(context_, std::move(consumer)); in SetMessageConsumer() 47 spv_context& Context::CContext() { return context_; } in CContext() 49 const spv_context& Context::CContext() const { return context_; } in CContext()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | libspirv.cpp | 27 Context::Context(spv_target_env env) : context_(spvContextCreate(env)) {} in Context() 29 Context::Context(Context&& other) : context_(other.context_) { in Context() 30 other.context_ = nullptr; in Context() 34 spvContextDestroy(context_); in operator =() 35 context_ = other.context_; in operator =() 36 other.context_ = nullptr; in operator =() 41 Context::~Context() { spvContextDestroy(context_); } in ~Context() 44 SetContextMessageConsumer(context_, std::move(consumer)); in SetMessageConsumer() 47 spv_context& Context::CContext() { return context_; } in CContext() 49 const spv_context& Context::CContext() const { return context_; } in CContext()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | loop_unswitch_pass.cpp | 58 context_(context), in LoopUnswitch() 71 CFG& cfg = *context_->cfg(); in CanUnswitchLoop() 102 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() 107 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateBasicBlock() 110 context_->set_instr_block(bb->GetLabelInst(), bb); in CreateBasicBlock() 139 context_, static_cast<Instruction*>(nullptr), in GetValueForDefaultPathForSwitch() 151 CFG& cfg = *context_->cfg(); in PerformUnswitch() 153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch() 154 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() 155 LoopUtils loop_utils(context_, loop_); in PerformUnswitch() [all …]
|
D | struct_cfg_analysis.cpp | 27 StructuredCFGAnalysis::StructuredCFGAnalysis(IRContext* ctx) : context_(ctx) { in StructuredCFGAnalysis() 30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis() 34 for (auto& func : *context_->module()) { in StructuredCFGAnalysis() 43 context_->cfg()->ComputeStructuredOrder(func, &*func->begin(), &order); in AddBlocksInFunction() 62 if (context_->cfg()->IsPseudoEntryBlock(block) || in AddBlocksInFunction() 63 context_->cfg()->IsPseudoExitBlock(block)) { in AddBlocksInFunction() 116 uint32_t bb = context_->get_instr_block(inst)->id(); in ContainingConstruct() 126 BasicBlock* header = context_->cfg()->block(header_id); in MergeBlock() 150 BasicBlock* header = context_->cfg()->block(header_id); in LoopMergeBlock() 161 BasicBlock* header = context_->cfg()->block(header_id); in LoopContinueBlock() [all …]
|
D | loop_utils.cpp | 54 : context_(context), in LCSSARewriter() 55 cfg_(context_->cfg()), in LCSSARewriter() 90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers() 104 return base_->context_->get_instr_block(instr); in GetParent() 120 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction() 139 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction() 255 IRContext* context_; member in spvtools::opt::__anone7da3d5a0111::LCSSARewriter 321 LoopDescriptor& loop_desc = *context_->GetLoopDescriptor(function); in CreateLoopDedicatedExits() 322 CFG& cfg = *context_->cfg(); in CreateLoopDedicatedExits() 323 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateLoopDedicatedExits() [all …]
|
D | loop_unroller.cpp | 172 : context_(c), in LoopUnrollerUtilsImpl() 294 IRContext* context_; member in spvtools::opt::__anonc8608e9c0111::LoopUnrollerUtilsImpl 385 context_, SpvOp::SpvOpLabel, 0, context_->TakeNextId(), {})}; in PartiallyUnrollResidualFactor() 412 InstructionBuilder builder{context_, new_exit_bb_raw}; in PartiallyUnrollResidualFactor() 434 context_->InvalidateAnalysesExceptFor( in PartiallyUnrollResidualFactor() 436 analysis::DefUseManager* def_use_manager = context_->get_def_use_mgr(); in PartiallyUnrollResidualFactor() 502 context_->get_def_use_mgr()->ForEachUse(old_induction, in PartiallyUnrollResidualFactor() 506 context_->InvalidateAnalysesExceptFor( in PartiallyUnrollResidualFactor() 509 context_->ReplaceAllUsesWith(loop->GetMergeBlock()->id(), new_merge_id); in PartiallyUnrollResidualFactor() 511 LoopDescriptor& loop_descriptor = *context_->GetLoopDescriptor(&function_); in PartiallyUnrollResidualFactor() [all …]
|
D | loop_fusion.cpp | 88 auto not_used = context_->get_def_use_mgr()->WhileEachUser( in UsedInContinueOrConditionBlock() 91 auto block_id = context_->get_instr_block(instruction)->id(); in UsedInContinueOrConditionBlock() 122 if (context_->cfg()->preds(loop_0_->GetMergeBlock()->id()).size() != 1 || in AreCompatible() 123 context_->cfg()->preds(loop_1_->GetMergeBlock()->id()).size() != 1) { in AreCompatible() 128 if (context_->cfg()->preds(loop_0_->GetContinueBlock()->id()).size() != 1 || in AreCompatible() 129 context_->cfg()->preds(loop_1_->GetContinueBlock()->id()).size() != 1) { in AreCompatible() 177 auto preds = context_->cfg()->preds(pre_header_1->id()); in AreCompatible() 200 context_->get_def_use_mgr()->GetDef(inst.GetSingleWordInOperand(0)); in AreCompatible() 209 context_->get_def_use_mgr()->ForEachUse( in AreCompatible() 281 auto arg_0 = context_->get_def_use_mgr()->GetDef( in CheckCondition() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_unswitch_pass.cpp | 58 context_(context), in LoopUnswitch() 71 CFG& cfg = *context_->cfg(); in CanUnswitchLoop() 102 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() 107 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateBasicBlock() 110 context_->set_instr_block(bb->GetLabelInst(), bb); in CreateBasicBlock() 139 context_, static_cast<Instruction*>(nullptr), in GetValueForDefaultPathForSwitch() 151 CFG& cfg = *context_->cfg(); in PerformUnswitch() 153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch() 154 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() 155 LoopUtils loop_utils(context_, loop_); in PerformUnswitch() [all …]
|
D | struct_cfg_analysis.cpp | 27 StructuredCFGAnalysis::StructuredCFGAnalysis(IRContext* ctx) : context_(ctx) { in StructuredCFGAnalysis() 30 if (!context_->get_feature_mgr()->HasCapability(SpvCapabilityShader)) { in StructuredCFGAnalysis() 34 for (auto& func : *context_->module()) { in StructuredCFGAnalysis() 43 context_->cfg()->ComputeStructuredOrder(func, &*func->begin(), &order); in AddBlocksInFunction() 62 if (context_->cfg()->IsPseudoEntryBlock(block) || in AddBlocksInFunction() 63 context_->cfg()->IsPseudoExitBlock(block)) { in AddBlocksInFunction() 116 uint32_t bb = context_->get_instr_block(inst)->id(); in ContainingConstruct() 126 BasicBlock* header = context_->cfg()->block(header_id); in MergeBlock() 150 BasicBlock* header = context_->cfg()->block(header_id); in LoopMergeBlock() 161 BasicBlock* header = context_->cfg()->block(header_id); in LoopContinueBlock() [all …]
|
D | loop_utils.cpp | 54 : context_(context), in LCSSARewriter() 55 cfg_(context_->cfg()), in LCSSARewriter() 90 analysis::DefUseManager* def_use_mgr = base_->context_->get_def_use_mgr(); in UpdateManagers() 104 return base_->context_->get_instr_block(instr); in GetParent() 120 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction() 139 InstructionBuilder builder(base_->context_, &*bb->begin(), in CreatePhiInstruction() 255 IRContext* context_; member in spvtools::opt::__anon926b1d460111::LCSSARewriter 321 LoopDescriptor& loop_desc = *context_->GetLoopDescriptor(function); in CreateLoopDedicatedExits() 322 CFG& cfg = *context_->cfg(); in CreateLoopDedicatedExits() 323 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateLoopDedicatedExits() [all …]
|
D | loop_unroller.cpp | 172 : context_(c), in LoopUnrollerUtilsImpl() 294 IRContext* context_; member in spvtools::opt::__anona3ba77080111::LoopUnrollerUtilsImpl 385 context_, SpvOp::SpvOpLabel, 0, context_->TakeNextId(), {})}; in PartiallyUnrollResidualFactor() 412 InstructionBuilder builder{context_, new_exit_bb_raw}; in PartiallyUnrollResidualFactor() 434 context_->InvalidateAnalysesExceptFor( in PartiallyUnrollResidualFactor() 436 analysis::DefUseManager* def_use_manager = context_->get_def_use_mgr(); in PartiallyUnrollResidualFactor() 502 context_->get_def_use_mgr()->ForEachUse(old_induction, in PartiallyUnrollResidualFactor() 506 context_->InvalidateAnalysesExceptFor( in PartiallyUnrollResidualFactor() 509 context_->ReplaceAllUsesWith(loop->GetMergeBlock()->id(), new_merge_id); in PartiallyUnrollResidualFactor() 511 LoopDescriptor& loop_descriptor = *context_->GetLoopDescriptor(&function_); in PartiallyUnrollResidualFactor() [all …]
|
/third_party/boost/libs/asio/example/cpp11/executors/ |
D | priority_scheduler.cpp | 21 : context_(ctx), priority_(pri) in executor_type() 27 return context_; in query() 34 std::lock_guard<std::mutex> lock(context_.mutex_); in execute() 35 context_.queue_.push(p); in execute() 36 context_.condition_.notify_one(); in execute() 42 return &a.context_ == &b.context_; in operator ==() 48 return &a.context_ != &b.context_; in operator !=() 52 priority_scheduler& context_; member in priority_scheduler::executor_type
|
/third_party/boost/doc/html/boost_asio/example/cpp11/executors/ |
D | priority_scheduler.cpp | 21 : context_(ctx), priority_(pri) in executor_type() 27 return context_; in query() 34 std::lock_guard<std::mutex> lock(context_.mutex_); in execute() 35 context_.queue_.push(p); in execute() 36 context_.condition_.notify_one(); in execute() 42 return &a.context_ == &b.context_; in operator ==() 48 return &a.context_ != &b.context_; in operator !=() 52 priority_scheduler& context_; member in priority_scheduler::executor_type
|
/third_party/boost/boost/xpressive/detail/core/ |
D | state.hpp | 124 match_context context_; member 149 , context_() // zero-initializes the fields of context_ in match_state() 176 this->context_.prev_context_ = 0; in reset() 189 match_context context = this->context_; in push_context() 199 this->context_.prev_context_ = &prev; in push_context() 200 this->context_.next_ptr_ = &next; in push_context() 213 match_context &context = *this->context_.prev_context_; in pop_context() 225 this->context_ = context; in pop_context() 226 match_results &results = *this->context_.results_ptr_; in pop_context() 236 std::swap(this->context_, context); in swap_context() [all …]
|
/third_party/cef/libcef/renderer/ |
D | render_urlrequest_impl.cc | 73 CefRenderURLRequest::Context* context_; member in __anon988f759e0111::CefWebURLLoaderClient 352 : context_(context), request_flags_(request_flags) {} in CefWebURLLoaderClient() 359 context_->OnUploadProgress(bytes_sent, total_bytes_to_be_sent); in DidSendData() 363 context_->OnResponse(response); in DidReceiveResponse() 367 context_->OnDownloadProgress(dataLength); in DidReceiveData() 370 context_->OnDownloadData(data, dataLength); in DidReceiveData() 378 context_->OnComplete(); in DidFinishLoading() 386 context_->OnError(error); in DidFail() 391 context_->OnStartLoadingResponseBody(std::move(response_body)); in DidStartLoadingResponseBody() 404 context_->OnStopRedirect(new_url, passed_redirect_response); in WillFollowRedirect() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/ |
D | embedder_config_builder.cc | 15 : context_(context) { in EmbedderConfigBuilder() 76 context_.SetupOpenGLSurface(); in SetOpenGLRendererConfig() 80 project_args_.assets_path = context_.GetAssetsPath().c_str(); in SetAssetsPath() 84 if (auto mapping = context_.GetVMSnapshotData()) { in SetSnapshots() 89 if (auto mapping = context_.GetVMSnapshotInstructions()) { in SetSnapshots() 94 if (auto mapping = context_.GetIsolateSnapshotData()) { in SetSnapshots() 99 if (auto mapping = context_.GetIsolateSnapshotInstructions()) { in SetSnapshots() 145 context_.SetPlatformMessageCallback(callback); in SetPlatformMessageCallback() 149 context_.SetupCompositor(); in SetCompositor() 150 auto& compositor = context_.GetCompositor(); in SetCompositor() [all …]
|