search for: remark

Displaying 20 results from an estimated 2216 matches for "remark".

Did you mean: remarks
2007 Sep 22
0
rsync build on IA64 using icc
...config.status: creating popt/dummy config.status: creating shconfig config.status: creating config.h rsync 2.6.9 configuration successful ~/src/rsync-2.6.9$ make /opt/intel/compilo_9/l_cc_c_9.1.042/bin/icc -c99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o icc: Command line remark: option '-W' not supported proto.h(224): remark #310: old-style parameter list (anachronism) void setup_iconv(); ^ rsync.c(33): remark #1419: external declaration in primary source file extern int verbose; ^ rsync.c(34): remark #1419: external declaration in primar...
2018 May 03
1
Passing arguments to LTOCodeGenerator
In LTOCodeGenerator.cpp there are some options related to optimization remarks. On MacOS, I can pass in this option to enable them: -Wl,-mllvm,-lto-pass-remarks-output=remarks But on Linux using 2.29.1 binutils version of gold, I try this alternative: -Wl,--plugin-opt,-lto-pass-remarks-output=remarks But I get this error message: LLVMgold: Unknown command line ar...
2017 Jul 14
3
Next steps for optimization remarks?
...gt; > On Mon, Jun 19, 2017 at 4:13 PM, Brian Gesiak via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> Hello all, >> >> In https://www.youtube.com/watch?v=qq0q1hfzidg, Adam Nemet (cc'ed) describes >> optimization remarks and some future plans for the project. I had a few >> follow-up questions: >> >> 1. As an example of future work to be done, the talk mentions expanding the >> set of optimization passes that emit remarks. However, the Clang User Manual >> mentions that "optimiz...
2017 Jun 19
8
Next steps for optimization remarks?
Hello all, In https://www.youtube.com/watch?v=qq0q1hfzidg, Adam Nemet (cc'ed) describes optimization remarks and some future plans for the project. I had a few follow-up questions: 1. As an example of future work to be done, the talk mentions expanding the set of optimization passes that emit remarks. However, the Clang User Manual mentions that "optimization remarks do not really make sense outsid...
2017 Jul 14
2
Next steps for optimization remarks?
...lvm.org> wrote: >> >> On Mon, Jun 19, 2017 at 4:13 PM, Brian Gesiak via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> >> Hello all, >> >> In https://www.youtube.com/watch?v=qq0q1hfzidg, Adam Nemet (cc'ed) describes >> optimization remarks and some future plans for the project. I had a few >> follow-up questions: >> >> 1. As an example of future work to be done, the talk mentions expanding the >> set of optimization passes that emit remarks. However, the Clang User Manual >> mentions that "optimiz...
2019 Nov 27
2
Optimization Record
I want to know all the optimization applied by the passes. I found two options in clang 1. -fsave-optimization-record 2. -Rpass-analysis=... However, they have nothing to do with the interaction btw IR files(.ll) Is there any tool that records all optimizations on IR file? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2014 Mar 06
4
[LLVMdev] RFC - Adding an optimization report facility?
...f such an > infrastructure in LLVM commit 202474 and clang commit 202475. This is > mostly the backend and printing infrastructure. > Thanks, Tobias. I've browsed the two patches and I think they're going to be exactly what I need. IIUC, the patches add two new LLVM instructions remark and note. These are inserted in the IL by the passes and the compiler emits them as diagnostic if the right -W flag is enabled? One question I have from the Clang patch. If I compile with -Weverything, will this enable all warnings *and* remarks? In this context, I only want to enable all remarks....
2020 Nov 04
2
RFC: Combining Annotation Metadata and Remarks
Hi, I would like to propose a new !annotation metadata kind that can be attached to arbitrary instructions to drive generating remarks that provide additional insight into transformations applied to a program. To motivate this, consider these specific questions we would like to get answered: * How many stores added for automatic variable initialization remain after optimizations? Where are they? * How many runtime checks inser...
2019 Jul 27
2
Help on Optimization Remarks
Dear llvm-dev community, I am trying to analyze the optimization remarks generated through clang using -fsave-optimization-remark with -O3. --- !Analysis Pass: loop-vectorize Name: CFGNotUnderstood DebugLoc: { File: c-ray-mt.c, Line: 177, Column: 2 } Function: main Args: - String: 'loop not vectorized: ' - String: loop control flow is not understood by vectori...
2020 Nov 06
0
RFC: Combining Annotation Metadata and Remarks
...tter. We could also think about a user facing version of this while we are at it ;) ~ Johannes On 11/4/20 3:57 PM, Florian Hahn via llvm-dev wrote: > Hi, > > > I would like to propose a new !annotation metadata kind that can be attached to arbitrary instructions to drive generating remarks that provide additional insight into transformations applied to a program. > > To motivate this, consider these specific questions we would like to get answered: > > * How many stores added for automatic variable initialization remain after optimizations? Where are they? > * How man...
2019 Jun 13
2
[RFC] Remarks-based code size analysis tool
Hi everyone, I frequently find that I want to quickly find out which functions have changed the most in size when I compile a program with one version of the compiler and another version of the compiler. Optimization remarks provide deeper insight into what the compiler does to individual functions during the compilation process. A tool based off of remarks would give us the means to say *exactly* what a pass did to a function during the compilation process. We also have remarks from the asm-printer which tell us the...
2012 Nov 18
3
remarkable activerecord association RSpec
i''m using gem Remarkable activerecord for association. i''ve installed remarkable and remarkable activerecrod both gem. i''ve added both gem in my Gemfile. i''ve added "remarkable_activerecord" as required in spec_helper.rb. describe Authentication do F...
2007 Jan 02
2
How to show a debugging remark in a sip or extensions context?
I would like to show a remark that would show call progress and appear on the CLI screen. The remark should be in the code of a sip [channel] or extentions [context] If I can't send my own remark, what little used 'show' command could I insert in the code? Can this be done? -- Larry Alkoff N2LA - Austin TX Usin...
2016 May 11
4
Filter optimization remarks by the hotness of the code region
...t;Adam Nemet" <anemet at apple.com> >> To: "Hal Finkel" <hfinkel at anl.gov> >> Cc: "llvm-dev (llvm-dev at lists.llvm.org)" <llvm-dev at lists.llvm.org> >> Sent: Wednesday, May 11, 2016 1:15:42 AM >> Subject: Re: Filter optimization remarks by the hotness of the code region >> >> Hi Hal, >> >>> On May 10, 2016, at 5:39 PM, Hal Finkel <hfinkel at anl.gov> wrote: >>> >>> Hi Adam, >>> >>> I think would be a really useful feature to have. I don't think >>&...
2017 Sep 16
3
RFC: Use closures to delay construction of optimization remarks
...s a check if it is enabled and if not then returns a dummy stream that does nothing for operator<< (and short-circuits all the stream operations) On Sep 15, 2017 2:21 PM, "Adam Nemet via llvm-dev" <llvm-dev at lists.llvm.org> wrote: For better readability we typically create remarks and call OptimizationRemarkEmitter::emit unconditionally. E.g.: Transforms/IPO/Inliner.cpp: ORE.emit(OptimizationRemarkMissed(DEBUG_TYPE, "TooCostly", Call) Transforms/IPO/Inliner.cpp- << NV("Callee", Callee) << " not inlined into " Transf...
2018 Jun 05
2
How to get optimization remarks while testing with lnt in llvm
Hi, I'm new to llvm and am trying to run benchmarks from the test-suite using lnt to check loop-vectorization for various benchmarks. Test are compiling and executing fine, but I am not getting optimization remarks while using flags like -Rpass-missed=loop-vectorize and -Rpass-analysis=loop-vectorize I've tried running it like this: lnt runtest test-suite --sandbox SANDBOX --cc /usr/local/bin/clang --test-suite ~/llvm_tests/llvm-test-suite/ --only-test SingleSource/UnitTests/Vectorizer/ --only-comp...
2020 Jan 06
2
Question about opt-report strings
Hi all, I tried to poke my head into opt-report a while ago and didn't get very far. Now I'm looking at it again. I'm not sure I understand everything that's in place so my question here may be misguided. I'm trying to understand the way strings are handled. When a remark is emitted, it seems that the string is constructed on the fly based on streaming inputs. For example, ORE->emit([&]() { return OptimizationRemark(DEBUG_TYPE, "LoadElim", LI) << "load of type " << NV("Type", LI->getType()) <&l...
2019 Apr 30
4
RFC: Extending optimization reporting
...39;s opt-report infrastructure. There are some things I'd like to be able to do with optimization reports that I don't think can be done, or at least aren't natural to do, with the current implementation. I understand that there is a lot of code in place already to produce optimization remarks, and one of my explicit goals is to minimize the amount of updating existing code while still enabling the new features I would like to support. I have some ideas in mind for how to achieve what I'm proposing, but I want to start out by just describing the desired results and if we can reach a...
2019 Jul 23
2
[RFC] Optimization Remark for derived function / argument attributes
...hat an expected attribute was learned, or an unexpected attribute was learned (for example a pointer never being written to). Evidently the following might not be the final interface, but one could imagine something like the following: $ ./clang foobar.c -g -Rannotations -O3 foobar.c:2:1: remark: derived following attributes for function f: fn_attr("norecurse") fn_attr("nounwind") fn_attr("readonly") arg_attr(0, "nocapture") arg_attr(0, "readonly") [-Rannotations] double f(double* a) { foobar.c: double f(double* a) { return a...
2017 Jun 27
2
Next steps for optimization remarks?
Adam, thanks for all the suggestions! One nice aspect of the `-Rpass` family of options is that I can filter based on what I want. If I only want to see which inlines I missed, I could use `clang -Rpass-missed="inline"`, for example. On the other hand, optimization remark YAML always include remarks from all passes (as far as I can tell), which increases the amount of time it takes opt-viewer.py and other tools to parse. Would you be open to including options to, for example, only emit optimization remarks related to loop vectorization, or to not emit any analysis r...