Displaying 20 results from an estimated 4000 matches similar to: "Running DCE after my pass"
2015 Apr 19
3
[LLVMdev] global allocation IR instruction
Hi all,
In order to allocate memory on the stack there is AllocaInst instruction.
What is the similar instruction/way to allocate memory on the global area?
Thanks,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150419/54298396/attachment.html>
2015 May 25
2
[LLVMdev] global variable uses
Hi,
I'm trying to change all uses of a global variable so they'll use a
different global variable.
For instance, I have:
@a = global [100 x [100 x i64]] zeroinitializer, align 16
@b = global [100 x [100 x i64]] zeroinitializer, align 16
And I want to change the use
%arrayidx = getelementptr inbounds [100 x [100 x i64]]* @a, i32 0, i64 %3
to
%arrayidx = getelementptr inbounds
2014 Dec 31
5
[LLVMdev] outlining in llvm
Hi,
I have some questions regarding outlining (extracting piece of code into a
function):
1. Is there an outlining pass in llvm (IR)? I've found out
CodeExtractor pass, but I'm not sure it's exactly the same idea.
2. How do I set the function name?
And another question:
Where do I control the execution of my pass? I'm writing a pass that first
works on
2013 Dec 26
2
[LLVMdev] Arguments to IRBuilder CreateCall function
Hi,
I need to pass some arguments to CreateCall function (as Value *).
For example, I need to pass a 64 bit integer (with a value I calculate).
How can I convert the 64 bit integer to a value * in order to pass it?
Thanks a lot,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Mar 29
2
[LLVMdev] Cast specific pointer type to generic one
Hi,
Suppose I have a pointer to "something" (a structure I defined) and I want
to pass the pointer to a generic function, that gets a 64-bit address
pointer.
How do I do that?
For instance:
The function is:
void Foo (void *);
I get the specific pointer using getPointerOperand() on a store instruction
that store to it:
inst->getPointerOperand()->getType()
Now I want
2007 May 10
1
dfs/dce and openssh
I searched google and did not find any hits on this being solved.
I want to get ssh so I can the dsa/rsa style password it in an
environment that uses dfs/dce authentication if that is possible (and
it has not already been solved). In other words, I want to be able
to log into a host as a dfs/dce user without typing my password.
Before I dig into the code and trying to do this, I wanted
2010 Oct 11
3
[LLVMdev] DCE and external function
If I have:
%x = call @externalFunc
... ; other codes where %x is not used
ret ; assume void function
and use dce optimization, will the call gets eliminated?
--
View this message in context: http://old.nabble.com/DCE-and-external-function-tp29932485p29932485.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Feb 25
6
any available asynchronous dce rpc library?
Hi
Thanks in advanced.
I'm writing a proxy server doing NTLMv2 authentication.
I think I need a NetLogon client service .
Is there any available library providing netlogon function?
or at least an dce rpc library?
an asynchronous library is the best. :)
Thanks again.
Derek.
2006 Jan 19
1
nmbd and port 135 / dce rpc WINS
These are already open. I'm pretty sure that NT4/2003 PDC's make a
DCE/RPC over TCP connection to pull down the <1b> entries from the wins
server. I have done packet captures on test NT4 wins server to see how
PDC's pull their domain lists, and I see the port 135 three way
handshake, which then gets switched over to a tcp port 1028 which is the
dce/rpc requests and responses.
2016 Jan 30
0
DCE in the presence of control flow.
In practice, APT is not faster to build than rdf.
The df calculator we use is linear time and quite fast.
Updating is also pretty trivial since it's only deletes of dead and
unreachable code. So anything it reached can be replaced with undef in
most cases.
Cd-dce is not slower in GCC than dce
On Fri, Jan 29, 2016, 8:31 PM David Callahan <dcallahan at fb.com> wrote:
> I think you
2016 Jan 30
0
DCE in the presence of control flow.
Maybe I was too quick here. Does gcc record the incoming edge to a phi? If so, won’t those change when you delete blocks in a non-trivial manner? How are those updated?
From: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>
Date: Saturday, January 30, 2016 at 7:02 AM
To: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>, Hal Finkel
2000 Nov 29
4
RPC exception: "Who are you failed (dce / rpc)"
Hello,
with OpenSSH_2.3.0p1 running in HP-UX 11.00 I noticed that the "SD
commands" (like "swcopy") produce the following error when being logged
in via SSH:
ERROR: RPC exception: "Who are you failed (dce / rpc)" 11/29/00
11:20:18 MET
Ideas?
Regards,
Ulrich
P.S. Not subscribed to the list
2016 Jan 29
2
DCE in the presence of control flow.
Thanks
Also I found that some cases are also caught by a specialized routine to remove dead loops which is missing the case I noticed.
odavd
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Thursday, January 28, 2016 at 8:45 PM
To: David Callahan <dcallahan at fb.com<mailto:dcallahan at fb.com>>, LLVM Dev Mailing list <llvm-dev at
2010 Oct 11
0
[LLVMdev] DCE and external function
Hi leledumbo,
> If I have:
>
> %x = call @externalFunc
> ... ; other codes where %x is not used
> ret ; assume void function
>
> and use dce optimization, will the call gets eliminated?
only if the compiler can prove that the called function has
no side effects (such as modifying some global variables or
causing the program to exit).
Ciao,
Duncan.
2010 Oct 13
2
[LLVMdev] DCE and external function
Hi,
On Mon, Oct 11, 2010 at 3:46 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi leledumbo,
>
>> If I have:
>>
>> %x = call @externalFunc
>> ... ; other codes where %x is not used
>> ret ; assume void function
>>
>> and use dce optimization, will the call gets eliminated?
>
> only if the compiler can prove that the called function has
2016 Jan 29
3
DCE in the presence of control flow.
On Thu, Jan 28, 2016 at 10:09 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> ------------------------------
>
> *From: *"David Callahan via llvm-dev" <llvm-dev at lists.llvm.org>
> *To: *"Daniel Berlin" <dberlin at dberlin.org>, "LLVM Dev Mailing list" <
> llvm-dev at lists.llvm.org>
> *Sent: *Thursday, January 28, 2016
2010 Oct 12
3
[LLVMdev] DCE and external function
> only if the compiler can prove that the called function has
> no side effects (such as modifying some global variables or
> causing the program to exit).
can it prove if the function resides in a shared library?
--
View this message in context: http://old.nabble.com/DCE-and-external-function-tp29932485p29942236.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Oct 12
0
[LLVMdev] DCE and external function
On Tue, Oct 12, 2010 at 1:21 PM, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
>
>> only if the compiler can prove that the called function has
>> no side effects (such as modifying some global variables or
>> causing the program to exit).
>
> can it prove if the function resides in a shared library?
Only if the right function attributes are added. See
2016 Jan 30
3
DCE in the presence of control flow.
I had assumed you would treat phi nodes differently from other operations in that they don’t need to keep the block alive just to retain the data flow facts but it would be simplest to do that.
Thanks Daniel
From: Daniel Berlin <dberlin at dberlin.org<mailto:dberlin at dberlin.org>>
Date: Friday, January 29, 2016 at 10:26 PM
To: David Callahan <dcallahan at
2010 Oct 13
1
[LLVMdev] DCE and external function
> No, however it can prove it if the function is in a static library
consisting
> of bitcode files (what you get if you compile with -emit-llvm) and you do
> link-time optimization. However it's probably simpler to declare the
> function
> as having no side-effects using gcc's "pure" or "const" attribute.
Hmm... the library can't be made static so