Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F4819323
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, Aug 24, 2:30 AM
Size
592 B
Mime Type
text/x-c++
Expires
Wed, Aug 26, 2:30 AM (14 h, 58 m)
Engine
blob
Format
Raw Data
Handle
286225
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