search for: legacypassmanager

Displaying 20 results from an estimated 87 matches for "legacypassmanager".

2019 Aug 25
5
Illegal instruction (core dumped) LLVM 8.0
...6_64-linux-gnu/libpthread.so.0+0x12890) #5 0x00007f91524b40fe (anonymous namespace)::opcodecount::runOnFunction(llvm::Function&) /llvm-8.0.0.src/lib/Transforms/Static-Info/Static-Info.cpp:30:1 #6 0x0000000001c64464 llvm::FPPassManager::runOnFunction(llvm::Function&) /llvm-8.0.0.src/lib/IR/LegacyPassManager.cpp:1644:23 #7 0x0000000001c64845 llvm::FPPassManager::runOnModule(llvm::Module&) /llvm-8.0.0.src/lib/IR/LegacyPassManager.cpp:1679:16 #8 0x0000000001c6507b (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /llvm-8.0.0.src/lib/IR/LegacyPassManager.cpp:1744:23 #9 0x00000000...
2018 Jan 24
0
Memory leaks in LegacyPassManager depending on order of addRequired passes
<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" ><div>Hello,<br><br>I notice some strange behavior with the LegacyPassManager. I’ve added a new pass requirement of BlockFrequencyInfoWrapperPass to lib/Transforms/IPO/GlobalOpt.cpp.<br>However, depending on the order of where I add it, I see memory leak errors with LeakSanitizer.</div> <div>Having the following order shows the leak:</div> <div>...
2017 Aug 26
2
Error in generating Object Code for implemented assembly vector instructions
...:runOnMachineFunction(llvm::MachineFunction&) lib/Target/X86/X86AsmPrinter.cpp:73:3 #16 0x000000000104d441 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) lib/CodeGen/MachineFunctionPass.cpp:62:8 #17 0x00000000014766bf llvm::FPPassManager::runOnFunction(llvm::Function&) lib/IR/LegacyPassManager.cpp:1513:27 #18 0x00000000014769d5 llvm::FPPassManager::runOnModule(llvm::Module&) lib/IR/LegacyPassManager.cpp:1534:16 #19 0x000000000147716a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) lib/IR/LegacyPassManager.cpp:1590:27 #20 0x0000000001476c96 llvm::legacy::PassManag...
2016 Oct 17
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
...) c:\p\llvm\llvm\lib\target\x86\x86asmprinter.cpp:73:0 ; #6 0x01021d1b llvm::MachineFunctionPass::runOnFunction(class llvm::Function &) c:\p\llvm\llvm\lib\codegen\machinefunctionpass.cpp:64:0 ; #7 0x011a8f40 llvm::FPPassManager::runOnFunction(class llvm::Function &) c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1522:0 ; #8 0x011a9083 llvm::FPPassManager::runOnModule(class llvm::Module &) c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1542:0 ; #9 0x011a9202 `anonymous namespace'::MPPassManager::runOnModule c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1599:0 ; #10 0x011a8b49 llvm::legacy::PassMana...
2013 Dec 17
3
[LLVMdev] Trying to use patchpoint in MCJIT
...+ 1588 at SelectionDAGISel.cpp:434 frame #12: 0x0000000100afefc0 libjvm.dylib`llvm::MachineFunctionPass::runOnFunction() + 128 at MachineFunctionPass.cpp:33 frame #13: 0x00000001010837fb libjvm.dylib`llvm::FPPassManager::runOnFunction(this=0x0000000106fedf20, F=0x0000000106fe7020) + 331 at LegacyPassManager.cpp:1538 frame #14: 0x0000000101083abb libjvm.dylib`llvm::FPPassManager::runOnModule(this=0x0000000106fedf20) + 59 at LegacyPassManager.cpp:1558 frame #15: 0x000000010108402d libjvm.dylib`llvm::legacy::PassManagerImpl::run(llvm::Module&) [inlined] llvm::legacy::PassManagerImpl::getConta...
2016 Oct 19
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
...86asmprinter.cpp:73:0 >> ; #6 0x01021d1b llvm::MachineFunctionPass::runOnFunction(class >> llvm::Function &) c:\p\llvm\llvm\lib\codegen\machinefunctionpass.cpp:64:0 >> ; #7 0x011a8f40 llvm::FPPassManager::runOnFunction(class llvm::Function >> &) c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1522:0 >> ; #8 0x011a9083 llvm::FPPassManager::runOnModule(class llvm::Module &) >> c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1542:0 >> ; #9 0x011a9202 `anonymous namespace'::MPPassManager::runOnModule >> c:\p\llvm\llvm\lib\ir\legacypassmanager.cpp:1599:0 >&...
2013 Dec 18
0
[LLVMdev] Trying to use patchpoint in MCJIT
...cpp:434 > frame #12: 0x0000000100afefc0 > libjvm.dylib`llvm::MachineFunctionPass::runOnFunction() + 128 at > MachineFunctionPass.cpp:33 > frame #13: 0x00000001010837fb > libjvm.dylib`llvm::FPPassManager::runOnFunction(this=0x0000000106fedf20, > F=0x0000000106fe7020) + 331 at LegacyPassManager.cpp:1538 > frame #14: 0x0000000101083abb > libjvm.dylib`llvm::FPPassManager::runOnModule(this=0x0000000106fedf20) > + 59 at LegacyPassManager.cpp:1558 > frame #15: 0x000000010108402d > libjvm.dylib`llvm::legacy::PassManagerImpl::run(llvm::Module&) > [inlined] llvm::legac...
2017 Feb 01
2
Strange opt error in Value ("replaceAllUses of value with new value of different type!" assertion failure)
...assManager&) /llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp:1019:0 #13 0x00007fd93a11c695 llvm::LPPassManager::runOnFunction(llvm::Function&) /llvm/lib/Analysis/LoopPass.cpp:200:0 #14 0x00007fd939759035 llvm::FPPassManager::runOnFunction(llvm::Function&) /llvm/lib/IR/LegacyPassManager.cpp:1526:0 #15 0x00007fd9397591ec llvm::FPPassManager::runOnModule(llvm::Module&) /llvm/lib/IR/LegacyPassManager.cpp:1547:0 #16 0x00007fd9397595a9 (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /llvm/lib/IR/LegacyPassManager.cpp:1603:0 #17 0x0...
2015 Nov 26
4
Creating/Deleting a new instruction from LLVM IR
...m/include/llvm/Support/Casting.h:230:0* *#14 0x7f19084d73fd (anonymous namespace)::CSE::runOnFunction(llvm::Function&) /home/mtech2/Documents/llvm/llvm/lib/Transforms/CSE/CSE.cpp:48:0* *#15 0x288fd1c llvm::FPPassManager::runOnFunction(llvm::Function&) /home/mtech2/Documents/llvm/llvm/lib/IR/LegacyPassManager.cpp:1528:0* *#16 0x288feaf llvm::FPPassManager::runOnModule(llvm::Module&) /home/mtech2/Documents/llvm/llvm/lib/IR/LegacyPassManager.cpp:1549:0* *#17 0x289024a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /home/mtech2/Documents/llvm/llvm/lib/IR/LegacyPassManager.cpp:1605...
2018 Jun 30
2
Using BuildMI to insert Intel MPX instruction BNDCU failed
.../X86AsmPrinter.cpp:79:0 #20 0x0000000002bc6afa llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/shenyouren/workspace/llvm/lib/CodeGen/MachineFunctionPass.cpp:62:0 #21 0x000000000307eeac llvm::FPPassManager::runOnFunction(llvm::Function&) /home/shenyouren/workspace/llvm/lib/IR/LegacyPassManager.cpp:1520:0 #22 0x000000000307f045 llvm::FPPassManager::runOnModule(llvm::Module&) /home/shenyouren/workspace/llvm/lib/IR/LegacyPassManager.cpp:1541:0 #23 0x000000000307f3c0 (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) /home/shenyouren/workspace/llvm/lib/IR/LegacyPassMana...
2013 Dec 18
2
[LLVMdev] Trying to use patchpoint in MCJIT
...cpp:434 > frame #12: 0x0000000100afefc0 > libjvm.dylib`llvm::MachineFunctionPass::runOnFunction() + 128 at > MachineFunctionPass.cpp:33 > frame #13: 0x00000001010837fb > libjvm.dylib`llvm::FPPassManager::runOnFunction(this=0x0000000106fedf20, > F=0x0000000106fe7020) + 331 at LegacyPassManager.cpp:1538 > frame #14: 0x0000000101083abb > libjvm.dylib`llvm::FPPassManager::runOnModule(this=0x0000000106fedf20) > + 59 at LegacyPassManager.cpp:1558 > frame #15: 0x000000010108402d > libjvm.dylib`llvm::legacy::PassManagerImpl::run(llvm::Module&) > [inlined] llvm::legac...
2017 Nov 01
2
llvm.gcroot trouble with non-i8* allocas
...users\nikod\src\llvm\lib\codegen\gcrootlowering.cpp:249:0 #9 0x01379986 `anonymous namespace'::LowerIntrinsics::runOnFunction c:\users\nikod\src\llvm\lib\codegen\gcrootlowering.cpp:195:0 #10 0x016a343c llvm::FPPassManager::runOnFunction(class llvm::Function &) c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1513:0 #11 0x016a35e4 llvm::FPPassManager::runOnModule(class llvm::Module &) c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1533:0 #12 0x016a382c `anonymous namespace'::MPPassManager::runOnModule c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1590:0 #13 0x016a2e0e llvm::lega...
2016 Mar 24
0
Help with pass manager
...th PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) ? I didn’t do it because llc doesn’t do it either. Here is the assertion: Assertion failed: (PassInf && "Expected all immutable passes to be initialized"), function addImmutablePass, file llvm-3.8.0.src/lib/IR/LegacyPassManager.cpp, line 764. Here is the complete stack trace, which says where to find the assert: in llvm::PMTopLevelManager::addImmutablePass(llvm::ImmutablePass*) at llvm-3.8.0.src/lib/IR/LegacyPassManager.cpp:764 in llvm::PMTopLevelManager::schedulePass(llvm::Pass*) at llvm-3.8.0.src/lib/IR/LegacyPassMana...
2016 Mar 30
1
Help with pass manager
...isterPass(const PassInfo &PI, bool ShouldFree) ? > I didn’t do it because llc doesn’t do it either. > > Here is the assertion: > Assertion failed: (PassInf && "Expected all immutable passes to be initialized"), function addImmutablePass, file llvm-3.8.0.src/lib/IR/LegacyPassManager.cpp, line 764. > > Here is the complete stack trace, which says where to find the assert: > > in llvm::PMTopLevelManager::addImmutablePass(llvm::ImmutablePass*) at llvm-3.8.0.src/lib/IR/LegacyPassManager.cpp:764 > in llvm::PMTopLevelManager::schedulePass(llvm::Pass*) at llvm-3.8.0....
2018 Apr 18
2
LLVM Pass Managers
...to *legacy::PassManagerBase*, so I guess this will be no longer the good way to go? Son Tuan Vu On Tue, Apr 17, 2018 at 6:06 PM, Philip Pfaffe <philip.pfaffe at gmail.com> wrote: > Hi Son, > > I have an answer to your first question: > > 1, What are the differences between *LegacyPassManager* and *PassManager*? >> I see that *opt* uses the former most of the times while the latter is >> used via *PassBuilder* API when an user wants to build her own pipeline, >> but I have no idea why so. What to use and when to use it is not clear to >> me. >> > PassMan...
2017 Nov 01
0
llvm.gcroot trouble with non-i8* allocas
...\lib\codegen\gcrootlowering.cpp:249:0 > #9 0x01379986 `anonymous namespace'::LowerIntrinsics::runOnFunction > c:\users\nikod\src\llvm\lib\codegen\gcrootlowering.cpp:195:0 > #10 0x016a343c llvm::FPPassManager::runOnFunction(class llvm::Function &) > c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1513:0 > #11 0x016a35e4 llvm::FPPassManager::runOnModule(class llvm::Module &) > c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1533:0 > #12 0x016a382c `anonymous namespace'::MPPassManager::runOnModule > c:\users\nikod\src\llvm\lib\ir\legacypassmanager.cpp:1590:0 >...
2018 Apr 17
2
LLVM Pass Managers
Hello all, I have 2 separate questions: 1, What are the differences between *LegacyPassManager* and *PassManager*? I see that *opt* uses the former most of the times while the latter is used via *PassBuilder* API when an user wants to build her own pipeline, but I have no idea why so. What to use and when to use it is not clear to me. 2, I've asked this question once but have had no ans...
2016 Jan 22
2
Clang 3.8 fails with asan enabled
...0 #5 0x1034f97 in (anonymous namespace)::CodeGenPrepare::runOnFunction(llvm::Function&) /export/users/amitrokh/llvm-sanitizer/llvm/lib/CodeGen/CodeGenPrepare.cpp:262 #6 0x19b7398 in llvm::FPPassManager::runOnFunction(llvm::Function&) /export/users/amitrokh/llvm-sanitizer/llvm/lib/IR/LegacyPassManager.cpp:1550:23 #7 0x19b78e5 in llvm::FPPassManager::runOnModule(llvm::Module&) /export/users/amitrokh/llvm-sanitizer/llvm/lib/IR/LegacyPassManager.cpp:1571:16 #8 0x19b85f1 in runOnModule /export/users/amitrokh/llvm-sanitizer/llvm/lib/IR/LegacyPassManager.cpp:1627:23 #9 0x19b85f1 in llv...
2018 Aug 14
2
Error: ‘class llvm::PassManager<llvm::Module>’ has no member named ‘add’
Hi Philip, I also tried that including file: #include "llvm/IR/LegacyPassManager.h" but error remain same. Please help. On Tue, Aug 14, 2018, 2:58 AM Philip Pfaffe <philip.pfaffe at gmail.com> wrote: > Hi Ratnesh, > > the PassManager used in that example has moved into the legacy namespace: > http://llvm.org/doxygen/classllvm_1_1legacy_1_1PassManager.ht...
2020 Jul 18
3
Regarding the project "Create LoopNestPass"
...from a Pass subclass is no longer required in the New Pass Manager. So should we also implement a LoopNestPass subclass that allows implementing loop-nest-passes for the Legacy Pass Manager? Finally, I have some questions that might not be very relevant to the project. But currently, how does the LegacyPassManager and the NewPassManager interact? Also, is it possible to add passes designed for LegacyPassManager into the NewPassManager and vice versa? What do you think about the plan? I'm quite likely to miss something important, so please kindly correct me if I'm in the wrong direction. Thank you v...