search for: instrprofwrit

Displaying 6 results from an estimated 6 matches for "instrprofwrit".

Did you mean: instrprofwriter
2015 Dec 18
3
InstrProf backward compatibility
...steps 1,2, and 4 use LLVM trunk, but step 2 uses an older version of compiler-rt/lib/profile. Apparently, trunk's llvm-profdata cannot read raw profile data files generated by compiler-rt 3.7. Is this intended? Is llvm-profdata's output also incompatible between different versions of LLVM (InstrProfWriter/Reader are not meant to be compatible across LLVM versions) ? LDC is currently compatible with LLVM 3.5 up to trunk. To support PGO for multiple LLVM versions (>= 3.7), I think that we will need to have a copy of compiler-rt/lib/profile for each version of LLVM >= 3.7. We also need to have...
2017 Jun 30
2
llvm-profdata determinism
I haven't tested it, but it looks to me like llvm-profdata merge (well, InstrProfWriter specifically) would not have deterministic output. Certainly the textual output iterates over FunctionData which is a StringMap of SmallDenseMaps, neither of which has deterministic iteration. The binary writing looks like it'd have similar issues - looping through these unordered maps &amp...
2017 Jun 30
2
llvm-profdata determinism
On Thu, Jun 29, 2017 at 7:03 PM Xinliang David Li <davidxl at google.com> wrote: > On Thu, Jun 29, 2017 at 6:27 PM, David Blaikie <dblaikie at gmail.com> wrote: > >> I haven't tested it, but it looks to me like llvm-profdata merge (well, >> InstrProfWriter specifically) would not have deterministic output. >> >> Certainly the textual output iterates over FunctionData which is a >> StringMap of SmallDenseMaps, neither of which has deterministic iteration >> > > Does the iteration order of these maps depend on the order...
2017 Jun 30
0
llvm-profdata determinism
...n 29, 2017 at 7:03 PM Xinliang David Li <davidxl at google.com> > wrote: > >> On Thu, Jun 29, 2017 at 6:27 PM, David Blaikie <dblaikie at gmail.com> >> wrote: >> >>> I haven't tested it, but it looks to me like llvm-profdata merge (well, >>> InstrProfWriter specifically) would not have deterministic output. >>> >>> Certainly the textual output iterates over FunctionData which is a >>> StringMap of SmallDenseMaps, neither of which has deterministic iteration >>> >> >> Does the iteration order of these m...
2014 Oct 24
3
[LLVMdev] Adding sample profile support to llvm-profdata?
Duncan, Justin, I'm about to submit a series of patches that add writing capabilities for sample profiles in both text and binary formats. Soon, I'll add a third format (to make it interoperable with GCC). I would like to add some profile maintenance utilities as well: merging, dumping and converting. It seems like the best place would be tools/llvm-profdata. But that means that I need
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...erts build llvm[2]: Compiling InstrProfReader.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeCustom.cpp for Release+Asserts build llvm[2]: Compiling MCSectionMachO.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeDimension.cpp for Release+Asserts build llvm[2]: Compiling InstrProfWriter.cpp for Release+Asserts build llvm[2]: Compiling MCStreamer.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeEnum.cpp for Release+Asserts build llvm[2]: Compiling SampleProf.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeFriend.cpp for Release+Asserts build llvm[2]: Co...