llvm with tablegen backend for capstone disassembler
Go to file
Xing Xue 34fdf52cce [OpenMP][AIX]Define struct kmp_base_tas_lock with the order of two members swapped for big-endian (#79188)
The direct lock data structure has bit `0` (the least significant bit)
of the first 32-bit word set to `1` to indicate it is a direct lock. On
the other hand, the first word (in 32-bit mode) or first two words (in
64-bit mode) of an indirect lock are the address of the entry allocated
from the indirect lock table. The runtime checks bit `0` of the first
32-bit word to tell if this is a direct or an indirect lock. This works
fine for 32-bit and 64-bit little-endian because its memory layout of a
64-bit address is (`low word`, `high word`). However, this causes
problems for big-endian where the memory layout of a 64-bit address is
(`high word`, `low word`). If an address of the indirect lock table
entry is something like `0x110035300`, i.e., (`0x1`, `0x10035300`), it
is treated as a direct lock. This patch defines `struct
kmp_base_tas_lock` with the ordering of the two 32-bit members flipped
for big-endian PPC64 so that when checking/setting tags in member
`poll`, the second word (the low word) is used. This patch also changes
places where `poll` is not already explicitly specified for
checking/setting tags.

(cherry picked from commit ac97562c99c3ae97f063048ccaf08ebdae60ac30)
2024-02-16 05:15:11 -08:00
.ci [🍒][ci] Fix the base branch we use to determine changes (#79503) (#79506) 2024-01-25 13:57:41 -08:00
.github [workflows] Fix libclc CI tests (#80942) 2024-02-08 15:40:09 -08:00
bolt [BOLT] Fix unconditional output of boltedcollection in merge-fdata (#78653) 2024-01-18 20:00:47 -08:00
clang [analyzer][docs] Admit that the cleanup attribute is not supported (#81834) 2024-02-15 22:16:19 -08:00
clang-tools-extra Backport '[clang] static operators should evaluate object argument (reland)' to release/18.x (#80109) 2024-02-03 10:35:40 -08:00
cmake [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviour 2023-07-17 09:59:05 +03:00
compiler-rt [dfsan] Wrap glibc 2.38 __isoc23_* functions (#79958) 2024-02-09 13:18:45 -08:00
cross-project-tests [AMDGPU] Add GFX12 WMMA and SWMMAC instructions (#77795) 2024-01-26 20:01:08 -08:00
flang Apply kind code check on exitstat and cmdstat (#78286) 2024-01-30 16:45:35 +00:00
libc [libc] remove redundant call_once (#79226) 2024-01-23 15:38:12 -08:00
libclc libclc: add missing AMD gfx symlinks (#78884) 2024-01-22 15:32:13 +07:00
libcxx [libc++][print] Moves is_terminal to the dylib. (#80464) 2024-02-15 21:35:51 -08:00
libcxxabi [libc++] Fix the behavior of throwing operator new under -fno-exceptions (#69498) 2024-01-22 22:33:04 -05:00
libunwind MIPS/libunwind: Use -mfp64 if compiler is FPXX (#68521) 2024-02-09 13:22:24 -08:00
lld [LLD] [MinGW] Implement the --lto-emit-asm and -plugin-opt=emit-llvm options (#81475) 2024-02-16 05:07:05 -08:00
lldb [lldb] Improve maintainability and readability for ValueObject methods (#75865) 2024-01-23 16:07:52 -08:00
llvm [CFI][annotation] Leave alone function pointers in function annotations (#81673) 2024-02-16 04:53:41 -08:00
llvm-libgcc [llvm-libgcc][CMake] Refactor llvm-libgcc (#65455) 2023-09-18 22:56:03 -07:00
mlir [mlir] Skip invalid test on big endian platform (s390x) (#80246) 2024-02-13 11:39:15 -08:00
openmp [OpenMP][AIX]Define struct kmp_base_tas_lock with the order of two members swapped for big-endian (#79188) 2024-02-16 05:15:11 -08:00
polly [AST] Don't merge memory locations in AliasSetTracker (#65731) 2024-01-17 15:59:13 +01: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 [third-party] Silence warning on benchmark when building with Clang ToT 2024-01-17 07:23:56 -05:00
utils [Blaze] Fix build file 2024-01-22 15:45:04 -08: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 Add OpenSSF Best Practice Badge (#77398) 2024-01-13 07:43:11 -08:00
SECURITY.md

The LLVM Compiler Infrastructure

OpenSSF Scorecard OpenSSF Best Practices 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.