similar to: [LLVMdev] [cfe-dev][Openmp-dev] Clang Plugin to analyze OpenMP AST

Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] [cfe-dev][Openmp-dev] Clang Plugin to analyze OpenMP AST"

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
2017 Mar 20
5
[GSoC 2017] Clang-based diff tool project
Hello, I am currently studying Computer Science at TU Eindhoven. I am doing a course that involves programming assignments on parts of LLVM such as lowering, scheduling and optimization. For this year's Google Summer of Code I plan to submit a proposal to implement a clang-based diff tool [1]. I think it really pays off to have decent developer tools available, as they can save tons of time.
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 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
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
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
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
2013 Oct 31
3
[releng_10 tinderbox] failure on i386/pc98
TB --- 2013-10-31 19:50:43 - tinderbox 2.20 running on worker01.tb.des.no TB --- 2013-10-31 19:50:43 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-10-31 19:50:43 - starting RELENG_10 tinderbox run for i386/pc98 TB --- 2013-10-31 19:50:43 - cleaning the
2015 Feb 25
2
[LLVMdev] Walking thru CallGraph bottom up
Thanks John. I guess I will use a ModulePass, so when I am implementing the “runOnModule” function, do I have to loop through all the functions, for each functions all the BasicBlocks and for each BasicBlock all the instructions or given the Module I have to call the CallGraph directly? Is there an example out there? I can’t find anything. Thanks. Simone > On Feb 24, 2015, at 13:29, John
2016 Nov 20
2
GlobalValue::AvailableExternallyLinkage
> > On Nov 19, 2016, at 14:09, Mehdi Amini <mehdi.amini at apple.com> wrote: > > I assume from your description that you are also updating call sites in the same module so that if foo was calling atoi, after cloning you have foo_parallel that is calling atoi_parallel? > If this is the issue, it depends, I’d probably consider turning the available_externally into internal.
2015 Feb 24
2
[LLVMdev] Walking thru CallGraph bottom up
Hi all, I would like to create a Pass that given an IR instruction walks starting from that instruction up to the main function to identify all the functions call that have been made to call that instruction. Is it possible? What kind of Pass should I create? Thanks Best, Simone Simone Atzeni simone.at at gmail.com +1 (801) 696-8373
2015 Nov 25
4
Compiling for AARCH64 (VMA=42)
Hi, I am trying to compile LLVM for AARCH (VMA=42), here my cmake command: cmake -G "Ninja" -D SANITIZER_AARCH64_VMA=42 .. But I get the following warning: ------------------------------------------------------------------------------------------ CMake Warning: Manually-specified variables were not used by the project: SANITIZER_AARCH64_VMA
2016 Nov 19
2
GlobalValue::AvailableExternallyLinkage
Because what is happening is that if function “atoi” gets cloned I don’t have a definition of “atoi_parallel” therefore I get undefined references when linking. I just want to clone and instrument functions implemented in modules of my program. > On Nov 19, 2016, at 13:54, Mehdi Amini <mehdi.amini at apple.com> wrote: > > >> On Nov 19, 2016, at 12:44 PM, Simone Atzeni
2018 May 15
2
Pass segmentation fault after llvm_shutdown.
I ran into a similar problem a while ago; see https://reviews.llvm.org/D30107 and https://reviews.llvm.org/D33515 .  You get the unusual stack trace because it's trying to call a destructor in shared library which was already unloaded. I thought we had fixed that, but maybe not?  Looking again, it looks like the patch got reverted and I didn't notice. -Eli On 5/14/2018 10:18 PM,
2016 Nov 19
4
GlobalValue::AvailableExternallyLinkage
Thanks Mehdi. My pass clones the functions within a module in order to have the original function and an exact copy of the same function but with a different name, i.e. sum() and sum_parallel(). After my pass I will run ThreadSanitizer instrumentation pass only on the new copy of the functions, i.e. only the “_parallel” functions will be instrumented by tsan. In some programs that I am
2014 Dec 31
5
[LLVMdev] outlining in llvm
Hi, I have some questions regarding outlining (extracting piece of code into a function): 1. Is there an outlining pass in llvm (IR)? I've found out CodeExtractor pass, but I'm not sure it's exactly the same idea. 2. How do I set the function name? And another question: Where do I control the execution of my pass? I'm writing a pass that first works on
2018 Jan 26
3
CMake warning when compiling Clang/LLVM
Hi, when I run cmake I get the following warning: --------------------------------------------------------------------------------------- CMake Warning at cmake/modules/HandleLLVMStdlib.cmake:24 (message): Can't specify libc++ with '-stdlib=' Call Stack (most recent call first): cmake/config-ix.cmake:15 (include) CMakeLists.txt:580 (include)