Home
last modified time | relevance | path

Searched refs:IRContext (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_context.h49 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 …]
Dsimplification_pass.h31 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()
Dlocal_redundancy_elimination.h39 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()
Dreduce_load_size.h34 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()
Dprivate_to_local_pass.h33 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()
Ddead_insert_elim_pass.h43 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()
Dprocess_lines_pass.h49 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/
Dir_context.h49 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 …]
Dsimplification_pass.h31 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()
Dreduce_load_size.h34 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()
Dlocal_redundancy_elimination.h39 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()
Dprivate_to_local_pass.h33 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()
Dcode_sink.h49 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()
Dstrip_reflect_info_pass.h32 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()
Ddead_insert_elim_pass.h43 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()
Dprocess_lines_pass.h49 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()
Dccp_pass.h38 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()
Dcombine_access_chains.h31 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()
Dloop_unroller.h33 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()
Dblock_merge_pass.h43 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()
Dvector_dce.h52 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/
Dir_context_test.cpp31 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 …]
Dinstruction_test.cpp51 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/
Dir_context_test.cpp31 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 …]
Dinstruction_test.cpp51 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 …]

12345678910>>...13