| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 255938
|
|
|
|
| |
llvm-svn: 255748
|
|
|
|
|
|
|
|
|
| |
Patch by: Johan Engelen
Introduce LLVM_LIBRARY_WEAK macro. Define LLVM_LIBRARY_WEAK
and LLVM_LIBRARY_VISIBIITY for MSVC
llvm-svn: 255688
|
|
|
|
|
|
|
|
|
|
| |
Patch by: Johan Engelen
On windows, opening in text mode will result in
line ending chars to be appended leading to
profile corruption.
llvm-svn: 255684
|
|
|
|
|
|
|
|
|
| |
Value profile runtime depends on libc which breaks
buffer API implemenation with current file organization.
Test case is also updated to check more symbols.
llvm-svn: 255294
|
|
|
|
| |
llvm-svn: 255293
|
|
|
|
| |
llvm-svn: 255290
|
|
|
|
| |
llvm-svn: 255285
|
|
|
|
|
|
|
|
|
| |
InstrProfiling.h file declares profile runtime public APIs.
It has become a dumping place for many different things, which
needs cleanups. In this change, core type declarations and
portability macros are moved to a new file InstrProfilingPort.h.
llvm-svn: 255270
|
|
|
|
| |
llvm-svn: 255266
|
|
|
|
|
|
|
|
|
| |
This allows the profile runtime to pick the right impl
for cmp&swap for a given target.
Differential Revision: http://reviews.llvm.org/D15248
llvm-svn: 255173
|
|
|
|
| |
llvm-svn: 255068
|
|
|
|
| |
llvm-svn: 254943
|
|
|
|
| |
llvm-svn: 254831
|
|
|
|
| |
llvm-svn: 254761
|
|
|
|
|
|
|
|
|
|
| |
cmp&swap is not well supported -- the new test
case triggers some assembler error.
This is a partial fix to the general problem (lack
of atomics operation support for certain targets).
llvm-svn: 254701
|
|
|
|
|
|
|
|
|
|
| |
With the latest refactoring and code sharing patches landed,
it is possible to unify the value profile implementation between
raw and indexed profile. This is part in prfofile runtime.
Differential Revision: http://reviews.llvm.org/D15057
llvm-svn: 254678
|
|
|
|
|
|
| |
array size idiom.
llvm-svn: 254673
|
|
|
|
|
|
| |
Also added a test case for runtime error reporting.
llvm-svn: 254625
|
|
|
|
| |
llvm-svn: 254552
|
|
|
|
| |
llvm-svn: 254245
|
|
|
|
| |
llvm-svn: 254236
|
|
|
|
| |
llvm-svn: 254113
|
|
|
|
| |
llvm-svn: 253943
|
|
|
|
| |
llvm-svn: 253911
|
|
|
|
|
|
|
| |
Replace hard-coded references to names to key section and section
symbols with common macro definitions.
llvm-svn: 253907
|
|
|
|
|
|
|
| |
Replace hard-coded references to names to key section and section
symbols with common macro definitions.
llvm-svn: 253897
|
|
|
|
|
|
|
| |
Replace duplicate definition raw header with
common definition in InstrProfData.inc.
llvm-svn: 253896
|
|
|
|
| |
llvm-svn: 253895
|
|
|
|
| |
llvm-svn: 253894
|
|
|
|
|
|
|
| |
Replace duplicate definition per-func profile control data
with common definition in InstrProfData.inc.
llvm-svn: 253891
|
|
|
|
|
|
|
| |
Replace duplicate definition value profile kind definitions
with common definition in InstrProfData.inc.
llvm-svn: 253890
|
|
|
|
|
|
|
| |
- Replace duplicate definition and use of magic in profile runtime
- Replace hard coded version reference in profile runtime
llvm-svn: 253885
|
|
|
|
|
|
|
| |
- Replace use of __llvm_profile_value_data with common data structure.
- Remve duplicate InstrProfValueNode
llvm-svn: 253883
|
|
|
|
| |
llvm-svn: 253881
|
|
|
|
|
|
| |
This will enable a series of cleanup/refactoring.
llvm-svn: 253852
|
|
|
|
| |
llvm-svn: 253847
|
|
|
|
|
|
|
| |
This makes code more readable and be made more portable in the future.
There is no functional change.
llvm-svn: 253845
|
|
|
|
| |
llvm-svn: 253770
|
|
|
|
|
|
|
|
|
|
|
|
| |
(patch suggested by silvas)
With this patch, the IO information is wrapped in struct
ProfDataIOVec, and interface of writerCallback takes a vector
of IOVec and a pointer to writer context pointer.
Differential Revision: http://reviews.llvm.org/D14859
llvm-svn: 253764
|
|
|
|
|
|
|
|
| |
There seems to be a problem in system header (stdint.h) of FreeBSD
where uint8_t nor uint16_t are defined. Explicitly define the key
types as done for FreeBSD i386.
llvm-svn: 253703
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Value profile enumerator change to match LLVM code
ProfData new member field name change to match LLVM code
ProfData member type change to match LLVM code
Do not use lower case for types that are internal to implementation (not exposed to APIs)
There is no functional change. This is a preparation patch to enable more code sharing
in follow up patches
Differential Revision: http://reviews.llvm.org/D14841
llvm-svn: 253700
|
|
|
|
|
|
|
|
| |
MIPS build bots failed due to lack of 64bit atomic operations.
The fix is to disable VP for MIPS target until a better solution
is found.
llvm-svn: 253687
|
|
|
|
| |
llvm-svn: 253681
|
|
|
|
|
|
|
|
| |
1. fix naming problem of file/buffer writer
2. change BufferOrFile to WriterCtx
3. move writer and writerctx together
llvm-svn: 253545
|
|
|
|
| |
llvm-svn: 253510
|
|
|
|
|
|
|
|
|
| |
1. Added missing public API decl in InstrProfiling.h
2. Clang formatting fix
3. Added more comments for new VP code
4. refactor the VP allocation code to make it more readable.
llvm-svn: 253508
|
|
|
|
| |
llvm-svn: 253503
|
|
|
|
|
|
|
|
|
| |
With this change, Buffer API and File API implementations
are unified.
Differential Revision: http://reviews.llvm.org/D14692
llvm-svn: 253500
|
|
|
|
| |
llvm-svn: 253496
|