source: icGREP/icgrep-devel/icgrep/IR_Gen/idisa_i64_builder.h @ 5238

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

IR_Gen subdirectory for all IR generation utility functions

File size: 879 bytes
RevLine 
[4944]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>
[5238]13#include <IR_Gen/idisa_builder.h>
[4944]14
15using namespace llvm;
16
17namespace IDISA {
18
19class IDISA_I64_Builder : public IDISA_Builder {
20public:
21 
[5217]22    IDISA_I64_Builder(Module * m, unsigned archBitWidth, unsigned bitBlockWidth = 64, unsigned stride = 64)
23    : IDISA_Builder(m, archBitWidth, bitBlockWidth, stride) {
[4944]24    } 
[5217]25
[4944]26    Value * hsimd_packh(unsigned fw, Value * a, Value * b) override;
27    Value * hsimd_packl(unsigned fw, Value * a, Value * b) override;
[5217]28    ~IDISA_I64_Builder() {}
[4944]29
30};
31
32}
33
34#endif // IDISA_I64_BUILDER_H
Note: See TracBrowser for help on using the repository browser.