Displaying 20 results from an estimated 2000 matches similar to: "Adding assembly instructions to LLVM"
2016 Oct 30
4
[Bug 98506] New: Pagefault in gf100_vm_flush
https://bugs.freedesktop.org/show_bug.cgi?id=98506
Bug ID: 98506
Summary: Pagefault in gf100_vm_flush
Product: xorg
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at lists.freedesktop.org
2012 May 18
3
[LLVMdev] Adding a New Instruction to LLVM IR
Hello;
I was planning to add a new instruction to the LLVM IR (and later to MIPS
backend) for TLS(Thread level speculation) support. For this I tried to
follow the steps described in http://llvm.org/docs/ExtendingLLVM dot
html#instruction.
But I could not find any llvm/lib/AsmParser/Lexer.l
and llvm/lib/AsmParser/llvmAsmParser.y file in both the svn repository and
the source code downloaded
2018 May 14
2
Adding new a new type
I was reading: https://llvm.org/docs/ExtendingLLVM.html
And am heeding the warnings that come with new (derived) types.
I'm trying to use LLVM to model chemicals. More specifically, there are
several reactive groups that exist: salts, bases, acids, etc. that
adequately represent their respective values. I, for obvious reasons, want
to manifest those types in LLVM so I can type check a
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
Hello.
I come back to this thread. But I want to ask a slightly different question.
Is there a way to have LLVM IR language intrinsics that are given at construction
time a string that is written at assembly generation time as it is? (so, basically having
placeholders of strings in LLVM that remain untouched until the end, including code
generation time.)
More exactly, I would
2016 Jul 05
2
Adding a NOP bitcode instruction
Hi,
I'm trying to follow the instructions on how to add a new bitcode
instruction:
http://llvm.org/docs/ExtendingLLVM.html
This is my first foray into the guts of LLVM and I'm not sure I'm doing
things the right way. I came up with a patch that adds a NOP (no
operation) that will work with llvm-as, llvm-dis, and lli. It would be
nice if one of the experts could take a look and give
2014 Oct 05
2
[LLVMdev] extending LLVM - basic block reordering
Hi.
I want to change order of code basic blocks in memory. I visited "
http://llvm.org/docs/ExtendingLLVM.html" page and it advised me to ask it
before any effort.
What parts of LLVM help me and how? I am a newbie on LLVM.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Oct 31
1
[PATCH] D26127: [MemorySSA] Repair AccessList invariants after insertion of new MemoryUseOrDef.
On Sun, Oct 30, 2016 at 5:03 PM, Bryant Wong <
3.14472+reviews.llvm.org at gmail.com> wrote:
> To give this a bit of context, this patch stems from issues that I've
> encountered while porting MemCpyOpt to MSSA.
>
Okay. I'm not sure i would try to port instead of just rewrite. The whole
goal of MemorySSA is to enable us to write memory optimizations in non-N^2
ways.
If
2011 Jun 30
1
[LLVMdev] SDNode enum
Hi,
The document for "Adding a new SelectionDAG node" ( @
http://llvm.org/releases/2.9/docs/ExtendingLLVM.html#sdnode ) says,
"1. include/llvm/CodeGen/SelectionDAGNodes.h: Add an enum value for
the new SelectionDAG node."
Where exactly shall one add the info for new SelectionDAG ? I dont see
enums for other SDnodes too. Please help.
Regards,
Ankur
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 Mar 28
0
[LLVMdev] intrinsic
> Here is my problem:
> what does instrinsic / intrinsic function really means?
You probably need to look at http://llvm.org/docs/ExtendingLLVM.html.
Simply put, when you want to extend LLVM IR, say adding a new LLVM
instruction, you have better try to add a intrinsic function [1] which has
the same effect as the instruction you want to add.
I don't think they are the same
2018 May 14
0
Adding new a new type
On 5/14/2018 4:18 PM, Jason Ott via llvm-dev wrote:
> I was reading: https://llvm.org/docs/ExtendingLLVM.html
>
> And am heeding the warnings that come with new (derived) types.
>
> I'm trying to use LLVM to model chemicals. More specifically, there
> are several reactive groups that exist: salts, bases, acids, etc. that
> adequately represent their respective values.
2019 Mar 26
2
Implement LLVM Intrinsics in C/LLVM IR
Have you looked at these?
https://llvm.org/docs/LangRef.html
https://llvm.org/docs/ExtendingLLVM.html
On Tue, Mar 26, 2019 at 9:06 AM div code via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Of course, in this sense they are not platform-dependent. I just want to
> write a semantics-correct version of such intrinsics and let my static
> analyzer goes smoothly.
>
> On
2012 Jul 13
4
[LLVMdev] adding new data types to llvm
Hello .
I would like to add new custom data type to llvm C parser, I use LLVM/Clang version 3.1.
Adding new type instructions from llvm.org site are out of date (http://llvm.org/docs/ExtendingLLVM.html#type).
Could you please provide me with guidance?
Thanks in advance,
Edvard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Mar 31
6
[LLVMdev] About implementing new intrinsic
Hi,
I want to implement a new intrinsic in llvm that will denote a
parallel section within a function. I followed the documentation for
extending llvm (http://llvm.org/docs/ExtendingLLVM.html) but there is
something about the working mechanism that is not clear for me.
1. Why do we have to add support for the C backend? Is this only
necessary to transform the llvm assembly (bytecode) into C code
2006 Oct 31
0
6188921 - assembly should be evaluated for appropriateness of single-byte ret instructions
Author: kalai
Repository: /hg/zfs-crypto/gate
Revision: 9ce5df2e0d457b2e06ab4cc52f67c2fafc2f16bc
Log message:
6188921 - assembly should be evaluated for appropriateness of single-byte ret instructions
Files:
update: usr/src/uts/i86pc/ml/locore.s
update: usr/src/uts/i86pc/ml/mpcore.s
update: usr/src/uts/intel/ia32/ml/copy.s
update: usr/src/uts/intel/ia32/ml/ddi_i86_asm.s
update:
2010 Oct 25
2
[LLVMdev] Is it possible to map an LLVM instruction to x86 assembly instructions?
Dear folks,
If I want to setup a mapping between an LLVM instruction and the x86
assembly instructions it generates, is this possible?
Or, an equavalent question is, when LLVM is emitting assebmly
instructions, will it transform a set of LLVM instructions to a set of
assembly instructions, or transform each LLVM instruction to assembly
instructions independently?
--
Regards,
Heming Cui
2010 Oct 25
0
[LLVMdev] Is it possible to map an LLVM instruction to x86 assembly instructions?
On Mon, Oct 25, 2010 at 12:39 PM, Heming Cui <hc2428 at columbia.edu> wrote:
> Dear folks,
> If I want to setup a mapping between an LLVM instruction and the x86
> assembly instructions it generates, is this possible?
> Or, an equavalent question is, when LLVM is emitting assebmly
> instructions, will it transform a set of LLVM instructions to a set of
> assembly
2005 May 11
0
[LLVMdev] avoid live range overlap of "vector" registers
On Wed, 11 May 2005, Tzu-Chien Chiu wrote:
> On Tue May 10 2005, Chris Lattner wrote:
>> On Tue, 10 May 2005, Morten Ofstad wrote:
>>> Actually, I think it would be better to define the registers as a machine
>>> value type for packed float x4, and providing some 'extract' and 'inject'
>>> instructions to access individual components... There
2016 May 27
0
sum elements in the vector
Hi Shahid.
Do you mind providing a concrete example of X86 code where an intrinsic was
added (preferrable with filenames and line numbers)? I'm having difficulty
tracking down the steps you provided.
Any help is appreciated.
On Mon, Apr 4, 2016 at 9:02 PM, Shahid, Asghar-ahmad <
Asghar-ahmad.Shahid at amd.com> wrote:
> Hi Rail,
>
>
>
> We had done this for generation
2008 Aug 01
0
[LLVMdev] Generating movq2dq using IRBuilder
Hi Dan,
Yes, they could be represented with insertelement and extractelement, but I
don't think they actually generate optimal code using movq2dq and such. Else
both bugs 2584 and 2585 would be fixed.
Anyway, I'm actually already encouraged to get involved myself. I'm quite
experienced with MMX and SSE but I'm still trying to learn more about how
LLVM does instruction selection