Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995200
llvmlayer.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
Mon, Jul 6, 7:41 PM
Size
592 B
Mime Type
text/x-c++
Expires
Wed, Jul 8, 7:41 PM (2 h, 54 m)
Engine
blob
Format
Raw Data
Handle
271325
Attached To
rXR Xreate
llvmlayer.h
View Options
#ifndef LLVMLAYER_H
#define LLVMLAYER_H
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/PassManager.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/Verifier.h"
#include "llvm/IR/IRPrintingPasses.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LLVMContext.h"
//#include "ast.h"
class LLVMLayer
{
public:
LLVMLayer();
llvm::Module* module;
llvm::IRBuilder<> builder;
void moveToGarbage(void* o);
llvm::Value* compile() const;
private:
std::vector<void*> __garbage;
};
#endif // LLVMLAYER_H
Event Timeline
Log In to Comment