[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

2023-10-12 Thread Hongtao Yu via cfe-commits
htyu wrote: > The performance win depends a lot on value distribution. For large copies, > using SIMD with nontemporal hint is the way to go. Right, and the dominating single-range distribution is also important for our approach, similar to how speculative indirect call promotion works.

[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

2023-10-12 Thread Hongtao Yu via cfe-commits
htyu wrote: > @htyu Pretty much a drive-by question if it's convenient for you to share > more, how ranges are selected out of sampled values? For example, are ranges > the same for all workloads or dynamically generated based on the distribution > of size from the per-workload profile data?

[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

2023-10-11 Thread Hongtao Yu via cfe-commits
htyu wrote: > The AutoFDO support Mingming mentioned is the vtable profiling part using > MEM_INST_RETIRED event that captures data address. This data access profiling > will/can also be used for global variable layout. However this is current > Intel only so having a branch profiling based

[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

2023-09-19 Thread Hongtao Yu via cfe-commits
htyu wrote: > > The work sounds interesting. Can you provide a bit more context about it? > > Will it be used to improve ICP when it's sufficient to just compare the > > vtable address instead of the vfunc address? > > yes -- it can not only eliminate vtable load, but also enable target check

[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

2023-09-19 Thread Hongtao Yu via cfe-commits
htyu wrote: The work sounds interesting. Can you provide a bit more context about it? Will it be used to improve ICP when it's sufficient to just compare the vtable address instead of the vfunc address? https://github.com/llvm/llvm-project/pull/66825

[clang] 56e36e4 - [UsersManual] Add llvm-progen as an alternative tool for AutoFDO profile generation.

2023-06-20 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2023-06-20T13:26:30-07:00 New Revision: 56e36e47f50446f519dfa2132cf5a49cc0816866 URL: https://github.com/llvm/llvm-project/commit/56e36e47f50446f519dfa2132cf5a49cc0816866 DIFF: https://github.com/llvm/llvm-project/commit/56e36e47f50446f519dfa2132cf5a49cc0816866.diff

[clang] 4d75717 - [NFC] Add split-file as runtime test dependency

2023-02-02 Thread Hongtao Yu via cfe-commits
Author: YongKang Zhu Date: 2023-02-02T11:22:26-08:00 New Revision: 4d757177df473691640095ea8b0e2104a97af83f URL: https://github.com/llvm/llvm-project/commit/4d757177df473691640095ea8b0e2104a97af83f DIFF: https://github.com/llvm/llvm-project/commit/4d757177df473691640095ea8b0e2104a97af83f.diff

[clang] 72acd04 - Pass split-machine-functions to code generator when flto is used

2022-03-23 Thread Hongtao Yu via cfe-commits
Author: Junfeng Dong Date: 2022-03-23T08:55:30-07:00 New Revision: 72acd042bad35f78232f17addc02196a7af1a6e9 URL: https://github.com/llvm/llvm-project/commit/72acd042bad35f78232f17addc02196a7af1a6e9 DIFF: https://github.com/llvm/llvm-project/commit/72acd042bad35f78232f17addc02196a7af1a6e9.diff

[clang] e9d1a67 - [CSSPGO] Do not pass -fpseudo-probe-for-profiling to the linker.

2021-09-23 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-09-23T15:50:40-07:00 New Revision: e9d1a679a1c9cb309aea8c5d944e55865d38b867 URL: https://github.com/llvm/llvm-project/commit/e9d1a679a1c9cb309aea8c5d944e55865d38b867 DIFF: https://github.com/llvm/llvm-project/commit/e9d1a679a1c9cb309aea8c5d944e55865d38b867.diff

[clang] d9b511d - [CSSPGO] Set PseudoProbeInserter as a default pass.

2021-09-22 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-09-22T09:09:48-07:00 New Revision: d9b511d8e8c43f79e0e277be287656693dd6563f URL: https://github.com/llvm/llvm-project/commit/d9b511d8e8c43f79e0e277be287656693dd6563f DIFF: https://github.com/llvm/llvm-project/commit/d9b511d8e8c43f79e0e277be287656693dd6563f.diff

[clang] 299b5d4 - [CSSPGO] Enable pseudo probe instrumentation in O0 mode.

2021-09-14 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-09-14T18:13:29-07:00 New Revision: 299b5d420df15fafc9936bc24995f6cd6ad325be URL: https://github.com/llvm/llvm-project/commit/299b5d420df15fafc9936bc24995f6cd6ad325be DIFF: https://github.com/llvm/llvm-project/commit/299b5d420df15fafc9936bc24995f6cd6ad325be.diff

[clang] ccb5b9b - [CSSPGO] Allow the use of debug-info-for-profiling and pseudo-probe-for-profiling together

2021-08-12 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-08-12T08:52:49-07:00 New Revision: ccb5b9bbfb5cef1aa2982481894f30c8f81d5253 URL: https://github.com/llvm/llvm-project/commit/ccb5b9bbfb5cef1aa2982481894f30c8f81d5253 DIFF: https://github.com/llvm/llvm-project/commit/ccb5b9bbfb5cef1aa2982481894f30c8f81d5253.diff

[clang] 77aec97 - [CSSPGO] Turn on unique linkage name by default for pseudo probe.

2021-07-16 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-07-16T16:43:23-07:00 New Revision: 77aec978a911254299640f9b10bdf1933986b96e URL: https://github.com/llvm/llvm-project/commit/77aec978a911254299640f9b10bdf1933986b96e DIFF: https://github.com/llvm/llvm-project/commit/77aec978a911254299640f9b10bdf1933986b96e.diff

[clang] 633ca3f - [UniqueLinkageName] Use exsiting GlobalDecl object instead of reconstructing one.

2021-06-28 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-06-28T14:50:41-07:00 New Revision: 633ca3ff2f8fc2e2b69001d17abc43f302578fc1 URL: https://github.com/llvm/llvm-project/commit/633ca3ff2f8fc2e2b69001d17abc43f302578fc1 DIFF: https://github.com/llvm/llvm-project/commit/633ca3ff2f8fc2e2b69001d17abc43f302578fc1.diff

[clang] 64b2fb7 - [CSSPGO] Emit mangled dwarf names for line tables debug option under -fpseudo-probe-for-profiling

2021-06-09 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-06-09T10:46:03-07:00 New Revision: 64b2fb7967a749b83f59656f0cd2f4d00501efaa URL: https://github.com/llvm/llvm-project/commit/64b2fb7967a749b83f59656f0cd2f4d00501efaa DIFF: https://github.com/llvm/llvm-project/commit/64b2fb7967a749b83f59656f0cd2f4d00501efaa.diff

[clang] fc1812a - [UniqueLinkageName] Use consistent checks when mangling symbo linkage name and debug linkage name.

2021-03-18 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-03-18T22:11:16-07:00 New Revision: fc1812a0ad757838b66aab57e1df720ec205a16a URL: https://github.com/llvm/llvm-project/commit/fc1812a0ad757838b66aab57e1df720ec205a16a DIFF: https://github.com/llvm/llvm-project/commit/fc1812a0ad757838b66aab57e1df720ec205a16a.diff

[clang] 3d89b3c - [CSSPGO] Introducing distribution factor for pseudo probe.

2021-02-02 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-02-02T11:55:01-08:00 New Revision: 3d89b3cbec230633e8228787819b15116c1a1730 URL: https://github.com/llvm/llvm-project/commit/3d89b3cbec230633e8228787819b15116c1a1730 DIFF: https://github.com/llvm/llvm-project/commit/3d89b3cbec230633e8228787819b15116c1a1730.diff

[clang] d3e2e37 - [CSSPGO] Passing the clang driver switch -fpseudo-probe-for-profiling to the linker.

2021-02-02 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-02-02T09:43:57-08:00 New Revision: d3e2e3740d0730cb6788c771bb01a8f3e935bf2e URL: https://github.com/llvm/llvm-project/commit/d3e2e3740d0730cb6788c771bb01a8f3e935bf2e DIFF: https://github.com/llvm/llvm-project/commit/d3e2e3740d0730cb6788c771bb01a8f3e935bf2e.diff

[clang] 0e23fd6 - [Driver] Add DWARF64 flag: -gdwarf64

2021-01-08 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-01-08T12:58:38-08:00 New Revision: 0e23fd676c3984a2b867c167950464262c8e0dc6 URL: https://github.com/llvm/llvm-project/commit/0e23fd676c3984a2b867c167950464262c8e0dc6 DIFF: https://github.com/llvm/llvm-project/commit/0e23fd676c3984a2b867c167950464262c8e0dc6.diff

[clang] 4034f92 - Switching Clang UniqueInternalLinkageNamesPass scheduling to using the LLVM one with newpm.

2021-01-04 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2021-01-04T12:04:46-08:00 New Revision: 4034f9273edacbb1c37acf19139594a226c8bdac URL: https://github.com/llvm/llvm-project/commit/4034f9273edacbb1c37acf19139594a226c8bdac DIFF: https://github.com/llvm/llvm-project/commit/4034f9273edacbb1c37acf19139594a226c8bdac.diff

[clang] 24d4291 - [CSSPGO] Pseudo probes for function calls.

2020-12-02 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2020-12-02T13:45:20-08:00 New Revision: 24d4291ca704fa5ee2419b4163aa324eca693fd6 URL: https://github.com/llvm/llvm-project/commit/24d4291ca704fa5ee2419b4163aa324eca693fd6 DIFF: https://github.com/llvm/llvm-project/commit/24d4291ca704fa5ee2419b4163aa324eca693fd6.diff

[clang] c083fed - [CSSPGO] A Clang switch -fpseudo-probe-for-profiling for pseudo-probe instrumentation.

2020-11-30 Thread Hongtao Yu via cfe-commits
Author: Hongtao Yu Date: 2020-11-30T10:16:54-08:00 New Revision: c083fededfa63df6e1a560334bdb78797da9ee57 URL: https://github.com/llvm/llvm-project/commit/c083fededfa63df6e1a560334bdb78797da9ee57 DIFF: https://github.com/llvm/llvm-project/commit/c083fededfa63df6e1a560334bdb78797da9ee57.diff