Displaying 20 results from an estimated 20 matches for "gagelin".
Did you mean:
aggelis
2016 Jun 05
2
Doubts
...h the expand as the third argument like below:
setOperationAction(ISD::FSIN, MVT::f32, Expand);
What will the expansion look like, since I don´t provide any custom
implementation of the node? Also, what is the meaning of the MVT::f32 in
this case?
Thanks,
Patosga
2016-06-05 19:16 GMT+01:00 Pierre Gagelin <Pierre.Gagelin at myport.ac.uk>:
> Hi Patosga,
>
> You are on the right place to ask your questions and get help!
>
> Try to be more specific with your problem. We need some details to help
> you =)
>
> Pierre
>
> On 5 June 2016 at 18:12, via llvm-dev <llvm-...
2016 Jun 06
2
Doubts
...:FSIN, MVT::f32, Expand);
>> What will the expansion look like, since I don´t provide any custom
>> implementation of the node? Also, what is the meaning of the MVT::f32 in
>> this case?
>>
>> Thanks,
>> Patosga
>>
>> 2016-06-05 19:16 GMT+01:00 Pierre Gagelin <Pierre.Gagelin at myport.ac.uk>:
>>
>>> Hi Patosga,
>>>
>>> You are on the right place to ask your questions and get help!
>>>
>>> Try to be more specific with your problem. We need some details to help
>>> you =)
>>>
>&...
2016 Jun 21
3
function call replacement
.../home/pierre/Desktop/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:210:0
Any idea on what could be the cause of the null pointer and how to avoid it?
Thanks a lot for your time!
Pierre
On 20 June 2016 at 15:45, John Criswell <jtcriswel at gmail.com> wrote:
> On 6/20/16 6:17 AM, Pierre Gagelin via llvm-dev wrote:
>
> Hi everyone,
>
> I am trying to replace the call of a certain function with a call to
> another function. It would for example replace the following:
>
> %call = tail call noalias i8* @func(i64 10)
> by
> %call = tail call noalias i8* @other_func(i...
2016 Jun 21
2
what became LLC -march=cpp?
Hi,
I came on an old post (2012 or 2013) where somebody used this tool with the
cpp arch option. I tried to use it too but it fails because no "cpp"
architecture was referenced.
Still on old posts I saw that it wasn't enabled by default for cmake builds
so I added the flag -DLLVM_TARGETS_TO_BUILD="cpp" and "all" but still
nothing.
Was it removed from LLVM?
2016 Jul 15
2
clone function
On 14 July 2016 at 20:07, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> On Jul 14, 2016, at 7:58 AM, Pierre Gagelin via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hi,
>
> I am trying to use the CloneFunction from llvm/Transforms/Utils/Cloning.h
> and I don't understand how the ValueToValueMapTy argument should be
> initialized. For instance, let say I want to clone this fu...
2016 Jun 05
3
Doubts
Hello sir,
I'm having some problems understading how llvm works. I'm following a concrete example and visualizing the DAG and the .s output and some stuff doesn´t seem to match.
I sorry to bother you but I don´t know where I can expose my doubts and I wonder if you could redirect me to some discussion place where someone might help me.
Thanks,
Patosga
2016 May 25
4
Runtime interception: design problem
Hi everyone,
I am having troubles but this shouldn't be hard to solve for many people
here. I am beginning a runtime feature for the BoundsChecking pass and I
want to replace the libc malloc&free. I followed the design of
AddressSanitizer (Asan) and tried to use the INTERCEPTOR macro from the
interception.h file of compiler-rt library.
Here is the problem. The file I modify
2016 May 26
0
Runtime interception: design problem
> On May 25, 2016, at 6:05 AM, Pierre Gagelin via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi everyone,
>
> I am having troubles but this shouldn't be hard to solve for many people here. I am beginning a runtime feature for the BoundsChecking pass and I want to replace the libc malloc&free. I followed the de...
2016 Jun 20
3
function call replacement
Hi everyone,
I am trying to replace the call of a certain function with a call to
another function. It would for example replace the following:
%call = tail call noalias i8* @func(i64 10)
by
%call = tail call noalias i8* @other_func(i64 10)
I managed to declare other_func correctly but I am having troubles to
understand how I should proceed to do the replacement.
I tried to use
2016 Jun 07
2
Doubts
...on look like, since I don´t provide any custom
>>>> implementation of the node? Also, what is the meaning of the MVT::f32 in
>>>> this case?
>>>>
>>>> Thanks,
>>>> Patosga
>>>>
>>>> 2016-06-05 19:16 GMT+01:00 Pierre Gagelin <Pierre.Gagelin at myport.ac.uk>:
>>>>>
>>>>> Hi Patosga,
>>>>>
>>>>> You are on the right place to ask your questions and get help!
>>>>>
>>>>> Try to be more specific with your problem. We need some de...
2016 Jul 14
2
clone function
Hi,
I am trying to use the CloneFunction from llvm/Transforms/Utils/Cloning.h
and I don't understand how the ValueToValueMapTy argument should be
initialized. For instance, let say I want to clone this function (to add an
argument):
define void @function(i32 %i) #0 {
entry:
%i.addr = alloca i32, align 4
store i32 %i, i32* %i.addr, align 4
ret void
}
to another function which should,
2016 Jun 09
2
Fatpointer Pass already existing?
Hi everyone,
After spending 2 months on LLVM generally speaking and more specifically on
security passes (ASan, SAFECode, BoundsChecking) I wanted to know if there
were an available implementation of strictly fat-pointer based approach to
enforce bounds?
If not, I wanted to implement one. I think it is interessant to have such a
tool available even if there are better designs (SoftBound does
2016 Aug 31
2
Check if getElementPtr Operand
Thanks Ryan, I'm able to retrieved the type using the following code:
Type *type=getElementPtrInst->getSourceElementType();
On Fri, Aug 12, 2016 at 7:00 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Take a look at visitGetElementPtrInst in InstructionCombining.cpp for some
> examples about how to iterate over GEP and check for type.
>
>
2016 May 25
0
Runtime interception: design problem
Dear Pierre,
Stepping up a level, what is your goal in replacing calls to malloc()
and free()? Is it any different than what SAFECode, SoftBound, or ASan do?
Regards,
John Criswell
On 5/25/16 8:05 AM, Pierre Gagelin via llvm-dev wrote:
> Hi everyone,
>
> I am having troubles but this shouldn't be hard to solve for many
> people here. I am beginning a runtime feature for the BoundsChecking
> pass and I want to replace the libc malloc&free. I followed the design
> of AddressSanitizer...
2016 Jun 30
1
Use iterator misunderstanding?
Hi,
I try to follow the use of the value yielded by a malloc call. Here follows
a concrete example of what I expect and what I get.
define void @main() #0 {
entry:
%ptr = alloca i8*, align 8
%call = call noalias i8* @malloc(i64 10) #2
store i8* %call, i8** %ptr, align 8
%0 = load i8*, i8** %ptr, align 8
call void @free(i8* %0) #2
ret void
}
It is a simple program that allocates and
2016 May 22
0
BoundsChecking Pass
...ld, though)
- Guards are mostly not hoisted out of loops by LLVM; this needs improvement
otherwise perf may suffer quite a bit.
- The analysis code is in lib/Analysis/MemoryBuiltins.cpp
Hope this helps. Please let us know if you have more questions.
Nuno
-----Original Message-----
From: Pierre Gagelin via llvm-dev
Sent: Friday, May 20, 2016 11:16 AM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] BoundsChecking Pass
Hi,
I am a final year French student doing an internship at the University of
Portsmouth. As I was taking hands on AddressSanitizer I took a look at
BoundsChecking (both are...
2016 May 26
1
Runtime interception: design problem
Hi John,
On 25 May 2016 at 16:11, John Criswell <jtcriswel at gmail.com> wrote:
> Dear Pierre,
>
> Stepping up a level, what is your goal in replacing calls to malloc() and
> free()? Is it any different than what SAFECode, SoftBound, or ASan do?
>
That's a good question. I didn't knew about SoftBound until now, so thank
you for the name =). Anyway here is what I
2016 May 20
2
BoundsChecking Pass
Hi,
I am a final year French student doing an internship at the University of
Portsmouth. As I was taking hands on AddressSanitizer I took a look at
BoundsChecking (both are in the lib/Transforms/Instrumentation folder).
I found nothing on it except for the LLVM Documentation and references to
BaggyBoundsCheck (which is not the same project. As far as I understood it
is part of the SAFECode
2016 Jun 28
0
mutateType on AllocaInst problem
Hi,
I'm trying to replace pointer typed alloca instructions to allocate a
vector of pointers. The idea is to change from [1] to [2]:
[1]: %0 = alloca i<N>*
[2]: %0 = alloca <3 x i8*>
I did it this way:
- first, create and insert [2] (for debug purpose, not necessary to
insert)
- mutate type so that replaceAllUsesWith can be called in a correctly
typed way
- replace all
2016 May 23
1
BoundsChecking Pass
Hi Nuno,
On 22 May 2016 at 22:33, Nuno Lopes <nunoplopes at sapo.pt> wrote:
> Hi Pierre,
>
> I'm the author of the BoundsChecking pass.
>
Wow, I am happily surprised to have an answer from you directly!
> It's true there's little documentation about it (only mentioned in:
> http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#availablle-checks).
>