Displaying 5 results from an estimated 5 matches for "memset_pattern".
2017 Jun 30
5
An issue with new PM's requirements on call graph changes
...at all.
Is that OK? It would be very convenient to say that if we want to introduce
truly novel and new calls to library functions, we should have an LLVM
intrinsic to model those routines.
But we actually have an example (I think) of #3a, introducing a call to a
library function out of the blue: memset_pattern. =/
The only way I see to reasonably handle #3a is to have *every* function
implicitly contain a reference edge to every defined library function in
the module. This is, needless to say, amazingly wasteful. Hence my email.
How important is this?
If we need to correctly handle this, I think I woul...
2014 Aug 25
2
[LLVMdev] How to tell whether a GlobalValue is user-defined
...rom being placed in the mergeable constant sections?
We want to keep the const arrays declared in the program (s_dashArraySize1)
out of the mergeable constant sections, but don't mind placing constants
in the constant pool or constant arrays that the compiler defines, such
as switch.table and memset_pattern, in the mergeable sections.
On Mon, Aug 25, 2014 at 10:37 AM, David Majnemer <david.majnemer at gmail.com>
wrote:
> On Mon, Aug 25, 2014 at 9:54 AM, Nick Kledzik <kledzik at apple.com> wrote:
>
>>
>> On Aug 25, 2014, at 8:26 AM, Rafael Espíndola <rafael.espindola...
2014 Aug 28
4
[LLVMdev] How to tell whether a GlobalValue is user-defined
>> Agreed. If ld64 can drop support for .o produced by the old gcc that
>> would be awesome. Failing that, what is really needed is
> Because of static archives, the linker has to support old .o files for quite a while. I also don’t know when clang starting getting this right.
r123585 (Jan 16 17:19:34 2011) I think.
> Also, this seems like linker complexity for a very
2016 Nov 10
5
array fill idioms
I am asking for some collective wisdom/guidance.
What sort of IR construct should one use to implement filling each
element in an array (or vector) with the same value? In C++, this
might arise in "std:fill" or "std:fill_n", when the element values in the
vector are identical.
In the D language, one can fill an array or a slice of an array
by an assignment, e.g.
2014 Aug 25
4
[LLVMdev] How to tell whether a GlobalValue is user-defined
On Aug 25, 2014, at 8:26 AM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> On 21 August 2014 19:32, Akira Hatanaka <ahatanak at gmail.com> wrote:
>> Is there a way to distinguish between GlobalValues that are user-defined and
>> those that are compiler-defined? I am looking for a function that I can use
>> to tell if a GlobalValue is user-defined ,