Displaying 2 results from an estimated 2 matches for "initializefunctionduplicationpass".
2017 Jun 08
4
DICompileUnit duplication in LLVM 4.0.0?
...BUG_TYPE "dupl"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include <vector>
using namespace llvm;
struct FunctionDuplication;
namespace llvm {
void initializeFunctionDuplicationPass(PassRegistry &);
}
struct FunctionDuplication : public ModulePass {
static char ID;
FunctionDuplication() : ModulePass(ID) {}
virtual StringRef getPassName() const override {
return "Duplicate every function";
}
virtual void getAnalysisUsage(AnalysisUsage &) const...
2017 Jun 08
2
DICompileUnit duplication in LLVM 4.0.0?
...Support/Debug.h"
>> #include "llvm/Support/raw_ostream.h"
>> #include "llvm/Transforms/Utils/Cloning.h"
>> #include <vector>
>> using namespace llvm;
>>
>> struct FunctionDuplication;
>>
>> namespace llvm {
>> void initializeFunctionDuplicationPass(PassRegistry &);
>> }
>>
>> struct FunctionDuplication : public ModulePass {
>> static char ID;
>> FunctionDuplication() : ModulePass(ID) {}
>>
>> virtual StringRef getPassName() const override {
>> return "Duplicate every function&...