Displaying 20 results from an estimated 41 matches for "atzeni".
2016 Nov 20
2
GlobalValue::AvailableExternallyLinkage
...foo()` supposed to call `foo_parallel()` after?
I insert some more code that basically check if the function is called within an OpenMP parallel region or not, if so the function foo will call foo_parallel.
Simone
>
> —
> Mehdi
>
>
>> On Nov 19, 2016, at 12:57 PM, Simone Atzeni <simone.at at gmail.com> wrote:
>>
>> 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...
2015 Feb 25
2
[LLVMdev] Walking thru CallGraph bottom up
...ks 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 Criswell <jtcriswel at gmail.com> wrote:
>
> On 2/24/15 2:27 PM, Simone Atzeni wrote:
>> 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 o...
2016 Nov 19
2
GlobalValue::AvailableExternallyLinkage
...on 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 <simone.at at gmail.com> wrote:
>>
>> 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 wil...
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
2018 May 15
2
Pass segmentation fault after llvm_shutdown.
...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, Simone Atzeni via llvm-dev wrote:
> This is the correct path to the pass:
> https://github.com/PRUNERS/sword/blob/master/lib/Transforms/Instrumentation/InstrumentParallel.cpp
>
> On Mon, May 14, 2018 at 10:06 PM, Simone Atzeni <simone.at at gmail.com
> <mailto:simone.at at gmail.com>>...
2015 Feb 25
0
[LLVMdev] Walking thru CallGraph bottom up
On 2/25/15 10:51 AM, Simone Atzeni wrote:
> 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
If you know the Instruction, you can get i...
2015 Feb 27
2
[LLVMdev] Walking thru CallGraph bottom up
Hi Simon,
> From: Simone Atzeni <simone.at at gmail.com>
> To: John Criswell <jtcriswel at gmail.com>
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Walking thru CallGraph bottom up
> Message-ID: <318EBA41-2040-4EFE-B330-5813C817C2A2 at gmail.com>
> Content-Type: text/plain; charset="w...
2018 May 17
0
Pass segmentation fault after llvm_shutdown.
...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, Simone Atzeni via llvm-dev wrote:
>
> This is the correct path to the pass: https://github.com/
> PRUNERS/sword/blob/master/lib/Transforms/Instrumentation/
> InstrumentParallel.cpp
>
> On Mon, May 14, 2018 at 10:06 PM, Simone Atzeni <simone.at at gmail.com>
> wrote:
>
>> Hi al...
2016 Nov 19
4
GlobalValue::AvailableExternallyLinkage
...or there could be situations of functions with that linkage but that have the body implemented in the same module.
Does it make sense now?
Thanks.
Simone
> On Nov 19, 2016, at 13:32, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>
>> On Nov 19, 2016, at 12:00 PM, Simone Atzeni via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hi,
>>
>> could anybody explain what GlobalValue::AvailableExternallyLinkage means?
>
> It means that the function will not be codegen in this module, it will be available at link time from another object....
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
2015 Feb 27
0
[LLVMdev] Walking thru CallGraph bottom up
...ally, you need to start searching from this node as well as the
main() node (as a program can call out to external code which then calls
back into the program; think of qsort() as an example).
Regards,
John Criswell
On 2/26/15 10:13 PM, Kevin Hu wrote:
> Hi Simon,
>
> From: Simone Atzeni <simone.at at gmail.com <mailto:simone.at at gmail.com>>
> To: John Criswell <jtcriswel at gmail.com <mailto:jtcriswel at gmail.com>>
> Cc: llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu>
> Subject: Re: [LLVMdev] Walking thru CallGraph botto...
2019 Oct 18
2
US LLVM Dev Meeting 2019 - Round Table - Challenges using LLVM for GPU compilation
...enough interest in this topic we can also organize a separate round table for this discussion.
Cheers,
Anastasia
________________________________
From: Marco Antognini <Marco.Antognini at arm.com>
Sent: 18 October 2019 14:42
To: Anastasia Stulova <Anastasia.Stulova at arm.com>; Simone Atzeni via llvm-dev <llvm-dev at lists.llvm.org>; clang developer list <cfe-dev at lists.llvm.org>
Cc: David Neto <dneto at google.com>; nd <nd at arm.com>; Diego Novillo <dnovillo at google.com>
Subject: Re: US LLVM Dev Meeting 2019 - Round Table - Challenges using LLVM for...
2014 Jun 14
2
[LLVMdev] Loop data-dependence analysis
...very new in LLVM and I am trying to understand how to use it in my project.
I would like to write a Pass (?) that analyzes the loops in a program and says if the loop has a data dependence and what kind of data dependence.
Do you guys have any suggestion how do to it?
Thanks.
Best Regards,
Simone Atzeni
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)
2018 May 15
0
Pass segmentation fault after llvm_shutdown.
This is the correct path to the pass:
https://github.com/PRUNERS/sword/blob/master/lib/Transforms/Instrumentation/InstrumentParallel.cpp
On Mon, May 14, 2018 at 10:06 PM, Simone Atzeni <simone.at at gmail.com> wrote:
> Hi all,
>
> I was porting my pass from LLVM 4.0 to 6.0 and I am getting a segmentation
> fault.
> I was able to obtain only the info below from GDB.
>
> I tried to debug with some printf and the runOnFunction runs correctly.
> Any ide...
2014 Jun 23
2
[LLVMdev] Call an analysis pass inside a tool pass
Hi,
as in the subject, is it possible to call on of the analysis pass present in the LLVM (lib/ folder) within a tool pass (tools/ folder)?
Thanks.
Best,
Simone
2017 Feb 15
2
Problem using Boost Filesystem with Clang
Hi,
not sure if this is the right place, but I am experiencing a problem using clang++ (3.9.1) with Boost Filesystem.
I have this simple program:
------------------------------------------------------------------------
#include <iostream>
#include <boost/filesystem.hpp>
using namespace boost::filesystem;
int main(int argc, char* argv[])
{
if (argc < 2)
{
std::cout
2018 May 15
2
Pass segmentation fault after llvm_shutdown.
Hi all,
I was porting my pass from LLVM 4.0 to 6.0 and I am getting a segmentation
fault.
I was able to obtain only the info below from GDB.
I tried to debug with some printf and the runOnFunction runs correctly.
Any idea/suggestion about what is going on?
The source code of the pass is here:
https://github.com/PRUNERS/sword/blob/master/lib/Sword.cpp
Any help is much appreciated,
Thanks!
2014 Oct 21
2
[LLVMdev] [cfe-dev][Openmp-dev] Provide LLVM IR and OpenMP LLVM IR as input in a Pass
----- Original Message -----
> From: "Simone Atzeni" <simone.at at gmail.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: llvmdev at cs.uiuc.edu, cfe-dev at cs.uiuc.edu, openmp-dev at dcs-maillist2.engr.illinois.edu
> Sent: Tuesday, October 21, 2014 3:52:38 PM
> Subject: Re: [LLVMdev] [cfe-dev][Openmp-dev] Pr...
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,