/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ir_context.h | 49 class IRContext { 90 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function 106 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function 122 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext() 728 inline IRContext::Analysis operator|(IRContext::Analysis lhs, 729 IRContext::Analysis rhs) { 730 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) | 734 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs, 735 IRContext::Analysis rhs) { 736 lhs = static_cast<IRContext::Analysis>(static_cast<int>(lhs) | [all …]
|
D | simplification_pass.h | 31 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 32 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 33 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 34 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 35 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 36 IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
D | local_redundancy_elimination.h | 39 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 40 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 41 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 42 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 43 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 44 IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
D | reduce_load_size.h | 34 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 35 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 36 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 37 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses() 38 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 39 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
D | private_to_local_pass.h | 33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 36 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 37 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 38 IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
D | dead_insert_elim_pass.h | 43 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 44 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 45 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 46 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 47 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 48 IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
D | process_lines_pass.h | 49 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 50 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 51 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 52 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 53 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 54 IRContext::kAnalysisNameMap; in GetPreservedAnalyses()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ir_context.h | 49 class IRContext { 92 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function 108 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function 124 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext() 746 inline IRContext::Analysis operator|(IRContext::Analysis lhs, 747 IRContext::Analysis rhs) { 748 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) | 752 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs, 753 IRContext::Analysis rhs) { 754 lhs = static_cast<IRContext::Analysis>(static_cast<int>(lhs) | [all …]
|
D | simplification_pass.h | 31 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 32 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 33 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 34 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 35 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 36 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 37 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | reduce_load_size.h | 34 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 35 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 36 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 37 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses() 38 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 39 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses() 40 IRContext::kAnalysisConstants | IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | local_redundancy_elimination.h | 39 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 40 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 41 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 42 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 43 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 44 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 45 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | private_to_local_pass.h | 33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 36 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 37 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 38 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 39 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | code_sink.h | 49 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 50 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 51 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 52 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses() 53 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 54 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses() 55 IRContext::kAnalysisConstants | IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | strip_reflect_info_pass.h | 32 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 33 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 34 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses() 35 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 36 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses() 37 IRContext::kAnalysisConstants | IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | dead_insert_elim_pass.h | 43 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 44 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 45 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 46 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 47 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 48 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 49 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | process_lines_pass.h | 49 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 50 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 51 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 52 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 53 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 54 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 55 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | ccp_pass.h | 38 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 39 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 40 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 41 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 42 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 43 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 44 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | combine_access_chains.h | 31 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 32 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 33 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 34 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 35 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses() 36 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 37 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | loop_unroller.h | 33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 36 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 37 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 38 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | block_merge_pass.h | 43 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 44 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses() 45 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 46 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses() 47 IRContext::kAnalysisNameMap | IRContext::kAnalysisConstants | in GetPreservedAnalyses() 48 IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
D | vector_dce.h | 52 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses() 53 return IRContext::kAnalysisDefUse | IRContext::kAnalysisCFG | in GetPreservedAnalyses() 54 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses() 55 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisDecorations | in GetPreservedAnalyses() 56 IRContext::kAnalysisDominatorAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses() 57 IRContext::kAnalysisConstants | IRContext::kAnalysisTypes; in GetPreservedAnalyses()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | ir_context_test.cpp | 31 using Analysis = IRContext::Analysis; 54 return Analysis(IRContext::kAnalysisEnd - 1); in GetPreservedAnalyses() 68 Analysis GetPreservedAnalyses() override { return IRContext::kAnalysisBegin; } in GetPreservedAnalyses() 78 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 81 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F() 90 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 93 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F() 94 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F() 104 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 107 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F() [all …]
|
D | instruction_test.cpp | 51 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 132 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 143 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 151 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 158 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 185 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 216 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 229 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 242 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 249 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | ir_context_test.cpp | 31 using Analysis = IRContext::Analysis; 54 return Analysis(IRContext::kAnalysisEnd - 1); in GetPreservedAnalyses() 68 Analysis GetPreservedAnalyses() override { return IRContext::kAnalysisBegin; } in GetPreservedAnalyses() 78 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 81 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F() 90 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 93 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F() 94 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F() 104 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F() 107 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F() [all …]
|
D | instruction_test.cpp | 51 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 132 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 143 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 151 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 158 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 185 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 216 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 229 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 242 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() 249 IRContext context(SPV_ENV_UNIVERSAL_1_2, nullptr); in TEST() [all …]
|