Displaying 20 results from an estimated 96 matches for "arushi".
2011 May 12
2
[LLVMdev] Machine Function Pass
I tried
llc -load /localhome/aggarwa4/llvm27/llvm-obj/projects/poolalloc/Debug/lib/libCodegen.so
--help
But this does not show my pass. It says it is an unknown command line argument.
Arushi
On Thu, May 12, 2011 at 11:21 AM, John Criswell <criswell at illinois.edu> wrote:
> On 5/12/11 11:17 AM, Arushi Aggarwal wrote:
>>
>> What is the correct way to register/run a machine function pass, so
>> that it can be dynamically loaded?
>
> Machine function pass...
2011 May 12
0
[LLVMdev] Machine Function Pass
On 5/12/11 11:46 AM, Arushi Aggarwal wrote:
> I tried
> llc -load /localhome/aggarwa4/llvm27/llvm-obj/projects/poolalloc/Debug/lib/libCodegen.so
> --help
>
> But this does not show my pass. It says it is an unknown command line argument.
I'm assuming you've looked at other MachineFunctionPass'es an...
2011 Apr 05
3
[LLVMdev] GEP vs IntToPtr/PtrToInt
On Mon, Apr 4, 2011 at 5:02 PM, Arushi Aggarwal <arushi987 at gmail.com> wrote:
>
>
>> Hi,
>> Is it correct to convert,
>> %196 = load i32* %195, align 8 ; <i32> [#uses=1]
>> %197 = zext i32 %196 to i64 ; <i64> [#uses=1]
>> %198 = ptrtoint i...
2011 Apr 06
2
[LLVMdev] Incompatible types at call site
Hi Arushi,
> I got this from C code compiled by llvm-gcc.
>
> There is a consistent prototype for the function
>
> TypHandle Cyclotomic ( hdRes, n, m )
> TypHandle hdRes;
> long n, m;
>
> the call looks as follows,
> hdI = ProdCyc( hd...
2011 Apr 05
2
[LLVMdev] Incompatible types at call site
On Tue, Apr 5, 2011 at 1:44 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
>
> %tmp63 = call %struct.TypHeader* (...)* bitcast (%struct.TypHeader*
>> (%struct.TypHeader*, i64, i64)* @Cyclotomic to %struct.TypHeader*
>> (...)*)(%struct.TypHeader* %tmp62, i64 %tmp24, i32 1) nounwind, !dbg !907
>> ;
>> <%struct.TypHeader*> [#uses=1...
2011 Feb 24
1
[LLVMdev] Get Element Ptr inst
Thanks John. You are right.
Is this also true for constant GEP expressions? Do they also create a
pointer to the calculated type? The language manual does not state so
explicitly.
Arushi
On Thu, Feb 24, 2011 at 10:47 AM, John Criswell <criswell at illinois.edu>wrote:
> On 2/24/11 10:39 AM, Arushi Aggarwal wrote:
>
>> Given 2 GEPs as follows,
>>
>> %tmp124 = getelementptr inbounds %struct.termbox* %termptr.1, i32 0, i32
>> 5, !dbg !1051 ; <[2...
2011 Apr 05
2
[LLVMdev] Incompatible types at call site
...c to %struct.TypHeader*
(...)*)(%struct.TypHeader* %tmp62, i64 %tmp24, i32 1) nounwind, !dbg !907 ;
<%struct.TypHeader*> [#uses=1]
the 3rd parameter is now used in an srem statement. How do we know what
value is used? Does this use decide whether the value is sign extended or
zero extended?
Arushi
On Tue, Apr 5, 2011 at 1:35 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
> > For a call like this,
> >
> > %tmp6 = call i32 (...)* bitcast (i32 (i8*, i8, i8**)* @ssplit to i32
> (...)*)(i8*
> > %tmp599, i32 46, i8** %domainv3) nounwind ; <...
2011 Apr 04
2
[LLVMdev] GEP vs IntToPtr/PtrToInt
On 4/4/2011 6:45 PM, Eli Friedman wrote:
> On Mon, Apr 4, 2011 at 5:02 PM, Arushi Aggarwal<arushi987 at gmail.com> wrote:
>>
>>> Hi,
>>> Is it correct to convert,
>>> %196 = load i32* %195, align 8 ;<i32> [#uses=1]
>>> %197 = zext i32 %196 to i64 ;<i64> [#uses=1]
>>>...
2011 May 12
2
[LLVMdev] Machine Function Pass
What is the correct way to register/run a machine function pass, so
that it can be dynamically loaded?
Thanks,
Arushi
2018 Mar 25
4
[PATCH v2 0/2] drm: Replace list_entry
Replace list_entry with list_{next/prev}_entry.
Arushi Singhal (2):
gpu: drm/lease:: Use list_{next/prev}_entry instead of list_entry
gpu: drm: nouveau: Use list_{next/prev}_entry instead of list_entry
drivers/gpu/drm/drm_lease.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c | 2 +-
2 files changed, 2 insertions(+), 2...
2010 Dec 13
1
[LLVMdev] How can I determine safely if a CallSite is "live" in a DSGraphs context
Hi,
I believe shouldHaveNodeForValue() should return false for
ConstantPointerNullValue.
Fixed in r121707.
Arushi
On Mon, Dec 13, 2010 at 12:10 PM, Kevin Streit
<kevin.streit at googlemail.com>wrote:
> I'm using BUDataStructures... But I tried LocalDatastructures and it didn't
> work either...
> On Dec 13, 2010 6:52 PM, "Arushi Aggarwal" <arushi987 at gmail.com> wrote...
2010 Mar 09
3
[LLVMdev] Alignment for Alloca Inst in llvm 2.6
...[100 x i32], align 512 ; <[100 x i32]*> [#uses=2]
2. I notice that the setAlignment method for an AllocaInst takes an
unsigned. For 64 bit systems, alignment could potentially be larger. Is
there a reason why the alignment should be restricted to this size?
Thanks in advance
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100308/0c620801/attachment.html>
2011 Apr 06
3
[LLVMdev] Incompatible types at call site
Hi Arushi,
> When it asks for the castOpcode, it assumes both types are unsigned(indicated by
> the false arguments).
>
> Is it correct to assume this?
yes, because the behaviour of the original code was undefined.
Ciao, Duncan.
PS: This is the sort of thing that happens when a function is de...
2011 Feb 24
2
[LLVMdev] Get Element Ptr inst
...When I try to create this instruction i get the follwoing error,
opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/include/llvm/Instructions.h:276:
const llvm::Type* llvm::checkType(const llvm::Type*): Assertion `Ty &&
"Invalid GetElementPtrInst indices for type!"' failed.
Thanks!
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110224/9637942c/attachment.html>
2011 Apr 05
0
[LLVMdev] Incompatible types at call site
Hi Arushi,
> %tmp63 = call %struct.TypHeader* (...)* bitcast (%struct.TypHeader*
> (%struct.TypHeader*, i64, i64)* @Cyclotomic to %struct.TypHeader*
> (...)*)(%struct.TypHeader* %tmp62, i64 %tmp24, i32 1) nounwind, !dbg !907 ;
> <%struct.TypHeader*> [#uses=1]
>
> the 3rd parameter...
2011 Apr 06
0
[LLVMdev] Incompatible types at call site
...= CastInst::getCastOpcode(*AI,
false, ParamTy, false);
Args.push_back(Builder->CreateCast(opcode, *AI, ParamTy, "tmp"));
}
When it asks for the castOpcode, it assumes both types are
unsigned(indicated by the false arguments).
Is it correct to assume this?
Thanks,
Arushi
On Tue, Apr 5, 2011 at 1:57 PM, Arushi Aggarwal <arushi987 at gmail.com> wrote:
>
>
> On Tue, Apr 5, 2011 at 1:44 PM, Duncan Sands <baldrick at free.fr> wrote:
>
>> Hi Arushi,
>>
>>
>> %tmp63 = call %struct.TypHeader* (...)* bitcast (%struct.TypHe...
2010 Sep 16
2
[LLVMdev] Check if an IntegerType is signed
How can I check if a particular Integer Type is signed/unsigned?
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100916/baea061d/attachment.html>
2011 Apr 06
0
[LLVMdev] Incompatible types at call site
On Wed, Apr 6, 2011 at 8:35 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
>
> I got this from C code compiled by llvm-gcc.
>>
>> There is a consistent prototype for the function
>>
>> TypHandle Cyclotomic ( hdRes, n, m )
>> TypHandle hdRes;
>> long n, m;
>>
>> the call lo...
2011 May 12
0
[LLVMdev] Machine Function Pass
On 5/12/11 11:17 AM, Arushi Aggarwal wrote:
> What is the correct way to register/run a machine function pass, so
> that it can be dynamically loaded?
Machine function passes are loaded into llc to be used for code
generation, from the looks of it.
Does this answer your question?
-- John T.
> Thanks,
> Arushi...
2011 May 16
2
[LLVMdev] Upgrading to llvm-2.9
Hi,
Is the RegisterPass interface still supported, or do we have to use the
INITIALIZE_PASS construct to register passes?
Thanks,
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110516/98bc0ab0/attachment.html>