search for: preservenam

Displaying 9 results from an estimated 9 matches for "preservenam".

Did you mean: preservenames
2010 Nov 17
2
[LLVMdev] Missing :CreateFNeg() in NoFolder.h
Hi, Just to report that when I tried to compile some code with a NoFolder given as template arg to my IRBuilder, the compiler complained with: In file included from lang_3-llvm.cxx:33: /usr/lib/llvm-2.8/include/llvm/Support/IRBuilder.h: In member function ‘llvm::Value* llvm::IRBuilder<preserveNames, T, Inserter>::CreateFNeg (llvm::Value*, const llvm::Twine&) [with bool preserveNames = true, T = llvm::NoFolder, Inserter = llvm::IRBuilderDefaultInserter<true>]’: ... I just added Value *CreateFNeg(Constant *C) const { return BinaryOperator::CreateFNeg(C); } amongst...
2009 Jan 21
0
[LLVMdev] Load from abs address generated bad code on LLVM 2.4
...ine->getGlobalValueAtAddress(&p); if (vv) { Value *tmp = builder.CreateLoad(vv); results in tut4.cpp:55: error: invalid conversion from 'const llvm::Value*' to 'llvm::Value*' tut4.cpp:55: error: initializing argument 1 of 'llvm::LoadInst* llvm::IRBuilder<preserveNames, T>::CreateLoad(llvm::Value*, const char*) [with bool preserveNames = true, T = llvm::ConstantFolder]' Andrew.
2009 Jan 19
1
[LLVMdev] Load from abs address generated bad code on LLVM 2.4
Andrew Haley <aph at redhat.com> writes: > Óscar Fuentes wrote: >> The following message is a courtesy copy of an article >> that has been posted to gmane.comp.compilers.llvm.devel as well. >> >> Andrew Haley <aph at redhat.com> writes: >> >>> This is x86_64. I have a problem where an absolute memory load >>> >>> define
2017 Jan 18
10
llvm is getting slower, January edition
.... +23% 11. No data 12. r259252: AttributeSetImpl: Summarize existing function attributes in a bitset. -1% r259256: Add LoopSimplifyCFG pass. -2% 13. r262250: Enable LoopLoadElimination by default. +3% 14. r262839: Revert "Enable LoopLoadElimination by default". -3% 15. r263393: Remove PreserveNames template parameter from IRBuilder. -3% 16. r263595: Turn LoopLoadElimination on again. +3% 17. r267672: [LoopDist] Add llvm.loop.distribute.enable loop metadata. +4% 18. r268509: Do not disable completely loop unroll when optimizing for size. -34% 19. r269124: Loop unroller: set thresholds for op...
2009 Jan 19
6
[LLVMdev] Load from abs address generated bad code on LLVM 2.4
This is x86_64. I have a problem where an absolute memory load define i32 @foo() { entry: %0 = load i32* inttoptr (i64 12704196 to i32*) ; <i32> [#uses=1] ret i32 %0 } generates incorrect code on LLVM 2.4: 0x7ffff6d54010: mov 0xc1d9c4(%rip),%eax # 0x7ffff79719da 0x7ffff6d54016: retq should be 0x7ffff6d54010: mov 0xc1d9c4, %eax 0x7ffff6d54016: retq
2017 Jan 18
2
llvm is getting slower, January edition
...ibuteSetImpl: Summarize existing function attributes in a bitset. -1% >> r259256: Add LoopSimplifyCFG pass. -2% >> 13. r262250: Enable LoopLoadElimination by default. +3% >> 14. r262839: Revert "Enable LoopLoadElimination by default". -3% >> 15. r263393: Remove PreserveNames template parameter from IRBuilder. -3% >> 16. r263595: Turn LoopLoadElimination on again. +3% >> 17. r267672: [LoopDist] Add llvm.loop.distribute.enable loop metadata. +4% >> 18. r268509: Do not disable completely loop unroll when optimizing for size. -34% >> 19. r269124:...
2017 Jan 20
2
llvm is getting slower, January edition
...Impl: Summarize existing function attributes in > a bitset. -1% > > r259256: Add LoopSimplifyCFG pass. -2% > > 13. r262250: Enable LoopLoadElimination by default. +3% > > 14. r262839: Revert "Enable LoopLoadElimination by default". -3% > > 15. r263393: Remove PreserveNames template parameter from IRBuilder. -3% > > 16. r263595: Turn LoopLoadElimination on again. +3% > > 17. r267672: [LoopDist] Add llvm.loop.distribute.enable loop metadata. > +4% > > 18. r268509: Do not disable completely loop unroll when optimizing for > size. -34% > >...
2008 Sep 21
0
[LLVMdev] Has anyone sucessfully compile the llvm code using visual
...9;llvm::IRBuilder' : use of class template requires template argument list". > ---------->static IRBuilder Builder; try static IRBuilder<> Builder; > I went to the definition of the IRBuilder object and found the template > declaration was:" > template <bool preserveNames=true, typename T = ConstantFolder> > class IRBuilder{ > ....} > " > It seems that the class has default parameters for the template, how could > this error happen? > > Thank you very much for any advise. Good luck. -- Oscar
2008 Sep 21
3
[LLVMdev] Has anyone sucessfully compile the llvm code using visual
Thank you very much for your reply. However, my question is not completely solved. I svned the latest version of the llvm. After I open in the visual studio 2005, the building errors are still there and there was not any .exe executable file output. I set the Fibonacci project under the solution as my startup project and issue the debug-run command. However, the vs 2005 just prompted me that the