Displaying 5 results from an estimated 5 matches for "dump'ing".
Did you mean:
bumping
2011 Jan 21
2
[LLVMdev] Pointers in Load and Store
...ons in
two different flavours.
(1) %8 = load i8** %bp, align 8
(2) %1 = load i8* getelementptr inbounds ([4 x i8]* @.str, i64 0,
i64 0), align 1
I know that %bp in first case and the entire "getelementptr inbounds
([4 x i8]* @.str, i64 0, i64 0)" in second case can be obtained by
dump'ing I.getOperand(0)
However, I want to find out which of the two forms of load have been
produced because in the second case, I want to insert checks for array
bounds.
How can I find out when I am in Instruction object I and I.getOpcode()
== 29 whether I am dealing with type (1) or type (2) a...
2011 Jan 21
0
[LLVMdev] Pointers in Load and Store
...1) %8 = load i8** %bp, align 8
>
> (2) %1 = load i8* getelementptr inbounds ([4 x i8]* @.str, i64 0,
> i64 0), align 1
>
> I know that %bp in first case and the entire "getelementptr inbounds
> ([4 x i8]* @.str, i64 0, i64 0)" in second case can be obtained by
> dump'ing I.getOperand(0)
>
> However, I want to find out which of the two forms of load have been
> produced because in the second case, I want to insert checks for array
> bounds.
>
> How can I find out when I am in Instruction object I and I.getOpcode()
> == 29 whether I am de...
2011 Jan 22
2
[LLVMdev] Pointers in Load and Store
...ign 8
>>
>> (2) %1 = load i8* getelementptr inbounds ([4 x i8]* @.str, i64 0,
>> i64 0), align 1
>>
>> I know that %bp in first case and the entire "getelementptr inbounds
>> ([4 x i8]* @.str, i64 0, i64 0)" in second case can be obtained by
>> dump'ing I.getOperand(0)
>>
>> However, I want to find out which of the two forms of load have been
>> produced because in the second case, I want to insert checks for array
>> bounds.
>>
>> How can I find out when I am in Instruction object I and I.getOpcode()
&g...
2011 Jan 22
0
[LLVMdev] Pointers in Load and Store
...gt; (2) %1 = load i8* getelementptr inbounds ([4 x i8]* @.str, i64 0,
>>> i64 0), align 1
>>>
>>> I know that %bp in first case and the entire "getelementptr inbounds
>>> ([4 x i8]* @.str, i64 0, i64 0)" in second case can be obtained by
>>> dump'ing I.getOperand(0)
>>>
>>> However, I want to find out which of the two forms of load have been
>>> produced because in the second case, I want to insert checks for array
>>> bounds.
>>>
>>> How can I find out when I am in Instruction objec...
2011 Jan 23
1
[LLVMdev] Pointers in Load and Store
...i8* getelementptr inbounds ([4 x i8]* @.str, i64 0,
>>>> i64 0), align 1
>>>>
>>>> I know that %bp in first case and the entire "getelementptr inbounds
>>>> ([4 x i8]* @.str, i64 0, i64 0)" in second case can be obtained by
>>>> dump'ing I.getOperand(0)
>>>>
>>>> However, I want to find out which of the two forms of load have been
>>>> produced because in the second case, I want to insert checks for array
>>>> bounds.
>>>>
>>>> How can I find out when I...