similar to: [LLVMdev] Register Allocation on IR

Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] Register Allocation on IR"

2015 Jun 15
2
[LLVMdev] Register Allocation on IR
Thanks. I will also work on doing an SSA register allocation that returns SSA form (IR), since it is not yet implemented. On Fri, Jun 12, 2015 at 9:20 PM, Matthias Braun <mbraun at apple.com> wrote: > llvm uses three different representations until machine code is emitted: > > - the llvm language as specified in the llvm manuals, we usually call that > IR > - the selection
2015 Jul 27
2
[LLVMdev] a question about pooalloc
Hello, today I download poolalloc from " https://github.com/llvm-mirror/poolalloc". and I compiled it with LLVM3.3. Then when I excute "make",I get the error: AddressTakenAnalysis.cpp:18:30:fatal error:llvm/IR/CallSite.h: No such file or directory. ​I correct the path of callsite.h to "llvm/Support/Callsite.h". there is another error: AddressTakenAnalysis.cpp:In
2015 Jul 09
2
[LLVMdev] How to use get the memory location of a function argument correctly?
Hi all, i hope to get the MemoryLocation for argument %1 in a CallInst like "call void @function(i32* %1)", and i found an interface "getForArgument()" which seems available for this. However, i don't know how to correcly fill the 3rd argument TargetLibraryInfo in my own code and can't find an example in google. Does anybody know how to do it? Or some other advice for
2015 Jul 16
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
> > > Is there a reason why LLVM's link-time optimization won't work for you? > > http://llvm.org/docs/GoldPlugin.html > http://llvm.org/docs/LinkTimeOptimization.html > > Well the primary motivation to move to LLVM is licensing which is why we also ditched binutils since we can't package gcc for iOS due to the GPL. So in the end the gold plugin wouldn't
2015 Jul 18
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
Thanks Nick. I've been pursuing Gao's technique but can't seem to get opt to remove obviously dead code from even the following trivial example: int mult(int a, int b){ return a*b; } int main(void){ return 0; } While mult is never called it still is not removed. I just can't seem to get opt to understand it's seeing the whole program so it can remove this
2015 Jun 17
3
[LLVMdev] Register Allocation on IR
Having worked on SSA register allocators in the past I have to say that SSA is actually a good fit for register allocation. However LLVM IR is indeed not. You don't have any target instructions or register classed/constraints. It wouldn't make much sense to designate registers to llvm IR values nor is there a way to express that in IR. llvm has the machine instruction (MI) representation
2015 Jul 28
4
[LLVMdev] Request: Changing commit message in llvm trunk
Hi I'm trying to change a commit message that became malformed when pushing to trunk svn propedit svn:log --revprop -r 243434 > svn: E175002: DAV request failed; it's possible that the repository's > pre-revprop-change hook either failed or is non-existent > svn: E175002: Repository has not been enabled to accept revision > propchanges; > ask the administrator to
2015 Jun 26
4
[LLVMdev] Function "llvm::PassManager::run" not defined.
Hi, I am trying to use GDB for debugging my llvm pass. I am following the documentation http://llvm.org/docs/WritingAnLLVMPass.html. When i am doing this the following error and warning messages I am getting. I tried to remove the warning by apt-get install libc6-dbg:i386 command for updating the libc6 but still getting the same. Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+:
2015 Jul 02
3
[LLVMdev] [cfe-dev] Phabricator update
On Thu, Jul 2, 2015 at 7:27 PM Jonathan Roelofs <jonathan at codesourcery.com> wrote: > Even further off topic, in phab wishlist land: It'd be awesome if it > were capable of inferring extended patch context by looking at the svn > repo/git mirrors (rather than requiring the person submitting the patch > to re-upload with -U999). > Yea, this is hard, because detecting
2015 May 30
3
[LLVMdev] Error in building Gold on FreeBSD
Hi I followed the steps on http://llvm.org/docs/GoldPlugin.html#lto-how-to-build to build the gold plugin on FreeBSD but ! Heres a link to the screenshot of the error: http://postimg.org/image/anlpuufbl/ This is the error message that it shows and so I am also unable to get ld-new. I checked and no CFLAGS were set in etc/make.conf. How to proceed with the installation? I am using the deault
2015 Jul 08
3
[LLVMdev] Phabricator update
You were in sendgrid's bounce list (there must have been at least one bounce from your email to the apple servers). Please let me know if other people had similar problems. On Wed, Jul 8, 2015 at 6:11 PM Adam Nemet <anemet at apple.com> wrote: > Hi Manuel, > > Thanks for the update it has some nice new features. There is one issue I > am seeing since the update though. I
2015 May 31
2
[LLVMdev] Error in building Gold on FreeBSD
I triend the command make all-gold -k But the error message that it says now is: /usr/binutils/gold/system.h:38:11:fatal error: 'libintl.h' file not found #include <libintl.h> On Saturday, May 30, 2015, John Criswell <jtcriswel at gmail.com> wrote: > Dear Aditya, > > Regarding the error, it looks like binutils is trying to build its > documentation. For
2015 Jul 17
3
[LLVMdev] Fail to build LLVM release_36 in MSVC 2013
Hi, All, I follow the menu http://llvm.org/docs/GettingStartedVS.html , but still failed to build LLVM debug version. Here's error message: 7>C:\study\llvm\projects\compiler-rt\lib\asan\asan_win.cc(69): fatal error C1189: #error : Please build the runtime with a non-debug CRT: /MD or /MT Any idear? -- Best Regards, Amy -------------- next part -------------- An HTML attachment was
2015 Jul 03
2
[LLVMdev] [cfe-dev] Phabricator update
On Fri, Jul 3, 2015 at 10:02 AM Andrew Wilkins <axwalk at gmail.com> wrote: > On Fri, 3 Jul 2015 at 01:43 Manuel Klimek <klimek at google.com> wrote: > >> On Thu, Jul 2, 2015 at 7:27 PM Jonathan Roelofs < >> jonathan at codesourcery.com> wrote: >> >>> Even further off topic, in phab wishlist land: It'd be awesome if it >>> were
2015 Jul 02
3
[LLVMdev] Phabricator update
This might be slightly off topic, but I'd really like a way to be able to run the buildbots off a Phabricator Diff before committing. On Thu, Jul 2, 2015 at 9:01 AM, Manuel Klimek <klimek at google.com> wrote: > Unfortunately threading will be broken for changes currently under review > (new patches shouldn't have the problem). > I'm very sorry for this inconvenience
2015 Jul 23
2
[LLVMdev] lli supports different targets than llc?
Hi, Is it normal/expected for `llc` to support a different set of targets than `lli`? I have a hello.ll on which this works: $ llc -mtriple=armv7a-linux-gnueabihf hello.ll # OK, generates hello.s But this doesn't: $ lli -mtriple=armv7a-linux-gnueabihf hello.ll # lli: error creating EE: No available targets are compatible with this triple, see -version for the available targets. I'm
2015 Jul 02
5
[LLVMdev] Phabricator update
Greetings llvm'ers, I'm working on an update to phabricator that brings our fork significantly closer to the upstream version, thus making maintenance much easier; this will allow us to upgrade more often. Upstream has fixed many issues and introduced new ways to customize the email flow, so a) while rolling out the new version I'll be fiddling with config settings; during that
2015 Jun 09
2
[LLVMdev] msbuild and clang
Okay, so trying a straight compile of the Python interpreter with clang-cl, I used the following commands: cd \python-2.7.10\pcbuild copy C:\llvm\build\Release\bin\clang-cl.exe cl.exe rd /q /s amd64 rd /q /s win32-temp-debug rd /q /s win32-temp-release rd /q /s x64-temp-debug rd /q /s x64-temp-release msbuild /p:Configuration=Release /v:diag /fileLogger pcbuild.sln (The second line is the one
2015 Jul 08
2
[LLVMdev] Phabricator update
> On Jul 8, 2015, at 9:19 AM, Adam Nemet <anemet at apple.com> wrote: > >> >> On Jul 8, 2015, at 9:16 AM, Manuel Klimek <klimek at google.com <mailto:klimek at google.com>> wrote: >> >> You were in sendgrid's bounce list (there must have been at least one bounce from your email to the apple servers). Please let me know if other people had
2015 Jun 07
2
[LLVMdev] Loop Unfolding in LLVM
Hello, I am looking for a loop unfolding procedure implemented in LLVM that helps to transform a while-loop to n-layer If-statements. The transformation should be on IR, although the example below is illustrated on the source level. original loop: * WHILE (condition) DO action ENDWHILE* Expected unfolded loop (2-layer): * IF (condition) THEN* * action* * IF