source: icGREP/icgrep-devel/icgrep/kernels/s2p_kernel.h @ 5403

Last change on this file since 5403 was 5392, checked in by cameron, 2 years ago

Kernel signatures for object cache

File size: 662 bytes
RevLine 
[4939]1/*
[4959]2 *  Copyright (c) 2016 International Characters.
[4939]3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef S2P_KERNEL_H
6#define S2P_KERNEL_H
7
[5260]8#include "kernel.h"  // for KernelBuilder
9namespace IDISA { class IDISA_Builder; }  // lines 14-14
10namespace llvm { class Value; }
[5051]11
[4974]12namespace kernel {
[4959]13
[5283]14class S2PKernel : public BlockOrientedKernel {
[5285]15public:   
[5246]16    S2PKernel(IDISA::IDISA_Builder * builder);
[5392]17    bool moduleIDisSignature() override {return true;}
[5246]18    virtual ~S2PKernel() {}
[5392]19protected:
[5297]20    void generateDoBlockMethod() override;
21    void generateFinalBlockMethod(llvm::Value * remainingBytes) override;
[5063]22};
[5051]23
[4974]24}
[4939]25#endif
Note: See TracBrowser for help on using the repository browser.