search for: michaelgraumann

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

2009 Jun 30
0
[LLVMdev] modifying llc asm output
On Tue, Jun 30, 2009 at 8:33 AM, Michael Graumann<MichaelGraumann at gmx.net> wrote: > Hi > > I am trying to modify the llc in that way: > > > >         subf 3, 5, 3                                 subf 3, 5, 3 > >         stw 3, 44(1)                                stw 3, 44(1) > >                                              ...
2009 Jun 30
1
[LLVMdev] modifying llc asm output
...iche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Bill Wendling Gesendet: Dienstag, 30. Juni 2009 19:16 An: LLVM Developers Mailing List Betreff: Re: [LLVMdev] modifying llc asm output On Tue, Jun 30, 2009 at 8:33 AM, Michael Graumann<MichaelGraumann at gmx.net> wrote: > Hi > > I am trying to modify the llc in that way: > > > >         subf 3, 5, 3                                 subf 3, 5, 3 > >         stw 3, 44(1)                                stw 3, 44(1) > >                                              ...
2009 Jun 30
2
[LLVMdev] modifying llc asm output
Hi I am trying to modify the llc in that way: subf 3, 5, 3 subf 3, 5, 3 stw 3, 44(1) stw 3, 44(1) # InlineAsm Start --> isync
2009 Jun 23
1
[LLVMdev] physical registers content/data print out
Hi I am using LLVM version 2.5. I am trying to build traces, using lli -print-machineinstrs to print out the machine instructions. But I don't get access to the physical registers values (e.g. %R4=??). Is it possible to print out this physical registers values? I'd tried to modify the MachineInstr.cpp, but I can't find the right place/value. I hope anybody can help me
2009 Aug 11
1
[LLVMdev] llc undefined symbol
Hi At the moment there are in my pass only this virtual function (runOnMachineFunction). maybe is there an other reason? Thank you Michael -----Ursprüngliche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im Auftrag von Mike Stump Gesendet: Dienstag, 11. August 2009 19:16 An: LLVM Developers Mailing List Betreff: Re: [LLVMdev] llc undefined symbol On
2009 Aug 11
2
[LLVMdev] llc undefined symbol
Hi all I'm writing a pass for the llc tool. If I try to load my pass(llc -load ../mypass.so), this error message appears : Error opening '/nfs/wsi/ti/graumann/llvm-2.5/Release/lib/LLVMMicha.so': /nfs/wsi/ti/graumann/llvm-2.5/Release/lib/LLVMMicha.so: undefined symbol: _ZTVN12_GLOBAL__N_119MyRegisterAllocatorE -load request ignored. Is this code wrong for the pass
2009 Aug 01
1
[LLVMdev] Inserting Instructions (pass)
Hi, both versions are working: FunctionType *asm_Ftype = FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false); InlineAsm* Iasm = InlineAsm::get(asm_Ftype,"isync","~{dirflag},~{fpsr},~{flags}",true); How can I insert this InlineAsm, because it is no instruction and this way it will not work: Instruction *pi = bi;
2009 Aug 01
2
[LLVMdev] Inserting Instructions (pass)
Thank you Chris, for your hint, but I am still too stupid. I tried two versions asm_arguments.push_back(Type::VoidTy); FunctionType *asm_type = FunctionType::get(Type::VoidTy, asm_arguments, false); Alternatively FunctionType *asm_type = FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false); . Can you give me a snippet of example code, or somebody else?
2009 Jul 31
2
[LLVMdev] Inserting Instructions (pass)
Hi, I' am trying to insert an InlineAsm Instruction in my pass, which FunctionType do I need for Inlineasm? If I understand it right, I need a call instruction to insert the new produced InlineAsm? Thanks for help, Michael for (BasicBlock::iterator bi = i->begin(), be = i->end(); bi != be; ++bi){ std::vector<const Type*> asm_arguments;