similar to: [LLVMdev] Why IR portable?

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Why IR portable?"

2010 Dec 22
2
[LLVMdev] Why IR portable?
Thanks very much for all of your answer. I was confused by definition of 'portable' by my own thinking. Now I Correct that. (ILP32 is in another project, It's my typo. Thanks) So let me make a conclusion about this. LLVM IR can be a portable language, just depending on our front-end configuration or origin language limits. Did I mistake that? Thank a lot all of you. 2010/12/22
2010 Dec 22
0
[LLVMdev] Why IR portable?
Hello > We all know LLVM IR is portable, but it uses ILP32 No, it doesn't use this. > It seems it already assigned their sizes mapping with types. > How can it be portable? Isn't it been written there? Everything depends on how you generated the IR. You might find this link http://llvm.org/docs/FAQ.html#platformindependent useful. -- With best regards, Anton Korobeynikov
2010 Dec 30
1
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Dear all, I heard a different way to solve it. $ apt-get install libc6-dev-amd64 Maybe this can help? 2010/12/30 Anton Korobeynikov <anton at korobeynikov.info> > Hello > > > Thanks for the tip. My PS3 workstationn is installed a 32-bit OS. I will > Please carefully read the readme.llvm file in the llvm-gcc source > directory. > At least it will give some hints how
2010 Nov 05
1
[LLVMdev] Using LLVM components
Dear all, I'm a beginner in LLVM field. If any rudeness, I feel sorry to that. I have checked-out the source and built successfully. Now I want to use it, so I write a simple code. // context.cpp #include "llvm/LLVMContext.h" int main() { llvm::LLVMContext& context = llvm::getGlobalContext(); return 0; } $ clang++ `llvm-config --cxxflags --ldflags --libs` context.cpp But
2012 Oct 22
3
[LLVMdev] Does someone still keep eye on MC ARM EHABI?
Dear all, AFAIK, ARM EHABI is not ready for both asm and obj emitter. Some people including me what to implement them. My question is, to avoid duplicate effort, does someone take charge of this part? or does anyone is already implementing this currently? BTW, any suggestion on this effort? I'm very appreciated! Thanks in advance! -- Best regards, Wen-Han Gu (Nowar) -------------- next
2011 Jan 08
2
[LLVMdev] Build a static-linked executable using llvm
Hello all, I wanna build a static linked executable using llvm. But I failed. My question is Can we use -static using llvm? Thanks for any response. Below is details ======== First I use $ clang++ test.cc `llvm-config --cxxflags --ldflags --libs` I works as usual. But if I use $ clang++ test.cc `llvm-config --cxxflags --ldflags --libs` -static It yells lots of undefined reference, like
2010 Dec 30
0
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Hello >  Thanks for the tip. My PS3 workstationn is installed a 32-bit OS. I will Please carefully read the readme.llvm file in the llvm-gcc source directory. At least it will give some hints how llvm-gcc should be configured (e.g. it doesn't seem you're passing any path to already built LLVM libs, etc.) -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics,
2011 Jan 08
0
[LLVMdev] Build a static-linked executable using llvm
You are missing references for pthread. Try to add -pthread to build line. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110108/90c573ca/attachment.html>
2012 Oct 22
0
[LLVMdev] Does someone still keep eye on MC ARM EHABI?
Hello > My question is, to avoid duplicate effort, > does someone take charge of this part? or > does anyone is already implementing this currently? > > BTW, any suggestion on this effort? I'm very appreciated! There are several directions here: 1. Binary emission. Right now MC layer is text-only and depends on assembler 2. Correctness issues. It's believed that unwinding
2010 Dec 30
3
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Hi, Csaba Thanks for the tip. My PS3 workstationn is installed a 32-bit OS. I will install a 64-bit OS soon and try what you said. Thanks again. Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2016 May 12
2
ARM ILP32 Data model....
Hi Guys , Did clang has the support for ILP32 data model on the ARM target like aarch64 /arm64 ? Thank you ~Umesh
2012 Oct 22
1
[LLVMdev] Does someone still keep eye on MC ARM EHABI?
Dear Renato and Anton, Big thanks to your help. Those references are very helpful! BTW, After I applying this patch from Logan Chien, I pass some examples on ARM assembly emission. It seems good to me. http://llvm.org/bugs/show_bug.cgi?id=7187#attach_9161 For object file emission, The first thing is making MC generate correct .ARM.exidx and .ARM.extab. I will keep tracing that. Thanks!
2011 May 05
1
[LLVMdev] Could LLVM or Clang go backward to modify c source code?
OK. Thank you. What I want to do is: Fix source code in-place, then feed it to compiler normally. I assume I can fix source code in-place using clang::SourceManager, but I cannot find the appropriate API. Now I know that way is infeasible. Thanks again. 2011/5/5 Joshua Warner <joshuawarner32 at gmail.com> > Wen-Han, > > It sounds like there are two problems here: first is
2010 Dec 06
4
[LLVMdev] wxGTK sample app compiled by llvm crashes on arm
Thanx for a prompt reply. I will definitely try llvm 2.8 as per your suggestion. However Step 1 and Step 2 are working for me in case of a simple hello world program on arm processor . Similarly I am able to run a GTK application on arm. However while running wxGTKwidget app it crashes while allocation of memory. As I mentioned earlier, If I explicitly allocate memory using new operation then
2015 Dec 15
2
How do I get ABI information to a subclass of MCELFObjectTargetWriter::GetLocType?
I am implementing a defined, but currently unimplemented by LLVM, ABI. This ABI differs from an existing ABI in its ELF object format by implementing a subset of an existing ABI, but encoded differently and by setting the e_ident EI_CLASS field. I am trying to use MCTargetOptions::getABIName to set a boolean in the modified subclass of MCELFObjectTargetWriter to indicate which relocation encoding
2011 Apr 30
2
[LLVMdev] Data flow analysis
Hi all, in this case: ... int* p = ... int* q = p; ... How can I know that data-flow from p to q, i.e., which LLVM pass of header files could I use? Thank you all. -- Best regards, Wen-Han -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110430/a9164c60/attachment.html>
2019 Feb 06
2
[RFC] arm64_32: upstreaming ILP32 support for AArch64
Hi again, On Fri, 1 Feb 2019 at 19:25, Eli Friedman <efriedma at quicinc.com> wrote: > I don't know that this ends up being easier to implement overall, but the model is closer to what the hardware actually supports, and it involves fewer changes to target-independent code. I've now got something about largely working via an IR-level lowering pass (pushed to GitHub as
2010 Apr 08
2
[LLVMdev] Using LLVM with clang for a homebrew kernel
Hello everybody, I'm currently developing my own small operating system as a hobby project in my free time. Until now, I'm using gcc and the binutils to compile my C++ code. I want to try something new and try to use llvm with clang as a C(++) frontend as a compiler. Unfortunately I couldn't find any information about how I can use clang and llvm in a freestanding environment without
2009 Aug 11
5
[LLVMdev] Bug in optimization pass related to strcmp and bigendian back-ends
I thought the LLVM IR is target independent and that "llvm-gcc -c -emit-llvm -O2" produces target independent code. I'm working on a back-end and use llvm-gcc to first generate the bc file. Afterwards I use llc including the new back-end to produce the assembler file. -Timo -----Ursprüngliche Nachricht----- Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at
2005 Nov 24
1
Inversion function of dnorm ?
Hi, In R, qnorm is the inversion function of pnorm. (c.d.f) But there is no inversion function for dnorm. (p.d.f). Is there any easy (and quick) way to compute the inversion function of p.d.f in R ? Thanks ...