LLVM
8.0.1
|
#include "llvm/FuzzMutate/IRMutator.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/FuzzMutate/Operations.h"
#include "llvm/FuzzMutate/Random.h"
#include "llvm/FuzzMutate/RandomIRBuilder.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Transforms/Scalar/DCE.h"
Go to the source code of this file.
Functions | |
static void | createEmptyFunction (Module &M) |
static void | eliminateDeadCode (Function &F) |
|
static |
Definition at line 26 of file IRMutator.cpp.
References Context, llvm::BasicBlock::Create(), llvm::Function::Create(), llvm::ReturnInst::Create(), llvm::GlobalValue::ExternalLinkage, F(), llvm::FunctionType::get(), llvm::Module::getContext(), and llvm::Type::getVoidTy().
Referenced by llvm::IRMutationStrategy::mutate().
|
static |
Definition at line 71 of file IRMutator.cpp.
References llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::addPass(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::registerPass(), and llvm::PassManager< IRUnitT, AnalysisManagerT, ExtraArgTs >::run().
Referenced by llvm::InjectorIRStrategy::mutate(), and llvm::InstDeleterIRStrategy::mutate().