search for: divcomp

Displaying 2 results from an estimated 2 matches for "divcomp".

2009 Nov 18
2
[LLVMdev] Strange error using CallInst constructor
...clone,clone->arg_begin(),clone->arg_end())); } Compiling generates the following error: error: no matching function for call to ‘llvm::CallInst::CallInst(llvm::Function*&, llvm::ilist_iterator<llvm::Argument>, llvm::ilist_iterator<llvm::Argument>)’ /media/work/cpp-workspace/DivComp/include/llvm/Instructions.h:985: note: candidates are: llvm::CallInst::CallInst(llvm::Value*, const llvm::Twine&, llvm::BasicBlock*) /media/work/cpp-workspace/DivComp/include/llvm/Instructions.h:984: note: llvm::CallInst::CallInst(llvm::Value*, const llvm::Twine&, llvm::Instruction*) /m...
2009 Nov 19
0
[LLVMdev] Strange error using CallInst constructor
...r ii(I); >   CallInst* call = > CallInst::Create(clone,clone->arg_begin(),clone->arg_end()); // this is line > #70 >   ReplaceInstWithInst(I->getParent()->getInstList(),ii,call); > } > > This gives me an even more exotic compile error: > /media/work/cpp-workspace/DivComp/include/llvm/ADT/ilist.h: In static member > function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::Value*, > InputIterator, InputIterator, const llvm::Twine&, llvm::Instruction*) [with > InputIterator = llvm::ilist_iterator<llvm::Argument>]’: > /media/work/cpp-workspac...