Displaying 20 results from an estimated 3000 matches similar to: "Get llvm-mca results inside opt?"
2020 Jan 06
2
[EXTERNAL] Get llvm-mca results inside opt?
Andrea, thanks for the advice.
On Jan 2, 2020, at 8:09 AM, Andrea Di Biagio <andrea.dibiagio at gmail.com<mailto:andrea.dibiagio at gmail.com>> wrote:
Hi Lewis,
Basically - if I understand correctly - you want to design a pass that uses llvm-mca as a library to compute throughput indicators for your outlined functions. You would then use those indicators to classify outlined
2020 May 10
2
[llvm-mca] Resource consumption of ProcResGroups
Hi Alex,
On Sun, May 10, 2020 at 4:00 PM Alex Renda <renda at csail.mit.edu> wrote:
> Thanks, that’s very helpful!
>
>
>
> Also, sorry for the miscue on that bug with the 2/4 cycles — I realize now
> that that’s an artifact of a change that I made to not crash when resource
> groups overlap without all atomic subunits being specified:
>
> `echo 'fxrstor
2019 Jun 07
2
[llvm-mca] What's the difference between Rthroughput and "total cycles" in llvm-mca
Hi Andrea,
So does this definition make sense for basic blocks with more than one
instructions? E.g. how should one interpret a basic block with RThroughput
of 2.3?
On Fri, Jun 7, 2019 at 7:39 AM Andrea Di Biagio <andrea.dibiagio at gmail.com>
wrote:
> Hi Tom,
>
> Field 'Total Cycles' from the summary view simply reports the elapsed
> number of cycles for the entire
2019 Jun 06
2
[llvm-mca] What's the difference between Rthroughput and "total cycles" in llvm-mca
What is the difference between the two? I thought "Rthroughput" is
basically the number of cycles required to execute a single iteration at
steady state, but this does not seem to match with the schedule/timeline
generated by llvm-mca.
Thanks in advance,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2020 May 10
2
[llvm-mca] Resource consumption of ProcResGroups
> On May 9, 2020, at 5:12 PM, Andrea Di Biagio via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The llvm scheduling model is quite simple and doesn't allow mca to accurately simulate the execution of individual uOPs. That limitation is sort-of acceptable if you consider how the scheduling model framework was originally designed with a different goal in mind (i.e. machine
2018 Mar 06
0
[RFC] llvm-mca: a static performance analysis tool
> On Mar 6, 2018, at 4:20 AM, Andrea Di Biagio <andrea.dibiagio at gmail.com> wrote:
>
> To be clear then, resolveSchedClass should be moved from TargetSchedModel into MCSchedModel (which is where I originally wanted it). Any TargetInstrInfo APIs called from SchedPredicate should be moved to MCInstrInfo, which should be straightforward but annoying.
>
> Personally, I
2018 Mar 06
2
[RFC] llvm-mca: a static performance analysis tool
On Tue, Mar 6, 2018 at 5:55 AM, Andrew Trick via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
>
> On Mar 5, 2018, at 6:28 PM, Matthias Braun <mbraun at apple.com> wrote:
>
>
>
> On Mar 5, 2018, at 6:14 PM, Andrew Trick via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
>
> On Mar 5, 2018, at 3:38 PM, Quentin Colombet <qcolombet at
2018 Mar 06
0
[RFC] llvm-mca: a static performance analysis tool
> On Mar 5, 2018, at 6:28 PM, Matthias Braun <mbraun at apple.com> wrote:
>
>
>
>> On Mar 5, 2018, at 6:14 PM, Andrew Trick via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>>
>>
>>> On Mar 5, 2018, at 3:38 PM, Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at
2018 Mar 06
3
[RFC] llvm-mca: a static performance analysis tool
> On Mar 5, 2018, at 6:14 PM, Andrew Trick via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
>
>> On Mar 5, 2018, at 3:38 PM, Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote:
>>
>> When Ahmed and I worked on the decompiler, we first targeted MC. Going to MI was more difficult and really wouldn’t have gotten us a
2018 Dec 10
4
[RFC][llvm-mca] Adding binary support to llvm-mca.
Hi Matt,
I can see a near future where perf-analysis tooling uses branch history
profiler captures to determine how often loops/branches are taken and
feeds that into llvm-mca, especially for hot/branchy loop analysis
reports etc. Are you confident that your approach will be easily
extendable for this?
Similarly, being able to generally embed the profile markers in object
libraries for
2020 May 09
2
[llvm-mca] Resource consumption of ProcResGroups
Hi,
I’m trying to work out the behavior of llvm-mca on instructions with ProcResGroups. My current understanding is:
When an instruction requests a port group (e.g., HWPort015) and all of its atomic sub-resources (e.g., HWPort0,HWPort1,HWPort5), HWPort015 is marked as “reserved” and is issued in parallel with HWPort0, HWPort1, and HWPort5, blocking future instructions from reserving HWPort015
2007 Jan 31
2
mca-graphics: all elements overlapping in the help-example for multiple correspondence analysis
Dear all,
I tried out the example in the help document for mca (the multiple correspondence analysis of the MASS package):
farms.mca <- mca(farms, abbrev=TRUE)
farms.mca
plot(farms.mca)
But the graphic that I get seems unfeasible to me: I cannot recognize the numbers (printed in black) because they are all overlapping and concealing each other. I don ?t dare using my own data, which
2001 Mar 13
1
3d plots of mca() results?
Greetings.
I'm about to embark on my first big (to me at least!) R project, which
will be to write a function to plot three-dimensional multiple
correspondence analysis (mca) plots in a manner similar to
scatterplot3d(). (plot.mca() plots only two dimensions, even though
mca() will calculate more.) Before I do so, however, I would love to know
that I'm not reinventing the wheel or any
2018 Dec 12
4
[RFC] Moving tools/llvm-mca/lib into lib/MCA
(on the correct mailing list)
Hi all,
tl;dr: We'd like to propose moving tools/llvm-mca/lib into lib/MCA and
create a new MCA library in LLVM.
llvm-mca has recently been split
<https://bugs.llvm.org/show_bug.cgi?id=37696> into its core part and the
tool part.
-
The core part simulates the execution of a basic block of machine
instructions as modeled by the llvm SchedModel.
2019 May 02
2
Llvm-mca library.
Hi All,
I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (https://reviews.llvm.org/D50929?id=162210 <https://reviews.llvm.org/D50929?id=162210>) but I have troubles understanding how to use it. Could you please point me to some documentations or (better) some code examples if any?
Reading the documentation
2013 Jun 01
1
error about MCA
Hi,all:
I want to perform multiple correspondance analysis via MCA{FactoMineR}.
The data is in the attachment.
My code:
dat<-read.delim("e:\\mydata.txt",header=T)
MCA(dat,quanti.sup=7,quali.sup=1:6)
Error in `[.data.frame`(tab, , i) : undefined columns selected
My question:
Why does the error happen?
Many thanks.
Best.
-------------- next part --------------
An embedded and
2018 Nov 15
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
Introduction
-----------------
Currently llvm-mca only accepts assembly code as input. We would like to
extend llvm-mca to support object files, allowing users to analyze the
performance of binaries. The proposed changes (which involve both
clang and llvm) optionally introduce an object file section, but this can be
stripped-out if desired.
For the llvm-mca binary support feature to be useful, a
2000 Jul 11
0
A small error in mca ?
Dear list,
Working the example in Stats complements to V&R 3rd ed., I found this :
> library(MASS)
> library(mva)
> data(farms)
> plot(mca(farms,abbrev=TRUE),cex=rep(0.7,2))
# ... Works OK
# Sheer curiosity ...
> plot(mca(farms,abbrev=TRUE,nf=4),cex=rep(0.7,2))
Error in rep(p * X.svd$d[sec], c(n, n)) : invalid number of copies in "rep"
A bit of exploration in the
2011 Feb 05
1
different results in MASS's mca and SAS's corresp
Dear list:
I have tried MASS's mca function and SAS's PROC corresp on the
farms data (included in MASS, also used as mca's example), the
results are different:
R: mca(farms)$rs:
1 2
1 0.059296637 0.0455871427
2 0.043077902 -0.0354728795
3 0.059834286 0.0730485572
4 0.059834286 0.0730485572
5 0.012900181 -0.0503121890
6
2019 May 02
2
Llvm-mca library.
Hi Lorenzo,
I’ll answer the first question you have:
> I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version