CIRCT  19.0.0git
Common.cpp
Go to the documentation of this file.
1 //===- Common.cpp ---------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // DO NOT EDIT!
10 // This file is distributed as part of an ESI package. The source for this file
11 // should always be modified within CIRCT (lib/dialect/ESI/runtime/cpp/).
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #include "esi/Common.h"
16 
17 #include <iostream>
18 #include <sstream>
19 
20 std::string esi::toHex(uint32_t val) {
21  std::ostringstream ss;
22  ss << std::hex << val;
23  return ss.str();
24 }
std::string toHex(uint32_t val)
Definition: Common.cpp:20