aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-01-30 13:04:06 -0800
committerGitHub <noreply@github.com>2025-01-30 13:04:06 -0800
commitfdfd97959e91af46fc8b35cb07208db26ccf75e7 (patch)
tree18277e8a46ba9ba05f36779180140ebce5c5f713 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent55815b621b3a8f56a36c93229de1356e325a136f (diff)
downloadllvm-fdfd97959e91af46fc8b35cb07208db26ccf75e7.zip
llvm-fdfd97959e91af46fc8b35cb07208db26ccf75e7.tar.gz
llvm-fdfd97959e91af46fc8b35cb07208db26ccf75e7.tar.bz2
[TableGen] Improvements to Named operands in InstrInfoEmitter (#124960)
- Assign `OpName` enum values in the same alphabetical order in which they are emitted. - Get rid of OPERAND_LAST which is not used anywhere. - Inline `initOperandMapData` into `emitOperandNameMappings` to help see clearly how various maps are computed. - Emit the static `OperandMap` table as int8_t when possible. This should help reduce the static size by 50% in the common case. - Change maps/vectors to use StringRef instead of std::string to avoid unnecessary copies.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions