My Project
Public Member Functions | List of all members
mlir::SimpleObjectCache Class Reference

A simple object cache following Lang's LLJITWithObjectCache example. More...

#include <ExecutionEngine.h>

Inheritance diagram for mlir::SimpleObjectCache:
Inheritance graph
[legend]
Collaboration diagram for mlir::SimpleObjectCache:
Collaboration graph
[legend]

Public Member Functions

void notifyObjectCompiled (const llvm::Module *M, llvm::MemoryBufferRef ObjBuffer) override
 
std::unique_ptr< llvm::MemoryBuffer > getObject (const llvm::Module *M) override
 
void dumpToObjectFile (StringRef filename)
 Dump cached object to output file filename. More...
 

Detailed Description

A simple object cache following Lang's LLJITWithObjectCache example.

Member Function Documentation

◆ dumpToObjectFile()

void SimpleObjectCache::dumpToObjectFile ( StringRef  filename)

Dump cached object to output file filename.

◆ getObject()

std::unique_ptr< MemoryBuffer > SimpleObjectCache::getObject ( const llvm::Module *  M)
override

◆ notifyObjectCompiled()

void SimpleObjectCache::notifyObjectCompiled ( const llvm::Module *  M,
llvm::MemoryBufferRef  ObjBuffer 
)
override

The documentation for this class was generated from the following files: