/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | ir_loader.cpp | 25 module_(module), in IrLoader() 63 module_->AddFunction(std::move(function_)); in AddInstruction() 91 module_->AddCapability(std::move(spv_inst)); in AddInstruction() 93 module_->AddExtension(std::move(spv_inst)); in AddInstruction() 95 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction() 97 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction() 99 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction() 101 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction() 103 module_->AddDebugInst(std::move(spv_inst)); in AddInstruction() 105 module_->AddAnnotationInst(std::move(spv_inst)); in AddInstruction() [all …]
|
D | aggressive_dead_code_elim_pass.cpp | 114 for (auto& ei : module_->extensions()) { in AllExtensionsSupported() 167 for (auto& ai : module_->annotations()) { in AggressiveDCE() 205 for (auto& di : module_->debugs()) { in AggressiveDCE() 211 for (auto& ai : module_->annotations()) { in AggressiveDCE() 231 module_ = module; in Initialize() 235 for (auto& fn : *module_) in Initialize() 246 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 252 if (!module_->HasCapability(SpvCapabilityShader)) in ProcessImpl() 257 if (module_->HasCapability(SpvCapabilityAddresses)) in ProcessImpl() 270 for (auto& e : module_->entry_points()) { in ProcessImpl() [all …]
|
D | block_merge_pass.cpp | 113 module_ = module; in Initialize() 117 for (auto& fn : *module_) in Initialize() 120 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 125 for (auto& e : module_->entry_points()) { in ProcessImpl() 134 : module_(nullptr), def_use_mgr_(nullptr) {} in BlockMergePass()
|
D | insert_extract_elim.cpp | 91 module_ = module; in Initialize() 95 for (auto& fn : *module_) in Initialize() 99 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 106 for (auto& e : module_->entry_points()) { in ProcessImpl() 116 : module_(nullptr), def_use_mgr_(nullptr) {} in InsertExtractElimPass()
|
D | local_single_block_elim_pass.cpp | 300 module_ = module; in Initialize() 304 for (auto& fn : *module_) in Initialize() 312 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 315 next_id_ = module_->id_bound(); in Initialize() 321 if (module_->HasCapability(SpvCapabilityAddresses)) in ProcessImpl() 325 for (auto& e : module_->entry_points()) { in ProcessImpl() 330 FinalizeNextId(module_); in ProcessImpl() 335 : module_(nullptr), def_use_mgr_(nullptr), next_id_(0) {} in LocalSingleBlockLoadStoreElimPass()
|
D | inline_pass.cpp | 36 ir::Module::inst_iterator type_itr = module_->types_values_begin(); in FindPointerToType() 37 for (; type_itr != module_->types_values_end(); ++type_itr) { in FindPointerToType() 56 module_->AddType(std::move(type_inst)); in AddPointerToType() 113 false_id_ = module_->GetGlobalValue(SpvOpConstantFalse); in GetFalseId() 116 uint32_t boolId = module_->GetGlobalValue(SpvOpTypeBool); in GetFalseId() 119 module_->AddGlobalValue(SpvOpTypeBool, boolId, 0); in GetFalseId() 122 module_->AddGlobalValue(SpvOpConstantFalse, false_id_, boolId); in GetFalseId() 529 if (!module_->HasCapability(SpvCapabilityShader)) in HasNoReturnInLoop() 603 module_ = module; in Initialize() 611 for (auto& fn : *module_) { in Initialize() [all …]
|
D | local_access_chain_convert_pass.cpp | 322 module_ = module; in Initialize() 326 for (auto& fn : *module_) in Initialize() 333 def_use_mgr_.reset(new analysis::DefUseManager(consumer(), module_)); in Initialize() 342 for (const ir::Instruction& inst : module_->types_values()) in ProcessImpl() 348 for (auto& e : module_->entry_points()) { in ProcessImpl() 354 FinalizeNextId(module_); in ProcessImpl() 360 : module_(nullptr), def_use_mgr_(nullptr), next_id_(0) {} in LocalAccessChainConvertPass()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/ |
D | validate_id.cpp | 64 module_(module), in idUsage() 82 const ValidationState_t& module_; member in __anon583ac0540111::idUsage 105 auto type = module_.FindDef(inst->words[typeIndex]); in isValid() 128 auto file = module_.FindDef(inst->words[fileIndex]); in isValid() 144 auto target = module_.FindDef(inst->words[targetIndex]); in isValid() 160 auto structType = module_.FindDef(inst->words[structTypeIndex]); in isValid() 186 auto decorationGroup = module_.FindDef(inst->words[decorationGroupIndex]); in isValid() 200 auto decorationGroup = module_.FindDef(inst->words[decorationGroupIndex]); in isValid() 212 auto struct_instr = module_.FindDef(struct_id); in isValid() 242 auto entryPoint = module_.FindDef(inst->words[entryPointIndex]); in isValid() [all …]
|
/third_party/spirv-tools/source/opt/ |
D | ir_loader.cpp | 35 module_(m), in IrLoader() 129 module_->AddFunction(std::move(function_)); in AddInstruction() 162 module_->AddCapability(std::move(spv_inst)); in AddInstruction() 164 module_->AddExtension(std::move(spv_inst)); in AddInstruction() 166 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction() 168 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction() 170 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction() 172 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction() 174 module_->AddDebug1Inst(std::move(spv_inst)); in AddInstruction() 176 module_->AddDebug2Inst(std::move(spv_inst)); in AddInstruction() [all …]
|
D | decoration_manager.cpp | 65 auto context = module_->context(); in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 142 module_->AddAnnotationInst(std::move(new_inst)); in RemoveDecorationsFrom() 143 auto decoration_iter = --module_->annotation_end(); in RemoveDecorationsFrom() 351 if (!module_) return; in AnalyzeDecorations() 354 for (Instruction& inst : module_->annotations()) { in AnalyzeDecorations() 389 IRContext* ctx = module_->context(); in AddDecoration() 503 auto context = module_->context(); in CloneDecorations() 506 std::unique_ptr<Instruction> new_inst(inst->Clone(module_->context())); in CloneDecorations() 508 module_->AddAnnotationInst(std::move(new_inst)); in CloneDecorations() [all …]
|
D | ir_loader.h | 49 Module* module() const { return module_; } in module() 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() 74 Module* module_; variable
|
D | ir_context.h | 98 module_(new Module()), in IRContext() 109 module_->SetContext(this); in IRContext() 116 module_(std::move(m)), in IRContext() 126 module_->SetContext(this); in IRContext() 132 Module* module() const { return module_.get(); } in module() 613 for (auto& fn : *module_) { in BuildInstrToBlockMapping() 626 for (auto& fn : *module_) { in BuildIdToFuncMapping() 756 std::unique_ptr<Module> module_; variable 878 return module_->annotations(); in annotations() 882 return ((const Module*)module_.get())->annotations(); in annotations() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ir_loader.cpp | 36 module_(m), in IrLoader() 150 module_->AddFunction(std::move(function_)); in AddInstruction() 183 module_->AddCapability(std::move(spv_inst)); in AddInstruction() 185 module_->AddExtension(std::move(spv_inst)); in AddInstruction() 187 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction() 189 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction() 191 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction() 193 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction() 195 module_->AddDebug1Inst(std::move(spv_inst)); in AddInstruction() 197 module_->AddDebug2Inst(std::move(spv_inst)); in AddInstruction() [all …]
|
D | decoration_manager.cpp | 65 auto context = module_->context(); in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 142 module_->AddAnnotationInst(std::move(new_inst)); in RemoveDecorationsFrom() 143 auto decoration_iter = --module_->annotation_end(); in RemoveDecorationsFrom() 351 if (!module_) return; in AnalyzeDecorations() 354 for (Instruction& inst : module_->annotations()) { in AnalyzeDecorations() 389 IRContext* ctx = module_->context(); in AddDecoration() 511 auto context = module_->context(); in CloneDecorations() 514 std::unique_ptr<Instruction> new_inst(inst->Clone(module_->context())); in CloneDecorations() 516 module_->AddAnnotationInst(std::move(new_inst)); in CloneDecorations() [all …]
|
D | ir_loader.h | 49 Module* module() const { return module_; } in module() 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() 74 Module* module_; variable
|
D | ir_context.h | 98 module_(new Module()), in IRContext() 110 module_->SetContext(this); in IRContext() 117 module_(std::move(m)), in IRContext() 128 module_->SetContext(this); in IRContext() 134 Module* module() const { return module_.get(); } in module() 621 for (auto& fn : *module_) { in BuildInstrToBlockMapping() 634 for (auto& fn : *module_) { in BuildIdToFuncMapping() 764 std::unique_ptr<Module> module_; variable 888 return module_->annotations(); in annotations() 892 return ((const Module*)module_.get())->annotations(); in annotations() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | ir_loader.cpp | 36 module_(m), in IrLoader() 150 module_->AddFunction(std::move(function_)); in AddInstruction() 183 module_->AddCapability(std::move(spv_inst)); in AddInstruction() 185 module_->AddExtension(std::move(spv_inst)); in AddInstruction() 187 module_->AddExtInstImport(std::move(spv_inst)); in AddInstruction() 189 module_->SetMemoryModel(std::move(spv_inst)); in AddInstruction() 191 module_->AddEntryPoint(std::move(spv_inst)); in AddInstruction() 193 module_->AddExecutionMode(std::move(spv_inst)); in AddInstruction() 195 module_->AddDebug1Inst(std::move(spv_inst)); in AddInstruction() 197 module_->AddDebug2Inst(std::move(spv_inst)); in AddInstruction() [all …]
|
D | decoration_manager.cpp | 65 auto context = module_->context(); in RemoveDecorationsFrom() 140 decoration->Clone(module_->context())); in RemoveDecorationsFrom() 142 module_->AddAnnotationInst(std::move(new_inst)); in RemoveDecorationsFrom() 143 auto decoration_iter = --module_->annotation_end(); in RemoveDecorationsFrom() 351 if (!module_) return; in AnalyzeDecorations() 354 for (Instruction& inst : module_->annotations()) { in AnalyzeDecorations() 389 IRContext* ctx = module_->context(); in AddDecoration() 511 auto context = module_->context(); in CloneDecorations() 514 std::unique_ptr<Instruction> new_inst(inst->Clone(module_->context())); in CloneDecorations() 516 module_->AddAnnotationInst(std::move(new_inst)); in CloneDecorations() [all …]
|
D | ir_loader.h | 49 Module* module() const { return module_; } in module() 54 module_->SetHeader({magic, version, generator, bound, reserved}); in SetModuleHeader() 74 Module* module_; variable
|
D | ir_context.h | 98 module_(new Module()), in IRContext() 110 module_->SetContext(this); in IRContext() 117 module_(std::move(m)), in IRContext() 128 module_->SetContext(this); in IRContext() 134 Module* module() const { return module_.get(); } in module() 621 for (auto& fn : *module_) { in BuildInstrToBlockMapping() 634 for (auto& fn : *module_) { in BuildIdToFuncMapping() 764 std::unique_ptr<Module> module_; variable 888 return module_->annotations(); in annotations() 892 return ((const Module*)module_.get())->annotations(); in annotations() [all …]
|
/third_party/boost/boost/beast/_experimental/unit_test/ |
D | suite_info.hpp | 30 std::string module_; member in boost::beast::unit_test::suite_info 43 , module_(std::move(module)) in suite_info() 59 return module_; in module() 79 return library_ + "." + module_ + "." + name_; in full_name() 94 std::tie(lhs.library_, lhs.module_, lhs.name_) < in operator <() 95 std::tie(rhs.library_, rhs.module_, rhs.name_); in operator <()
|
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/ |
D | suite_info.hpp | 30 std::string module_; member in boost::beast::unit_test::suite_info 43 , module_(std::move(module)) in suite_info() 59 return module_; in module() 79 return library_ + "." + module_ + "." + name_; in full_name() 94 std::tie(lhs.library_, lhs.module_, lhs.name_) < in operator <() 95 std::tie(rhs.library_, rhs.module_, rhs.name_); in operator <()
|
/third_party/mindspore/mindspore/ccsrc/debug/rdr/ |
D | base_recorder.h | 31 BaseRecorder() : module_(""), name_(""), directory_(""), filename_(""), timestamp_("") {} in BaseRecorder() 32 …BaseRecorder(const std::string &module, const std::string &name) : module_(module), name_(name), f… in BaseRecorder() 41 std::string err_msg = module_ + ":" + name_ + " set filename failed."; in BaseRecorder() 57 std::string GetModule() const { return module_; } in GetModule() 66 std::string module_;
|
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/ |
D | vm.hpp | 89 return module_; in module() 99 module_->dump(); in print_assembler() 104 llvm::Function* callee = module_->getFunction(name); in get_function() 115 llvm::Module* module_; member in client::vmachine
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/gpu/ |
D | akg_gpu_kernel_mod.h | 30 CUmodule module_; member 33 : func_addr_(funcAddr), module_(module), thread_info_(thread_info) {} in GpuKernelMeta() 42 CUresult ret = cuModuleUnload(iter->second->module_); in ~GpuKernelManager()
|