Displaying 1 result from an estimated 1 matches for "specializefunc".
2011 Jul 06
2
[LLVMdev] First steps with LLVM and partial evaluation
...AnLLVMPass.html.
I am using LLVM 2.9 on Linux.
It seems that opt runs a verification step after each pass, which rejected the modifications my pass made. So here's the code (more or less the
original code with only slight
modififications to get things to compile with LLVM 2.9):
#include "specializeFunc.h"
#include "llvm/Function.h"
#include "llvm/Module.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/LLVMContext.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Transforms/Utils/Cloning.h"...