llvm-project/llvm
Jon Chesterfield 2a47a84b40 [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
2021-08-20 16:41:26 +01:00
..
benchmarks
bindings
cmake [CMake] Fix recompile all .inc files with LLVM_OPTIMIZED_TABLEGEN in Visual Studio. 2021-08-18 10:24:58 +03:00
docs [clang][Codegen] Introduce the disable_sanitizer_instrumentation attribute 2021-08-20 14:01:06 +02:00
examples [examples] Fix Kaleidoscope for Windows 2021-08-19 13:20:51 +10:00
include [openmp][nfc] Refactor GridValues 2021-08-20 16:41:26 +01:00
lib [RISCV] Optimize add in the zba extension with SH*ADD 2021-08-20 22:41:49 +08:00
projects
resources
runtimes [libomptarget][amdcgn] Add build dependency for llvm-link and opt 2021-08-20 01:57:58 +02:00
test [RISCV] Optimize add in the zba extension with SH*ADD 2021-08-20 22:41:49 +08:00
tools [NewPM] Use parameterized syntax for a couple of more passes 2021-08-20 14:59:21 +02:00
unittests [ORC] Introduce lookupAndRecordAddrs utility. 2021-08-20 15:12:19 +10:00
utils [gn build] Port e6407356ba 2021-08-20 06:14:22 +00:00
.clang-format
.clang-tidy
.gitattributes Fix: [MCParser] Correctly handle CRLF line ends when consuming line comments 2021-08-17 16:16:19 +01:00
.gitignore
CMakeLists.txt [NFC] Trim trailing whitespaces in `llvm/CMakeLists.txt` 2021-08-16 12:49:59 -04:00
CODE_OWNERS.TXT Add Johannes to CODE_OWNERS for openmp offloading 2021-08-02 19:45:47 +01:00
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.