Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3997728
dfgpass.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 8, 10:14 PM
Size
713 B
Mime Type
text/x-c++
Expires
Fri, Jul 10, 10:14 PM (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
272697
Attached To
rXR Xreate
dfgpass.h
View Options
// Data Flow Graph determination pass
#ifndef DFGPASS_H
#define DFGPASS_H
#include "abstractpass.h"
#include "clasplayer.h"
namespace xreate {
class ClaspLayer;
class DFGPass : public AbstractPass<SymbolNode> {
public:
SymbolNode process(CodeScope* scope, PassContext context, const std::string& hintBlockDecl="");
SymbolNode process(const Expression& expression, PassContext context, const std::string& varDecl="") override;
DFGPass(PassManager* manager);
void init();
void run();
void finish();
private:
struct
{
DFAGraph graph;
} __context;
std::map<Operator, Expression> __signatures; //DFA data for particular operators
ClaspLayer* clasp;
};
};
#endif
Event Timeline
Log In to Comment