similar to: [LLVMdev] The annotation intrinsic, floating point values, stores and branches

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] The annotation intrinsic, floating point values, stores and branches"

2008 Feb 20
1
[LLVMdev] Invalid intrinsic name error
Hi, Thank You for the advice and we were able to solve that problem by the following modifications to the Instrinsics.td file. But I now have an "Invalid Intrinsic name" error This error occurs presumably because the created intrinsic is named: llvm.migrate_begin.i32 Intrinsics.gen checks for a string length of 18 (i.e. the length without the .i32). Kindly help me through it.
2012 Feb 24
0
[LLVMdev] Intrinsic annotation doesn't work with C++ files
Hello again, I really need to know how to make llvm understand the annotate in C++ code or to write a new Intrinsic by myself. I tried to add a new Intrinsic corresponding to the ExtendingLLVM doc instructions, but it is too opaque and I faild. Please, advise me if you can. Sincerely, Hripsime. On Wed, Feb 22, 2012 at 6:35 PM, Hripsime Matevosyan <hripsime.m at gmail.com>wrote: > Hi
2012 Feb 22
2
[LLVMdev] Intrinsic annotation doesn't work with C++ files
Hi all, I need to use annotate inside the C++ code and want to know why doesn't it work? How can I modify my sources to use annotate inside the C++ code too? Thanks in advance. Sincerely, Hripsime. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120222/21e75ec8/attachment.html>
2011 Nov 17
0
[LLVMdev] LLVM ERROR: Cannot select: intrinsic %llvm.annotation
I'm trying to insert some annotations using the @llvm.annotation.i32 intrinsic. When I compile the file with llc, it gives me the error "LLVM ERROR: Cannot select: intrinsic %llvm.annotation". My IR file looks like this: $ cat test.ll @.str = private unnamed_addr constant [6 x i8] c"Hello\00" declare i32 @llvm.annotation.i32(i32, i8* , i8*, i32) define i32 @main(i32
2019 Jul 25
2
Typeless pointers and intrinsics
To avoid going too off-topic on the multidimensional gep thread, I'm asking this in a separate thread. >> I took a look earlier and didn't notice any target-independent ones that would need a separate type parameter Do you know what would happen with the llvm.ptr.annotation intrinsic? Frontends use that to annotate members of structs: struct S { [[some_annotation]] int
2020 Nov 09
0
RFC: Combining Annotation Metadata and Remarks
Hi Florian, On 11/9/20 5:09 AM, Florian Hahn wrote: > >> On Nov 6, 2020, at 17:32, Johannes Doerfert <johannesdoerfert at gmail.com> wrote: >> >> Cool! I really like the idea. I left a comment about metadata preservation below. >> Once this is available we will certainly employ it to understand OpenMP programs better. > That sounds like a great use case!
2020 Nov 10
1
RFC: Combining Annotation Metadata and Remarks
> On Nov 9, 2020, at 19:27, Johannes Doerfert <johannesdoerfert at gmail.com> wrote: > On 11/9/20 5:09 AM, Florian Hahn wrote: >> >>> On Nov 6, 2020, at 17:32, Johannes Doerfert <johannesdoerfert at gmail.com <mailto:johannesdoerfert at gmail.com>> wrote: >>> >>> Cool! I really like the idea. I left a comment about metadata preservation
2015 Dec 12
2
RFC: Extending atomic loads and stores to floating point and vector types
On Sat, Dec 12, 2015 at 1:24 AM, Philip Reames <listmail at philipreames.com> wrote: > Patch posted for review: http://reviews.llvm.org/D15471 Looking at the patch, I think we should do FP only for now as vectors have extra complexities which IMO warrant more discussion. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Mar 28
1
[LLVMdev] Removing Intrinsic Functions
There are a few instrinsic functions I would like to remove, is this possible? For example, the llvm.lifetime and llvm.dbg instrinsics? You can't simply iterate over the funciton and remove the call instructions, this causes issues. Is there a known structured way of doing this? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Mar 28
3
[LLVMdev] intrinsic
Hi,all. I've been reading the llvm source code for some days. Here is my problem: what does instrinsic / intrinsic function really means? Are these "the function belong to llvm and just belong to llvm"? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Dec 16
2
RFC: Extending atomic loads and stores to floating point and vector types
> > Actually, this brings up a related issue. We seem to have no >> documentation in the lang ref about how vector types are represented in >> memory. The actual implementation appears to assumed packed bits, but the >> docs don't say. Depending on what the semantics here are, my assumptions >> in the last two paragraphs may not be valid. >> > >
2009 Dec 08
2
[LLVMdev] LLVM intrinsic for SSE ANDPS instruction
Hi, LLVM is used to have an llvm.x86.and_ps instrinsic for the ANDPS instruction, but it seems to be gone, and it is a bit hard to synthetize it from vector instructions, since 'and' only works on vectors of integer types. Would a patch be accepted which adds this and related instructions back ? Zoltan -------------- next part -------------- An HTML attachment was
2015 Dec 16
2
RFC: Extending atomic loads and stores to floating point and vector types
> > >>> - Once we add vector, should we consider adding other composite >>> types in general, including structs? C++ allows this, but has substantial >>> issues w.r.t. padding. >>> >>> I'd say possibly, but FCAs are poorly supported in the IR in general. I >>> am not willing to block changes for vectors on changes for FCAs.
2020 Nov 09
2
RFC: Combining Annotation Metadata and Remarks
> On Nov 6, 2020, at 17:32, Johannes Doerfert <johannesdoerfert at gmail.com> wrote: > > Cool! I really like the idea. I left a comment about metadata preservation below. > Once this is available we will certainly employ it to understand OpenMP programs better. That sounds like a great use case! Having multiple different uses cases during the bring-up would be very helpful to
2008 Jun 05
0
[LLVMdev] Using annotation attributes
> I'm trying to annotate certain functions in C code, and do something with > these functions in my LLVM pass. I annotate the C code like this: > > int __attribute__((annotate("annot"))) function() { > > This nicely gets added to the LLVM bitcode in an > @llvm.global.annotations global. Now I had hoped that it'd be easy to extract > a list of functions
2015 Dec 11
2
RFC: Extending atomic loads and stores to floating point and vector types
On 12/11/2015 12:05 AM, JF Bastien wrote: > On Fri, Dec 11, 2015 at 3:22 AM, Philip Reames via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > Currently, we limit atomic loads and stores to either pointer or > integer types. I would like to propose that we extend this to > allow both floating point and vector types
2018 May 30
1
llvm.annotation arguments
Hello all, According to *clang/lib/CodeGen/CodeGenFunction.cpp*, a LLVM annotation intrinsic call has 4 arguments: - llvm::Value *AnnotatedVal, - Builder.CreateBitCast(CGM.EmitAnnotationString(AnnotationStr), Int8PtrTy), - Builder.CreateBitCast(CGM.EmitAnnotationUnit(Location), Int8PtrTy), - CGM.EmitAnnotationLineNo(Location) However, this is what an annotation intrinsic *char
2010 Aug 20
1
[LLVMdev] RFC: new intrinsic llvm.memcmp?
On 08/20/2010 04:06 PM, Eli Friedman wrote: > On Fri, Aug 20, 2010 at 1:03 PM, Bagel<bagel99 at gmail.com> wrote: >> I propose a new intrinsic "llvm.memcmp" that compares a block of memory >> for equality (a subset of the libc behavior). Backends are free to use the >> alignment to optimize using wider than byte operations. Since the result is >> only
2018 Feb 01
1
Intrinsic pattern matching
Hello, I have a problem with pattern matching on intrinsics. I have following code in IntrinsicsX86.td: ``` let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". def int_x86_mpx_bndmk: Intrinsic<[llvm_x86bnd_ty], [llvm_ptr_ty, llvm_i64_ty], []>; } ``` And following instruction that is generated when @llvm.x86.mpx.bndmk is used in code:
2009 Dec 08
0
[LLVMdev] LLVM intrinsic for SSE ANDPS instruction
On Dec 8, 2009, at 11:18 AM, Zoltan Varga wrote: > Hi, > > LLVM is used to have an llvm.x86.and_ps instrinsic for the ANDPS instruction, but it seems to be gone, and it is a bit hard to > synthetize it from vector instructions, since 'and' only works on vectors of integer types. Would a patch be accepted which adds this and related instructions back ? No. It won't be.