similar to: [LLVMdev] Problem adding a MachineBasicBlock during X86 EmitPrologue

Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] Problem adding a MachineBasicBlock during X86 EmitPrologue"

2010 Apr 07
3
[LLVMdev] Injecting code before function prolog
I'm trying to implement something similar to this: http://gcc.gnu.org/wiki/SplitStacks in LLVM. The reason I want this is so that I can have dynamically growing and shrinking stacks in my programming language. In order to do this, I need to be able to check for overflow of a stack frame. The methods of doing this are outlined in the link above, but my intention is to pass the current stack
2010 Oct 20
1
[LLVMdev] MachineBasicBlock insertion and use/def list update
Hi all, I am still stumped on the same bug. Did anyone try to insert MachineBasicBlock into a MachineFunction? Any advice will be appreciated. Thanks a lot in advance. ~Bin ---------------------------------------------------------------------------------------------------------------------------- Thanks a lot Jeff. I changed the setNumber function call to
2010 Oct 20
1
[LLVMdev] MachineBasicBlock insertion
Hi all, I am really stumped on a problem for long. I could not figure out why. That is why i am here. OK, here is the problem: I tried to insert a MachineBasicBlock into a function. Here is the code snippet: // insert a machine basic block with the error_label into MF and before I // Pred is the predecessor of the block to be inserted // the new basic block is inserted right before I void
2011 Nov 20
0
[LLVMdev] How can I output assembly comments from emitPrologue()?
So, an update. I have managed to generate comments, although it does create a non-existent instruction. My method is as follows (and I would appreciate any comments on how to do it "better", although note that this won't make it into the final code :).) 1. I declared a "fake" instruction type to hold comments, ala: class FakeInst<dag outs, dag ins, string asmstr,
2011 Nov 20
2
[LLVMdev] How can I output assembly comments from emitPrologue()?
Dear all, I am looking to output assembly comments in my emitPrologue() function, just for my own readability. Searching for a way to do this found me this thread - http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-October/043722.html, which says that the best way to output comments from somewhere like emitPrologue() is to: 1. Create an MDString for the comment. 2. Attach it to an LLVM
2006 Dec 05
4
Attended Transfer
Dear List, I've been working with Asterisk CVS-v1-0-09 and i'm trying to enable attended transfer feature. but i just can't do it work. I've already set "atxfer = *" (and many other combinations) and all extensions on extensions.conf have the t and T option. But when I'm going to test, it doesn't work. Is there any other file that i have to configure in order to
1999 Dec 10
2
samba v DAVE
samba server 2.0.6 DAVE 2.1 DAVE 2.0 When the DAVE 2.1 client tries to connect with samba, it gets an error that machine name doesn't match. This DAVE client connects with NT systems fine, and other Windows systems connect with samba fine, so it's just samba and DAVE that are having this failure to communicate. When DAVE 2.0 client tries, it connects fine but when I try to copy a file to
2008 Nov 15
1
[LLVMdev] ARM libgcc dependencies
I was trying to build some code today for an ARM7TDMI, which does not have a hardware divider and I noticed that LLVM translated divide instructions into a call into libgcc's udivsi3. Is there any way of removing this library dependency and allowing LLVM's link time optimizer optimize the generated division code (inline it, merge the div/mod if using both, etc)? Thanks much, Arlen
2005 Feb 17
1
Problems compiling pridump utility
I do 'make pridump' from the libpri source directory and receive the following: # make pridump cc -o pridump pridump.o -L. -lpri -lzap -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g /usr/bin/ld: cannot find -lzap collect2: ld returned 1 exit status make: *** [pridump] Error 1 I am new to all of this, so I am sure I am missing something obvious, any help will be appreciated.
2010 Apr 10
0
[LLVMdev] Injecting code before function prolog
On Wed, Apr 7, 2010 at 12:43 PM, Arlen Cox <arlencox at gmail.com> wrote: > I'm trying to implement something similar to this: > http://gcc.gnu.org/wiki/SplitStacks in LLVM.  The reason I want this > is so that I can have dynamically growing and shrinking stacks in my > programming language.  In order to do this, I need to be able to check > for overflow of a stack frame.
2006 Dec 05
3
Rejecting a Call
All, Is there a way of rejecting a call using SIP in the Asterisk Dialplan? Essentially, I want to look at the called number and if it matches something I don't like I want to send back a SIP response which will not cause the other end to 'hunt'. The response codes that will achieve this are: 401 Unauthorized 403 Forbidden Is there a way of getting Asterisk to send back such a
2006 Dec 19
6
No music on hold?
Hi all, I've got Asterisk 1.2.10 up and running on Debian using the back ports. I noticed that it didn't come with mpg123 or depend on it and I believe I read somewhere that asterisk now handles it's own mp3 playback? Is this true? If so I must have a problem, because I hear no music when putting someone on hold. When looking at the console when putting someone on hold, I see
2020 Mar 13
2
How to simply split MachineBasicBlock ?
Hi I am developing some machine function pass. I want to split MachineBasicBlcok when I find some specific machine instruction. But I don't insert or delete any machine instruction. I just "simply" , "purely" split the MachineBasicBlcok. (So, I stole the idea from ARM64BranchRelaxation::splitBlockBeforeInstr.) This is my code : // I would pass call instruction to
2008 Sep 30
2
[LLVMdev] Inserting MachineBasicBlock(s) before a MachineBasicBlock
I want to be able to do two things with LLVM (both just before code emission): 1. Insert a MachineBasicBlock just before a MachineBasicBlock. There is a function called AddPredecessor(). However, the comment says that it does not update the actual CFG. I want to redirect all CFG edges that are incoming to this MachineBasicBlock to the new one I create, and add just one outgoing edge (no branch)
2018 Apr 04
0
Emitting asm variable directive into MachineBasicBlock
Hello everyone, I am writing a MachineFunctionPass and need to insert int32 data values into my asm file. I achieved that by adding a GlobalVariable to the MachineFunction's Module which gets me something like: test:           .long   0                       @ 0x0           .size   test, 4 at the Module's end. I need to access the data with PC relative instructions like
2002 Nov 08
1
[LLVMdev] Basicblock and MachineBasicBlock
Dear LLVM, I was wondering what's the difference between BasicBlock and MachineBasicBlock in LLVM. If I want to solve a data flow equation problem, which one should I use? Thanks, Jerry
2004 Feb 13
0
[LLVMdev] ilistification of MachineBasicBlock
Hi all, Two days ago MachineBasicBlock got ilistified. What does this mean and how does it affect you? Read on. MachineBasicBlock used to have a std::vector<MachineInstr*> to represent the instructions it constisted of. This representation has the following problems: 1) O(n) insertions/removals to/from anywhere but the end of a basic block (removals are very comomn in peephole
2005 Feb 23
1
[LLVMdev] Sparc MachineBasicBlock info
Is there a way to access the current MachineBasicBlock info from within CodeGenIntrinsic in SparcV9BurgISel.cpp? The arguments are: Intrinsic::ID iid, CallInst &callInstr, TargetMachine &target, and std::vector<MachineInstr*>& mvec, none of which seem to offer access to the current MachineBasicBlock. Brent
2009 Dec 10
2
[LLVMdev] How to check for "SPARC code generation" in MachineBasicBlock.cpp?
Hi, I'm almost finished to get a complete and seemingly working build of LLVM-GCC (trunk) for SPARC (32-bit only, for now). The only remaining problem is the code generation for one single file (namely cp-demangle.c) where some labels are not put into the assembler/object file due to some (until now) unknown inconsistencies with 'isOnlyReachableByFallthrough' and (most likely) the
2009 Dec 10
0
[LLVMdev] How to check for "SPARC code generation" in MachineBasicBlock.cpp?
On Dec 10, 2009, at 12:00 AM, Juergen Zimmermann - Sun Microsystems - Walldorf Germany wrote: > Hi, > I'm almost finished to get a complete and seemingly working build of > LLVM-GCC (trunk) for SPARC (32-bit only, for now). > > The only remaining problem is the code generation for one single > file (namely cp-demangle.c) where some labels are not put into > the