search for: manishg

Displaying 20 results from an estimated 21 matches for "manishg".

Did you mean: manish
2011 Aug 04
2
[LLVMdev] Tracing Value Dependency Chains
...advisor if we can release that code to you. Also, would others find it useful to have this code? I think this is the second or third time someone's asked for backwards static slicing code. -- John T. > > Thanks, > Manish > > On Wed, Aug 3, 2011 at 10:47 AM, Manish Gupta <manishg at cs.ucsd.edu > <mailto:manishg at cs.ucsd.edu>> wrote: > > Hello All, > > What would be the best way to trace Value Dependency Chains in > LLVM. Can I use some API to perform this? > > The use-def chain process mentioned at > http://llvm.or...
2011 Aug 04
0
[LLVMdev] Tracing Value Dependency Chains
It would be great help if someone can point me to similar code in Analysis or Transform, i.e. tracing value dependencies chains. Thanks, Manish On Wed, Aug 3, 2011 at 10:47 AM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > Hello All, > > What would be the best way to trace Value Dependency Chains in LLVM. Can I > use some API to perform this? > > The use-def chain process mentioned at > http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get > the...
2011 Aug 03
2
[LLVMdev] Tracing Value Dependency Chains
Hello All, What would be the best way to trace Value Dependency Chains in LLVM. Can I use some API to perform this? The use-def chain process mentioned at http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get the values (Operands) being used in the current Instruction. For getting the values operands in the particular instruction are influenced from I have to recursively call
2011 Aug 01
3
[LLVMdev] Grabbing Result of an Instruction.
What member function to use if I wish to operate on results of an instruction. eg. Instruction %1 = getelementptr inbounds [10 x i32]* %a, i32 0, i32 %0 I->getOperand will give me the operands. How should I get hold of %1? Thanks, Manish -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Sep 21
0
[LLVMdev] Alias Analysis (Andersen pointer analysis)
...ot be entirely stable or correct. See lib/DSA/README" So, I was wondering from where should one pick the code. Although I will start my analysis and see how results turn out to be. But any comments on this line will be helpful. Thanks Manish On Tue, Sep 20, 2011 at 5:13 PM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > Thanks Everyone for the info. > > I am planning to work with DSA on llvm-2.9. Hope it is working as John > mentioned. > > Manish > > > On Tue, Sep 20, 2011 at 7:06 AM, John Criswell <criswell at illinois.edu>wrote: > >> On 9/19...
2011 Sep 21
3
[LLVMdev] Alias Analysis (Andersen pointer analysis)
Thanks Everyone for the info. I am planning to work with DSA on llvm-2.9. Hope it is working as John mentioned. Manish On Tue, Sep 20, 2011 at 7:06 AM, John Criswell <criswell at illinois.edu>wrote: > On 9/19/11 9:12 PM, Manish Gupta wrote: > > Dear All, > > I am curious to know the reason for removal of andersen pointer analysis. > Is it because of some issues? We
2011 Aug 04
0
[LLVMdev] Tracing Value Dependency Chains
...that code to you. > > Also, would others find it useful to have this code? I think this is the > second or third time someone's asked for backwards static slicing code. > > -- John T. > > > Thanks, > Manish > > On Wed, Aug 3, 2011 at 10:47 AM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > >> Hello All, >> >> What would be the best way to trace Value Dependency Chains in LLVM. Can >> I use some API to perform this? >> >> The use-def chain process mentioned at >> http://llvm.org/docs/ProgrammersManual.html#iter...
2011 Aug 02
0
[LLVMdev] Grabbing Result of an Instruction.
...se LLVM IR is in SSA, so the "=" really means equality. If you look at a use of %1, e.g. as an operand to another instruction, you'll see that it's the instruction itself that is there (i.e. you can dyn_cast<Instruction> it). On Mon, Aug 1, 2011 at 5:27 PM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > What member function to use if I wish to operate on results of an > instruction. > eg. > Instruction  %1 = getelementptr inbounds [10 x i32]* %a, i32 0, i32 %0 > I->getOperand will give me the operands. > How should I get hold of %1? > Thanks, &gt...
2011 Aug 02
1
[LLVMdev] Grabbing Result of an Instruction.
...the "=" really means equality. If you look at a use of %1, > e.g. as an operand to another instruction, you'll see that it's the > instruction itself that is there (i.e. you can dyn_cast<Instruction> > it). > > On Mon, Aug 1, 2011 at 5:27 PM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > > What member function to use if I wish to operate on results of an > > instruction. > > eg. > > Instruction %1 = getelementptr inbounds [10 x i32]* %a, i32 0, i32 %0 > > I->getOperand will give me the operands. > > How should I ge...
2011 Aug 04
1
[LLVMdev] Tracing Value Dependency Chains
...to have this code? I think this > is the second or third time someone's asked for backwards static > slicing code. > > -- John T. > >> >> Thanks, >> Manish >> >> On Wed, Aug 3, 2011 at 10:47 AM, Manish Gupta >> <manishg at cs.ucsd.edu <mailto:manishg at cs.ucsd.edu>> wrote: >> >> Hello All, >> >> What would be the best way to trace Value Dependency Chains >> in LLVM. Can I use some API to perform this? >> >> The use-def chain proces...
2011 Aug 02
0
[LLVMdev] Grabbing Result of an Instruction.
...t;=" really means equality. If you look at a use of %1, > e.g. as an operand to another instruction, you'll see that it's the > instruction itself that is there (i.e. you can dyn_cast<Instruction> > it).**** > > > On Mon, Aug 1, 2011 at 5:27 PM, Manish Gupta <manishg at cs.ucsd.edu> wrote: > > What member function to use if I wish to operate on results of an > > instruction. > > eg. > > Instruction %1 = getelementptr inbounds [10 x i32]* %a, i32 0, i32 %0 > > I->getOperand will give me the operands. > > How should I ge...
2012 Nov 10
2
[LLVMdev] Inlining bitcast functions...
Spoke too soon... running the inst combine pass does seem to resolve the linker/inlining issue. But the resulting code fails to run correctly. I was expecting the same result that I get when running with unstripped modules, that is passing test runs. When it still failed, I guessed the failure mode to be the same, but it isn't. Not sure WHAT to make of this...
2011 Aug 27
2
[LLVMdev] How to break/iterate over nested instructions.
Dear All, I wish to iterate over all instructions (where opCode == desired_opCode). I could iterate over all the instruction expect the nested instructions like: %add.ptr229 = getelementptr inbounds i8* getelementptr inbounds ([4096 x i8]* @_Func1, i32 0, i32 0), i64 %idx.ext228 I wish to break this nested instruction in two instructions. Please let me know if there is already existing method
2011 Sep 20
3
[LLVMdev] Alias Analysis (Andersen pointer analysis)
Dear All, I am curious to know the reason for removal of andersen pointer analysis. Is it because of some issues? We need it on llvm-2.9, if possible. Do we have some better version of pointer analysis on llvm-2.9? Thanks, Manish -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Aug 31
2
[LLVMdev] Inserting Calls to var args Functions
Hi All, I am using code similar to giri instrumentation <https://github.com/liuml07/giri> framework to insert my instrumentation code. It works for normal functions for example to insert recordInt32 function below. void recordInt32(int32_t val){ printf("%d, ", val); } I can get recodedInt32 function in my Module using getOrInsert Function. Function* RecordInt32 =
2011 May 12
2
[LLVMdev] Extract operations as function
Hi, I am planning to extract every operation as function. eg. z=x+y; ==> z=func(x,y,op); I wish to write a custom definition of op. Which I would like to define in func. It would be really helpful if someone could suggest passes already available in llvm to look for or point some references how should one proceed on it. Is codeExtractor.cpp useful for this. I was also thinking of going like
2014 Jul 07
2
[LLVMdev] Return Type of Call Function with nested bitcast
Hi All, I am facing an issue with CallInst with nested bitcast instruction. I want to check if the return type of a call is void or non-void the below line works well for CallInst without bit cast. *cast<CallInst>(I)->getCalledFunction()->getReturnType()->isVoidTy()* But for Call instructions like *call void bitcast (void (%struct.jpeg_compress_struct.131*, i32)*
2011 Oct 02
3
[LLVMdev] DSA or rDSA ?
Dear All, I am trying to use DataStructure Alias Analysis. From the code at poolalloc it seems that rDSA needs to be compiled to get -ds-aa feature while the Makefile builds just the DSA. Please correct me if I am doing something wrong. Thanks, Manish -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Sep 01
2
[LLVMdev] Instrumenting Various Types Using Single Instrumentation Function
Hi All, My instrumentation code needs to insert calls to transmit Value list. Each element in this list could be of different type. The list is sent to instrumenting function say void recordVarInputValues(int num, ...) . So, I have created a Union type in Tracing.cpp, which I link with my benchmark module at compile time. These steps are similar to giri instrumentation
2011 May 12
2
[LLVMdev] Extract operations as function
Great!! Thanks Duncan. By step 1 that you mentioned it seems I can write my function func(x,y,op) in mypass.cpp itself. Please elaborate how can add it to the module? On Thu, May 12, 2011 at 1:22 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Manish, > > > I am planning to extract every operation as function. > > > > eg. z=x+y; ==> z=func(x,y,op); > >