Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] extending LLVM - basic block reordering"
2015 Jul 09
2
[LLVMdev] insert nop instruction
Dear All,
To add to this, you can find examples of inserting NOPs for X86 in the
CFI pass originally written at Lehigh University that we ported to
64-bit X86 for SVA:
https://github.com/jtcriswell/SVA/blob/master/llvm/lib/Target/X86/X86CFIOptPass.cpp
Alternatively, you could use an InlineAsm call at the LLVM IR level
(which I think would be easier to implement).
Regards,
John Criswell
On
2015 Jul 09
2
[LLVMdev] insert nop instruction
My pass runs after optimization passes.
On Thu, Jul 9, 2015 at 1:11 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk>
wrote:
> Hi,
>
> What are you trying to achieve? Inserting NOPs into LLVM IR is likely to
> be pointless, as optimisations (in the IR or SelectionDAG) will remove them
> before machine code generation. If you want to insert NOPs into the
> generated
2015 Jul 09
4
[LLVMdev] insert nop instruction
Hi.
I need to write a function pass that insert nop instruction in function.
Examples of these instructions are: %nop = add i1 0, 0 or %nop = alloca i1,
i1 0. This link couldn't help me:
http://llvm.org/docs/ProgrammersManual.html#creating-and-inserting-new-instructions
I need a clear example about inserting new instruction. Anyone can help me?
Thanks.
-------------- next part --------------
2008 Mar 28
2
installing a new package
Dear all,
I have prepared a new package to install in R, I tried to check my package
and I got the following message
------------------------------------------------------------------------
232sub141:~ zahra$ R CMD check /Users/zahra/Desktop/HighProbability
* checking for working latex ... OK
* using log directory '/Users/zahra/HighProbability.Rcheck'
* using R version 2.6.2 (2008-02-08)
*
2024 Nov 18
1
Issue with non-standard file 'vert.txt' in R CMD check
Dear R Support Team,
I am experiencing an issue with my R package during the `R CMD check`
process. A non-standard file named `vert.txt` is being generated in the
check directory, causing a NOTE in the check results. Despite adding
`vert.txt` to `.Rbuildignore`, the file is still appearing. And, there are
no commands in any part of my package's code that would generate this file.
Here
2017 Jun 20
2
Problem with shortestPath in igraph and qgraph
hello,
I have a graph and i use qgraph package to calculate centrality parameters.
Now I want to know the maximum value of shortest path for each vertex with
discarding the Inf value in short pathes. For this I use the
ShortestPathLengths of centrality function in qgraph. but when I want to
get the maximum the result is wrong. here is my code:
cen<-centrality(Q)
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
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
2008 Feb 27
1
installing package
Dear all,
I have prepared a package to install in R. I followed all steps explained
in "writing R extensions". Also I read the section "add-on package" in
"R installation and administration". These documents refer to "R CMD
INSTALL" command but I don't know how to use this command.
My specific question is where should I type this command? In help
2014 Oct 27
4
[LLVMdev] Adding masked vector load and store intrinsics
we just follow a common recommendation to start with intrinsics:
http://llvm.org/docs/ExtendingLLVM.html
- Elena
From: Owen Anderson [mailto:resistor at mac.com]
Sent: Sunday, October 26, 2014 23:57
To: Demikhovsky, Elena
Cc: llvmdev at cs.uiuc.edu; dag at cray.com
Subject: Re: [LLVMdev] Adding masked vector load and store intrinsics
What is the motivation for using intrinsics
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
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>
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:
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
2017 Jun 21
0
Problem with shortestPath in igraph and qgraph
Hard to follow data analysis without data. Try making your example reproducible [1][2][3] and post in plain text (a setting in your emailer). Read the Posting Guide mentioned in the footer to avoid other posting pitfalls.
[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
[2] http://adv-r.had.co.nz/Reproducibility.html
[3]
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
2009 Jun 10
1
ovirt-viewer crash - please help
Hi,
Im running Fedora 10. I use the command : ovirt-viewer ovirt-appliance
and ovirt-viewer opens up, which is a gray-yellow screen. there is a text
box and a connect button. i enter the localhost.localdomain, 127.0.0.1 or
static ip address and then it says that couldnt connect to the server and
crashes. Would you please please help me.
looking forward to your kind reply.
zara
--------------
2005 May 11
2
[LLVMdev] avoid live range overlap of "vector" registers
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 should also be a
>> 'shuffle' instruction
2016 Apr 04
7
sum elements in the vector
My target has an instruction that adds up all elements in the vector and
stores the result in a register. I'm trying to implement it in my compiler
but I'm not sure even where to start.
I did look at other targets, but they don't seem to have anything like it (
I could be wrong. My experience with LLVM is limited, so if I missed it,
I'd appreciate if someone could point it out ).
2017 Jun 18
1
error for using igraph library: 'edges' must be numeric or character
hello, i want to use igraph for drawing graph of my data. First time i try
do it and it was successful. but now i want to test again i got this error:
"edges must be numeric or character". this is my edge list(this is output
from R):
From To
1 US20100331312
2 US20100331341
3 US20100330919 US20100041339
4 US20100330919 US20100195590
5 US20100330919