similar to: [LLVMdev] About Register Allocation

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] About Register Allocation"

2010 Oct 06
0
[LLVMdev] [LLVMDev] Phi elimination: Who does what
For spilling, I plan to use the Hack-Braun generalization of the furthest-first heuristic for SSA: http://pp.info.uni-karlsruhe.de/uploads/publikationen/braun09cc.pdf For coloring, there are a few different approaches you can take, e.g. dominator tree scan, puzzle-solving, or a modified graph coloring / coalescing heuristic like IRC. The best quality for the least amount of implementation effort
2017 Sep 13
3
Slow, Incorrect Group Resolution through Winbind
Hello. I am observing some strange behavior on a Linux system that has joined a Windows Active Directory domain using the Samba suite. Our servers are based on Ubuntu v12.04 but have kernel v3.12.17 and Samba v4.3.6. The problem that I'm trying to understand is that group name resolution through Winbind occasionally fails. Here's an example where one group name could not be resolved. This
2017 Sep 13
0
Slow, Incorrect Group Resolution through Winbind
Thanks for the help and suggestions. I've removed the deprecated options "idmap uid" and "idmap gid" and explicitly set "idmap config * : range" and "idmap config * : backend." New output from testparm is at the end of this message. (But note that previously I was only setting "idmap uid" and "idmap gid" in the configuration files,
2017 Sep 13
0
Slow, Incorrect Group Resolution through Winbind
> > > Is it required to set "idmap config" for both the STUDENTS domain and > > all other domains like so? > > > > idmap config * : backend = tdb > > idmap config * : range = 3000-7999 > > idmap config STUDENTS : backend = tdb > > idmap config STUDENTS : range = 16777216-33554431 > Yes > Or can I simply set only the catch-all
2017 Sep 13
2
Slow, Incorrect Group Resolution through Winbind
On Wed, 13 Sep 2017 12:42:06 -0400 Rich Otero <rotero at editshare.com> wrote: > Thanks for the help and suggestions. > > I've removed the deprecated options "idmap uid" and "idmap gid" and > explicitly set "idmap config * : range" and "idmap config * : > backend." New output from testparm is at the end of this message. > (But
2009 Feb 04
2
can't make 3.3.0 on Solaris 10
I downloaded 3.3.0 and tried compiling on Solaris 10 and got pretty far into the make before this message: Linking bin/smbd ./bin/libtdb.so: undefined reference to `write@SUNW_0.9' ./bin/libwbclient.so: undefined reference to `sleep@SUNW_0.7' ./bin/libtdb.so: undefined reference to `pread64@SUNW_1.4' ./bin/libtdb.so: undefined reference to `fcntl@SUNW_0.9' ./bin/libtalloc.so:
2010 Sep 29
0
[LLVMdev] [LLVMDev] Profiling information
Bump: Does profiling / run time information exist when dealing with machine basic blocks? Thanks, Jeff Kunkel On Tue, Sep 28, 2010 at 9:51 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: > How do I find the profiling or run time information for machine basic > blocks from a machine function? There are quite a few optimization > that may be preformed with this information, when it
2011 Jan 20
0
[LLVMdev] [LLVMDev] Live Intervals and Finding the next usage
I am looking for the slot index of a register around the given slot index Min. Is there a better way than the linear search: ... findDefUsesAroundIndex( LiveInterval* li, SlotIndex Min ) ... for( MachineOperand * mo = MRI->getRegUseDefListHead(li->reg); mo; mo = mo->getNextOperandForReg() ) { SlotIndex si = SI->getInstructionIndex( use.getOperand().getParent() ); if(
2010 Oct 09
0
[LLVMdev] [LLVMDev] Does LLVM have a random number generator?
I forgot to cc the list. On Sat, Oct 9, 2010 at 10:47 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: > On Sat, Oct 9, 2010 at 10:37 AM, Michael Spencer <bigcheesegs at gmail.com> wrote: >>> On Sat, Oct 9, 2010 at 1:10 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: >>>> Hello, does LLVM already have a Random Number Generator built into >>>>
2010 Oct 09
0
[LLVMdev] [LLVMDev] Does LLVM have a random number generator?
I am plugging this into my code. If someone wants to take it out and add it to the llvm library, it's a simple Linear Congruential Generator, but here it is: typedef struct random_number_gen { unsigned a, c, seed, m; random_number_gen( unsigned seed, unsigned modulo ) : seed(seed), m(modulo) { unsigned primes[] = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 };
2010 Nov 02
4
[LLVMdev] [LLVMDev] Long compile times
I'm just running VS 10 in debug mode. In a step by step set up: 1. I download the svn 2. I make my changes 3. I compile the libraries 4. I make changes to the code within my project 5. I compile my code, and I re-link llc with my changed files. 6. I repeat 4,5, and 6 until it finally works. - Jeff Kunkel On Tue, Nov 2, 2010 at 1:21 PM, Óscar Fuentes <ofv at wanadoo.es> wrote: >
2010 Oct 05
2
[LLVMdev] [LLVMDev] Phi elimination: Who does what
The allocator you are building, is it the Hack's and Goos's polynomial time algorithm? On Tue, Oct 5, 2010 at 7:14 PM, Cameron Zwarich <zwarich at apple.com> wrote: > There is nothing that currently handles this properly, as far as I know. If you have a phi > > c = phi(a, b) > > where a, b and c are all assigned distinct stack slots, then copies must be inserted in
2010 Nov 03
0
[LLVMdev] Static Profiling Algorithms in LLVM
Hi Jeff, There is an algorithm to build the dominator tree that is O(n2), where n is the number of nodes on the control flow graph. I believe exists another that is linear, but I don't which one of them is implemented in LLVM. The problem is that the branch predictor requires post dominance information. None of the LLVM basic passes require post dominance information (AFAIK), hence it is
2012 Feb 01
1
locking problem
I have one user who can't read his e-mail. The /var/log/mail.log file has this statement. dovecot: IMAP(<user>): Timeout while waiting for lock for transaction log file /users/<user>/mail/.imap/INBOX/dovecot.index.log I tried killing the imap daemons and removing the lock file, but it keeps coming back. Any idea what else to do? This is the dovecot file: dovecot -n # 1.2.9:
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
- I placed my code in the the existing CodeGen library. - No, it is not in the CMakeLists.txt. The code is separate from the rest of the CodeGen code, but it is linked into the code gen library automatically through the visual studio linker. Perhaps something funny is going on here. I will try placing the code directly in the library, and I will include it to the CMakeLists.txt. - Thanks - Jeff
2010 Aug 29
1
[LLVMdev] [Query] Programming Register Allocation
Thanks for the information. I still don't know how do I partition registers into different classes from the virtual registers? For instance, I have the function who which iterates over the instructions, but I don't know how to write the function which returns the different register class. void RAOptimal::Gather(MachineFunction &Fn) { // Gather just iterates over the blocks,
2008 Nov 25
2
help with samba share: one write, many read
I have a no-frill samba server that users can access their home directories from. Now, I'd like to set up a share that contains a file that only I can write to, but anyone can read it. I only seem to be able to do one or the other. If I can write to it, no one can read it. If everyone can read it, I can't write to it. I must be misunderstanding the settings of the options that I
2010 Oct 15
3
[LLVMdev] [LLVMDev] Trouble Linking
I ran cmake to build the visual studio projects. Then I included my code under the Visual Studio interface, but I placed my code separate from the CodeGen code. Visual studio was smart enough to compile and link in my code into the CodeGen library. Thus, I did not need to add my code into the same directory as the CodeGen files, and I did not need to change the CMakeList.txt. The offical name is
2010 Oct 15
1
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
Also note: there may be multiple MachineBasicBlock's for a single BasicBlock. - David M On Fri, Oct 15, 2010 at 4:59 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: > I don't think you can. > > The BasicBlock is a member of MachineBasicBlock. It is not inherited, > so it cannot be cast. The number of the MachineBasicBlock is not the > same as any BasicBlock values.
2010 Oct 07
0
[LLVMdev] [LLVMDev] Has anyone written this?
I forgot to CC the forum. I found what was happening. The BranchFolder documentation says: // Note that this pass must be run after register allocation, it cannot handle // SSA form. > On Wed, Oct 6, 2010 at 8:05 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote: >> No, I just noticed that blocks were separated. >> >> >> On Wed, Oct 6, 2010 at 8:04 PM, Bob Wilson