[llvm-dev] Value

Anastasiya Ruzhanskaya via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 20 09:55:14 PDT 2017


Ok, I have already figured out, the Type information helps.

2017-07-20 18:49 GMT+02:00 Anastasiya Ruzhanskaya <
anastasiya.ruzhanskaya at frtk.ru>:

> Thank you for the answers! I have only one question more :
> all Instructions and Values have bit width. I can access the bit width
> only in ConstantInt, however it logically should be possible in any other (
> store has a width, load also ans so on, as the first parameter). Is it
> really possible? In all docs I find this bit info only in APInt class
>
> 2017-07-20 17:05 GMT+02:00 Tim Northover <t.p.northover at gmail.com>:
>
>> On 20 July 2017 at 07:56, Anastasiya Ruzhanskaya via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>> > is Instruction, that I am putting to map, is the same
>> > object as the Value, that will be used later,
>> > as here %a = alloca i32, align 4 ...%b= mul %a, 2. Now seems to be, that
>> > yes.
>>
>> Yep, that's right.
>>
>> Tim.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170720/3f0b5779/attachment.html>


More information about the llvm-dev mailing list