Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] not able to run pass on visual studio 2010"
2011 Aug 16
3
[LLVMdev] .so file creation for new passes on Visual Studio
Hi!
I was trying to run an already build LLVM-pass ( the Hello world ) on Visual
Studio. I could locate the The Hello world pass sources in
llvm/lib/Transform/Hello/*.But when I compiled llvm using the command "cmake -G
"Visual Studio 10" ..\llvm" , I couldn't find the LLVMHello.so file in
"build_directory/Debug/lib/LLVMHello.so" neither in
2011 Aug 17
0
[LLVMdev] .so file creation for new passes on Visual Studio
Hi,
Sorry, my bad. Loadable module is available on Windows, but is not built
with MSVC. Try MinGW instead.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
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 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,
2011 Mar 23
4
[LLVMdev] Calling external functions failed on PowerPC
Hi, all
I have a trouble with calling external functions on PowerPC.
What I am doing is generating a LLVM IR first like this,
- x86
call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !12
- ppc
call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !10
After lowering above LLVM IR for x86 and ppc, it becomes:
- x86
%RAX<def> = MOV64ri
2011 Apr 26
3
[LLVMdev] Problem with compiling the runtime libary
On 24 April 2011 00:57, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:
> Hi, Zhao
>
> You can apply the attachment to LLVM 2.9 Release. It has been tested
> on FreeBSD/x86.
>
Hi Chen, may I commit this (updated to include GCDAProfiling.cpp) to LLVM
SVN?
Nick
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information
2011 Nov 08
3
[LLVMdev] Failed to decode profile dump with llvm-prof
On Mon, Nov 07, 2011 at 04:10:29PM +0100, Wim Vander Schelden wrote:
> I'm having the same problem. Does anyone know what's causing this?
>
> Kind regards,
>
> Wim
What's your profiling procedure? I can only guess llvm-prof does not
recognize the profiling data.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia
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
2011 Nov 03
3
[LLVMdev] About hyperblock in LLVM
Hi guys,
I am new for llvm,and I want to write a backend for TRIPS arch.
So I am wondering if llvm can produce hyperblock easily,can anyone
help?
Any tips are welcomed.
Thank you !
wangwentao , HIT
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Mar 25
0
[LLVMdev] Calling external functions failed on PowerPC
Hi, all
I found the example code examples/HowToUseJIT.cpp also shows
the same error.
Attachment is the LLVM module created by HowToUseJIT. And here
is the error,
Running foo: %X4<def> = LDtoc <ga:@add1>, %X2
UNREACHABLE executed!
Stack dump:
0. Running pass 'PowerPC Machine Code Emitter' on function '@foo'
Aborted
Currently, I use gdb try to track down
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 Sep 25
3
[LLVMdev] POSIX thread library support
Hello all,
I caught a problem related to pthread library. I built llvm and llvm-gcc
then compiling a multithreaded benchmark written in POSIX thread library.
The command "llvm-gcc -o bench bench.c -lpthread" ran well while "llvm-gcc
-c bench; llvm-ld -o bench bench.o -lpthread" crashed. It told that
"llvm-ld: error: Cannot find library 'pthread'".
I could
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
2011 Jun 15
4
[LLVMdev] Connection llvm ir
I want to connect each llvm ir
for example:
1. Turn C/C++ language into C_llvmIR assembly language using Clang
2. Turn Fortran language into Fortran_llvmIR assembly language using
Dragonegg
3. Turn Python language into Python_llvmIR assembly language using
Unladen-Swallow
4. Connect each llvm IR
Is this possible?
Wonjun, Choi
-------------- next part --------------
An HTML attachment was
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 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 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
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 Apr 26
2
[LLVMdev] Trouble with tweaking test-release.sh script
Update:
> Clang :: CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
>
> Seems to be difference between ARM and Intel C++ ABI, but I leave it to
> James to comment.
Use "-triple x86_64-none-linux-gnu" makes this test pass.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)