diff options
author | Xiang Li <python3kgae@outlook.com> | 2022-12-12 12:51:33 -0500 |
---|---|---|
committer | Xiang Li <python3kgae@outlook.com> | 2022-12-21 14:56:27 -0500 |
commit | b861507912d037801546c50613ed91d36279a469 (patch) | |
tree | eef53eade4b318299ba5e3ce60607d53661e510d /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 383329b3a8881bda8d5989439d37b75a5f732f5f (diff) | |
download | llvm-b861507912d037801546c50613ed91d36279a469.zip llvm-b861507912d037801546c50613ed91d36279a469.tar.gz llvm-b861507912d037801546c50613ed91d36279a469.tar.bz2 |
[DIrectX backend] emit metadata for entry.
New named metadata "dx.entryPoints" is added to save all entries.
Each entry is in format of
!{ptr to function, name, signature, resource table, extra}
For compute shader, the extra will save num of threads in format of {i32 x, i32 y, i32 z}
For library profile, an empty entry will be added to save the resource table for the library.
Signature and resource table metadata is not generated yet.
Differential Revision: https://reviews.llvm.org/D131807
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions