search for: allocateonenod

Displaying 3 results from an estimated 3 matches for "allocateonenod".

Did you mean: allocateonenode
2017 Dec 19
3
Question about : lprofValueProfNodes
Hi This array is defined in compiler-rt: InstrProfilingValue.c but I can’t find where it is used? And the comment on it does not say much about why we need it either. Can someone explain why we need this and where it is used? /* A shared static pool in addition to the vnodes statically * allocated by the compiler. */ COMPILER_RT_VISIBILITY ValueProfNode
2017 Dec 20
2
Question about : lprofValueProfNodes
...on about : lprofValueProfNodes Hi, On Dec 19, 2017, at 10:26 AM, Moshtaghi, Alireza via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi This array is defined in compiler-rt: InstrProfilingValue.c but I can’t find where it is used? It's used in allocateOneNode(). Incrementing the current vnode pointer gives a fresh node (possibly backed by the shared pool). And the comment on it does not say much about why we need it either. It's used to avoid calling malloc(), which David (CC'd) found to be a performance improvement. best, vedant Can som...
2017 Dec 20
2
Question about : lprofValueProfNodes
...fValueProfNodes > > Hi, > > > On Dec 19, 2017, at 10:26 AM, Moshtaghi, Alireza via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > Hi > This array is defined in compiler-rt: InstrProfilingValue.c but I can’t > find where it is used? > > It's used in allocateOneNode(). Incrementing the current vnode pointer > gives a fresh node (possibly backed by the shared pool). > > > > And the comment on it does not say much about why we need it either. > > It's used to avoid calling malloc(), which David (CC'd) found to be a > performance...