hanchenye-llvm-project/llvm
Justin Holewinski 3d2a976197 [NVPTX] Handle addrspacecast constant expressions in aggregate initializers
We need to track if an AddrSpaceCast expression was seen when
generating an MCExpr for a ConstantExpr.  This change introduces a
custom lowerConstant method to the NVPTX asm printer that will create
NVPTXGenericMCSymbolRefExpr nodes at the appropriate places to encode
the information that a given symbol needs to be casted to a generic
address.

llvm-svn: 236000
2015-04-28 17:18:30 +00:00
..
autoconf
bindings DebugInfo: Remove DIArray and DITypeArray typedefs 2015-04-21 20:07:38 +00:00
cmake Allow building the gold plugin even if the gold binary is not found. 2015-04-27 21:08:47 +00:00
docs [docs] Fix the link to SanitizerCoverage docs. 2015-04-27 22:50:06 +00:00
examples [Kaleidoscope] Fix incorrect use of reinterpret_cast. 2015-04-22 20:58:34 +00:00
include move IR-level optimization flags into their own struct 2015-04-28 16:39:12 +00:00
lib [NVPTX] Handle addrspacecast constant expressions in aggregate initializers 2015-04-28 17:18:30 +00:00
projects build: make libunwind a proper project 2015-04-25 01:47:39 +00:00
test [NVPTX] Handle addrspacecast constant expressions in aggregate initializers 2015-04-28 17:18:30 +00:00
tools LTO: Add API to choose whether to embed uselists 2015-04-27 23:38:54 +00:00
unittests DebugInfo: Support up to 2^16 arguments in a subprogram 2015-04-28 01:07:33 +00:00
utils [TableGen] Don't leak Expanders and Operators in SetTheory. 2015-04-24 06:49:44 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Updates to llvm-shlib to support overriding exports list and added an option to export all symbols. 2015-04-13 21:29:46 +00:00
CODE_OWNERS.TXT Add myself as the Constant Folder owner. 2015-04-20 23:19:10 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

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're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.