search for: remarks

Displaying 20 results from an estimated 2197 matches for "remarks".

2007 Sep 22
0
rsync build on IA64 using icc
I got numerous warnings when building rsync on IA64 (Itanium-2) using Intel C/C++ compiler (see attached). Is this expected? Thanks, Michael -------------- next part -------------- Script started on Fri 21 Sep 2007 06:14:05 PM BST ~/src$ ls -alt total 222884 -rw-r--r-- 1 mccssmb2 mcc101 0 Sep 21 18:14 build_rsync drwxr-xr-x 8 mccssmb2 mcc101 4096 Sep 21 18:14 . -rw-r--r-- 1
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 arg...
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 "optimiza...
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 outside...
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 "optimiza...
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?
...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. In fact, I want to enable a family of remarks: the optimization remarks. There will be other modifiers to these remarks as well: 1. Report *missed* optimizations, instead of the successful ones. 2. Increase verbosity of the report. This...
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 insert...
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 vectoriz...
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 many...
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 n...
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 FactoryGirl.build(:authentication).should belong_to(:user)
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 Using Thunderbird on Linux
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 >>&g...
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 " Transfo...
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-compi...
2020 Jan 06
2
Question about opt-report strings
...lear how and when these are constructed. What I'm wondering is whether it would make sense to introduce a sort of message catalog, similar to the way diagnostics are handled in clang (which I must admit I also have only a partial understanding of). It seems like the RemarkName for optimization remarks somewhat serves as a unique identifier (?) but I would think an integer value of some sort would be better, so maybe I'm misunderstanding what RemarkName is being used for. I'm imagining something that would end up looking like this: ORE->emit([&]() { return OptimizationRemark...
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
Hello all, During the compilation process, LLVM automatically derives various attributes about functions and values (for example that a pointer is nonnull, a function is constant, etc) that are used within a translation unit. I propose adding a pass to LLVM that allows front-ends to output derived attributes. Such a pass would be useful both for developers and end users to debug programs,
2017 Jun 27
2
Next steps for optimization remarks?
..., 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 remarks? Or is it important t...