Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
78bf8a0a |
| 17-May-2023 |
John Brawn <john.brawn@arm.com> |
[clang] Don't define predefined macros multiple times
Fix several instances of macros being defined multiple times in several targets. Most of these are just simple duplication in a TargetInfo or OS
[clang] Don't define predefined macros multiple times
Fix several instances of macros being defined multiple times in several targets. Most of these are just simple duplication in a TargetInfo or OSTargetInfo of things already defined in InitializePredefinedMacros or InitializeStandardPredefinedMacros, but there are a few that aren't: * AArch64 defines a couple of feature macros for armv8.1a that are handled generically by getTargetDefines. * CSKY needs to take care when CPUName and ArchName are the same. * Many os/target combinations result in __ELF__ being defined twice. Instead define __ELF__ just once in InitPreprocessor based on the Triple, which already knows what the object format is based on os and target.
These changes shouldn't change the final result of which macros are defined, with the exception of the changes to __ELF__ where if you explicitly specify the object type in the triple then this affects if __ELF__ is defined, e.g. --target=i686-windows-elf results in it being defined where it wasn't before, but this is more accurate as an ELF file is in fact generated.
Differential Revision: https://reviews.llvm.org/D150966
show more ...
|
Revision tags: llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4 |
|
#
96cc2d07 |
| 09-Mar-2023 |
Ben Shi <powerman1st@163.com> |
[clang] Add AVR specific inline assembly escaped characters
Fixes https://github.com/llvm/llvm-project/issues/60204
Reviewed By: jacquesguan
Differential Revision: https://reviews.llvm.org/D145659
|
Revision tags: llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init |
|
#
16f9451b |
| 12-Jan-2023 |
Ben Shi <powerman1st@163.com> |
[clang] Redefine some AVR specific macros
Fixes https://github.com/llvm/llvm-project/issues/58855
Reviewed By: aykevl, Miss_Grape
Differential Revision: https://reviews.llvm.org/D141598
|
Revision tags: llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5 |
|
#
a8efcb96 |
| 07-Nov-2022 |
Ayke van Laethem <aykevanlaethem@gmail.com> |
[AVR][Clang] Implement __AVR_HAVE_*__ macros
These macros are defined in avr-gcc and are useful when working with assembly. For example, startup code needs to copy the contents of .data from flash t
[AVR][Clang] Implement __AVR_HAVE_*__ macros
These macros are defined in avr-gcc and are useful when working with assembly. For example, startup code needs to copy the contents of .data from flash to RAM, but should use elpm (instead of lpm) on devices with more than 64kB flash. Without __AVR_HAVE_ELPM__, there is no way to know whether the elpm instruction is supported.
This partially fixes https://github.com/llvm/llvm-project/issues/56157.
Differential Revision: https://reviews.llvm.org/D137572
show more ...
|
#
09ab9d4d |
| 07-Nov-2022 |
Ayke van Laethem <aykevanlaethem@gmail.com> |
[AVR][Clang] Implement __AVR_ARCH__ macro
This macro is defined in avr-gcc, and is very useful especially in assembly code to check whether particular instructions are supported. It is also the basi
[AVR][Clang] Implement __AVR_ARCH__ macro
This macro is defined in avr-gcc, and is very useful especially in assembly code to check whether particular instructions are supported. It is also the basis for other macros like __AVR_HAVE_ELPM__.
Differential Revision: https://reviews.llvm.org/D137521
show more ...
|
#
d2563775 |
| 07-Nov-2022 |
Ayke van Laethem <aykevanlaethem@gmail.com> |
[AVR][Clang] Move family names into MCU list
This simplifies the code by avoiding some special cases for family names (as opposed to device names).
Differential Revision: https://reviews.llvm.org/D
[AVR][Clang] Move family names into MCU list
This simplifies the code by avoiding some special cases for family names (as opposed to device names).
Differential Revision: https://reviews.llvm.org/D137520
show more ...
|
Revision tags: llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1 |
|
#
981cbfb5 |
| 19-Sep-2022 |
Kazu Hirata <kazu@google.com> |
[clang] Don't include StringSwitch.h (NFC)
These files don't seem to use StringSwitch.
|
Revision tags: llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4 |
|
#
3902ebdd |
| 06-May-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[compiler-rt][builtins] Fix wrong ABI of AVR __mulqi3 & __mulhi3
Reviewed By: aykevl, dylanmckay
Differential Revision: https://reviews.llvm.org/D125077
|
Revision tags: llvmorg-14.0.3, llvmorg-14.0.2 |
|
#
42fa5bae |
| 21-Apr-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[clang][preprocessor] Add more macros to target AVR
Reviewed By: MaskRay, aykevl
Differential Revision: https://reviews.llvm.org/D124157
|
Revision tags: llvmorg-14.0.1 |
|
#
b62ea9b3 |
| 24-Mar-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[AVR] Add more devices
Synchronize device list with avr-gcc 7.3.0 and avrlibc 2.0.0.
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D122401
|
#
86c1d075 |
| 24-Mar-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[clang][AVR] Implement standard calling convention for AVR and AVRTiny
This patch implements avr-gcc's calling convention: https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention
Reviewed By: aykevl
D
[clang][AVR] Implement standard calling convention for AVR and AVRTiny
This patch implements avr-gcc's calling convention: https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D120720
show more ...
|
Revision tags: llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2 |
|
#
51585aa2 |
| 01-Mar-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[clang][AVR] Implement standard calling convention for AVR and AVRTiny
This patch implements avr-gcc's calling convention: https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention
Reviewed By: aykevl
D
[clang][AVR] Implement standard calling convention for AVR and AVRTiny
This patch implements avr-gcc's calling convention: https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D120720
show more ...
|
#
6edfe45a |
| 10-Mar-2022 |
Ben Shi <ben.shi@streamcomputing.com> |
[AVR] Add more devices
Synchronize AVR device lists with gcc-avr-5.4.0 and avr-libc-2.0.0.
Reviewed By: dylanmckay, aykevl
Differential Revision: https://reviews.llvm.org/D121359
|
Revision tags: llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
#
a2f488c6 |
| 18-Dec-2021 |
Ben Shi <ben.shi@streamcomputing.com> |
[clang][AVR] Implement '__flashN' for variables on different flash banks
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D115982
|
Revision tags: llvmorg-13.0.1-rc1 |
|
#
4bd46501 |
| 25-Oct-2021 |
Kazu Hirata <kazu@google.com> |
Use llvm::any_of and llvm::none_of (NFC)
|
#
0e9373a6 |
| 10-Oct-2021 |
Kazu Hirata <kazu@google.com> |
[Basic] Use llvm::is_contained (NFC)
|
Revision tags: llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3 |
|
#
339c7340 |
| 11-Sep-2021 |
Mara Sophie Grosch <littlefox@lf-net.org> |
[Clang][AVR] Fix definitions on AVR target
Fix definitions for MCUs xmega16a4u and xmega128a4u to match avr-libc
Differential Revision: https://reviews.llvm.org/D109653
|
#
b0d4d969 |
| 08-Sep-2021 |
Justin Latimer <justinlatimer@gmail.com> |
[AVR] Add support for the tinyAVR 0-series and tinyAVR 1-series
Reviewed By: Dylan McKay, Ben Shi
Differential Revision: https://reviews.llvm.org/D103136
|
Revision tags: llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1 |
|
#
b99e2c56 |
| 17-May-2021 |
Ben Shi <powerman1st@163.com> |
[clang][AVR] Redefine [u]int16_t to be compatible with avr-gcc
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D102547
|
#
892c56ea |
| 12-May-2021 |
Ben Shi <powerman1st@163.com> |
[clang][AVR] Redefine some types to be compatible with avr-gcc
Reviewed By: dylanmckay
Differential Revision: https://reviews.llvm.org/D100701
|
#
4f173c0c |
| 10-Apr-2021 |
Ben Shi <powerman1st@163.com> |
[clang][AVR] Support variable decorator '__flash'
Reviewed By: Anastasia
Differential Revision: https://reviews.llvm.org/D96853
|
Revision tags: llvmorg-12.0.0, llvmorg-12.0.0-rc5, llvmorg-12.0.0-rc4, llvmorg-12.0.0-rc3, llvmorg-12.0.0-rc2, llvmorg-11.1.0, llvmorg-11.1.0-rc3, llvmorg-12.0.0-rc1, llvmorg-13-init, llvmorg-11.1.0-rc2, llvmorg-11.1.0-rc1, llvmorg-11.0.1, llvmorg-11.0.1-rc2, llvmorg-11.0.1-rc1 |
|
#
5be50d79 |
| 29-Oct-2020 |
Ben Shi <powerman1st@163.com> |
[NFC][clang][AVR] Add more devices
Reviewed By: dylanmckay
Differential Revision: https://reviews.llvm.org/D88352
|
Revision tags: llvmorg-11.0.0, llvmorg-11.0.0-rc6, llvmorg-11.0.0-rc5, llvmorg-11.0.0-rc4, llvmorg-11.0.0-rc3, llvmorg-11.0.0-rc2, llvmorg-11.0.0-rc1, llvmorg-12-init, llvmorg-10.0.1, llvmorg-10.0.1-rc4, llvmorg-10.0.1-rc3, llvmorg-10.0.1-rc2, llvmorg-10.0.1-rc1 |
|
#
fe06e231 |
| 14-Apr-2020 |
Ayke van Laethem <aykevanlaethem@gmail.com> |
[AVR] Define __ELF__
This symbol is defined in avr-gcc. Because AVR normally uses the ELF format, define the symbol unconditionally.
This patch is needed to get Clang to compile compiler-rt.
Diffe
[AVR] Define __ELF__
This symbol is defined in avr-gcc. Because AVR normally uses the ELF format, define the symbol unconditionally.
This patch is needed to get Clang to compile compiler-rt.
Differential Revision: https://reviews.llvm.org/D78117
show more ...
|
Revision tags: llvmorg-10.0.0, llvmorg-10.0.0-rc6, llvmorg-10.0.0-rc5, llvmorg-10.0.0-rc4, llvmorg-10.0.0-rc3, llvmorg-10.0.0-rc2, llvmorg-10.0.0-rc1, llvmorg-11-init, llvmorg-9.0.1, llvmorg-9.0.1-rc3, llvmorg-9.0.1-rc2, llvmorg-9.0.1-rc1, llvmorg-9.0.0, llvmorg-9.0.0-rc6, llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4, llvmorg-9.0.0-rc3, llvmorg-9.0.0-rc2, llvmorg-9.0.0-rc1, llvmorg-10-init, llvmorg-8.0.1, llvmorg-8.0.1-rc4, llvmorg-8.0.1-rc3, llvmorg-8.0.1-rc2, llvmorg-8.0.1-rc1, llvmorg-8.0.0, llvmorg-8.0.0-rc5, llvmorg-8.0.0-rc4, llvmorg-8.0.0-rc3, llvmorg-7.1.0, llvmorg-7.1.0-rc1, llvmorg-8.0.0-rc2, llvmorg-8.0.0-rc1 |
|
#
2946cd70 |
| 19-Jan-2019 |
Chandler Carruth <chandlerc@gmail.com> |
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
We understand that people may be surprised that we're moving the header entirely to discuss the ne
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach.
Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository.
llvm-svn: 351636
show more ...
|
Revision tags: llvmorg-7.0.1, llvmorg-7.0.1-rc3, llvmorg-7.0.1-rc2, llvmorg-7.0.1-rc1, llvmorg-7.0.0, llvmorg-7.0.0-rc3, llvmorg-7.0.0-rc2, llvmorg-7.0.0-rc1, llvmorg-6.0.1, llvmorg-6.0.1-rc3, llvmorg-6.0.1-rc2, llvmorg-6.0.1-rc1, llvmorg-5.0.2, llvmorg-5.0.2-rc2, llvmorg-5.0.2-rc1, llvmorg-6.0.0, llvmorg-6.0.0-rc3 |
|
#
e44bdb3f |
| 08-Feb-2018 |
Erich Keane <erich.keane@intel.com> |
Add Rest of Targets Support to ValidCPUList (enabling march notes)
A followup to: https://reviews.llvm.org/D42978
Most of the rest of the Targets were pretty rote, so this patch knocks them all out
Add Rest of Targets Support to ValidCPUList (enabling march notes)
A followup to: https://reviews.llvm.org/D42978
Most of the rest of the Targets were pretty rote, so this patch knocks them all out at once.
Differential Revision: https://reviews.llvm.org/D43057
llvm-svn: 324676
show more ...
|