source: icGREP/icgrep-devel/icgrep/IDISA/idisa_i64_builder.h @ 5217

Last change on this file since 5217 was 5217, checked in by nmedfort, 2 years ago

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File size: 878 bytes
Line 
1#ifndef IDISA_I64_BUILDER_H
2#define IDISA_I64_BUILDER_H
3
4/*
5 *  Copyright (c) 2015 International Characters.
6 *  This software is licensed to the public under the Open Software License 3.0.
7 *  icgrep is a trademark of International Characters.
8 */
9#include <llvm/IR/Module.h>
10#include <llvm/IR/Constant.h>
11#include <llvm/IR/Type.h>
12#include <llvm/IR/Value.h>
13#include <IDISA/idisa_builder.h>
14
15using namespace llvm;
16
17namespace IDISA {
18
19class IDISA_I64_Builder : public IDISA_Builder {
20public:
21 
22    IDISA_I64_Builder(Module * m, unsigned archBitWidth, unsigned bitBlockWidth = 64, unsigned stride = 64)
23    : IDISA_Builder(m, archBitWidth, bitBlockWidth, stride) {
24    } 
25
26    Value * hsimd_packh(unsigned fw, Value * a, Value * b) override;
27    Value * hsimd_packl(unsigned fw, Value * a, Value * b) override;
28    ~IDISA_I64_Builder() {}
29
30};
31
32}
33
34#endif // IDISA_I64_BUILDER_H
Note: See TracBrowser for help on using the repository browser.