llvm with tablegen backend for capstone disassembler
Go to file
Joseph Huber c7c68f1764
[Libomptarget] Allow the CPU targets to be built without libffi (#77495)
Summary:
The CPU targets currently rely on `libffi` to invoke the "kernel"
functions. Previously we would not build these if this dependency was
not found. This patch copies th eapproach used for things like CUDA and
HSA to dynamically load this if it is not found.

The one sketchy thing this does is hard-code the default ABI for the
target. These are normally defined on a per-file basis in the FFI
source, so I had to fish out the expected values. We only use two types,
so ideally we will always be able to use the default ABI.

It's possible we could remove this dependency entirely in the future as
well.
2024-01-09 14:01:52 -06:00
.ci [CI] Add check-mlir-python to MLIR pre-merge checks (#72847) 2023-11-25 09:55:32 +00:00
.github [libc++] Allow running the test suite with optimizations (#68753) 2024-01-09 10:39:14 -05:00
bolt [DWARFLinker][DWARFLinkerParallel][NFC] Refactor DWARFLinker&DWARFLinkerParallel to have a common library. Part 1. (#75925) 2024-01-09 11:32:08 +03:00
clang [clang][modules] Objective-C test lacks support on AIX/zOS (#77485) 2024-01-09 13:40:21 -05:00
clang-tools-extra [clang-tidy] Improve performance of misc-const-correctness (#72705) 2024-01-09 18:22:03 +01:00
cmake [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviour 2023-07-17 09:59:05 +03:00
compiler-rt [PGO] Fix instrprof-api.c on Windows (#77508) 2024-01-09 14:53:40 -05:00
cross-project-tests [Dexter] Set ShouldBuild=false for Visual Studio solutions (#75045) 2023-12-11 15:19:40 +00:00
flang [Flang] Xfail hlfir test case on AIX (#76802) 2024-01-09 14:06:12 -05:00
libc [libc] temporarily set -Wno-shorten-64-to-32 (#77396) 2024-01-08 16:21:49 -08:00
libclc libclc: generic: add half implementation for erf/erfc (#66901) 2024-01-09 16:47:53 +00:00
libcxx Fixed shared_ptr comparisons with nullptr_t when spaceship is unavailable. (#76781) 2024-01-09 20:41:24 +01:00
libcxxabi [libc++abi] Handle catch null pointer-to-object (#68076) 2024-01-08 17:11:14 -05:00
libunwind [libc++] Allow running the test suite with optimizations (#68753) 2024-01-09 10:39:14 -05:00
lld [ELF,test] Set alignment of SHT_GROUP to 4 2024-01-09 10:59:48 -08:00
lldb [lldb] Fix Intel PT plugin compile errors (#77252) 2024-01-09 10:58:47 -08:00
llvm [NFC][AMDGPU] Require x86-registered-target for llvm/test/Transforms/MemCpyOpt/no-libcalls.ll 2024-01-09 14:42:38 -05:00
llvm-libgcc [llvm-libgcc][CMake] Refactor llvm-libgcc (#65455) 2023-09-18 22:56:03 -07:00
mlir [acc] Fix OpenACC documentation (#77502) 2024-01-09 11:12:41 -08:00
openmp [Libomptarget] Allow the CPU targets to be built without libffi (#77495) 2024-01-09 14:01:52 -06:00
polly [polly][ScheduleOptimizer] Reland Fix long compile time(hang) reported in polly (#77280) 2024-01-08 09:48:02 -08:00
pstl Clear release notes for 18.x 2023-07-25 13:58:49 +02:00
runtimes [CMake] Always define runtimes-test-depends (#73629) 2023-11-28 15:30:52 -08:00
third-party [System][z/OS] Fix per-thread timing error on z/OS (#76947) 2024-01-05 07:57:07 -05:00
utils [bazel] Fix compiler-rt build after 07c9189fcc 2024-01-09 17:53:25 +01: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 [libc++] Add libc++ clang-formatting commit to git-blame-ignore-revs file 2023-12-18 14:04:41 -05:00
.gitattributes [libc++] Format the code base (#74334) 2023-12-18 14:01:33 -05:00
.gitignore Revert accidental .gitignore change from 9b7763821a 2023-09-07 22:42:05 -07:00
.mailmap .mailmap: add second entry for self 2023-12-19 11:13:19 +00:00
CODE_OF_CONDUCT.md [llvm] Add CODE_OF_CONDUCT.md (#65816) 2023-09-09 10:55:31 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md to remove the not about not accepting PR 2023-09-10 15:21:06 -07:00
LICENSE.TXT [docs] Add LICENSE.txt to the root of the mono-repo 2022-08-24 09:35:00 +02:00
README.md [libc++][CI] Moves CI badge to main README. (#77247) 2024-01-09 19:12:42 +01:00
SECURITY.md

The LLVM Compiler Infrastructure

OpenSSF Scorecard libc++

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, LLVM Office Hours or Regular sync-ups.

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