llvm with tablegen backend for capstone disassembler
Go to file
Maksim Panchenko 1e4ee588fb [BOLT] Accept function start as valid jump table entry
Jump tables may contain a function start address. One real-world example
is when a target basic block contains a recursive tail call that is
later optimized/folded into a jump table target.

While analyzing a jump table, we treat start address similar to an
address past the end of the containing function (a result of
__builtin_unreachable), i.e. we require another "regular" entry for the
heuristic to proceed.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D156206
2023-07-26 13:25:08 -07:00
.ci [ci] Make libc++ and Clang CI scripts independent 2023-07-12 14:01:38 -04:00
.github/workflows [GitHub] Update repo lockdown to exclude lldb 2023-07-14 19:35:15 -05:00
bolt [BOLT] Accept function start as valid jump table entry 2023-07-26 13:25:08 -07:00
clang Revert "Reapply [IR] Mark and/or constant expressions as undesirable" 2023-07-26 12:54:07 -07:00
clang-tools-extra [clang-tidy] Update unchecked-optiona-access-check to use convenience function for diagnosing FunctionDecls. 2023-07-26 17:12:29 +00:00
cmake [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviour 2023-07-17 09:59:05 +03:00
compiler-rt [asan] Block signals when starting threads 2023-07-26 13:03:40 -07:00
cross-project-tests [Dexter] XFAIL Dexter tests for Apple Silicon (arm64) 2023-05-26 15:43:20 -07:00
flang [flang][openacc] Add basic lowering for OpenACC declare construct in module 2023-07-26 09:56:19 -07:00
libc [libc] Add support for the 'fread' function on the GPU 2023-07-26 13:51:35 -05:00
libclc Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
libcxx [libc++][mdspan] Fix uglification, categorize asserts and move tests 2023-07-25 12:39:35 -06:00
libcxxabi [libc++] Remove internal "build-with-external-thread-library" configuration 2023-07-17 09:32:36 -04:00
libunwind [libunwind] Fix build error on 32 bit Arm after -Wcast-qual was added 2023-07-19 16:01:42 +00:00
lld [lld][ELF][test] Fix excessive output file size in loongarch-add-sub.s 2023-07-26 22:17:32 +08:00
lldb [lldb-vsocde] Cleaning up the usage of the Separate helper in Options.td. 2023-07-26 15:27:17 -04:00
llvm Revert "[ConstantFold] Avoid creation of undesirable binop" 2023-07-26 12:56:31 -07:00
llvm-libgcc Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
mlir [mlir][Linalg] NFC - Retire LinalgToLLVM pass 2023-07-26 20:26:07 +02:00
openmp [OpenMP] Introduce kernel environment 2023-07-26 13:35:14 -04:00
polly Clear release notes for 18.x 2023-07-25 13:58:49 +02:00
pstl Clear release notes for 18.x 2023-07-25 13:58:49 +02:00
runtimes Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
third-party [unittest] teach gTest to print entries of DenseMap as pairs 2023-06-28 11:29:52 +02:00
utils [mlir][Linalg] NFC - Retire LinalgToLLVM pass 2023-07-26 20:26:07 +02:00
.arcconfig
.arclint
.clang-format
.clang-tidy Add -misc-use-anonymous-namespace to .clang-tidy 2023-05-06 02:33:20 +03:00
.git-blame-ignore-revs Revert "[mlir][spirv] Add D155747 to .git-blame-ignore-revs" 2023-07-21 10:59:16 -04:00
.gitignore
.mailmap Add entry to mailmap 2023-04-25 23:15:07 -07:00
CONTRIBUTING.md Added instruction to join the llvm discourse and discord group. 2023-03-27 17:02:07 -07:00
LICENSE.TXT
README.md [docs] Update README and GettingStarted 2023-03-08 12:55:59 -08:00
SECURITY.md

The LLVM Compiler Infrastructure

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, or #llvm IRC channel on OFTC.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.