Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] profile directed if conversion"
2010 Oct 16
0
[LLVMdev] profile-directed if-conversion
Hello, everyone. How can I implement profile-directed if-conversion for an specific architecture on LLVM? I know if-conversion pass of LLVM.
Thank you for your help! I am new LLVMer, your presents do me a favor!
2010 Oct 15
2
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
Hello, we can get BasicBlock from MachineBasicBlock through MachineBasicBlock::getBasicBlock() function, but how can I get MachineBasicBlock of a BasicBlock?
Thank you!
2010 Oct 15
0
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
I don't think you can.
The BasicBlock is a member of MachineBasicBlock. It is not inherited,
so it cannot be cast. The number of the MachineBasicBlock is not the
same as any BasicBlock values. So
MachineFunction::getMachineBasicBlock( BasicBlock::{get the number} )
cannot work. I do not see much in the basic block which can identify
it.
So you can search for it.
typedef struct findBlock {
2010 Oct 15
1
[LLVMdev] how to get MachineBasicBlock of a BasicBlock
Also note: there may be multiple MachineBasicBlock's for a single
BasicBlock.
- David M
On Fri, Oct 15, 2010 at 4:59 AM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:
> I don't think you can.
>
> The BasicBlock is a member of MachineBasicBlock. It is not inherited,
> so it cannot be cast. The number of the MachineBasicBlock is not the
> same as any BasicBlock values.
2007 Aug 21
0
[LLVMdev] profile directed pass with 'extern' profile data
Hi,
is there a pass for profile-directed optimization or transformation,
which doesn't use ProfileInfo- and ProfileLoader-class?
Perhaps in a project based on LLVM that uses profile data generated
'outside' of the standard LLVM-chain shown in 'profile.pl'?
Is there an example for such a pass I've slipped?
Kind regards,
Nico
2007 Jun 05
0
[LLVMdev] Subversion Conversion Delay
Dear LLVMers,
The CVS to Subversion conversion that was originally scheduled for today
will not be happening today. The reasons for this are:
1) There was a change of plans here at UIUC. Instead of hosting LLVM on
the CS department SVN server as originally planned, we decided to host
the server on the same machine as the llvm.org web site and the current
CVS server. This was done to address
2013 Nov 06
1
[LLVMdev] if-conversion
Hi all,
Sorry to dig up an old thread but I wondered what the status of
if-conversion in LLVM is. Has any work been done towards handling this as a
transform pass on the IR?
I'm looking to implement an if-conversion pass and wanted to ensure that I'm
not duplicating work. Is this something that others would also find useful?
Rob
--
View this message in context:
2013 Apr 10
0
[LLVMdev] If Conversion and predicated returns
On 4/10/2013 12:45 PM, Hal Finkel wrote:
>
> Should AnalyzeBranch be enhanced to somehow indicate conditional returns?
I don't think that returns can ever be analyzable (since LLVM's CFG does
not have a designated exit block).
> Alternatively, the diamond conversion routine contains this:
>
> // RemoveExtraEdges won't work if the block has an unanalyzable branch,
2015 Mar 16
2
[LLVMdev] Implementing if-conversion as a GSoC 2015 project?
Hi,
Are you guys interested in implementing if-conversion as a GSoC 2015
project? Last year, I did a literature review about approaches of
if-conversion and the if-conversion in LLVM. This was the undergraduate
thesis of my bachelor degree. It seems that, the if-conversion used in LLVM
is a very simple approach instead of following the literature. So I want to
implement the approaches in the
2009 Jan 20
0
[LLVMdev] if-conversion
Ralf Karrenberg wrote:
>> If you write a separate pass, we'd like to integrate it in mainline
>> llvm sources.
>>
>
> Thank you for your answers. I will do my best to develop something which
> could be useful for more people :).
>
If you're looking for sources on how to do if-conversion, there's an
algorithm for it in the book "Optimizing
2013 Nov 11
1
[LLVMdev] if-conversion
Hi,
>
> Sorry to dig up an old thread but I wondered what the status of
> if-conversion in LLVM is. Has any work been done towards handling this as a
> transform pass on the IR?
>
As far as I know, some if-conversion is done in SimplifyCFG: Have a look at
the SpeculativelyExecuteBB function in lib/Transforms/Utils/SimplifyCFG.cpp.
Cheers,
Jonas
-------------- next part
2010 May 04
1
[PATCH] Converter: Don't die if we can't do guest-specific conversion
We currently die with an error message if we can't find a Converter for a
specific guest operating system. However, virt-v2v can still usefully transfer
storage and metadata.
This change turns the error into a (lengthy) warning, and continues with
metadata conversion if guest conversion isn't possible.
---
lib/Sys/VirtV2V/Converter.pm | 21 ++++++++++++++++++---
1 files changed, 18
2016 Apr 22
2
if-conversion
Hi.
I'm trying to vectorize the following piece of code with Loop Vectorizer (from LLVM
distribution Nov 2015), but no vectorization takes place:
int *Test(int *res, int *c, int *d, int *p) {
int i;
for (i = 0; i < 16; i++) {
//res[i] = (p[i] == 0) ? c[i] : d[i];
res[i] = (p[i] == 0) ? res[i] : res[i] + d[i];
2015 Mar 18
2
[LLVMdev] Implementing if-conversion as a GSoC 2015 project?
OK, Let me describe. There is nothing wrong with if-conversion in LLVM. The
algorithm implemented in LLVM can handle the if(???){do something} and
if(???){do something}else{do something else} case very well. But it can
handle complicated case like when there are a lot of gotos in the program.
The more systematic way to do if-conversion is based on Hyperblock [Scott
A. Mahlke et al 1992]
2013 Apr 10
3
[LLVMdev] If Conversion and predicated returns
Evan, et al.,
I've come across a small issue when using the if conversion pass in PPC to generate conditional returns. Here's a small example:
** Before if conversion **
BB#0: derived from LLVM BB %entry
%R3<def> = LI 0
%CR0<def> = CMPLWI %R3, 0
BCC 68, %CR0, <BB#3>
Successors according to CFG: BB#3(16) BB#1(16)
BB#1: derived from LLVM BB
2009 Jan 20
3
[LLVMdev] if-conversion
Hello everyone,
I'd like to know if there is an optimization in llvm doing something
like an if-conversion on the IR. I only found IfConversion.cpp which
appears to only provide the desired functionality on machine code during
code-generation.
I want to transform branches into serial code with select-instructions
as a pre-processing step for further transformations.
If there is no such
2009 Jan 20
0
[LLVMdev] if-conversion
On Jan 20, 2009, at 2:29 AM, Ralf Karrenberg wrote:
> Hello everyone,
>
> I'd like to know if there is an optimization in llvm doing something
> like an if-conversion on the IR. I only found IfConversion.cpp which
> appears to only provide the desired functionality on machine code
> during
> code-generation.
>
> I want to transform branches into serial code with
2011 Feb 11
1
cycle in a directed graph
Hi,
I have a directed graph and wants to find is there any cycle in it? If
it is, which nodes or edges are in the cycle.
Is there any way to find the cycle in a directed graph in R?
Regards,
Amir
2016 Apr 23
2
if-conversion
Hi,
> On Apr 22, 2016, at 8:27 PM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi Rob,
>
> The problem here is that the d[i] array is only conditionally accessed, and so we can't if-convert the loop body. The compiler does not know that d[i] is actually dereferenceable for all i from 0 to 15 (the array might be shorter and p[i] is 0 for i past the end
2007 Jul 31
0
Repost: Aastra BLF directed pickup: anyone have this pickup-mgernoth file?
Hello all
Sorry for the repost, but I believe this is essential for Aastra phones
to use directed pickup with BLF in 1.2 (and it's still experimental in
1.4 I think).
pickup-mgernoth-2006-07-28.patch.txt
If anyone knows otherwise than that this is still required in latest 1.2
or 1.4 please reply with success/failure stories. Any info would be
appreciated.
We can get directed BLF pickup