//===- RandomIRBuilder.h - Utils for randomly mutation IR -------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Provides the Mutator class, which is used to mutate IR for fuzzing. // //===----------------------------------------------------------------------===// #ifndef LLVM_FUZZMUTATE_RANDOMIRBUILDER_H #define LLVM_FUZZMUTATE_RANDOMIRBUILDER_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include <random> namespace llvm { class AllocaInst; class BasicBlock; class Function; class GlobalVariable; class Instruction; class LLVMContext; class Module; class Type; class Value; namespace fuzzerop { class SourcePred; } RandomEngine; struct RandomIRBuilder { … }; } // namespace llvm #endif // LLVM_FUZZMUTATE_RANDOMIRBUILDER_H