Displaying 4 results from an estimated 4 matches for "_z2i1v".
2014 Sep 29
2
[LLVMdev] ptrtoint
...t; gives:
>
> define i64 @ptrtoint(i8* %p) {
> %1 = ptrtoint i8* %p to i64
> ret i64 %1
> }
>
>
>> Also, what causes i1 to be emitted?
> This C++ code:
>
> bool i1() { return false; }
>
> gives:
>
> define zeroext i1 @_Z2i1v() {
> ret i1 false
> }
>
>
>> Tia.
>>
>> Reed
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/l...
2014 Sep 29
2
[LLVMdev] ptrtoint
What kind of C or C++ code will emit a "ptrtoint" op?
Also, what causes i1 to be emitted?
Tia.
Reed
2014 Sep 29
2
[LLVMdev] ptrtoint
...>>> ret i64 %1
>>> }
>>>
>>>
>>>> Also, what causes i1 to be emitted?
>>> This C++ code:
>>>
>>> bool i1() { return false; }
>>>
>>> gives:
>>>
>>> define zeroext i1 @_Z2i1v() {
>>> ret i1 false
>>> }
>>>
>>>
>>>> Tia.
>>>>
>>>> Reed
>>>> _______________________________________________
>>>> LLVM Developers mailing list
>>>> LLVMdev at cs.uiuc.edu...
2014 Sep 30
2
[LLVMdev] ptrtoint
...>>>
>>>>>> Also, what causes i1 to be emitted?
>>>>> This C++ code:
>>>>>
>>>>> bool i1() { return false; }
>>>>>
>>>>> gives:
>>>>>
>>>>> define zeroext i1 @_Z2i1v() {
>>>>> ret i1 false
>>>>> }
>>>>>
>>>>>
>>>>>> Tia.
>>>>>>
>>>>>> Reed
>>>>>> _______________________________________________
>>>>>> L...