Displaying 20 results from an estimated 2000 matches similar to: "Any way to disable the alignment of functions?"
2014 Mar 30
2
[LLVMdev] Running an IR pass after all IR passes
Thank you very much John.
With an environment variable I need to take some special care, but it looks
like the only way to go.
On Sun, Mar 30, 2014 at 11:07 AM, John Criswell <criswell at illinois.edu>wrote:
> Dear Rahman,
>
> I think your best option is to modify the code in libLTO so that it runs
> your pass when you want it to run. I believe the file you want to modify
2014 Sep 23
3
[LLVMdev] Converting back to SSA form
Thanks John,
The reason I want to do this is that register allocator works only on SSA
form, and if you instrument regallocated code with non-regallocated machine
instructions, then you cannot regallocate the result.
A workaround is to assign physical registers while doing the
instrumentation, which I don't think is as easy as the above.
On Tue, Sep 23, 2014 at 11:01 AM, John Criswell
2015 Jan 12
2
[LLVMdev] LTO support on Mac
On Jan 12, 2015, at 2:45 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> On 10 January 2015 at 17:43, Rahman Lavaee <r.lavaee at gmail.com> wrote:
>> Hi,
>> I'm building LLVM on Mac OS 10.10 and I'm having trouble making LTO work.
>> The system linker dumps the following information when I executed "ld -v"
>>
>>
2020 Sep 18
2
Making library calls for obj2yaml functionalities
James,
Thanks for the detailed response. Please see my thoughts inline.
On Thu, Sep 17, 2020 at 12:33 AM James Henderson <
jh7370.2008 at my.bristol.ac.uk> wrote:
> Hi Rahman,
>
> Traditionally, the ability to read sections is a feature added to
> llvm-readobj/llvm-readelf. For some sections, it delegates to methods in
> places like the Object library and BinaryFormat, but
2015 Jan 10
2
[LLVMdev] LTO support on Mac
Hi,
I'm building LLVM on Mac OS 10.10 and I'm having trouble making LTO work.
The system linker dumps the following information when I executed "ld -v"
@(#)PROGRAM:ld PROJECT:ld64-241.9
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h
armv6m armv7m armv7em
LTO support using: LLVM version 3.4.2
which tells me that it is correctly pointing to the LLVM
2014 Dec 02
2
[LLVMdev] Cloned Functions Are Not the Same
I am trying to use CloneFunction to clone every IR function in a program,
give the cloned versions a prefix and call the clones from the original
functions (redirect the calls).
Surprisingly, I see that after the LTO optimizations, the number of machine
basic blocks in the two functions differ in some cases.
Is this reasonable at all, given that the two functions must be exactly the
same in the
2020 Sep 16
2
Making library calls for obj2yaml functionalities
Hi All,
Following up on
https://lists.llvm.org/pipermail/llvm-dev/2020-July/143512.html, and
https://reviews.llvm.org/D85408, we would like to consider a design which
allows external tools to read the structured contents of the .bb_addr_map
section with library calls into an LLVM library. At the same time, we need
to have tools/obj2yaml tests in place for bb_addr_map. So it sounds like
the
2014 Mar 29
2
[LLVMdev] Running an IR pass after all IR passes
Hi,
I am finding it difficult to see how I can run an IR instrumentation pass
after "all" IR passes.
I previously used opt to run my pass after linking all the llvm bitcode
files and then ran llc.
I found out that llc runs some other Function passes which depend on the
target.
For example, tail calls are only supported in x86 under some circumstances.
Then I tried lto and link time
2014 Sep 23
2
[LLVMdev] Converting back to SSA form
Hi,
I'm wondering how I can convert "register allocated" code back to SSA form.
I realized from MachineRegisterInfo.h that a function leaves SSA form only
once and cannot be taken back to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140923/0124addd/attachment.html>
2016 Feb 24
4
Oddity w/MachineBlockPlacement and Loops
I'm getting some odd behavior out of MBP and was hoping someone
knowledge of the code might be able to give some guidance. Fair
warning, I'm trying to describe a problem in code I don't really
understand, so if something doesn't make sense, assume I misunderstood
something.
The problematic case I'm seeing is that cold blocks are being placed
between the preheader and
2014 Mar 19
2
[LLVMdev] Interprocedural Block Placement algorithm, challenges and opportunities
Hi,
I have written a code layout feedback directed optimization pass, which
currently works for basic block reordering and function reordering. It very
effectively improves the speedup (we could improve Python by 30%). The
profiling method is window based context sensitive which is based on
reference affinity (
2020 Aug 10
2
[RFC] Machine Function Splitter - Split out cold blocks from machine functions using profile data
>Exceptions
>All eh pads are grouped together regardless of their coldness and are part of the original function. There are outstanding issues with splitting eh pads if they reside in separate sections in the binary. This remains as part of future work.
Can you elaborate more on the outstanding issues with splitting eh pads?
From my dip into the unwind map in gcc_except_table the
2012 Apr 03
1
[LLVMdev] Possible typo in LoopUnrollPass.cpp
hi,
In "LoopUnrollPass.cpp", when trying to reduce unroll count to meet
the unroll threshold requirement in line 200 and line 206, variable
"CurrentThreshold" is used in the computation, instead of the variable
"Threshold", which is defined by:
// Determine the current unrolling threshold. While this is normally set
// from UnrollThreshold, it is overridden to
2020 Aug 08
2
[RFC] Context-sensitive Sample PGO with Pseudo-Instrumentation
In addition to an IR block id or probe Id, we’ll also need to know the inline context of a probe if it comes from an inlinee. The current pseudo probe encoding is based on a DFS walk of the inline tree. A MIR BB may contain probes from different inlinees, and we may need to extend the BB-info format for encode the inline contexts there. I’m happy to work with you on a encoding format that can be
2010 Jun 08
1
[LLVMdev] the PartialSpecialization pass (was Re: Is there a "callback optimization"?)
Good evening, Kenneth.
Thank you to apply (and rewrite my naive code better)
and to file the issue to http://llvm.org/bugs/show_bug.cgi?id=7304
I have checked r105528 at this morning.
I think the pass must be still cleaned up and rewritten.
There are my two proposals for enhancement.
1) To separate Specialization(and rewriting callsites) to other module.
It would be better if new module were
2006 Jan 23
4
Transition between effects
Peepz,
I was looking into how script.aculo.us handles effect to write a
tutorial and for a current project I wanted to make transition between
PAIR effects possible. These PAIR effects are (Appear/Fade,
SlideUp/SlideDown, BlindUp/BlindDown) the effect that toggle can handle.
script.aculo.us calls queue.loop each 40 milliseconds, and that calls
all the effect.loop for all effects in the
2005 Nov 09
2
Sort a dataframe
Dear All,
How can I sort a data frame (using one of the column)?
Thanks for your support.
Regards.
Abd. Rahman Kassim (PhD)
Head Forest Ecology Branch
Forest Management & Ecology Program
Forestry and Conservation Division
Forest Research Institute Malaysia
Kepong 52109
Selangor, Malaysia
*****************************************
Checked by TrendMicro Interscan Messaging Security.
For any
2005 Nov 10
2
polynomials transformation
Dear All,
Need some help in polynomials transformation to get the coefficients. I have tried "poly.transform" as applied in S-plus but it does not work.
Thanks in advanced for any helps.
Regards.
Abd. Rahman Kassim (PhD)
Head Forest Ecology Branch
Forest Management & Ecology Program
Forestry and Conservation Division
Forest Research Institute Malaysia
Kepong 52109
Selangor,
2006 Jan 19
2
Legend Outside Plot Dimension
Dear All,
I'm trying to attach a legend outside the plot (Inside plot OK), but failed. Any help is very much appreciated.
Thanks.
Abd. Rahman Kassim, PhD
Forest Management & Ecology Program
Forestry & Conservation Division
Forest Research Institute Malaysia
Kepong 52109 Selangor
MALAYSIA
*****************************************
Checked by TrendMicro Interscan Messaging Security.
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi,
i have a problem with the the SlideDown and SlideUp effects. Since a similiar
problem is also visible on the script.aculo.us homepage, i''m going to explain
it this way.
- Go to http://script.aculo.us/
- On the main site below "visual effects", click "Advanced options", the sub
panel will scroll down.
- Hit the close button, and while the panel is still