aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2021-08-20 16:41:25 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2021-08-20 16:41:26 +0100
commit2a47a84b40115b01e03e4d89c1d47ba74beb7bf3 (patch)
tree7c88f627eee41e8dda8ef7edf5d528a84a866428 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentbdeda959abd74c88a6cfc34b10c1b665cb45cb8d (diff)
downloadllvm-2a47a84b40115b01e03e4d89c1d47ba74beb7bf3.zip
llvm-2a47a84b40115b01e03e4d89c1d47ba74beb7bf3.tar.gz
llvm-2a47a84b40115b01e03e4d89c1d47ba74beb7bf3.tar.bz2
[openmp][nfc] Refactor GridValues
Remove redundant fields and replace pointer with virtual function Of fourteen fields, three are dead and four can be computed from the remainder. This leaves a couple of currently dead fields in place as they are expected to be used from the deviceRTL shortly. Two of the fields that can be computed are only used from codegen and require a log2() implementation so are inlined into codegen instead. This change leaves the new methods in the same location in the struct as the previous fields for convenience at review. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D108380
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions