22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
llvm::Function::LinkageTypes linkageType );
llvm::Function* getOrCreateFunc( const Context& c, const builtins::Func& func );
llvm::Function* getOrCreateFunc( const Context& c, const builtins::Func& func, const string& name,
llvm::Function::LinkageTypes linkageType );
void runOptimizationPasses();
bool emitToFile( const string& filename, llvm::TargetMachine::CodeGenFileType type );
private:
struct Infos
{
Infos( const Context& c ) : context( c ) {}
const Context& context;
|
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
llvm::Function::LinkageTypes linkageType );
llvm::Function* getOrCreateFunc( const Context& c, const builtins::Func& func );
llvm::Function* getOrCreateFunc( const Context& c, const builtins::Func& func, const string& name,
llvm::Function::LinkageTypes linkageType );
void runOptimizationPasses();
bool emitToFile( const string& filename, llvm::CodeGenFileType type );
private:
struct Infos
{
Infos( const Context& c ) : context( c ) {}
const Context& context;
|