Displaying 5 results from an estimated 5 matches for "classllvm_1_1constant".
2012 Jan 27
3
[LLVMdev] How to get the string value?
Thanks Duncan,
Yes, it is a ConstantExpr! Thank you!
Now trying to find a clue in ConstantExpr's functions to get that string :-)
Regards,
Welson
On Thu, Jan 26, 2012 at 9:04 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Welson Sun,
>
> > Hi, if I have some LLVM code like this:
> >
> > @.str = private unnamed_addr constant [7 x i8]
2013 Oct 17
1
[LLVMdev] get the value of a Constant in LLVM IR
Hello,
i parse the llvm IR (llvm-3.3 version) and when i meet a constant, i want
to get it's value.
eg i32 5, i want to get the 5.
I am interested in ConstantInt-ConstantFP-ConstantArray-ConstantStruct
subclasses.
Things are a bit easier with ConstantInt and ConstantFP constants but how
could i get the value of a ConstantArray?
The
2020 Aug 31
2
Metadata in LLVM back-end
...;t it an implementation aspect? I mean, you can have a metadata
nodes which members are pointers; if two nodes have to share the same
member instance, they can share the same pointer.
After all, even when two instructions refer to a structurally equivalent
Constant object
(https://llvm.org/doxygen/classllvm_1_1Constant.html#details),
they actually share the same pointer to the same Constant object.
> Pre-RA it's relatively easy as long as we're still in SSA. The
> intrinsic would simply take the instruction it should annotate as an
> operand. After SSA it obviously becomes more difficult. I d...
2020 Aug 18
2
Metadata in LLVM back-end
Am 07/08/20 um 22:54 schrieb David Greene:
> Lorenzo Casalino via llvm-dev <llvm-dev at lists.llvm.org> writes:
>
>>> As with IR-level metadata, there should be no guarantee that metadata is
>>> preserved and that it's a best-effort thing. In other words, relying on
>>> metadata for correctness is probably not the thing to do.
>> Ok, I made a
2020 Mar 19
3
Multi-Threading Compilers
On 3/18/20 9:49 AM, Nicolai Hähnle wrote:
> On Wed, Mar 18, 2020 at 7:23 AM Nicholas Krause via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> On 3/3/20 8:37 PM, Chris Lattner wrote:
>>
>> On Feb 28, 2020, at 6:03 PM, Chris Lattner <clattner at nondot.org> wrote:
>>
>>
>> On Feb 28, 2020, at 8:56 AM, Johannes Doerfert <johannesdoerfert at