Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/object_cache.h

    r5435 r5440  
    1818namespace llvm { class MemoryBufferRef; }
    1919namespace kernel { class Kernel; }
     20namespace kernel { class KernelBuilder; }
    2021
    2122// The ParabixObjectCache is a two-level cache compatible with the requirements
     
    4041    ParabixObjectCache();
    4142    ParabixObjectCache(const std::string & dir);
    42     bool loadCachedObjectFile(kernel::Kernel * const kernel);
     43    bool loadCachedObjectFile(const std::unique_ptr<kernel::KernelBuilder> & idb, kernel::Kernel * const kernel);
    4344    void notifyObjectCompiled(const llvm::Module *M, llvm::MemoryBufferRef Obj) override;
    4445    std::unique_ptr<llvm::MemoryBuffer> getObject(const llvm::Module * M) override;
Note: See TracChangeset for help on using the changeset viewer.