| 1 | //===- loop_proto_to_llvm.h - Protobuf-C++ conversion -----------*- C++ -*-===// |
| 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 | // Defines functions for converting between protobufs and LLVM IR. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #include <cstdint> |
| 14 | #include <cstddef> |
| 15 | #include <string> |
| 16 | |
| 17 | namespace clang_fuzzer { |
| 18 | class LoopFunction; |
| 19 | |
| 20 | std::string LoopFunctionToLLVMString(const LoopFunction &input); |
| 21 | std::string LoopProtoToLLVM(const uint8_t *data, size_t size); |
| 22 | } |
| 23 | |