Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F5331012
latecontextcompiler.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
Sat, Nov 21, 12:10 AM
Size
970 B
Mime Type
text/x-c++
Expires
Mon, Nov 23, 12:10 AM (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
310646
Attached To
rXR Xreate
latecontextcompiler.h
View Options
/*
* LateContext.h
*
* Created on: Jan 8, 2016
* Author: pgess
*/
#ifndef SRC_COMPILATION_LATECONTEXTCOMPILER_H_
#define SRC_COMPILATION_LATECONTEXTCOMPILER_H_
#include "ast.h"
namespace llvm {
class Value;
class Function;
}
namespace xreate {
typedef unsigned int ScopePacked;
class CompilePass;
//SECTIONTAG late-context compilation logic wrt late context
class LateContextCompiler{
public:
LateContextCompiler(const std::string& function, CompilePass* compilePass);
~LateContextCompiler();
llvm::Value* compileCheckContext(const Expression& e);
llvm::Value* compileArgument(const std::string& callee, ScopePacked scopeOuter);
llvm::Value* findFunction(const std::string name, ScopePacked scopeOuter, llvm::Function* functionOuter);
size_t getFunctionDomainSize() const;
llvm::Value* raw = nullptr;
private:
std::string functionName;
CompilePass* pass;
};
} /* namespace xreate */
#endif /* SRC_COMPILATION_LATECONTEXTCOMPILER_H_ */
Event Timeline
Log In to Comment