Displaying 20 results from an estimated 384 matches for "fppassmanager".
2019 Mar 18
0
Two FPPassManager objects, and LocalStackSlotAllocation::runOnMachineFunction returns true but has not changed the data
Good Morning, all,
I stumbled across a couple o' three of curious things in the LLVM code. I'm
too new to this to know whether these are functioning correctly or not.
Guidance would be appreciated.
Perhaps it is something I have done wrong, but my executions of llc are
creating two FPPassManager objects (that run different sets of passes).
FPPassManager contains a static char ID (as expected), so I expected only
one FPPassManager object to be constructed during a single execution.
LocalStackSlotAllocation::runOnMachineFunction returns true even when it has
not changed the data (in any...
2018 May 07
2
Preservation of CallGraph (by BasicBlockPass, FunctionPass)
...ePass Manager
CallGraph Construction
Globals Alias Analysis
FunctionPass Manager
BasicBlockPass Manager
Dead Instruction Elimination
Call Graph SCC Pass Manager
Function Integration/Inlining
FunctionPass Manager
Module Verifier
Print Module IR
FPPassManager:: getAnalysisUsage is doing setPreservesAll(),
but is it correct that the FunctionPass Manager always preserves the CallGraph?
My real problem is that when I use a foo.ll input that looks like this:
;----------------------------------------------------------------
target triple = "x86_64-un...
2018 May 08
2
Preservation of CallGraph (by BasicBlockPass, FunctionPass)
...enabled by default. I guess that I'm supposed to use -passes. Is there a syntax description for that option somewhere? How do I for example run -die?
2) "Use the new pass manager" does not answer the question if a basic block may destroy the call graph. Or if it is incorrect for the FPPassManager to say that it preserves all analyses.
/Björn
> -----Original Message-----
> From: Sanjoy Das [mailto:sanjoy at playingwithpointers.com]
> Sent: den 7 maj 2018 20:22
> To: Björn Pettersson A <bjorn.a.pettersson at ericsson.com>; Chandler
> Carruth <chandlerc at google.com&...
2018 May 07
0
Preservation of CallGraph (by BasicBlockPass, FunctionPass)
...> BasicBlockPass Manager
>
> Dead Instruction Elimination
>
> Call Graph SCC Pass Manager
>
> Function Integration/Inlining
>
> FunctionPass Manager
>
> Module Verifier
>
> Print Module IR
>
>
>
>
>
> FPPassManager:: getAnalysisUsage is doing setPreservesAll(),
>
> but is it correct that the FunctionPass Manager always preserves the
> CallGraph?
>
>
>
>
>
> My real problem is that when I use a foo.ll input that looks like this:
>
>
>
> ;----------------------------------...
2012 Feb 08
2
[LLVMdev] Crash/Assert on -loop-reduce
...245
6 opt 0x000000000051a9a6
7 opt 0x000000000051979e
8 opt 0x0000000000503863
9 opt 0x000000000050102e
10 opt 0x0000000000689184
llvm::LPPassManager::runOnFunction(llvm::Function&) + 836
11 opt 0x0000000000801f9f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 351
12 opt 0x000000000080221b
llvm::FPPassManager::runOnModule(llvm::Module&) + 59
13 opt 0x000000000080236a
llvm::MPPassManager::runOnModule(llvm::Module&) + 282
14 opt 0x0000000000802941
llvm::PassManagerImpl::run(l...
2007 Jun 25
1
[LLVMdev] PassManager vs FunctionPassManager
...4:13 PM, Dan Gohman wrote:
>
> > Right now, addPassesToEmitFile requires a FunctionPassManager. If I'm
> > working with code that uses a plain PassManager and want it to
> > generate
> > code, are there any options better than doing this:
>
> That's what FPPassManager does (include/llvm/PassManagers.h) .
> Function pass manager itself is a module level pass.
> FunctionPassManager is external stand alone interface hence it does
> not derive from ModulePass.
To be clear, I'm specifically talking about addPassesToEmitFile and
other functions in...
2018 May 08
0
Preservation of CallGraph (by BasicBlockPass, FunctionPass)
...that I'm supposed to use
> -passes. Is there a syntax description for that option somewhere? How do I
> for example run -die?
>
> 2) "Use the new pass manager" does not answer the question if a basic
> block may destroy the call graph. Or if it is incorrect for the
> FPPassManager to say that it preserves all analyses.
>
> /Björn
>
> > -----Original Message-----
> > From: Sanjoy Das [mailto:sanjoy at playingwithpointers.com]
> > Sent: den 7 maj 2018 20:22
> > To: Björn Pettersson A <bjorn.a.pettersson at ericsson.com>; Chandler
> >...
2012 Jan 12
2
[LLVMdev] Extract Loop Failing
...08edfda
2 libpthread.so.0 0x00007ffe21203c60
3 opt 0x0000000000895ed9 llvm::Value::getName() const + 9
4 LLVMEXITCDFG.so 0x00007ffe202b80d7
5 opt 0x00000000006fc6e7
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1143
6 opt 0x0000000000882557
llvm::FPPassManager::runOnFunction(llvm::Function&) + 551
7 opt 0x00000000008825db
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
8 opt 0x0000000000882197
llvm::MPPassManager::runOnModule(llvm::Module&) + 503
9 opt 0x0000000000882299
llvm::PassManagerImpl::run(l...
2012 Jan 12
4
[LLVMdev] Extract Loop Failing
...3 opt 0x0000000000895ed9 llvm::Value::getName() const + 9
>> 4 LLVMEXITCDFG.so 0x00007ffe202b80d7
>> 5 opt 0x00000000006fc6e7
>> llvm::LPPassManager::runOnFunction(llvm::Function&) + 1143
>> 6 opt 0x0000000000882557
>> llvm::FPPassManager::runOnFunction(llvm::Function&) + 551
>> 7 opt 0x00000000008825db
>> llvm::FPPassManager::runOnModule(llvm::Module&) + 75
>> 8 opt 0x0000000000882197
>> llvm::MPPassManager::runOnModule(llvm::Module&) + 503
>> 9 opt 0x...
2011 May 23
2
[LLVMdev] Debug llc crash using bugpoint
...33e387
7 llc 0x0000000000f1fca5 llvm::DwarfDebug::emitDebugInfo() +
255
8 llc 0x0000000000f2b9c6 llvm::DwarfDebug::endModule() + 1954
9 llc 0x0000000000f1502a
llvm::AsmPrinter::doFinalization(llvm::Module&) + 790
10 llc 0x00000000012e595b
llvm::FPPassManager::doFinalization(llvm::Module&) + 67
11 llc 0x00000000012e9f82
llvm::FPPassManager::runOnModule(llvm::Module&) + 120
12 llc 0x00000000012e9a47
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
13 llc 0x00000000012eae89
llvm::PassManagerImpl::run(ll...
2014 Mar 26
7
[LLVMdev] Lots of regtest failures on PPC64/Linux
....so 0x00003fff7f64603c
[ 3149s] 6 libLLVMCodeGen.so 0x00003fff7f641f84
[ 3149s] 7 libLLVMCodeGen.so 0x00003fff7f63f16c
[ 3149s] 8 libLLVMCodeGen.so 0x00003fff7f5b8220
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 4293027568
[ 3149s] 9 libLLVMCore.so 0x00003fff7f35be3c
llvm::FPPassManager::runOnFunction(llvm::Function&) + 4294119036
[ 3149s] 10 libLLVMCore.so 0x00003fff7f35c210
llvm::FPPassManager::runOnModule(llvm::Module&) + 4294119968
[ 3149s] 11 libLLVMCore.so 0x00003fff7f35c9d8
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 4294121888
[ 3149s] 12 libLLVMC...
2012 Feb 08
2
[LLVMdev] Crash/Assert on -loop-reduce
...0x000000000051979e
> > 8 opt 0x0000000000503863
> > 9 opt 0x000000000050102e
> > 10 opt 0x0000000000689184
> > llvm::LPPassManager::runOnFunction(llvm::Function&) + 836
> > 11 opt 0x0000000000801f9f
> > llvm::FPPassManager::runOnFunction(llvm::Function&) + 351
> > 12 opt 0x000000000080221b
> > llvm::FPPassManager::runOnModule(llvm::Module&) + 59
> > 13 opt 0x000000000080236a
> > llvm::MPPassManager::runOnModule(llvm::Module&) + 282
> > 14 opt...
2009 Dec 23
5
[LLVMdev] Build Failure!
...System.B.dylib 0x00007fff81561ddd abort + 90
6 opt 0x000000010abc99bf (anonymous namespace)::Verifier::abortIfBroken() + 239
7 opt 0x000000010abdbd6a (anonymous namespace)::Verifier::runOnFunction(llvm::Function&) + 140
8 opt 0x000000010ab93b13 llvm::FPPassManager::runOnFunction(llvm::Function&) + 387
9 opt 0x000000010ab8dd27 llvm::FPPassManager::runOnModule(llvm::Module&) + 127
10 opt 0x000000010ab93664 llvm::MPPassManager::runOnModule(llvm::Module&) + 588
11 opt 0x000000010ab9511c llvm::PassManagerImpl...
2011 Nov 03
5
[LLVMdev] LLVM problem, please do not ignore
...0x00000000008ed93f
1 opt 0x00000000008edcea
2 libpthread.so.0 0x00007f9ba1183c60
3 opt 0x00000000004b3615 llvm::PATypeHolder::get() const + 21
4 opt 0x00000000008a4f11
5 opt 0x00000000008a9404
6 opt 0x0000000000882557
llvm::FPPassManager::runOnFunction(llvm::Function&) + 551
7 opt 0x00000000008825db
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
8 opt 0x0000000000882197
llvm::MPPassManager::runOnModule(llvm::Module&) + 503
9 opt 0x0000000000882299
llvm::PassManagerImpl::run(l...
2019 Aug 25
5
Illegal instruction (core dumped) LLVM 8.0
...pport/Unix/Signals.inc:358:1
#4 0x00007f9153c4f890 __restore_rt
(/lib/x86_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::Mod...
2009 Sep 27
5
[LLVMdev] A basicblock iterator bug in llvm
...e
defens::verify_fixrace_stub::DFSBackward(llvm::Instruction*,
std::string&, int, bool) + 826
8 verify-fixrace-stub.so 0xb7f78311
defens::verify_fixrace_stub::runOnBasicBlock(llvm::BasicBlock&) + 261
9 opt 0x085cdaf4
10 opt 0x085cee1c
llvm::FPPassManager::runOnFunction(llvm::Function&) + 250
11 opt 0x085cefb8
llvm::FPPassManager::runOnModule(llvm::Module&) + 98
12 opt 0x085cd8a3
llvm::MPPassManager::runOnModule(llvm::Module&) + 197
13 opt 0x085cf256
llvm::PassManagerImpl:...
2012 Aug 02
2
[LLVMdev] [NVPTX] Strange assertion around BlockToChain.clear(); in Release+Asserts build
...21 in abort () from /lib64/libc.so.6
#2 0x00007ffff7855810 in __assert_fail () from /lib64/libc.so.6
#3 0x00007ffff62b283d in (anonymous
namespace)::MachineBlockPlacement::runOnMachineFunction(llvm::MachineFunction&)
() from /opt/kernelgen/lib/libLLVM-3.2svn.so
#4 0x00007ffff64cfb9f in
llvm::FPPassManager::runOnFunction(llvm::Function&) () from
/opt/kernelgen/lib/libLLVM-3.2svn.so
#5 0x00007ffff64cfc43 in
llvm::FPPassManager::runOnModule(llvm::Module&) () from
/opt/kernelgen/lib/libLLVM-3.2svn.so
#6 0x00007ffff64cf6e4 in
llvm::MPPassManager::runOnModule(llvm::Module&) () from
/opt/kern...
2011 Dec 12
4
[LLVMdev] problem with runOnLoop
...libLLVM-2.9.so 0x0137fa6c
2 0x002a7400 __kernel_sigreturn + 0
3 parallel.so 0x002895e9 parallel::runOnLoop(llvm::Loop*,
llvm::LPPassManager&) + 345
4 libLLVM-2.9.so 0x00982994
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1156
5 libLLVM-2.9.so 0x00eb02c1
llvm::FPPassManager::runOnFunction(llvm::Function&) + 545
6 libLLVM-2.9.so 0x00eb03d7
llvm::FPPassManager::runOnModule(llvm::Module&) + 87
7 libLLVM-2.9.so 0x00eafde5
llvm::MPPassManager::runOnModule(llvm::Module&) + 517
8 libLLVM-2.9.so 0x00eaff8b llvm::PassManagerImpl::run(llvm::Module&) + 171
9...
2010 Jul 19
2
[LLVMdev] VMkit AOT build problem: llc crushed on glibj compilation to native(.s) file
...0000008f85e2
9 llc 0x00000000008f894e
10 llc 0x00000000008fa586
llvm::AsmPrinter::EmitGlobalVariable(llvm::GlobalVariable const*) +
550
11 llc 0x00000000008f412f
llvm::AsmPrinter::doFinalization(llvm::Module&) + 63
12 llc 0x0000000000ba0369
llvm::FPPassManager::doFinalization(llvm::Module&) + 57
13 llc 0x0000000000ba691f
llvm::FPPassManager::runOnModule(llvm::Module&) + 95
14 llc 0x0000000000ba644e
llvm::MPPassManager::runOnModule(llvm::Module&) + 462
15 llc 0x0000000000ba655d
llvm::PassManagerImpl::run(llv...
2011 Jul 07
1
[LLVMdev] Dynamic Optimization selection for individual functions
Hi All,
I am trying to write a machine learning algorithm that would predict a good
optimization to apply to a given function. I wanted to perform this by
modifying the list of optimizations applied by the FPPassManager based on
some dynamic data.
At present I was trying to do this by modifying the
FPPassManager::runOnFunction(Function) implementation. However this is
causing the following error:
"LLVM ERROR: 'main' label emitted multiple times to assembly file"
I may be applying a few passes mul...