blob: b67d16966059a5af2d12aa2244eb315242e26aff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef WILLOW_IR_IR_BUILDER_H
#define WILLOW_IR_IR_BUILDER_H
#include <willow/IR/BasicBlock.h>
#include <willow/IR/Function.h>
#include <willow/IR/Instruction.h>
namespace willow {
/// Helper for constructing and modifiying IR.
class IRBuilder {
BasicBlock *block = nullptr;
public:
explicit IRBuilder(BasicBlock *block) : block(block) {}
};
} // namespace willow
#endif // WILLOW_IR_IR_BUILDER_H
|