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

Last change on this file since 5255 was 5246, checked in by nmedfort, 3 years ago

Code clean up to enforce proper calling order of KernelBuilder? methods

File size: 693 bytes
Line 
1/*
2 *  Copyright (c) 2016 International Characters.
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
8#include "streamset.h"
9#include "interface.h"
10#include "kernel.h"
11
12namespace llvm { class Module; }
13
14namespace IDISA { class IDISA_Builder; }
15
16namespace kernel {
17
18class S2PKernel : public KernelBuilder {
19public:
20   
21    S2PKernel(IDISA::IDISA_Builder * builder);
22
23    virtual ~S2PKernel() {}
24       
25private:
26    void generateDoBlockLogic(Value * self, Value * blockNo) const override;
27    void generateDoBlockMethod() const override;
28    void generateFinalBlockMethod() const override;
29   
30};
31
32   
33
34}
35#endif
Note: See TracBrowser for help on using the repository browser.