Ignore:
Timestamp:
Sep 7, 2017, 4:56:56 PM (21 months ago)
Author:
nmedfort
Message:

Partial check-in for avoidance of compiling Pablo/LLVM code to determine the Kernel struct type when using a cached object. Inactive RE alternation minimization check in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel.h

    r5615 r5630  
    8888
    8989    StreamPort getStreamPort(const std::string & name) const;
    90    
    91     llvm::Module * makeModule(const std::unique_ptr<KernelBuilder> & idb);
    92 
    93     llvm::Module * setModule(const std::unique_ptr<KernelBuilder> & idb, llvm::Module * const module);
     90
     91    llvm::Module * setModule(llvm::Module * const module);
     92
     93    llvm::Module * makeModule(const std::unique_ptr<kernel::KernelBuilder> & idb);
    9494
    9595    llvm::Module * getModule() const {
     
    137137    virtual ~Kernel() = 0;
    138138
    139 protected:
     139    void prepareKernel(const std::unique_ptr<KernelBuilder> & idb);
     140
     141    void prepareCachedKernel(const std::unique_ptr<KernelBuilder> & idb);
     142
     143    std::string getCacheName(const std::unique_ptr<KernelBuilder> & idb) const;
     144
     145protected:
     146
     147    virtual void addInternalKernelProperties(const std::unique_ptr<KernelBuilder> & idb) { }
    140148
    141149    // Constructor
     
    168176
    169177    void linkExternalMethods(const std::unique_ptr<kernel::KernelBuilder> &) override { }
    170 
    171     virtual void prepareKernel(const std::unique_ptr<KernelBuilder> & idb);
    172178
    173179    virtual void generateInitializeMethod(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) { }
Note: See TracChangeset for help on using the changeset viewer.