similar to: [LLVMdev] question on difference of bitcode between C and C++

Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] question on difference of bitcode between C and C++"

2011 Sep 22
0
[LLVMdev] question on difference of bitcode between C and C++
On Sep 21, 2011, at 6:13 PM, Fei Jia wrote: > Could anybody provide me some links or pages or infos of the difference of bitcodes of C and C++? We have implemented an optimization pass on bitcode generated from C, and we are trying to find out whether it will work on bitcode from C++. Thanks! > Hi Fei, There isn't a difference in the bitcode format of a C as opposed to a C++ program.
2011 Sep 22
2
[LLVMdev] question on difference of bitcode between C and C++
Hi Bill, Thanks for reply! I am sorry I didn't express my question clearly. Examples may explain well. Now I am trying to analyze the data flow of programs. I first compile the C code to bitcode, and then apply our algorithm to the bitcode to find the dependency between statements. But as to C++ code, there are class, vector, reference, I may need to revise my algorithm to analyze bitcode
2011 Oct 29
0
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
Hi Fei Jia, What revision are you using? I suggest you to try C backend with the most recent LLVM version, if possible. I recall I had some similar C backend breakages in July-August: structs definitions were lost somewhere. To my understanding, the correct result should look like this: /* Typedefs */ typedef struct l_unnamed_0 l_unnamed_0; typedef struct l_unnamed_1 l_unnamed_1; /* Structure
2011 Sep 22
0
[LLVMdev] question on difference of bitcode between C and C++
On Wed, Sep 21, 2011 at 7:01 PM, Fei Jia <j.jiafei at gmail.com> wrote: > Hi Bill, > Thanks for reply! I am sorry I didn't express my question clearly. > Examples may explain well. Now I am trying to analyze the data flow of > programs. I first compile the C code to bitcode, and then apply our > algorithm to the bitcode to find the dependency between statements. But as
2011 Oct 10
2
[LLVMdev] There are compiling errors when converting bytecode to c by LLC
I convert C to bytecode by LLVM, and then convert the bytecode back to C by LLC, but the generated C code cannot be compiled. Could anyone give me some suggestions? Thanks! The initial C file is rather simple (hello world): #include <stdio.h> int main() { printf("hello world\n"); printf("hello world1\n"); return 0; } The two commands:
2011 Sep 22
0
[LLVMdev] question on difference of bitcode between C and C++
Another difference is the presence of exceptions in C++, which would require you to handle more IR instructions. This might not matter depending on type of analysis you do. See: http://llvm.org/docs/LangRef.html#i_invoke (Note that there is a substantial rewrite of exception handling going into 3.0) Anna. On Sep 22, 2011, at 3:29 AM, Renato Golin wrote: > On 22 September 2011 03:30, Eli
2011 Sep 22
2
[LLVMdev] question on difference of bitcode between C and C++
On 22 September 2011 03:30, Eli Friedman <eli.friedman at gmail.com> wrote: >> I am trying to find such difference of bitcode between C and C++. > > There isn't any difference in that sense... in IR, a constructor is > just a function call, a reference is just a pointer, etc. Hi Fei, While Clang (like others) lowers C++ into C semantics and lower that into IR, there are
2006 Jun 26
1
OpenSSH compatibility with Tru64 version 4.0F?
I am just looking for a quick answer as to whether or not OpennSSH is compatible with Digital Unix Tru64 v 4.0F. Hing Fei Wong Systems Engineer Building 100, M1309 Valley Forge, PA Admin # 4-6242 -----Original Message----- From: Darren Tucker [mailto:dtucker at zip.com.au] Sent: Friday, June 23, 2006 3:53 AM To: Wong, Hing Fei Cc: www at openbsd.org Subject: Re: OpenSSH compatibility with
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
Hi Joshua, Thanks for your great comment. I made up a ConstantVector in IR. Then I successfully use AVX intrinsics to retrieve the returned vector data. The remaining thing is that how to pass the vectors to LLVM function using intrinsics. Do you have any suggestions? Please forgive me if the question is too naive. I pasted below two IR I used. The first one works. The second one doesn't.
2008 Feb 28
1
RE: A question on vmx loader in xen - how and when rombiosis loaded into memory
Thank you. I notice the system then jumps to F000:FFF0 to execute. But because VMX is turned on, switching to real-mode would incur problems? I don’t find any clue to turn on the vm86 mode as Readme in the tools/firmware directory puts. Best regards, Hu Jia Yi Ext: 20430 Tel: 65-67510430 -----Original Message----- From: Cui, Dexuan [mailto:dexuan.cui@intel.com] Sent: Thursday,
2011 Nov 20
2
I'm writing this letter to enquire where can I download the package of "lmtest".
Dear editor: I'm writing this letter to enquire where can I download the package of "lmtest". Can you send me this package? THanks a lot. Best regards, Shu-Fei Wu
2013 Mar 04
2
[LLVMdev] [MIPS] How can I add a constraint to LLVM/Clang for MIPS BE?
Hi Jack, On Sat, Mar 2, 2013 at 8:15 AM, Jack Carter <Jack.Carter at imgtec.com> wrote: > Jia, > > I made what I believe to be the correct changes and rebuilt clang and llc. Are the results what you expected? I so I will prepare the patches for commitment. > > Jack > > clang ../mips_R_JiaLiu.c -o mips_R_JiaLiu.ll -emit-llvm -O3 -S -target mipsel-unknown-linux -std=gnu89
2013 Mar 05
0
[LLVMdev] [MIPS] How can I add a constraint to LLVM/Clang for MIPS BE?
Maybe try: .set noat AT is needed to create certain instructions from pseudo instructions, so you have to be careful how you use this. Some instructions that you can use in Mips assembler are in fact pseudos. While AT is not available to it (.set noat), the assembler can not assemble certain pseudos for you. On 03/03/2013 06:02 PM, Jia Liu wrote: > Hi Jack, > > On Sat, Mar 2, 2013
2009 Mar 04
3
How to reuse my self function?
Dear all, I wrote a function test1 in test1.R. Right, I am writing another function test2 on test2.R and trying to use test1 function. How can I do? Is there any similar way like including test1.R in test2.R file? Thank You Very Much. Jia-Ming ============================ $BD%2HLC(B Jia-Ming Chang PhD Student Comparative Bioinformatics Group Bioinformatics and Genomics Programme Centre
2018 Apr 18
3
[PATCH] configure.ac/cipher.c: Check for OpenSSL with EVP_des_ede3_cbc
While compiling openssl with option `no-des', it caused the openssh build failure ... cipher.c:85:41: error: 'EVP_des_ede3_cbc' undeclared here (not in a function); ... Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com> --- cipher.c | 2 ++ configure.ac | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/cipher.c b/cipher.c index
2016 Mar 25
1
[GSoC 2016] Proposal: CFL-AA by default
Oops thanks for the reminder. I did use another email address and am terribly sorry for it. Let me just post the link: https://docs.google.com/document/d/1Kvepb-v5Ta8ug_lLK1kZeexPNlpvj62K5iIF0fMuLyM/edit?usp=sharing On 03/25/2016 11:44 AM, John Criswell wrote: > Dear Jia, > > I don't see your proposal in the system. What is the title of your > proposal, and under what email
2005 Jul 12
0
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
On Mon, 11 Jul 2005, Long Fei wrote: > > This didn't work as I tried with 197.parser. it works without > "-Wl,-disable-opt" switch though. > > [197.parser]$ llvm-gcc analyze-linkage.c and.c build-disjuncts.c > extract-links.c fast-match.c idiom.c main.c massage.c parse.c post-process.c > print.c prune.c read-dict.c utilities.c xalloc.c word-file.c
2016 May 19
1
Testing CFL alias analysis
Hi Geoff, Thank you so much for the effort! It's good to hear that cfl-aa didn't break anything. However, the fact that it doesn't quite affect code generation is also concerning. I'll definitely look into the issue. On 05/19/2016 02:03 PM, Geoff Berry wrote: > Hi Jia, > > We did some testing with CFL-AA enabled on an aarch64 OoO target on the > llvm test-suite and
2005 Jul 11
2
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
This didn't work as I tried with 197.parser. it works without "-Wl,-disable-opt" switch though. [197.parser]$ llvm-gcc analyze-linkage.c and.c build-disjuncts.c extract-links.c fast-match.c idiom.c main.c massage.c parse.c post-process.c print.c prune.c read-dict.c utilities.c xalloc.c word-file.c strncasecmp.c -Wa,-disable-opt -Wl,-disable-opt -lm -o llvm_parser [197.parser]$
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
Hi Stefan, Thank you very much for answering my question! I followed your suggestion but the function still cannot return the correct result. I also set target-feature attributes for my function. I am using LLVM 6.0. It only prints out some random large numbers but the correct answer is supposed to be all 0. Can you please help me figure out what's going on here? Any help will be greatly