search for: constantpropagation

Displaying 6 results from an estimated 6 matches for "constantpropagation".

Did you mean: ipconstantpropagation
2011 Apr 17
2
[LLVMdev] Error compiling ConstantProp.cpp
...file is http://llvm.org/docs/doxygen/html/ConstantProp_8cpp_source.html and the exact error message is: llvm[0]: Compiling ConstantProp.cpp for Release build (PIC) /home/tarun/Desktop/compiler/LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h: In member function ‘virtual bool<unnamed>::ConstantPropagation::runOnFunction(llvm::Function&)’: /home/tarun/Desktop/compiler/LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h:32: error: too few arguments to function ‘llvm::Constant* llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const llvm::TargetData*)’ /home/tarun/Desktop/...
2011 May 03
1
[LLVMdev] Error compiling ConstantProp.cpp
...ile is http://llvm.org/docs/doxygen/html/ConstantProp_8cpp_source.html and the exact error message is: llvm[0]: Compiling ConstantProp.cpp for Release build (PIC) /home/tarun/Desktop/compiler/ LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h: In member function ‘virtual bool<unnamed>::ConstantPropagation::runOnFunction(llvm::Function&)’: /home/tarun/Desktop/compiler/LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h:32: error: too few arguments to function ‘llvm::Constant* llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const llvm::TargetData*)’ /home/tarun/Desktop/...
2011 Apr 17
0
[LLVMdev] Error compiling ConstantProp.cpp
...gen/html/ConstantProp_8cpp_source.html > > and the exact error message is: > > llvm[0]: Compiling ConstantProp.cpp for Release build  (PIC) > /home/tarun/Desktop/compiler/LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h: > In member function ‘virtual > bool<unnamed>::ConstantPropagation::runOnFunction(llvm::Function&)’: > /home/tarun/Desktop/compiler/LLVM/llvm-2.6/include/llvm/Analysis/ConstantFolding.h:32: > error: too few arguments to function ‘llvm::Constant* > llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const > llvm::TargetData*)’...
2010 Feb 26
0
[LLVMdev] a question of the simple constant propagation pass
...when it is popped from the list. Could the loop (line 73-75) insert this I into the worklist again? In the case where 'I' can be constant-folding, Line 80 says 'I' is a dead instruction. Can 'I' appears in its def-use chain? But I was probably confused. Jianzhou 57 bool ConstantPropagation::runOnFunction(Function &F) { 58 // Initialize the worklist to all of the instructions ready to process... 59 std::set<Instruction*> WorkList; 60 for(inst_iterator i = inst_begin(F), e = inst_end(F); i != e; ++i) { 61 WorkList.insert(&*i); 62 } 63 bool Changed =...
2011 Apr 17
2
[LLVMdev] Error compiling ConstantProp.cpp
While compiling the ConstantProp.cpp I am getting the following error. error: too few arguments to function ‘llvm::Constant* llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const llvm::TargetData*) Regards Tarun -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Apr 17
0
[LLVMdev] Error compiling ConstantProp.cpp
On Sat, Apr 16, 2011 at 5:07 PM, tarun agrawal <tarun at cse.iitb.ac.in> wrote: > While compiling the ConstantProp.cpp I am getting the following error. > > error: too few arguments to function ‘llvm::Constant* > llvm::ConstantFoldInstruction(llvm::Instruction*, llvm::LLVMContext&, const > llvm::TargetData*) If you're reporting a build error, please include the