- Dec 05, 2022
-
-
Nikita Popov authored
-
Adrian Kuegel authored
-
Nikita Popov authored
D138014 restricted AST to work on immutable IR. This means it is also safe to use a single BatchAA instance for the entire AST lifetime, instead of only batching parts of individual queries. The primary motivation for this is not compile-time, but rather having a central place to control cross-iteration AA, which will be used by D137958. Differential Revision: https://reviews.llvm.org/D137955
-
Fangrui Song authored
-
Vitaly Buka authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Kazu Hirata authored
This patch adds forward declarations of raw_ostream to those header files that are relying on the forward declaration of raw_ostream in llvm/include/llvm/ADT/Optional.h. I'm planning to move operator<< for Optional<T> and std::optional<T> from Optional.h to llvm/include/llvm/Support/raw_ostream.h. Once I do so, we no longer need to forward-declare raw_ostream in Optional.h.
-
Fangrui Song authored
https://github.com/riscv/riscv-elf-psabi-doc/pull/190 introduced STO_RISCV_VARIANT_CC. The linker should: * Copy the STO_RISCV_VARIANT_CC bit to .symtab/.dynsym: already fulfilled after 82ed93ea * Produce DT_RISCV_VARIANT_CC if at least one R_RISCV_JUMP_SLOT relocation references a symbol with the STO_RISCV_VARIANT_CC bit. Done by this patch. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D107951
-
esmeyi authored
-
Fangrui Song authored
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Fangrui Song authored
-
Fangrui Song authored
-
Yeting Kuo authored
The patch is split from D103435. The patch supported a new directive .variant_cc that annotates function with STO_RISCV_VARIANT_CC. Symbols marked with STO_RISCV_VARIANT_CC do not use standard calling conversion or use parameter not passed in GPR/FPR. Related: https://github.com/riscv/riscv-elf-psabi-doc/pull/190 Initial authored by: HsiangKai Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D138352
-
Fangrui Song authored
Many llvm/IR/* files have been migrated by other contributors. This migrates most remaining files.
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Weining Lu authored
See definition in backend D134709 and the doc [1] for more detail. With the benefit of this change, most libcxx and libcxxabi tests pass. [1]: https://llvm.org/docs/ExceptionHandling.html Reviewed By: xen0n, wangleiat Differential Revision: https://reviews.llvm.org/D139177
-
Fangrui Song authored
The use of union isn't really necessary. So just flatten its fields.
-
Chen Zheng authored
Add support for fptosi,fptoui,sitofp,uitofp For now only handle 64 bit integer to make it does not depend on any other patches. 32 bit integer needs handling for G_SEXT/G_ZEXT. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D139174
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Qihan Cai authored
Fix #59177, add check for dimensionality for shape argument against rank of FPTR argument in c_f_pointer Reviewed By: peixin Differential Revision: https://reviews.llvm.org/D138743
-
Craig Topper authored
findFirstSet is a wrapper around countTrailingZeros so they are equivalent here, but I think findFirstSet more cleary describes the algorithm here.
-
Craig Topper authored
A few other minor improvements.
-
Chen Zheng authored
We added a new post-isel CTRLoop pass in D122125. That pass will expand the hardware loop related intrinsic to CTR loop or normal loop based on the loop context. So we don't need to conservatively check the CTR clobber now on the IR level. Reviewed By: lkail Differential Revision: https://reviews.llvm.org/D135847
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Peter Klausler authored
Module files for submodules should not contain PRIVATE attributes, since everything in them is local to the parent module and accessible to all descendant submodules. Differential Revision: https://reviews.llvm.org/D139160
-
Kazu Hirata authored
This patch mechanically replaces None with std::nullopt where the compiler would warn if None were deprecated. The intent is to reduce the amount of manual work required in migrating from Optional to std::optional. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This patch mechanically replaces None with std::nullopt where the compiler would warn if None were deprecated. The intent is to reduce the amount of manual work required in migrating from Optional to std::optional. This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
LLVM GN Syncbot authored
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-