search for: constantprop

Displaying 12 results from an estimated 12 matches for "constantprop".

Did you mean: constantpool
2011 May 03
1
[LLVMdev] Error compiling ConstantProp.cpp
Hi 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*) I am using llvm-2.6 and the ConstProp.cpp file is http://llvm.org/docs/doxygen/html/ConstantProp_8cpp_s...
2011 Apr 17
2
[LLVMdev] Error compiling ConstantProp.cpp
I am using llvm-2.6 and the ConstProp.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&...
2011 Apr 17
0
[LLVMdev] Error compiling ConstantProp.cpp
On Sat, Apr 16, 2011 at 5:27 PM, tarun agrawal <tarun at cse.iitb.ac.in> wrote: > I am using llvm-2.6  and the ConstProp.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::...
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: <http://l...
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 complete error output and the...
2020 Jul 28
2
Removing IPConstantPropagation.cpp
Should ConstantProp.cpp also be removed? It doesn't look like it's been worked on in over 10 years, and aside from check-llvm lit tests, the only use is in llvm/unittests/ExecutionEngine/MCJIT/MCJITAPITest.cpp via LLVMAddConstantPropagationPass. (it hasn't been ported to the new pass manager which is why I...
2020 Jul 27
5
Removing IPConstantPropagation.cpp
Hi, As far as I know, the ipconstprop pass has not been actively used in years and ipsccp has been used instead. This has the potential for confusion and sometimes leads people to spend time finding & reporting bugs as well as updating it to work with the latest API changes. If there are people actively using it, I would love to hear. If no-ones using it, I’d propose to remove the dead
2017 Jan 02
2
SCCP is not always correct in presence of undef (+ proposed fix)
On Mon, Jan 2, 2017 at 2:24 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > Hi Davide, > > On Sat, Dec 31, 2016 at 4:19 AM, Davide Italiano <davide at freebsd.org> wrote: >> Although originally I wasn't, I'm increasingly convinced this is the >> right path forward (at least in the beginning), i.e. strip undef >> handling entirely. I tried
2014 Sep 19
2
[LLVMdev] More careful treatment of floating point exceptions
Hi Sanjay, Thanks, I saw this flag and it's definitely should be considered, but it appeared to me to be static characteristic of target platform. I'm not sure how appropriate it would be to change its value from a front-end. It says "Has", while optional flag would rather say "Uses" meaning that implementation cares about floating point exceptions. Regards, Sergey
2014 Sep 25
2
[LLVMdev] More careful treatment of floating point exceptions
...const TargetLibraryInfo *TLI, + bool HonorFPExceptions) { bool MadeIRChange = false; SmallVector<BasicBlock*, 256> Worklist; Worklist.push_back(BB); @@ -2662,7 +2663,8 @@ static bool AddReachableCodeToWorklist(BasicBlock *BB, // ConstantProp instruction if trivially constant. if (!Inst->use_empty() && isa<Constant>(Inst->getOperand(0))) - if (Constant *C = ConstantFoldInstruction(Inst, DL, TLI)) { + if (Constant *C = ConstantFoldInstruction(Inst, DL, TLI, +...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...> RelativePath="..\..\lib\Transforms\Ipo\InlineSimple.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\Internalize.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\IPConstantPropagation.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\LoopExtractor.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\LowerSetJmp.cpp"> > </File> > &l...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ase+Asserts build llvm[3]: Compiling X86FloatingPoint.cpp for Release+Asserts build llvm[3]: Compiling ConstantHoisting.cpp for Release+Asserts build llvm[3]: Compiling SelectionDAGDumper.cpp for Release+Asserts build llvm[2]: Compiling RegionPrinter.cpp for Release+Asserts build llvm[3]: Compiling ConstantProp.cpp for Release+Asserts build llvm[3]: Compiling X86FrameLowering.cpp for Release+Asserts build llvm[3]: Compiling SelectionDAGISel.cpp for Release+Asserts build llvm[2]: Compiling ScalarEvolution.cpp for Release+Asserts build llvm[3]: Compiling CorrelatedValuePropagation.cpp for Release+Asserts bu...