Old fork of llvm-mirror, used on older RPCS3 builds
Go to file
Daniel Sanders 355825a81e Add backend name to Target to enable runtime info to be fed back into TableGen
Summary:
Make it possible to feed runtime information back to tablegen to enable
profile-guided tablegen-eration, detection of untested tablegen definitions, etc.

Being a cross-compiler by nature, LLVM will potentially collect data for multiple
architectures (e.g. when running 'ninja check'). We therefore need a way for
TableGen to figure out what data applies to the backend it is generating at the
time. This patch achieves that by including the name of the 'def X : Target ...'
for the backend in the TargetRegistry.

Reviewers: qcolombet

Reviewed By: qcolombet

Subscribers: jholewinski, arsenm, jyknight, aditya_nandakumar, sdardis, nemanjai, ab, nhaehnle, t.p.northover, javed.absar, qcolombet, llvm-commits, fedor.sergeev

Differential Revision: https://reviews.llvm.org/D39742

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318352 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-15 23:55:44 +00:00
bindings Update go bindings to use new functions from rL317135. 2017-11-02 10:22:26 +00:00
cmake CMake: Turn LLVM_ENABLE_LIBXML2 into a tri-state option 2017-11-14 22:32:49 +00:00
docs [docs] Mention opt -metarenamer in the bugpoint docs 2017-11-15 18:05:19 +00:00
examples Fix broken links to the Itanium CXX ABI 2017-09-12 00:19:11 +00:00
include Add backend name to Target to enable runtime info to be fed back into TableGen 2017-11-15 23:55:44 +00:00
lib Add backend name to Target to enable runtime info to be fed back into TableGen 2017-11-15 23:55:44 +00:00
projects Revert "Update test_debuginfo.pl script to point to new tree location." 2017-11-13 23:33:29 +00:00
resources
runtimes [CMake][runtimes] Don't process common options in runtimes build 2017-11-14 23:56:05 +00:00
test [InstCombine] add sub narrowing tests; NFC 2017-11-15 22:19:55 +00:00
tools Simplify file handling in dsymutil. 2017-11-15 20:55:53 +00:00
unittests [cfi-verify] Validate there are no register clobbers between CFI-check and instruction execution. 2017-11-15 00:35:26 +00:00
utils [Docs] Add tablegen backend for target opcode documentation 2017-11-14 15:35:15 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt CMake: Turn LLVM_ENABLE_LIBXML2 into a tri-state option 2017-11-14 22:32:49 +00:00
CODE_OWNERS.TXT Update my email addresses, NFC. 2017-10-26 10:16:54 +00:00
configure
CREDITS.TXT Add myself to CREDITS.txt 2017-09-18 14:33:39 +00:00
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt Test commit access 2017-08-18 02:39:28 +00:00
RELEASE_TESTERS.TXT Update my email addresses, NFC. 2017-10-26 10:16:54 +00:00

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