similar to: [LLVMdev] LLI Documentation

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] LLI Documentation"

2012 Mar 02
0
[LLVMdev] (Newbie) Using lli with clang++?
> $ clang++ -O3 -emit-llvm hello.cpp -c -o hello.bc > $ lli hello.bc > LLVM ERROR: Program used external function > '_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l' > which could not be resolved! What version of LLVM and Clang you are using? I have no such problem on my machine. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab,
2012 Mar 02
5
[LLVMdev] (Newbie) Using lli with clang++?
Hello all, I'm brand new to using LLVM and am having trouble using lli with a C++ program. I tried to compile the following: #include<iostream> using namespace std; int main() { cout << "Hello, world!" << endl; return 0; } When I compile directly to an executable with the following command, all is well: $ clang++ -O3 hello.cpp -o hello But when I try to produce
2012 May 01
2
[LLVMdev] Running LLVM JIT on qemu-system-arm
Could you tell me the current status of MIPS JIT? On Mon, Apr 30, 2012 at 11:38 PM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > > Thanks for your information. > > Could you suggest any other framework that I could use for making a > custom JIT > > for ARM? > > I am doing research on JIT compilation for a heterogeneous processor > system. > > If not for
2013 Jan 11
4
[LLVMdev] Update PTX section in CodeGenerator.html
Hi Justin, I believe the PTX section in the link below need some love, updating "lib/Target/PTX" to "lib/Target/NVPTX" for example. Would you like to take a look? http://llvm.org/docs/CodeGenerator.html#the-ptx-backend Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2012 Apr 30
2
[LLVMdev] Running LLVM JIT on qemu-system-arm
Hi James, Thanks for your information. Could you suggest any other framework that I could use for making a custom JIT for ARM? I am doing research on JIT compilation for a heterogeneous processor system. Best, Toan Mai On Mon, Apr 30, 2012 at 3:55 PM, James Molloy <james.molloy at arm.com> wrote: > Hi Toan, > > The JIT for ARM (non-darwin) is completely broken and you should not
2012 Sep 06
2
[LLVMdev] How to build the 'example' projects ?
Hello, I'm not very familiar with the autotools, so please bear with this message if the solution is too obvious. I am using 64 bit Linux and gcc 4.7.1. I just built llvm and clang from the trunk and as the binaries installed in /usr/local/bin seem to be working correctly, I guess the compilation has gone okay. Note that, at this point, I'm not trying to make a separate project, which is
2012 Oct 30
3
[LLVMdev] TargetELFWriterInfo used for anything?
> In consideration of those codes in XXXAsmPrinter class which print out > MachineInstr in .s format, I tend to think they are old codes that > might be obsolete and will be replaced with MC layer implementation, > but I am not sure. How about sending a patch which remove those obsolete code, and let others give comment? Cheers, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab,
2012 Apr 14
2
[LLVMdev] opt problem
Hi, Does anyone know which version of LLVM support "opt --insert-block-profiling command"? Thanks! Jianing Zhao On Apr 14, 2012, at 8:08 AM, Duncan Sands wrote: > Hi Jianing Zhao, > >> When I use the opt --insert-block-profiling command, there is " opt: Unknown command line argument '-insert-block-profiling'." > > yes, it doesn't exist any
2012 Apr 24
5
[LLVMdev] Trouble with tweaking test-release.sh script
Hi 陳韋任, Sorry for the late response. On Apr 21, 2012, at 8:03 PM, 陳韋任 wrote: > I have a native compile and the result seems better... You can compare > the result of cross compile [1] and the native compile [2]. > > Any though? > I'm not particularly happy about the failures here. We need to get to the bottom of them. In the previous email, you tried setting CFLAGS and
2012 Sep 13
5
[LLVMdev] Fail to compile LLVM on Gentoo Linux
Hi all, I think it's Gentoo's bug, but I want to know if anyone has the same issue here. I am compiling LLVM trunk on Gentoo (gcc 4.5.2), and I get error message below, --- make[4]: Entering directory `/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/lib/Frontend' llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build
2011 Nov 02
1
[LLVMdev] Failed to decode profile dump with llvm-prof
陳韋任 <chenwj <at> iis.sinica.edu.tw> writes: > > Hi, all > > I'm using profiling mechanism provided by LLVM. > What I did is, > > $ ./${LLVM_SRC}/utils/profile.pl hello.bc > > But it turned out that llvm-prof failed to interpret > the profile dump, llvm-prof gave me the error message > below. > > llvm-prof: Unknown packet type #5!
2012 Apr 27
4
[LLVMdev] RE : Detect if a basicblock is part of a loop
Thx all for the quick answers... > De : llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] de la part de Arnaud ALLARD DE GRANDMAISON [arnaud.allarddegrandmaison at parrot.com] > > Hi, > > Depending on what have run before your pass, the loop may have been unrolled or simplified if the computation inside the loop is too simple. > > Cheers, > -- > Arnaud de
2012 Sep 19
0
[LLVMdev] How to use MCJIT by default for a target
On Wed, Sep 19, 2012 at 12:42:18AM +0000, Kaylor, Andrew wrote: > It seems to me that MCJIT would be a nice default on the platforms that support it. On the other hand, I don't like the idea of the default behavior being platform dependent. > > Perhaps the biggest obstacle to changing the default is that it would have complicated implications for the automated tests. The testing of
2012 Sep 19
3
[LLVMdev] How to use MCJIT by default for a target
On Wed, Sep 19, 2012 at 12:42:18AM +0000, Kaylor, Andrew wrote: > It seems to me that MCJIT would be a nice default on the platforms that support it. On the other hand, I don't like the idea of the default behavior being platform dependent. > > Perhaps the biggest obstacle to changing the default is that it would have complicated implications for the automated tests. The testing of
2012 Mar 22
4
[LLVMdev] Execution Engine: CodeGenOpt level
Hi, How can I dynamically change the code generation optimization level (e.g., None) of a JIT in other to recompile a function with a new optimization level (e.g., Default)? Thank you. Best regards, Nurudeen.
2012 Sep 25
2
[LLVMdev] Inline ASM Problem
Sorry that I have implemented nothing for it. aget is not my own project which is a public project of paralell "wget". I only want to use it as a common benchmark.  Do I need to implement anything for it? Thank you BestAndy Hi Andy, On 25/09/12 12:10, Zhoujinguo wrote: > > Thank you for replying. > > The target is "aget" which is attached. The compiling shell is
2012 Aug 28
0
[LLVMdev] How to write a regression test case?
> still a question: > what does "; PR1028" means? I believe it means this test case addresses bug report (pr, problem report) 1028 [1]. In other words, this test case guarantee that pr1028 will not back again. If so, it will fail. Regards, chenwj [1] http://llvm.org/bugs/show_bug.cgi?id=1028 -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science,
2013 Feb 06
2
[LLVMdev] How to write up XXInstFormat.td?
Hi all, I have some troubles in writing XXInstFormat.td for my little backend. I don't know how should I start writing up this file. Is there any general rule? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
2012 Apr 16
3
[LLVMdev] How to compile this linux-driver like programme into .bc file?
Thanks for your help and patience! Best regards, Zhen Kai At 2012-04-16 15:35:25,"陳韋任" <chenwj at iis.sinica.edu.tw> wrote: >> The thing is that I know the Makefile to complete that task. But what I want to know the clang command that can do that. Since the makefile will generate a .ko file while I can use the clang command "-O3-emit-llvm" to generate a
2012 Oct 27
2
[LLVMdev] TargetELFWriterInfo used for anything?
On Fri, Oct 26, 2012 at 6:01 PM, 陳韋任 (Wei-Ren Chen) < chenwj at iis.sinica.edu.tw> wrote: > Hi Jan, > > Why do you think TargetELFWriterInfo is not used (IIUC)? > I see a lot of targets inherit class TargetELFWriterInfo > for their ELF writer. > > Yes, a lot of targets inherit it, but it looks like nothing ever calls getELFWriterInfo() (anymore) to get access to the