Displaying 5 results from an estimated 5 matches for "_z16fooz".
2012 Jan 27
2
[LLVMdev] How to get the string value?
...ve some LLVM code like this:
@.str = private unnamed_addr constant [7 x i8] c"in_arr\00", align 1
@.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
@.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
...
...
call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]* @.str,
i64 0, i64 0)*, i32 0, i32 1024)
...
I would like to get the string value of the bold argument, but how? I know
it's a llvm::Value pointer, but it is not a llvm::GetElementPtrInst?
Thanks,
-------------- next part --------------
An HTML attachmen...
2012 Jan 27
0
[LLVMdev] How to get the string value?
...@.str = private unnamed_addr constant [7 x i8] c"in_arr\00", align 1
> @.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
> @.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
> ...
> ...
>
> call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]* @.str, i64
> 0, i64 0)*, i32 0, i32 1024)
> ...
>
> I would like to get the string value of the bold argument, but how? I know it's
> a llvm::Value pointer, but it is not a llvm::GetElementPtrInst?
it is a ConstantExpr getelementptr. Whene...
2012 Jan 27
3
[LLVMdev] How to get the string value?
...onstant [7 x i8] c"in_arr\00", align 1
> > @.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
> > @.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
> > ...
> > ...
> >
> > call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]*
> @.str, i64
> > 0, i64 0)*, i32 0, i32 1024)
> > ...
> >
> > I would like to get the string value of the bold argument, but how? I
> know it's
> > a llvm::Value pointer, but it is not a llvm::GetElementPtrInst?
>
>...
2012 Jan 28
0
[LLVMdev] How to get the string value?
...\00", align 1
> > @.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
> > @.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
> > ...
> > ...
> >
> > call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]*
> @.str, i64
> > 0, i64 0)*, i32 0, i32 1024)
> > ...
> >
> > I would like to get the string value of the bold argument, but how? I
> know it's
> > a llvm::Value pointer, but it is not a...
2012 Jan 28
1
[LLVMdev] How to get the string value?
...@.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00",
>> align 1
>> > @.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00",
>> align 1
>> > ...
>> > ...
>> >
>> > call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]*
>> @.str, i64
>> > 0, i64 0)*, i32 0, i32 1024)
>> > ...
>> >
>> > I would like to get the string value of the bold argument, but how?
>> I
>> know it's
>> > a llvm::V...