Displaying 2 results from an estimated 2 matches for "functiondupl".
Did you mean:
functiondecl
2017 Jun 08
4
DICompileUnit duplication in LLVM 4.0.0?
...9; failed.
Pass implementation:
#define DEBUG_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"...
2017 Jun 08
2
DICompileUnit duplication in LLVM 4.0.0?
...gt;> #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 S...