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

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

Restructuring work for the Driver classes. Start of work to eliminate the memory leaks with the ExecutionEngine?. Replaced custom AlignedMalloc? with backend call to std::aligned_malloc. Salvaged some work on DistributionPass? for reevaluation.

File size: 849 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 <IR_Gen/idisa_builder.h>
10
11namespace IDISA {
12
13class IDISA_I64_Builder : public virtual IDISA_Builder {
14public:
15 
16    IDISA_I64_Builder(llvm::LLVMContext & C, unsigned archBitWidth, unsigned bitBlockWidth, unsigned stride)
17    : IDISA_Builder(C, archBitWidth, bitBlockWidth, stride) {
18
19    } 
20
21    virtual std::string getBuilderUniqueName() override;
22
23    llvm::Value * hsimd_packh(unsigned fw, llvm::Value * a, llvm::Value * b) override;
24    llvm::Value * hsimd_packl(unsigned fw, llvm::Value * a, llvm::Value * b) override;
25    ~IDISA_I64_Builder() {}
26
27};
28
29}
30
31#endif // IDISA_I64_BUILDER_H
Note: See TracBrowser for help on using the repository browser.