| Files | Last commit | Last update |
|---|---|---|
Pull google/benchmark library to the LLVM tree This patch pulls google/benchmark v1.4.1 into the LLVM tree so that any project could use it for benchmark generation. A dummy benchmark is added to llvm/benchmarks/DummyYAML.cpp to validate the correctness of the build process. The current version does not utilize LLVM LNT and LLVM CMake infrastructure, but that might be sufficient for most users. Two introduced CMake variables: * LLVM_INCLUDE_BENCHMARKS (ON by default) generates benchmark targets * LLVM_BUILD_BENCHMARKS (OFF by default) adds generated benchmark targets to the list of default LLVM targets (i.e. if ON benchmarks will be built upon standard build invocation, e.g. ninja or make with no specific targets) List of modifications: * BENCHMARK_ENABLE_TESTING is disabled * BENCHMARK_ENABLE_EXCEPTIONS is disabled * BENCHMARK_ENABLE_INSTALL is disabled * BENCHMARK_ENABLE_GTEST_TESTS is disabled * BENCHMARK_DOWNLOAD_DEPENDENCIES is disabled Original discussion can be found here: http://lists.llvm.org/pipermail/llvm-dev/2018-August/125023.html Reviewed by: dberris, lebedev.ri Subscribers: ilya-biryukov, ioeric, EricWF, lebedev.ri, srhines, dschuff, mgorny, krytarowski, fedor.sergeev, mgrang, jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D50894 llvm-svn: 340809 | 7 years ago | |
[IR] Remove support for float binop constant expressions As part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179, this removes support for the floating-point binop constant expressions fadd, fsub, fmul, fdiv and frem. As part of this change, the C APIs LLVMConstFAdd, LLVMConstFSub, LLVMConstFMul, LLVMConstFDiv and LLVMConstFRem are removed. The LLVMBuild APIs should be used instead. Differential Revision: https://reviews.llvm.org/D129478 | 3 years ago | |
Init project. | 11 months ago | |
Init project. | 11 months ago | |
[Kaleidoscope] Remove unused function argument Removes an unused function argument from a code listing in the Kaleidoscope turorial in step 9. Reviewed By: dblaikie, MaskRay Differential Revision: https://reviews.llvm.org/D128628 | 3 years ago | |
feat: add support for enum constructor annotation methods in reflection - Add support for enum constructor annotation methods in reflection Signed-off-by: leeguo <leeguo@126.com> | 18 days ago | |
!567 merge fix_gcread_rewrite_5 into main fix: make aa more precise on pea allocas Created-by: yanjs Commit-by: yanjs Merged-by: CangjiePL Description: # llvm-project仓PR信息 ## 变更内容**(必填)** 之前把 CJAA 改得过于保守,现在修复回来。 ## 变更类型**(必填)** 请描述本次Pull Request变更类型(原因),**请在对应类型的括号内填写Y**: - 新增需求( ) - 问题修复(Y) - 构建过程或辅助工具变动() - 文档更新() ## 变更内容自检 ### 编译器及标准库编译通过截图证明(如涉及新增需求、问题修复、构建过程变动需提供)  ### 测试用例本地自验证通过截图证明(如涉及新增需求、问题修复需提供)  ### 其他信息 在这里可以添加任何与这个 Pull Request 相关的其他说明。 See merge request: Cangjie/llvm-project!567 | 2 days ago | |
Remove unused parallel-libs project Differential Revision: https://reviews.llvm.org/D112265 | 4 years ago | |
In MSVC builds embed a VERSIONINFO resource in our exe and DLL files. This reinstates my commits r238740/r238741 which I reverted due to a failure in the clang-cl selfhost tests on Windows. I've now fixed the issue in clang-cl that caused the failure so hopefully all should be well now. llvm-svn: 239612 | 10 years ago | |
[runtimes] Use a response file for runtimes test suites We don't know which test suites are going to be included by runtimes builds so we cannot include those before running the sub-build, but that's not possible during the LLVM build configuration. We instead use a response file that's populated by the runtimes build as a level of indirection. This addresses the issue described in: https://discourse.llvm.org/t/cmake-regeneration-is-broken/62788 Differential Revision: https://reviews.llvm.org/D132438 (cherry picked from commit 992e10a3fce41255e4b11782f51d0f4b26dca14d) | 3 years ago | |
fix: gcread opt bug of inttoptr Signed-off-by: wzy_00889928 <1322947566@qq.com> Signed-off-by: jinbohang <jinbohang1@huawei.com> | 5 days ago | |
feat: adapt arm O2 Signed-off-by: wanghuihui <wanghuihui17@huawei.com> | 6 months ago | |
Init project. | 11 months ago | |
feat: sync dev to main Signed-off-by: weinw <weiningwei@h-partners.com> | 1 month ago | |
Test commit. llvm-svn: 202641 | 12 years ago | |
NFC: .clang-tidy: Inherit configs from parents to improve maintainability In the interests of disabling misc-no-recursion across LLVM (this seems like a stylistic choice that is not consistent with LLVM's style/development approach) this NFC preliminary change adjusts all the .clang-tidy files to inherit from their parents as much as possible. This change specifically preserves all the quirks of the current configs in order to make it easier to review as NFC. I validatad the change is NFC as follows: for X in cat ../files.txt; do mkdir -p ../tmp/$(dirname $X) touch $(dirname $X)/blaikie.cpp clang-tidy -dump-config $(dirname $X)/blaikie.cpp > ../tmp/$(dirname $X)/after rm $(dirname $X)/blaikie.cpp done (similarly for the "before" state, without this patch applied) for X in cat ../files.txt; do echo $X diff \ ../tmp/$(dirname $X)/before \ <(cat ../tmp/$(dirname $X)/after \ | sed -e "s/,readability-identifier-naming\(.*\),-readability-identifier-naming/\1/" \ | sed -e "s/,-llvm-include-order\(.*\),llvm-include-order/\1/" \ | sed -e "s/,-misc-no-recursion\(.*\),misc-no-recursion/\1/" \ | sed -e "s/,-clang-diagnostic-\*\(.*\),clang-diagnostic-\*/\1/") done (using sed to strip some add/remove pairs to reduce the diff and make it easier to read) The resulting report is: .clang-tidy clang/.clang-tidy 2c2 < Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-readability-identifier-naming,-misc-no-recursion' --- > Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion' compiler-rt/.clang-tidy 2c2 < Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,clang-diagnostic-*,llvm-*,-llvm-header-guard,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes' --- > Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-llvm-header-guard' flang/.clang-tidy 2c2 < Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,llvm-*,-llvm-include-order,misc-*,-misc-no-recursion,-misc-unused-parameters,-misc-non-private-member-variables-in-classes' --- > Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-llvm-include-order,-misc-no-recursion' flang/include/flang/Lower/.clang-tidy flang/include/flang/Optimizer/.clang-tidy flang/lib/Lower/.clang-tidy flang/lib/Optimizer/.clang-tidy lld/.clang-tidy lldb/.clang-tidy llvm/tools/split-file/.clang-tidy mlir/.clang-tidy The clang/.clang-tidy change is a no-op, disabling an option that was never enabled. The compiler-rt and flang changes are no-op reorderings of the same flags. (side note, the .clang-tidy file in parallel-libs is broken and crashes clang-tidy because it uses "lowerCase" as the style instead of "lower_case" - so I'll deal with that separately) Differential Revision: https://reviews.llvm.org/D103842 | 5 years ago | |
[split-file] Respect input file's line endings This change adds support for split-file to respect the line ending style of the input file. This enables split-file to work as expected on Windows with input files containing CRLF line endings. The test files added along with this change mirror the existing basic tests, but are forced to contain CRLF line endings via git attributes. This will result in the tests always containing CRLF line endings when checked out regardless of the user's OS. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D117897 | 4 years ago | |
Remove .gitignore entries not relevant in the monorepo. Differential Revision: https://reviews.llvm.org/D100049 | 5 years ago | |
fix: compile fail when add cov flags delete old cov flags Signed-off-by: lrb <liruibo6@h-partners.com> | 3 months ago | |
[SPIR-V](1/6) Add stub for SPIRV backend This patch contains enough for lib/Target/SPIRV to compile: a basic SPIRVTargetMachine and SPIRVTargetInfo. Differential Revision: https://reviews.llvm.org/D115009 Authors: Aleksandr Bezzubikov, Lewis Crawford, Ilia Diachkov, Michal Paszkowski, Andrey Tretyakov, Konrad Trifunovic Co-authored-by: Aleksandr Bezzubikov <zuban32s@gmail.com> Co-authored-by: Ilia Diachkov <iliya.diyachkov@intel.com> Co-authored-by: Michal Paszkowski <michal.paszkowski@outlook.com> Co-authored-by: Andrey Tretyakov <andrey1.tretyakov@intel.com> Co-authored-by: Konrad Trifunovic <konrad.trifunovic@intel.com> | 4 years ago | |
[CODE_OWNERS/CREDITS] Update my email address | 4 years ago | |
Fix typos throughout the license files that somehow I and my reviewers all missed! Thanks to Alex Bradbury for pointing this out, and the fact that I never added the intended legacy anchor to the developer policy. Add that anchor too. With hope, this will cause the links to all resolve successfully. llvm-svn: 351731 | 7 years ago | |
Test commit. | 6 years ago | |
Update the list of platforms & archs llvm-svn: 349302 | 7 years ago | |
Remove autoconf support Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861 | 10 years ago | |
Update structured references to the license to the new license. Since these are intended to be short and succinct, I've used the SPDX full name. It's human readable, but formally agreed upon and will be part of the SPDX spec for licenses. llvm-svn: 351649 | 7 years ago |
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.