Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] array?"
2002 Sep 27
3
[LLVMdev] setCC
what's the semantics for setCC if one of the operands is NULL pointer?
%ptr=alloc int
seteq int*, %pt, NULL
what's the result for the second instruction? How about setne, setlt,
setgt, setle, and setge? Thanks!
Jianzhong
2002 Sep 28
0
[LLVMdev] Re: an error
dyn_cast<> will return NULL if i is not an AllocationInst object.
--Vikram
http://www.cs.uiuc.edu/~vadve
> From: Jianzhong Liu <jliu7 at uiuc.edu>
> Sender: jliu7 at cs.uiuc.edu
> Date: Sat, 28 Sep 2002 17:00:04 -0500
> Subject: an error
>
> I keep getting a core dump error for:
>
> ...
> const Type *opType =
2002 Nov 11
1
[LLVMdev] about getNodeForValue()
I have a question about the getNodeForValue() function. If I have the
following code:
struct a *p;
p = malloc( sizeof(struct a));
If I call DSGraph->getNodeForValue(p).getNode(). Will the returned Node
be p node or the actual memory location node?
Thanks,
xiaodong
2002 Oct 31
1
[LLVMdev] problems with llvmgcc
Dear Prof. Adve,
Now I can use llvmgcc to compile a .c file into .bc file. But I still have
trouble simply run the .bc code. Below is the sequence I got when I tried.
I really don't know what's going on here. Please let me know how can I fix
it.
Thanks,
xiaodong
xli3|csil-suna48|~/cs426|[13]% llvmgcc scalarize.c -o scalarize
xli3|csil-suna48|~/cs426|[14]% scalarize
Cannot load value of
2002 Nov 10
2
[LLVMdev] Find mallocs from a DSNode
Chris Lattner wrote:
> > Is there some efficient way to find the malloc instructions which point
> > to the memory represented by a DSNode? Right now the only way I see is
> > by iterating through the value map in the DSGraph object and finding
> > every value that points to my DSNode.
>
> You're right, you have to iterate over the program, looking to see what
2005 Sep 05
1
[LLVMdev] dependence analyzer for machine code?
On Sep 5, 2005, at 10:21 AM, Andrew Lenharth wrote:
> On Mon, 2005-09-05 at 14:45 +0800, Tzu-Chien Chiu wrote:
>
>> why there is no general dependency analysis for the "machin code"?
>> perhaps it's because the instruction scheduling is only implemented
>> for sparcv9?
>>
>
> Most backends use the SelectionDAG infastructure to do this kind of
>
2002 Oct 30
2
[LLVMdev] problems with llvmgcc
Thanks, Chris,
Below is the output of 'llvmgcc he.c -v'
xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v
Reading specs from
/usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/specs
Configured with: /home/vadve/lattner/cvs/gcc/configure
--srcdir=/home/vadve/lattner/cvs/gcc
--prefix=/home/vadve/lattner/cvs/gcc_install_sparc --target=llvm
--enable-languages=c
2017 Jan 19
4
[RFC] IR-level Region Annotations
Hi Johannes,
> I am especially curious where you get your data from. Tapir [0] (and to
> some degree PIR [1]) have shown that, counterintuitively, only a few changes
> to LLVM passes are needed. Tapir was recently used in an MIT class with a
> lot of students and it seemed to work well with only minimal changes
> to analysis and especially transformation passes.
TAPIR is an
2007 Nov 02
3
[LLVMdev] [Fwd: Fwd: LLVM and threading]
Dear All,
Here's a question Vikram and I received. Is the LLVM JIT thread safe?
-- John T.
-------------- next part --------------
An embedded message was scrubbed...
From: "Adve, Vikram Sadanand" <vadve at uiuc.edu>
Subject: Fwd: LLVM and threading
Date: Thu, 1 Nov 2007 09:48:59 -0500
Size: 3037
URL:
2009 Jul 11
10
[LLVMdev] ANTLR?
We are looking for an open source C++ parser other than g++ if
possible. Clang would be great but its C++ support is still some way
away and we need something that works or nearly works now. Does
anyone have any experience with ANTLR for parsing C++ and for
extending their C++ parser? Any other feedback on ANTLR in general
would be welcome too. Thanks,
--Vikram
Associate Professor,
2016 Jul 22
4
ThinLTO status in trunk?
First, kudos on the ThinLTO results reported in your blog post — they’re impressive and the system sounds really well engineered.
I’m starting to try it out on a large piece of software and I’d like to make sure I know what to expect. The blog said it will be available in clang-3.9 but both clang-3.8 and trunk seem to have some degree of support for it. What is the status of ThinLTO in 3.8
2009 Jul 11
2
[LLVMdev] ANTLR?
That sounds like a problem. Just so I understand, do you mean there
isn't the run-time support etc. to write back ends for the C++
language, or that the compiler IR is also somehow insufficient to
write a code generator?
--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On Jul 11, 2009, at 3:00 PM, Granville Barnett
2002 Sep 17
3
[LLVMdev] questions
Sorry I got really overwhelmed by so many classes and member
functions in LLVM. So would you please clarify some problems
I have?
1. If I see this instruction in the function.
%S.i = alloca %struct.SimpleStruct
Suppose SimpleStruct is as following:
struct.SimpleStruct = type { int, double }
When I read the instruction, how can I know the type of
simplstruct, should I use 'getType'
2006 Apr 26
5
[LLVMdev] Re: Newbie questions
On Apr 26, 2006, at 10:45 AM, Tom Tromey wrote:
>>>>>> "Vikram" == Vikram Adve <vadve at cs.uiuc.edu> writes:
>
> Vikram> Either way, one issue that you will have to deal with is
> preserving
> Vikram> the behavior of Java exceptions (assuming you care about
> that). LLVM
> Vikram> does not preserve the order of potentially
2005 May 23
1
[LLVMdev] Sparc build error
I'm encountering a new problem building llvm (from CVS) on Solaris.
The tblgen executable builds successfully but it seems to use the
wrong version of libstdc++ :
% /home/vadve/vadve/llvm-sparc/Debug/bin/tblgen --help
ld.so.1: /home/vadve/vadve/llvm-sparc/Debug/bin/tblgen: fatal: /home/
vadve/lattner/local/x86-fc1/gcc-3.4.2/lib/libstdc++.so.6: wrong ELF
class: ELFCLASS32
Killed
This
2009 Oct 18
2
[LLVMdev] [cfe-dev] Developer meeting videos up
On Oct 15, 2009, at 10:45 AM, Chris Lattner wrote:
> Unfortunately, we found out at the last minute that Apple has a rule
> which prevents its engineers from giving video taped talks or
> distributing slides. We will hold onto the video and slide assets in
> case this rule changes in the future.
>
> -Chris
Chris,
I hope you can pass my message along to the people at Apple
2016 Jul 22
2
ThinLTO status in trunk?
> On Jul 22, 2016, at 12:36 PM, Teresa Johnson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi Vikram,
>
> Thanks!
>
> I'm not sure what part got committed in the 3.8 timeframe - it looks like that was released back in March?
3.8 was branched in early January though.
It has some of the work-in-progress for ThinLTO, it “could” work in simple cases I
2016 Oct 17
3
BoF: Shipping Software as LLVM IR (@Upcoming Dev Mtg)
Hi Mehdi,
Yes, we did see your earlier post. Efficient (de)serialization is definitely important for both exporting (a la LTO and ThinLTO) and for shipping code as IR. I expect most use cases of the latter would benefit.
-—Vikram
// Vikram S. Adve
// Professor, Department of Computer Science
// University of Illinois at Urbana-Champaign
// vadve at illinois.edu<mailto:vadve at
2012 Oct 02
7
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
Hal, Andrey, Alexey,
>From the LLVM design viewpoint, there is a fundamental problem with both Hal's approach and the Intel approach: both are quite language-specific. OpenMP is a particular parallel language, with particular constructs (e.g., parallel regions) and semantics. LLVM is a language-neutral IR and infrastructure and OpenMP-specific concepts should not creep into it. I've
2006 Apr 26
0
[LLVMdev] Re: Newbie questions
>>>>> "Vikram" == Vikram Adve <vadve at cs.uiuc.edu> writes:
Vikram> Either way, one issue that you will have to deal with is preserving
Vikram> the behavior of Java exceptions (assuming you care about that). LLVM
Vikram> does not preserve the order of potentially excepting instructions
Vikram> (e.g., a divide or a load). This would have to be handled