Jlm
Loading...
Searching...
No Matches
add-prints.hpp
Go to the documentation of this file.
1/*
2 * Copyright 2021 David Metz <david.c.metz@ntnu.no>
3 * See COPYING for terms of redistribution.
4 */
5
6#ifndef JLM_HLS_BACKEND_RVSDG2RHLS_ADD_PRINTS_HPP
7#define JLM_HLS_BACKEND_RVSDG2RHLS_ADD_PRINTS_HPP
8
10#include <jlm/rvsdg/region.hpp>
11
12namespace jlm::hls
13{
14
15void
16add_prints(rvsdg::Region * region);
17
18void
19add_prints(llvm::LlvmRvsdgModule & rm);
20
21void
22convert_prints(llvm::LlvmRvsdgModule & rm);
23
24void
26 rvsdg::Region * region,
27 rvsdg::Output * printf,
28 const std::shared_ptr<const rvsdg::FunctionType> & functionType);
29
30}
31
32#endif // JLM_HLS_BACKEND_RVSDG2RHLS_ADD_PRINTS_HPP
void convert_prints(llvm::LlvmRvsdgModule &rm)
void add_prints(rvsdg::Region *region)
NodeType * TryGetOwnerNode(const rvsdg::Input &input) noexcept
Checks if this is an input to a node of specified type.
Definition node.hpp:872