search for: twoaddressinstructionpassid

Displaying 20 results from an estimated 23 matches for "twoaddressinstructionpassid".

2007 Apr 07
1
[LLVMdev] Pass management
Dear guys, I need help fixing a little piece of code. I have a pass that I really want to execute after the TwoAddressinstructionPass. But if I write "AU.addRequiredID(TwoAddressInstructionPassID);" in my pass' getAnalysisUsage, I end up getting the infamous: PassManagerT.h:387: failed assertion `getAnalysisOrNullUp(P) && dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P)) && "Pass available but not found! " "Perhaps this is a module pass...
2005 Jul 29
1
[LLVMdev] How to define a pass requiring a register allocation pass?
How to define a MachineFunctionPass requireing one of the register allocation passes being executed first? Should there be a PassInfo for register allocation in Pass.h? Pass.h: namespace llvm { extern const PassInfo *PHIEliminationID; extern const PassInfo *TwoAddressInstructionPassID; extern const PassInfo *RegisterAllocationPassID; // <-- add this one? There are four register allocation passes in CodeGen, but I don't know which one will be used unitl run-time (the register allocator is chosen by a command line argument). -- Tzu-Chien Chiu, 3D Graphics...
2012 Oct 31
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I'm trying to write a MachineFunctionPass to do register allocation. I have code that worked with an old version of LLVM. It does not work with llvm-3.1. (or various other versions that I've tried). The first problem is that including this line: AU.addRequiredID(TwoAddressInstructionPassID); in method getAnalysisUsage causes a runtime error: Unable to schedule 'Eliminate PHI nodes for register allocation' required by 'Unnamed pass: implement Pass::getPassName()' Unable to schedule pass UNREACHABLE executed at ... I'm invoking the pass like this (given input fi...
2012 Nov 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...o register allocation. >> I have code that worked with an old version of LLVM. It does not >> work with llvm-3.1. (or various other versions that I've tried). >> >> The first problem is that including this line: >> >> AU.addRequiredID(__**TwoAddressInstructionPassID); >> >> >> in method getAnalysisUsage causes a runtime error: >> >> Unable to schedule 'Eliminate PHI nodes for register allocation' >> required by 'Unnamed pass: implement Pass::getPassName()' >> Unable to schedule pass >...
2012 Oct 31
3
[LLVMdev] problem trying to write an LLVM register-allocation pass
...a MachineFunctionPass to do register allocation. > I have code that worked with an old version of LLVM. It does not > work with llvm-3.1. (or various other versions that I've tried). > > The first problem is that including this line: > > AU.addRequiredID(__TwoAddressInstructionPassID); > > in method getAnalysisUsage causes a runtime error: > > Unable to schedule 'Eliminate PHI nodes for register allocation' > required by 'Unnamed pass: implement Pass::getPassName()' > Unable to schedule pass > UNREACHABLE executed at ......
2012 Nov 01
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...I have code that worked with an old version of LLVM. It > does not > work with llvm-3.1. (or various other versions that I've > tried). > > The first problem is that including this line: > > AU.addRequiredID(__ TwoAddressInstructionPassID); > > > in method getAnalysisUsage causes a runtime error: > > Unable to schedule 'Eliminate PHI nodes for register > allocation' > required by 'Unnamed pass: implement Pass::getPassName()' > Unable...
2012 Nov 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...d with an old version of LLVM. It >> does not >> work with llvm-3.1. (or various other versions that I've >> tried). >> >> The first problem is that including this line: >> >> AU.addRequiredID(__ TwoAddressInstructionPassID); >> >> >> in method getAnalysisUsage causes a runtime error: >> >> Unable to schedule 'Eliminate PHI nodes for register >> allocation' >> required by 'Unnamed pass: implement Pass::getPassName()...
2012 Nov 01
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...It > does not > work with llvm-3.1. (or various other versions > that I've > tried). > > The first problem is that including this line: > > AU.addRequiredID(__ TwoAddressInstructionPassID); > > > in method getAnalysisUsage causes a runtime error: > > Unable to schedule 'Eliminate PHI nodes for register > allocation' > required by 'Unnamed pass: implement > P...
2012 Oct 31
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...m trying to write a MachineFunctionPass to do register allocation. I > have code that worked with an old version of LLVM. It does not work with > llvm-3.1. (or various other versions that I've tried). > > The first problem is that including this line: > > AU.addRequiredID(**TwoAddressInstructionPassID); > > in method getAnalysisUsage causes a runtime error: > > Unable to schedule 'Eliminate PHI nodes for register allocation' required > by 'Unnamed pass: implement Pass::getPassName()' > Unable to schedule pass > UNREACHABLE executed at ... > > I'm in...
2012 Nov 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...oes not >> work with llvm-3.1. (or various other versions >> that I've >> tried). >> >> The first problem is that including this line: >> >> AU.addRequiredID(__ TwoAddressInstructionPassID); >> >> >> in method getAnalysisUsage causes a runtime error: >> >> Unable to schedule 'Eliminate PHI nodes for register >> allocation' >> required by 'Unnamed pa...
2012 Nov 03
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...h llvm-3.1. (or various other > versions > that I've > tried). > > The first problem is that including this > line: > > AU.addRequiredID(__ > TwoAddressInstructionPassID); > > > in method getAnalysisUsage causes a > runtime error: > > Unable to schedule 'Eliminate PHI nodes > for register > allocation' >...
2012 Nov 04
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...work with llvm-3.1. (or various other versions >>> that I've >>> tried). >>> >>> The first problem is that including this line: >>> >>> AU.addRequiredID(__ TwoAddressInstructionPassID); >>> >>> >>> in method getAnalysisUsage causes a runtime error: >>> >>> Unable to schedule 'Eliminate PHI nodes for >>> register >>> allocation' >>>...
2012 Nov 04
3
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ious >> other versions >> that I've >> tried). >> >> The first problem is that including >> this line: >> >> AU.addRequiredID(__ TwoAddressInstructionPassID); >> >> >> in method getAnalysisUsage causes a >> runtime error: >> >> Unable to schedule 'Eliminate PHI >> nodes for register >>...
2012 Nov 05
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...rious other versions >>>> that I've >>>> tried). >>>> >>>> The first problem is that including this line: >>>> >>>> AU.addRequiredID(__ >>>> TwoAddressInstructionPassID); >>>> >>>> >>>> in method getAnalysisUsage causes a runtime error: >>>> >>>> Unable to schedule 'Eliminate PHI nodes for >>>> register >>>> allocatio...
2012 Nov 05
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...gt; tried). >>> >>> The first problem is that >>> including this line: >>> >>> AU.addRequiredID(__ >>> TwoAddressInstructionPassID); >>> >>> >>> in method getAnalysisUsage >>> causes a runtime error: >>> >>> Unable to schedule 'Eliminate >>> PHI nodes for...
2012 Nov 07
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...tried). >>>> >>>> The first problem is that >>>> including this line: >>>> >>>> AU.addRequiredID(__ >>>> TwoAddressInstructionPassID); >>>> >>>> >>>> in method getAnalysisUsage >>>> causes a runtime error: >>>> >>>> Unable to schedule 'Eliminate >>>>...
2012 Nov 11
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...t;>>>>> The first problem is that >>>>>> including this line: >>>>>> >>>>>> AU.addRequiredID(__ >>>>>> TwoAddressInstructionPassID); >>>>>> >>>>>> >>>>>> in method getAnalysisUsage >>>>>> causes a runtime error: >>>>>> >>>>>> Unab...
2012 Nov 08
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...;>>>> >>>>> The first problem is that >>>>> including this line: >>>>> >>>>> AU.addRequiredID(__ >>>>> TwoAddressInstructionPassID); >>>>> >>>>> >>>>> in method getAnalysisUsage >>>>> causes a runtime error: >>>>> >>>>> Unable to schedule 'Elim...
2012 Nov 11
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...#39;ve >> tried). >> >> The first problem is that >> including this line: >> >> AU.addRequiredID(__ >> TwoAddressInstructionPassID); >> >> >> in method getAnalysisUsage >> causes a runtime error: >> >> Unable to schedule 'Eliminate >>...
2012 Nov 13
5
[LLVMdev] problem trying to write an LLVM register-allocation pass
...t;> The first problem is that >>>>>>> including this line: >>>>>>> >>>>>>> AU.addRequiredID(__ >>>>>>> TwoAddressInstructionPassID); >>>>>>> >>>>>>> >>>>>>> in method getAnalysisUsage >>>>>>> causes a runtime error: >>>>>>> >>>>>>>...