Displaying 20 results from an estimated 30000 matches similar to: "[GSoC 2017] Clang-based diff tool project"
2017 Mar 23
5
[GSoC 2017] Clang-based diff tool project
My original idea was to write a semantic diff tool that just does some simple things up front:
create an MD5 from all top level blocks of the code. Start by just finding matching blocks of code ('{' and '}', '(' and ')') and remember the source locations for these and their MD5 values. Run a normal diff on the code and see what blocks the diffs fall into. Then try
2017 Mar 30
2
[GSoC 2017] Clang-based diff tool project
> On Mar 30, 2017, at 6:56 AM, Vassil Vassilev <v.g.vassilev at gmail.com> wrote:
>
> Hi,
>
> This seems a very exciting project.
Do I take that you’re volunteering to mentor it? ;-)
>
> As part of GSoC16 Raphael developed a code clone detection tool (https://docs.google.com/presentation/d/1mJ6dA6XmAQ8s8Zqm_j518yoW-_QZ72e69fPG1u_nbj8/edit#slide=id.g35f391192_00
2017 Mar 23
0
[GSoC 2017] Clang-based diff tool project
I am currently considering the gumtree algorithm which is described in
[1]. It is able to detect code moves, updates. There is also a java
implementation of gumtree. It supports C++ via srcML, however this
seems to be quite incomplete and buggy. The algorithm consists of a top
down and a bottom up traversal of the AST that result in a matching of
corresponding nodes. It contains some heuristics
2014 Dec 09
3
[LLVMdev] [cfe-dev][Openmp-dev] Clang Plugin to analyze OpenMP AST
Hi,
I am writing a plugin to get information about the OpenMP constructs from the AST.
I am basically writing a “RecursiveASTVisitor” and I am trying to find the OpenMP statement and get information like filename and line of code.
When I am visiting recursively each statement I have my own switch on the “StmtClass” and for now I am focusing on “OMPParallelForDirectiveClass”.
In my understanding,
2012 Jun 08
0
[LLVMdev] Is it possible to convert C++ code to C++/CX code via a plugin of clang?
CC'ed to clang ML. You can post clang question on clang ML. :-)
On Thu, Jun 07, 2012 at 06:23:15PM +0800, yangzhi0104 at sohu.com wrote:
> Hello Guys,
>
> I am developing a plugin of clang and hope it can convert some C++ functions to
> C++/CX wrapper classes for WinRT system. If so, it would do a lot of work
> automatically.
>
> Now I have been somewhere. Using clang
2012 Jun 07
3
[LLVMdev] Is it possible to convert C++ code to C++/CX code via a plugin of clang?
Hello Guys,I am developing a plugin of clang and hope it can convert some C++ functions to C++/CX wrapper classes for WinRT system. If so, it would do a lot of work automatically.Now I have been somewhere. Using clang libraries, I could fetch the elements of C++ code for example, return type, function name, parameter list and others. Should I inherit "clang::Decl" to express C++/CX
2012 Oct 10
2
[LLVMdev] [cfe-dev] OpenMP support in CLANG: A proposal
On Wed, Oct 10, 2012 at 5:40 AM, Eli Friedman <eli.friedman at gmail.com>wrote:
> On Tue, Oct 9, 2012 at 4:37 AM, Mahesha HS <mahesha.llvm at gmail.com> wrote:
> > Hello All,
> >
> > We would like to make a proposal to support OpenMP in CLANG. The goal of
> > this effort is to provide support for syntax
> >
> > analysis (parsing), semantic
2011 Jul 21
2
[LLVMdev] share between AST and IR?
I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find
"interesting" variables and functions. I'm wonder if there is a way to
save/flag/metadata these so later on at the IR level I can use this
information in a Pass.
As far as I can tell nothing currently would allow me todo this and I'm
wondering what exactly it would take to do something like this. After
stairing
2011 Jul 21
0
[LLVMdev] share between AST and IR?
Hi,
Isn't clang::CodeGenOptions::EmitDeclMetadata what you need?
Vassil
On 07/21/2011 04:32 AM, ret val wrote:
> I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find
> "interesting" variables and functions. I'm wonder if there is a way to
> save/flag/metadata these so later on at the IR level I can use this
> information in a Pass.
>
> As far
2012 Feb 11
1
[LLVMdev] Clang passes
Hi.
I've tried to search the way to write a pass for clang like a pass for opt, but I haven't find it. Is it possible?
I need to save class inheritance of the program being processed to external file.
Thanks!
Yours sincerely,
Kadysev Mikhail
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Dec 15
1
[LLVMdev] tblgen internals
On Dec 12, 2010, at 8:12 PM, Garrison Venn wrote:
>> I believe I caught most of the syntax style issues with the attached patch. It only contains
>> these style changes.
Thanks! I applied your followup patch in r121837.
> Concerning the RecordKeeper reference in Record. Would you prefer to partially go
> back to a more limited constrained version of a global. Since we are not
2024 Jul 07
2
Can we reset CSI u mode on client disconnect? via
Some terminals support CSI u style encoding of keystrokes, typically via
the Kitty keyboard protocol[1].
Program wishing to receive this encoding need
to send a sequence like "CSI > 5 u" to enable it.
Imagine a process tree like
xterm -> bash -> ssh -> foo
where foo is any program that enables CSI u mode (such as a newfangled shell
or text editor).
If the network
2016 Dec 08
3
How to create Debian packages for release 3.9.0
L.S.,
I'm currently in the process of creating Debian packages for
clang/llvm release 3.9.0. For this I'm using the steps as explained on
'http://apt.llvm.org/building-pkgs.php'. Up until now I have done:
$ debcheckout svn://anonscm.debian.org/svn/pkg-llvm/llvm-toolchain/
$ cd llvm-toolchain/branches
$ sh 3.9/debian/orig-tar.sh RELEASE_390 final
Now, as is explained, I would
2015 May 14
5
[LLVMdev] Generating C code using LLVM
Hi,
I am trying to use LLVM to generate C (partly, Intel AVX) code to test some
abstractions. Apparently, most of the documentation is related to
generating LLVM-IR. Are there any tools to do this? (I have generated AST
from these abstractions. I want to generate C code from it).
Thank you! :)
PS: If this is a wrong mailinglist, help me with the right one.
--
Regards,
*Aditya Atluri,*
*USA.*
2014 Jan 06
5
[LLVMdev] LLVM Weekly - #1, Jan 6th 2014
LLVM Weekly - #1, Jan 6th 2014
==============================
Welcome to the inaugural issue of LLVM Weekly, a weekly newsletter (published
every Monday) covering developments in LLVM, Clang, and related projects. I've
been a long time lurker on the LLVM and Clang mailing lists and have been
using LLVM extensively in my PhD research for the past 4 years. I thought it
might be worthwhile to
2006 May 18
2
matrix transformation into 3 columns II.
Dear R-users
Sorry for posting the previous message too soon before I have finished it.
I have matrix (mprecip) with headers:
> dim(mprecip)
[1] 6268 170
> mprecip
date GilzeRijen Eindhoven Volkel ZuidLimburg Arcen Ubachsberg
1 01/01/1978 NA 0.0 NA 0.1 NA NA
2 01/02/1978 NA 0.0 NA 0.0 NA NA
3
2020 Feb 19
2
Advice on memory copy instrumentation
Hi all,
Given a couple of lines of C++ code `int x = 42; int y = x`, we end up with
the following LLVM IR instructions:
%x = alloca i32, align 4
%y = alloca i32, align 4
store i32 42, i32* %x, align 4
%0 = load i32, i32* %x, align 4
store i32 %0, i32* %y, align 4
Is it possible to instrument the IR to perform a value trace?
What I'd like to do is stream a log of memory copies (reads then
2016 Dec 08
6
cross-checking external declarations / debug info for declarations
I am interested in putting together a tool which can verify that an external declaration conforms with the actual definition.
A.c:
extern int32_t foo();
Int bar() { return foo(); }
B.c:
int64_t foo() { ... }
I had thought that I could use the debug information but the debug information in A.o does not include the type of the declaration "foo", just the type of bar.
Is there a way to
2012 Sep 13
5
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
Hi,
I know most compilers go from AST to CFG.
I am writing a decompiler, so I was wondering if anyone knew of any
documents describing how best to get from CFG to AST.
The decompiler project is open source.
https://github.com/jcdutton/libbeauty
The decompiler already contains a disassembler and a virtual machine
resulting in an annotated CFG. It uses information gained from using a
virtual
2007 Nov 27
2
rearrange data: one line per subject, one column per condition
Dear R-list,
Is there a way to convert the typical long R data-format to a 1-line per subject format?
I have data formatted as:
Group subj condition variable
1 1 1 746.36625
2 2 1 1076.152857
1 3 1 1076.152857
2 4 1 657.4263636
1 5 1 854.1266667
2 6 1 1191.676154
1 7 1 1028.175385
1 1 2 46.36625
2 2 2 76.152857
1 3 2 76.152857
2 4 2 57.4263636
1 5 2 54.1266667
2 6 2 191.676154
1 7 2 028.175385