search for: callinstructions

Displaying 9 results from an estimated 9 matches for "callinstructions".

Did you mean: callinstruction
2012 Oct 08
2
[LLVMdev] How can I find the LHS of the function call when traversing the function call
Hi All, I am a new member in the group, have been doing some experiments with LLVM IR. I am facing issue with de-compiling the following instruction once it is read, %var2 = call i8 @myfuncCall (i2 %var1) In after I parse the file (lets say using parseIRFiles ). I can see the instructions,( the function call instruction ), How can I get the %var2 from the instruction/callInstruction ? going
2011 Feb 22
1
[LLVMdev] Clone a function and change signature
On Feb 22, 2011, at 11:46 AM, John Criswell wrote: > On 2/22/11 1:31 PM, Arushi Aggarwal wrote: >> Hi, >> >> I want to clone a given function, and add an argument to it. I then >> want to add a call to that new function. I have a callInstruction CI, >> which I want to transform to call this new function, and to take a new >> argument. > > If I
2019 Mar 09
2
Cast a function parameter to GEP
Thanks Tim, I'll try to solve my problem ASAP, if I cannot maybe I'll some other clarifications. Thanks again On Sat, Mar 9, 2019, 06:03 Tim Northover <t.p.northover at gmail.com> wrote: > Hi Alberto, > > On Sat, 9 Mar 2019 at 05:50, Alberto Barbaro via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > i8* getelementptr inbounds ([7 x i8], [7 x i8]*
2011 Feb 22
2
[LLVMdev] Clone a function and change signature
Hi, I want to clone a given function, and add an argument to it. I then want to add a call to that new function. I have a callInstruction CI, which I want to transform to call this new function, and to take a new argument. The code I added was as follows CI->getCalledFunction()->dump(); Function* DirectF = CloneFunction(CI->getCalledFunction());
2011 Feb 22
0
[LLVMdev] Clone a function and change signature
On 2/22/11 1:31 PM, Arushi Aggarwal wrote: > Hi, > > I want to clone a given function, and add an argument to it. I then > want to add a call to that new function. I have a callInstruction CI, > which I want to transform to call this new function, and to take a new > argument. If I understand correctly, you're cloning the function first and then adding a new argument to
2010 Nov 18
0
[LLVMdev] How to construct parameters for a insert function? one from a return value from previous call, the other one is a string....
Hi, I want to insert a write operation to a fd opened, but I have some questions to construct parameters to pass to function that I want to insert, because one from a return value from previous call, the other one is a string, The detailed description of the problem is as follows; I have: int fd = open(g_settings_path, O_RDONLY); and I want to insert this function after the instruction above:
2017 Feb 10
2
Stripping Debug Locations on cross BB moves, part 2 (PR31891)
...hing to do. > > Probably getMergedLocation should optionally return line-0 instead of null; whether it's an optional don’t-return-null parameter or a separate getMergedLocationForCall API is an implementation detail. We need something to this end to support getMergedLocationForCall for CallInstructions. I'm not yet sure what the best API design for this. It feels dangerous to let the caller decide whether a nullptr is acceptable. > The code-motion cases won't be using getMergedLocation anyway, so if we want to make a new API to set a "been-moved" flag, that seems pretty ort...
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
Please unsubscribe me from this list. Sujatha Gurumurthy Staffing Consultant/Talent Advisor UMG - Ultra Mobile Group sujatha.gurumurthy at intel.com US ERP Manager Interested in Employee Referral Program Visit referral.intel.com/ Intel USA Employee Referral Program Group 100 Best Companies to Work For 2011: Intel - INTC - from FORTUNE -----Original Message----- From: llvmdev-bounces at
2017 Feb 09
2
Stripping Debug Locations on cross BB moves, part 2 (PR31891)
On Wed, Feb 8, 2017 at 10:32 AM Adrian Prantl <aprantl at apple.com> wrote: > On Feb 8, 2017, at 10:17 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > > On Wed, Feb 8, 2017 at 9:56 AM Adrian Prantl <aprantl at apple.com> wrote: > > On Feb 8, 2017, at 9:44 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > > On Wed, Feb 8, 2017 at