similar to: [LLVMdev] C API for optimization passes

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] C API for optimization passes"

2009 Dec 21
1
[LLVMdev] Cross-compiling LLVM on Mac OS X
(My apologies for the double e-mail, Eric; I neglected to reply to the list.) >> configure: error: Already configured in /Users/rob/Developer/External/llvm-trunk >> make[1]: *** No targets specified and no makefile found. Stop. >> make: *** [cross-compile-build-tools] Error 1 > > You're going to need multiple configures and multiple build directories to do it that
2009 Dec 21
5
[LLVMdev] Cross-compiling LLVM on Mac OS X
Hello, I’ve spent the past day or so attempting to get LLVM’s libraries built as a Mac OS X-style universal binary, the first step of which is to get them built for each component architecture (i386, x86_64, ppc, and ppc64). The first two are straightforward as I am working on an x86_64 Mac (running Mac OS X 10.6, which corresponds to Darwin 10), but building ppc binaries has thus far eluded me.
2009 Dec 22
0
[LLVMdev] Cross-compiling LLVM on Mac OS X
>> The configure script’s output says, near the top: >> >> checking target architecture... x86_64 >> >> So it seems that the Makefile is preferring the configure script’s reckoning to the CFLAGS/CXXFLAGS variables at present. > > configure really doesn't know about it. It's still the target architecture. You'll just be adding more. > > Let
2009 Dec 22
1
[LLVMdev] [PATCH] Cross-compiling LLVM on Mac OS X
>> Daniel's comments are also good. > > …success! Looks like I spoke a bit too soon. Everything works as far as the fat binaries are concerned, except that -mmacosx-version-min is set to the host’s OS version, not that of the SDK, causing errors when it tries to link against 10.6’s versions of libraries instead of 10.5’s. This patch appears to solve that; it uses the OS version
2009 Dec 24
0
[LLVMdev] Running functions built with the LLVM C API
Hello all, The Kaleidoscope tutorial shows how to get a void pointer to the a built function, cast it to the appropriate type, and then call it. There isn’t a tutorial using the LLVM C API that I’ve seen, so I’ve been working with bits and pieces found online, and of course the header files. I haven’t been able to find an equivalent to getPointerToFunction as yet, however. The JIT example I
2010 Jan 26
2
[LLVMdev] Returning a structure
I’m using the C API (with a few additions in a single cpp file) to write a compiler. In one part of my code, I want to build a function that returns a structure. The LLVM Assembly Language Reference Manual gives this as a possible return value: > ret { i32, i8 } { i32 4, i8 2 } Meanwhile, compiling this C function: > Range make_range(Index location, Index length) { > return (Range){
2010 Jan 27
2
[LLVMdev] Returning a structure
Hi Duncan, Thanks for the response! > that's because clang is doing something more complicated than you are: it is > producing a function that conforms to the platform ABI for passing parameters. > The platform ABI specifies in this case that the valued should be returned via > a special in-memory mechanism (thus the "sret" extra function parameter) rather > than in
2009 Dec 22
1
[LLVMdev] Cross-compiling LLVM on Mac OS X
On Dec 21, 2009, at 3:39 PM, Rob Rix wrote: >> Anyhow, Rob, best bet is to just use -arch to build everything up. lipo knows what needs to happen. > > Unfortunately that doesn’t appear to be enough; using -arch in CFLAGS (and CXXFLAGS) and not using --build or --host builds for x86_64 no matter what you specify for the architecture (in my case, the documented i386 and ppc). >
2010 Jan 27
0
[LLVMdev] Returning a structure
Hi Rob, > I’m using the C API (with a few additions in a single cpp file) to write a compiler. In one part of my code, I want to build a function that returns a structure. The LLVM Assembly Language Reference Manual gives this as a possible return value: > >> ret { i32, i8 } { i32 4, i8 2 } > > Meanwhile, compiling this C function: > >> Range make_range(Index
2009 Dec 21
0
[LLVMdev] Cross-compiling LLVM on Mac OS X
> > configure: error: Already configured in /Users/rob/Developer/External/llvm-trunk > make[1]: *** No targets specified and no makefile found. Stop. > make: *** [cross-compile-build-tools] Error 1 You're going to need multiple configures and multiple build directories to do it that way. You may want to try just setting your CXXFLAGS to "-arch i386 -arch ppc -arch
2019 Jul 04
0
Reverse DNS
On the server with the dhcp script. apt install krb5-user Should be sufficient, then try again. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: Praveen Ghimire [mailto:PGhimire at sundata.com.au] > Verzonden: donderdag 4 juli 2019 8:39 > Aan: 'L.P.H. van Belle'; samba at lists.samba.org > Onderwerp: RE: [Samba] Reverse DNS > > Hi Louis, > >
2010 Jan 27
0
[LLVMdev] Returning a structure
Hi Rob, > Apologies in advance if this has been hashed over already—and of course, one should be aware that I know _absolutely nothing_ in this regard ( (: )—but perhaps at least some platform ABI details could be handled by an IR-to-IR transformation (a la one of the function passes), taking a function that returns some arbitrary structure via a return mechanism and changing it to use the
2019 Jun 27
1
Reverse DNS
Hi Guys, Thank you for your emails. Here is the info /etc/apparmor.d/local/usr.sbin.dhcp /etc/dhcp/ r, /etc/dhcp/** r, /etc/dhcpd{,6}.conf r, /etc/dhcpd{,6}_ldap.conf r, /usr/local/bin/dhcp-dyndns.sh ix, /bin/grep rix, /usr/sbin/samba rix, /usr/bin/gawk rix, /bin/hostname rix, /usr/bin/wbinfo rix, /usr/bin/heimtools rix, /usr/bin/logger rix, /usr/bin/kinit.heimdal rix, /bin/date rix, /dev/tty
2010 May 11
1
[LLVMdev] LLVMGetPointerToFunction
Hi, Is there such a function (or a similar one) which is callable using the c-binding llvm? Many thanks, Georg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100511/d49c75d2/attachment.html>
2019 Jun 27
4
Reverse DNS
Hai Praveen, > -----Oorspronkelijk bericht----- > Van: Praveen Ghimire [mailto:PGhimire at sundata.com.au] > Verzonden: donderdag 27 juni 2019 13:46 > Aan: samba at lists.samba.org > CC: 'L.P.H. van Belle' > Onderwerp: RE: [Samba] Reverse DNS > > Hi Guys, > > Thank you for your emails. Here is the info > > /etc/apparmor.d/local/usr.sbin.dhcp >
2020 Oct 19
2
[PATCH] drm: remove unneeded break
From: Tom Rix <trix at redhat.com> A break is not needed if it is preceded by a return or break Signed-off-by: Tom Rix <trix at redhat.com> --- drivers/gpu/drm/mgag200/mgag200_mode.c | 5 ----- drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.c | 1 - drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c | 3 --- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c | 1 -
2012 Jul 04
3
Printing from R Console in colour
Hi,I want to be able to print in colour from the R console i.e. commands (in navy) with results (in red) as on the console.   From the console if I click on File -> Print, the commands with results print on my printer but only in monochrome, not in colour. Similarly, if I Edit -> Select All, Edit -> Copy --- and paste into Word, the commands and results are only in monochrome, not in
2004 Dec 18
1
Setting up asterisk for one user in private ip NAT.
Hi. I've just bought SIP telephony service from a Swedish telco. I've managed to make and receive calls with kphone. Now I want to set up asterisk to be able to add fancy features like voice mail and recording conversations. But first I have to get the basic setup right. I'm running asterisk and kphone on the same machine, behind at NAT-router. When I make a call (from my regular
2020 Aug 27
0
[PATCH] drm/nouveau: remove redundant check
From: Tom Rix <trix at redhat.com> clang static analysis flags this problem hw.c:271:12: warning: The left operand of '>=' is a garbage value if (pv.M1 >= pll_lim.vco1.min_m ... ~~~~~ ^ This is mostly not a problem because an early check in nouveau_hw_fix_bad_vpll() if (nvbios_pll_parse(bios, pll, &pll_lim)) return; nouveau_hw_get_pllvals(dev, pll,
2020 Oct 19
0
[PATCH] drm: remove unneeded break
Hi Tom On Mon, Oct 19, 2020 at 09:31:15AM -0700, trix at redhat.com wrote: > From: Tom Rix <trix at redhat.com> > > A break is not needed if it is preceded by a return or break > > Signed-off-by: Tom Rix <trix at redhat.com> Looks good and builds with no warnings. One of the diffs made me - "oh this looks wrong". But after I looked again it was right and