Home
last modified time | relevance | path

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

12345678910>>...73

/third_party/spirv-tools/source/fuzz/
Dfuzzer_util.h40 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
49 std::unique_ptr<spvtools::opt::IRContext>* ir_context);
52 bool IsFreshId(opt::IRContext* context, uint32_t id);
56 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
60 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
69 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
77 opt::Instruction CreateUnreachableEdgeInstruction(opt::IRContext* ir_context,
91 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
98 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
103 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_util.h40 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
49 std::unique_ptr<spvtools::opt::IRContext>* ir_context);
52 bool IsFreshId(opt::IRContext* context, uint32_t id);
56 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
60 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
69 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
77 opt::Instruction CreateUnreachableEdgeInstruction(opt::IRContext* ir_context,
91 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
98 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
103 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_util.h40 using ModuleSupplier = std::function<std::unique_ptr<opt::IRContext>()>;
49 std::unique_ptr<spvtools::opt::IRContext>* ir_context);
52 bool IsFreshId(opt::IRContext* context, uint32_t id);
56 void UpdateModuleIdBound(opt::IRContext* context, uint32_t id);
60 opt::BasicBlock* MaybeFindBlock(opt::IRContext* context,
69 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
77 opt::Instruction CreateUnreachableEdgeInstruction(opt::IRContext* ir_context,
91 opt::IRContext* context, opt::BasicBlock* bb_from, opt::BasicBlock* bb_to,
98 bool BlockIsBackEdge(opt::IRContext* context, uint32_t block_id,
103 bool BlockIsInLoopContinueConstruct(opt::IRContext* context, uint32_t block_id,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinterp_fixup_pass.h36 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
37 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
38 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
39 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
40 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
41 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
42 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
43 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
44 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
45 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Damd_ext_to_khr.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
35 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
36 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
37 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
38 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
39 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
40 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
41 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
42 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Dir_context.h50 class IRContext {
94 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function
113 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function
132 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext()
849 inline IRContext::Analysis operator|(IRContext::Analysis lhs,
850 IRContext::Analysis rhs) {
851 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
855 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs,
856 IRContext::Analysis rhs) {
857 lhs = static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
[all …]
Deliminate_dead_members_pass.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses()
35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
36 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses()
37 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
38 IRContext::kAnalysisLoopAnalysis | in GetPreservedAnalyses()
39 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
40 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
41 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
42 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
[all …]
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()
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()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Damd_ext_to_khr.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
35 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
36 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
37 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
38 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
39 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
40 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
41 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
42 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Dinterp_fixup_pass.h36 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
37 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
38 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
39 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
40 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
41 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
42 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
43 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
44 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
45 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Dir_context.h50 class IRContext {
94 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function
113 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function
132 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext()
849 inline IRContext::Analysis operator|(IRContext::Analysis lhs,
850 IRContext::Analysis rhs) {
851 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
855 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs,
856 IRContext::Analysis rhs) {
857 lhs = static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
[all …]
Deliminate_dead_members_pass.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses()
35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
36 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses()
37 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
38 IRContext::kAnalysisLoopAnalysis | in GetPreservedAnalyses()
39 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
40 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
41 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
42 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
[all …]
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()
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()
/third_party/spirv-tools/source/opt/
Damd_ext_to_khr.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
35 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
36 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
37 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
38 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
39 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
40 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
41 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
42 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Dinterp_fixup_pass.h36 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
37 return IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
38 IRContext::kAnalysisDecorations | IRContext::kAnalysisCombinators | in GetPreservedAnalyses()
39 IRContext::kAnalysisCFG | IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
40 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
41 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
42 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
43 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
44 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
45 IRContext::kAnalysisBuiltinVarId | in GetPreservedAnalyses()
[all …]
Dir_context.h51 class IRContext {
95 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function
114 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function
133 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext()
866 inline IRContext::Analysis operator|(IRContext::Analysis lhs,
867 IRContext::Analysis rhs) {
868 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
872 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs,
873 IRContext::Analysis rhs) {
878 inline IRContext::Analysis operator<<(IRContext::Analysis a, int shift) {
[all …]
Deliminate_dead_members_pass.h33 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
34 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses()
35 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
36 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses()
37 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
38 IRContext::kAnalysisLoopAnalysis | in GetPreservedAnalyses()
39 IRContext::kAnalysisScalarEvolution | in GetPreservedAnalyses()
40 IRContext::kAnalysisRegisterPressure | in GetPreservedAnalyses()
41 IRContext::kAnalysisValueNumberTable | in GetPreservedAnalyses()
42 IRContext::kAnalysisStructuredCFG | in GetPreservedAnalyses()
[all …]
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()
Deliminate_dead_input_components_pass.h40 IRContext::Analysis GetPreservedAnalyses() override { in GetPreservedAnalyses()
41 return IRContext::kAnalysisDefUse | in GetPreservedAnalyses()
42 IRContext::kAnalysisInstrToBlockMapping | in GetPreservedAnalyses()
43 IRContext::kAnalysisCombinators | IRContext::kAnalysisCFG | in GetPreservedAnalyses()
44 IRContext::kAnalysisDominatorAnalysis | in GetPreservedAnalyses()
45 IRContext::kAnalysisLoopAnalysis | IRContext::kAnalysisNameMap | in GetPreservedAnalyses()
46 IRContext::kAnalysisConstants | IRContext::kAnalysisTypes; in GetPreservedAnalyses()
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()
/third_party/spirv-tools/test/opt/
Dir_context_test.cpp36 using Analysis = IRContext::Analysis;
59 return Analysis(IRContext::kAnalysisEnd - 1); in GetPreservedAnalyses()
73 Analysis GetPreservedAnalyses() override { return IRContext::kAnalysisBegin; } in GetPreservedAnalyses()
83 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
86 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F()
95 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
100 localContext.BuildInvalidAnalyses(IRContext::kAnalysisCFG | in TEST_F()
101 IRContext::kAnalysisDefUse); in TEST_F()
110 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
113 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_context_test.cpp36 using Analysis = IRContext::Analysis;
59 return Analysis(IRContext::kAnalysisEnd - 1); in GetPreservedAnalyses()
73 Analysis GetPreservedAnalyses() override { return IRContext::kAnalysisBegin; } in GetPreservedAnalyses()
83 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
86 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F()
95 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
98 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F()
99 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
112 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dir_context_test.cpp36 using Analysis = IRContext::Analysis;
59 return Analysis(IRContext::kAnalysisEnd - 1); in GetPreservedAnalyses()
73 Analysis GetPreservedAnalyses() override { return IRContext::kAnalysisBegin; } in GetPreservedAnalyses()
83 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
86 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F()
95 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
98 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F()
99 for (Analysis i = IRContext::kAnalysisBegin; i < IRContext::kAnalysisEnd; in TEST_F()
109 IRContext localContext(SPV_ENV_UNIVERSAL_1_2, std::move(module), in TEST_F()
112 Analysis built_analyses = IRContext::kAnalysisNone; in TEST_F()
[all …]

12345678910>>...73