Jlm
Loading...
Searching...
No Matches
instrument-ref.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_BACKEND_HLS_RVSDG2RHLS_INSTRUMENT_REF_HPP
7#define JLM_BACKEND_HLS_RVSDG2RHLS_INSTRUMENT_REF_HPP
8
10#include <jlm/rvsdg/region.hpp>
11
12namespace jlm::hls
13{
14
15void
16instrument_ref(llvm::LlvmRvsdgModule & rm);
17
18void
20 rvsdg::Region * region,
23 const std::shared_ptr<const rvsdg::FunctionType> & loadFunctionType,
25 const std::shared_ptr<const rvsdg::FunctionType> & storeFunctionType,
27 const std::shared_ptr<const rvsdg::FunctionType> & allocaFunctionType);
28
29} // namespace jlm::hls
30
31#endif // JLM_BACKEND_HLS_RVSDG2RHLS_INSTRUMENT_REF_HPP
Represent acyclic RVSDG subgraphs.
Definition region.hpp:213
void instrument_ref(llvm::LlvmRvsdgModule &rm)
NodeType * TryGetOwnerNode(const rvsdg::Input &input) noexcept
Checks if this is an input to a node of specified type.
Definition node.hpp:872