search for: clonefunctioninfo

Displaying 1 result from an estimated 1 matches for "clonefunctioninfo".

2011 Jul 06
2
[LLVMdev] First steps with LLVM and partial evaluation
...lvm/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" using namespace std; using namespace llvm; static Function *cloneFunctionInfo(const Function *F, ValueToValueMapTy& ValueMap) { vector<const Type*> ArgTypes; // The user might be deleting arguments to the function by specifying them in // the ValueMap. If so, we need to not add the arguments to the arg ty vector...