mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-22 11:40:05 +00:00
parent
0a2ee65f57
commit
c26866ee74
@ -40,6 +40,15 @@ class CopyPropagateArrays : public MemPass {
|
||||
const char* name() const override { return "copy-propagate-arrays"; }
|
||||
Status Process(ir::IRContext*) override;
|
||||
|
||||
ir::IRContext::Analysis GetPreservedAnalyses() override {
|
||||
return ir::IRContext::kAnalysisDefUse | ir::IRContext::kAnalysisCFG |
|
||||
ir::IRContext::kAnalysisInstrToBlockMapping |
|
||||
ir::IRContext::kAnalysisLoopAnalysis |
|
||||
ir::IRContext::kAnalysisDecorations |
|
||||
ir::IRContext::kAnalysisDominatorAnalysis |
|
||||
ir::IRContext::kAnalysisNameMap;
|
||||
}
|
||||
|
||||
private:
|
||||
// The class used to identify a particular memory object. This memory object
|
||||
// will be owned by a particular variable, meaning that the memory is part of
|
||||
|
Loading…
Reference in New Issue
Block a user