Jlm
Loading...
Searching...
No Matches
ControlOperations.hpp
Go to the documentation of this file.
1/*
2 * Copyright 2026 Nico Reißmann <nico.reissmann@gmail.com>
3 * See COPYING for terms of redistribution.
4 */
5
6#ifndef JLM_LLVM_IR_OPERATORS_CONTROLOPERATIONS_HPP
7#define JLM_LLVM_IR_OPERATORS_CONTROLOPERATIONS_HPP
8
10
11#include <optional>
12#include <vector>
13
14namespace jlm::llvm
15{
16
17std::optional<std::vector<rvsdg::Output *>>
19 const rvsdg::MatchOperation & matchOperation,
20 const std::vector<rvsdg::Output *> & operands);
21
22}
23
24#endif
Global memory state passed between functions.
std::optional< std::vector< rvsdg::Output * > > foldMatchOperationWithConstant(const rvsdg::MatchOperation &matchOperation, const std::vector< rvsdg::Output * > &operands)