llvm with tablegen backend for capstone disassembler
Go to file
Yaxun (Sam) Liu 9b7763821a
Reland "[CUDA][HIP] Fix overloading resolution in global var init" (#65606)
https://reviews.llvm.org/D158247 caused regressions for HIP on Windows
and was reverted.

A reduced test case is:

```
typedef void (__stdcall* funcTy)();
void invoke(funcTy f);

static void __stdcall callee() noexcept {
}

void foo() {
   invoke(callee);
}
```

It is due to clang missing handling host/device attributes for calling
convention at a few places

This patch fixes that.
2023-09-07 23:18:30 -04:00
.ci enable new pipeline 2023-08-31 18:17:53 +02:00
.github Add llvm-binary-utilities to .github/CODEOWNERS (#65545) 2023-09-07 15:30:44 -07:00
bolt [BOLT][test] Fix patch-entries for aarch64 buildbot (#65690) 2023-09-07 17:09:45 -07:00
clang Reland "[CUDA][HIP] Fix overloading resolution in global var init" (#65606) 2023-09-07 23:18:30 -04:00
clang-tools-extra [include-cleaner][clangd][clang-tidy] Ignore resource dir during include-cleaner analysis. 2023-09-07 11:39:18 +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 [NFC][sanitizer] Add a few missed RTSanitizerCommonSymbolizerInternal 2023-09-07 19:36:10 -07:00
cross-project-tests [DebugInfoTests] Mark debuginfo 'optnone-*' tests unsupported on darwin 2023-09-06 16:12:04 +01:00
flang [flang] Fix -Wcovered-switch-default in resolve-directives.cpp (NFC) 2023-09-08 07:53:53 +08:00
libc [libc] Fix printf %p format 2023-09-07 14:13:35 -07:00
libclc libclc: Fix signed integer underflow in abs_diff 2023-08-31 14:28:16 +01:00
libcxx Revert "[libc++][NFC] Remove __has_keyword" 2023-09-07 14:48:45 -04:00
libcxxabi [libc++abi] Use std::abort() instead of std::terminate() on failure to allocate 2023-08-31 14:58:08 -04:00
libunwind [libunwind] Haiku: Initial support 2023-09-06 00:56:09 -04:00
lld [lld-macho]Limit "cannot-export-hidden-symbol" warnings to only 3 to avoid crowding logs. 2023-09-07 13:50:55 -04:00
lldb [lldb/docs] Add section links to the top of the GDB to LLDB command map 2023-09-07 16:26:53 -07:00
llvm [NFC]Add assert to avoid possibly deref nullptr (#65564) 2023-09-08 10:10:09 +08:00
llvm-libgcc [llvm-libgcc] Don't export __{,de}register_frame_info* and __register_frame_table 2023-08-23 13:00:36 -07:00
mlir [MLIR][Linalg] Retire tile_to_scf_for (#65633) 2023-09-07 16:13:23 -04:00
openmp [OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553) 2023-09-07 21:05:25 -04:00
polly Bug fix for multi-line labels in CFG dot graph 2023-09-05 22:01:51 -07: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 [lldb] Fix duplicate word typos; NFC 2023-09-01 21:32:24 -07:00
utils [Bazel] Update "basic_attr_gen" (D141714, 46f3ade508) 2023-09-08 10:17:58 +09: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 Reland "[CUDA][HIP] Fix overloading resolution in global var init" (#65606) 2023-09-07 23:18:30 -04:00
.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 [docs] Add LICENSE.txt to the root of the mono-repo 2022-08-24 09:35:00 +02:00
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.