DirectXShaderCompiler/lib
Cooper Partin 3704efb2bc
Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381)
This commit adds a new optional -ftime-trace-granularity option that is
already implemented in llvm-project. This change is a surgical port of
an existing feature from the upstream llvm-project repo into the DXC
codebase.

The following commits in the llvm-project repo were copied and followed
for this change. Clean cherry picks were not possible due to the
differences in repos like change of file locations and other dependant
changes made in the repo.

*** Adds the granularity configuration setting ***
'Time profiler: small fixes and optimizations'
Commit: 26536728591d5fdac373ef535ae122b873f73292

*** Wires up the commandline option -ftime-trace-granularity to the
TraceProfiler code ***
'[Support] Fix -ftime-trace-granularity option'
Commit: 4fdcabf259c4ab94654e6cd5d95d0e0313159c70

Fixes #6372

---------

Signed-off-by: Cooper Partin <coopp@ntdev.microsoft.com>
Co-authored-by: Cooper Partin <coopp@ntdev.microsoft.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 09:02:15 -08:00
..
Analysis [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
AsmParser
Bitcode Remove some warnings from GCC when building DXC (#5262) 2023-06-02 13:10:20 -07:00
CodeGen [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
DXIL Add alignment to NodeRecordType including DXIL metadata update (#6279) 2024-02-29 11:22:56 -08:00
DebugInfo
DxcBindingTable [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
DxcSupport Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381) 2024-03-05 09:02:15 -08:00
DxilCompression [ClangCL] Fix warning for rest part except clang. (#5705) 2023-10-09 16:59:01 -04:00
DxilContainer Add alignment to NodeRecordType including DXIL metadata update (#6279) 2024-02-29 11:22:56 -08:00
DxilDia PIX: Deduplicate globals when referenced in multiple library fns (#6305) 2024-02-14 12:37:11 -08:00
DxilPIXPasses PIX: Preclude debug output of ray query handle from phi or select (since the value isn't really an int, it's a handle) (#6309) 2024-02-27 11:00:23 -08:00
DxilPdbInfo [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
DxilRootSignature Fix UBSAN error in DxilRootSignatureSerializer (#5795) 2023-09-29 10:28:05 -04:00
DxrFallback [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
ExecutionEngine Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
Fuzzer
HLSL DxilValidation: add ShaderCompatInfo call graph checking (#6332) 2024-02-26 15:02:28 -08:00
IR Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
IRReader
LTO
Linker Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
MC Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
MSSupport Merge branch 'main' into 'staging-sm-6.8' (#5741) 2023-09-18 22:01:12 -07:00
Object
Option Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
PassPrinters [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
Passes
ProfileData
Support Implement -ftime-trace-granularity option to set time granularity value for the time profiler (#6381) 2024-03-05 09:02:15 -08:00
TableGen Fallthrough (#4843) 2022-12-09 10:13:56 -08:00
Target
Transforms Fix bad arg indexing after array of struct in semantic assignment (#6122) 2024-01-04 15:05:25 -08:00
CMakeLists.txt [Linux] Enable PixTest for Linux (#5945) 2023-10-31 12:49:44 -04:00
LLVMBuild.txt Clean up and rework DXIL library depencencies (#4877) 2023-01-03 10:04:22 -06:00