Commit Graph
79 Commits
Author SHA1 Message Date
Madhur Chauhan ac008edca9 update pahole name (#4441)
* update pahole name
2023-01-23 20:25:15 -06:00
Sebastian Büttner fef60ac025 Add missing data definition directives (fixes #4275) (#4277) 2022-11-12 09:04:38 +01:00
Cory BloorandPatrick Quist e670523ddd Add ROCm Clang and HIP to CUDA (#4097)
* Add ROCm Clang and HIP to CUDA

* Always include hip/hip_runtime.h

The need to include <hip/hip_runtime.h> and/or <hip/hip_runtime_api.h>
in HIP code before using HIP features is one big difference between
HIP and CUDA. Manually adding it to the command-line here is not ideal,
but the alternative is that the CUDA sample code will be broken by
default when a HIP compiler is selected.

This is perhaps an argument for making HIP a separate language in
compiler explorer, but there's pros and cons to both approaches. I'm
not sure which approach is best, but the existing HIP support that I
built upon was based on using CUDA as the language.

* Add hip-amd to CUDA libs

* Fix id collsion and drop --offload-arch

* Drop trunk compilers

The nightly builds of ROCm Clang and vanilla Clang lack both device
libraries and the HIP library. Their ability to compile HIP code is
very limited without those, to the extent that they will not be able
to build the example code without changes.

I suspect that it's possible to fix those issues, but it may be less
confusing to drop them from the compiler list until they are fully
functional.

* Add self to CONTRIBUTORS.md

* Restore hiptrunk compiler

Put the hiptrunk compiler back how it was, so that the addition of the
HIP libraries is a purely additive change in functionality. However,
mark hiptrunk as hidden so that it is not visible by default.

Co-authored-by: Patrick Quist <partouf@gmail.com>
2022-10-10 21:09:27 -05:00
Jackson Machado 2bc257d89d docs(api): improved clientstate API documentation describing need for unicode conversion (#4114)
* docs(api): improved clientstate API documentation describing need for unicode conversion

* docs: improve CONTRIBUTORS.md
2022-10-10 13:40:06 +02:00
Fábio de Souza Villaça Medeiros c2e9aabfd7 Add basic support for Hook programming language (#4075)
* Add basic support for Hook programming language
2022-09-25 15:06:02 -05:00
J. Ryan Stinnett 44aa191cad Add debug info filter option to LLVM opt pipeline viewer (#3987)
* Add debug info filter option to LLVM opt pipeline viewer

* Add MIR debug info pseudo-instructions to filters

* Use mixin for LLVM opt pipeline options

This fixes a few templating errors from the more verbose version.

* Add name to contributors

* Generalise dbg call filter
2022-08-24 20:16:48 -04:00
Mike UrbachandPatrick Quist 16b06027f5 Add basic CIRCT compiler support. (#3917)
* Add basic CIRCT compiler support.

This adds basic support for CIRCT as requested in #3825. The addition
is based on the similar additions for MLIR in #3733 and #3770.

* Update path and rename compiler in circt.amazon.properties.

* Update circt.amazon.properties

Co-authored-by: Patrick Quist <partouf@gmail.com>
2022-07-28 23:29:10 +02:00
Christopher Smyth a5c45b6f0b Pony Lang Config (#3855) 2022-07-10 21:58:19 +02:00
Patrick Quist 5452166ae1 Toit (#3808) 2022-06-24 22:07:40 +02:00
Ofek 29b6e4a462 Fix #3275 : move from compiler-opt-info to compiler-opt-info2 (#3615)
* Fix #3275 : move from compiler-opt-info to compiler-opt-info2

* Add OfekShilon to contributors

* Migrate llvm opt-info processing from a lib inside CE

* Add MIT license text to new file
2022-05-04 18:16:34 +02:00
A S E 943af8f831 add a view for Haskell STG intermediary output #3571 (#3585) 2022-04-28 09:53:11 -05:00
Anders-T | 0x80.eth fb35d64a92 Fix Solidity compilers and line numbers in versions 0.4.x - 0.8.x (#3561)
* fixing compilers 0.4.x - 0.8.x

* update contributors file
2022-04-26 04:20:13 +02:00
m8mble 1ac1664294 Support fmt 8.[01].1 (#3438) (#3490)
Following 1e3da6eefd as a blueprint.
Verified mp-units uses fmt v8.1.1 in trunk.
2022-04-02 16:16:37 -05:00
Arsenic 9a75a7a1d6 Add examples for CUDA (#921) (#3439)
- Add examples for CUDA
- Update CONTRIBUTORS.md
2022-03-14 16:21:13 +01:00
Jeremy Rifkin 74efcfa754 Preprocessor output panel (#3330) 2022-02-11 15:42:41 +01:00
Julien Marrec 0a286837e5 add jsoncpp 1.9.5 (#3290)
* Add jsoncpp 1.9.5

* Add to contributors.

I inserted where I should have ended up, first PR was March 29, 2021
2022-01-30 10:39:35 -06:00
Steve 0a3aadbe80 Add support for C#, F# and Visual Basic (#3168) 2022-01-29 16:16:27 +01:00
Haneef Mubarak 7b7c3e1a2a Enable gemmlowp C++ header-only lib on CE site (#3228) 2022-01-25 08:39:29 -06:00
Gregory Anders 7f0bc32ae4 API: Change 'filters' option to be additive (#3206) 2021-12-28 15:35:46 +01:00
mbitsnbites 28cf53878c Add GCC compiler for MRISC32 (#3194)
* Add GCC compiler for MRISC32

* Update CONTRIBUTORS.md
2021-12-28 15:33:31 +01:00
Björn Gustavsson 12d27b59b7 Format the output file for Erlang in a nicer way (#3135)
For Erlang, format the output in the same way as the 'S' option
does. To achieve this, we use the `beam_listing` module, which is
undocumented but has been stable for many many years.
2021-11-24 08:30:34 -06:00
Kevin Adler 44c5162add Add support for Microsoft Visual C++ 6 (#2907)
A new compiler type 'win32-vc6' has been added, which uses a slightly
modified version of asm-parser-vc to handle assembly output differences
from current Visual Studio output.

In particular, MSVC6 does not output a comment line containing the
function's compile flags prior to the function body. The win32-vc parser
uses this to identify the start of a function and initialize
currentFunction. Instead, we use the regex that identifies a function
name to do this. Otherwise, a TypeError occurs trying to set
currentFunction.name when currentFunction is null.

In addition, MSVC6 only outputs a file comment once (presumably, until a
function from a different file is output). So instead of initializing
currentFunction.file to undefined, it is set to currentFile instead.
This should get set on the first function found in the file, but if not
it is initialized to undefined, so the behavior there would be the same.

Finally, the _DATA and _TLS segments are handled as well as some
additional miscellaneous directives.
2021-09-01 07:50:26 -05:00
Quinton MillerandPatrick Quist 94ecb093a0 Add Crystal support (#2732)
* Add Crystal support

* Fix copyright

* Add ASM parser for Crystal

* Add supportsLibraryCodeFilter

* Update crystal-mode.js

* use baseName

* Force `square` call

* Update default snippet

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-07-08 00:23:48 +02:00
Oleksandr d1da148563 Add initial scala support (#2737)
* Add initial scala support

* Fix scala 3 compiler flags

* Use semver instead
2021-06-29 09:39:06 +02:00
b4ebb47ac2 Add Kotlin/JVM support (#2637)
* Add Kotlin/JVM support

* Update CONTRIBUTORS.md

* Use kotlinc-jvm instead of kotlinc

* Fix alphabetical ordering

* Filter kotlin compiler arguments

Extract user options filtering for java into a separate function to
handle filtering options with extra arguments.
Filter kotlin compiler options: -d, -jdk-home, -kotlin-home, -script, -progressive

* Filter -Xjavac user options

Filter any option that starts with '-Xjavac', as it could be used to pass unwanted options through kotlinc to javac.

* Fix year in copyright

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Add kotlin.amazon.properties

* Add JAVA_HOME to kotlin default exec options

Query per-compiler property 'java_home' and set environment

* Add java_home to kotlin properties

Co-authored-by: Daniel Below <daniel.below@jetbrains.com>
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2021-06-02 22:58:41 +02:00
Johan Engelen 49b64a469b Add Johan Engelen to contributors.md (#2688)
Used `git log --encoding=utf-8 --full-history --reverse "--format=format:%an;%ae"` and uniquing the lines to find where I should place myself in the list. cheers!
2021-05-27 20:13:32 +02:00
Tamir Bahar 71bde50337 Add support for Python optimization flags (#2630)
* Add support for Python optimization flags

* Add CONTRIBUTORS.md entry
2021-05-04 22:37:01 +02:00
Shivam Gupta 6e585fe2fa [README] Fix a link for tinyurl.js (#2551) 2021-04-01 15:06:28 +02:00
okkenator 83f81a31e1 Remove ref and link to the wiki (#2549) 2021-04-01 09:28:38 +02:00
Arseniy ZaostrovnykhandArseniy Zaostrovnykh 23b152b298 Colorize the LLVM AST to match the colors of the source (#2511)
Colour the AST view with the same colors as the source code

* Add a couple of trivial test cases for processAstOutput
* Fix the processAstOutput test, ad a test for a file with #include
* Send individual lines for the AST output
* Parse the source lines for AST
* Register as a contributor
* Factor out the LlvmAstParser into a separate file

Co-authored-by: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@sonarsource.com>
2021-03-22 13:21:08 -05:00
Jeremy Overesch 11e470a8f7 Feature/jo/arm dockenizer (#2463)
* Update docenizer to python3
* Remove unused code in docenizer
* Create new asm-docs-arm and asm-docs-api-arm files for parsing and retrieving arm related opcodes.  Add conditional instruction switch.
* Rename docs files to specify instruction set
* Add arm32 at /api/asm/arm32/:opcode
* Add @jovere to contributor list
* Add `instructionSet` compiler option
* Update client to access correct instruction based on the `instructionSet` option
* Add `arm32` `instructionSet` option for ARM C++ compilers
* Add `arm32` instructionSet to obvious places in C/C++
2021-03-12 07:40:49 -06:00
Robert CohnandPatrick Quist b150074b96 add latest icc/icx/ifort/ifx (#2450)
* add latest icc/icx/ifort/ifx

* alias icc beta to product so links will still work

* Update c++.amazon.properties

* Update fortran.amazon.properties

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-03-05 22:41:41 +01:00
Patrick Quist 0045080137 Update CONTRIBUTORS.md 2020-12-22 14:26:45 +01:00
Julian 63971bffc6 OSACA tool & analysis support (#2280)
* added rudimentary OSACA tool & analysis support
* added osaca to tools. using -trunk
* fixed copyright string and added myself to CONTRIBUTORS.md
* use OSACA v0.3.10
2020-11-03 08:01:23 -06:00
JesusKristsandKrists Niedritis a561a0c412 Add EWARM compiler type and documentation (#2267)
Co-authored-by: Krists Niedritis <kristsn@na.lv>
2020-10-09 07:00:33 -04:00
Danil Yarantsev 62902ddd53 Add more Nim examples (#2265)
* Add more Nim examples

* Newlines :P

* Replace it with openArray

* Remove march, seq

* fix typo
2020-10-08 23:58:33 +02:00
Artem 7e645f45ef Dark mode compiler arguments input text-color fix (#2252)
* Added input:focus style for dark theme

* Updated contributors.md
2020-10-04 01:16:35 +02:00
GeorgeGribkov a300cc3503 Update CONTRIBUTORS.md 2020-06-15 12:35:20 +03:00
Rubén Rincón Blanco afd30bcd66 Merge branch 'master' into go-archs 2020-05-25 13:27:15 +02:00
Ethan Slattery 7fcca14890 Ewavr (#1707)
* basic IAR EWAVR compiler support

* basic line number parsing for colored lines

* Better Line Number Parsing (line numbers are right aligned)

* remove unused imports in compiler object

* removed unused lines from asm-parser-ewavr.js since Travis complained about them

* Assorted fixes from code review

* update processAsm() method to work with new style after rebase

* rework EWAVR asm parser. IAR seems to be closer to msvc.

* filter section initialize labels as assembler directives

* Add documentation for EWAVR
2020-05-20 12:55:12 +02:00
Kale Blankenship 9fe8dcdc9a Go: Add additional architectures
Use 'go build' instead of 'go tool compile' to more easily support
additional architectures.
2020-05-19 14:43:12 -07:00
Mark Gillard 06ba0715d5 Adding toml++ 2020-04-14 13:39:02 +03:00
Will Lovett bdbb05d519 Arm Clang 10
Also, some cleanup of Arm compiler names, and added
Arm clang to the C compilers list.

Change-Id: I07d4fef40d04d959fc7bcedd15688706d0dd352a
2020-03-25 14:28:10 +00:00
Dave Rodgman 7db8578bb5 Add arm clang menu options
Add options for compiling with clang for Arm - specifically Armv7,
Armv8 and Armv8.5 using clang 9 and trunk.

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
2020-01-17 12:56:57 +00:00
bastien penavayre 886e5e0466 missing newline at eof CONTRIBUTORS 2019-12-26 15:51:25 +01:00
bastien penavayre 3492287638 Add support for Nim language
- Add language
- Adds Nim compiler
- supports js, c, c++ outputs (objc not tested)
- prevent --run option
- Basic test for nim

Todos:
- monaco profile for Nim
2019-12-26 11:03:20 +01:00
Cassie Jones c4bebf706f Add Cassie Jones (porglezomp) to CONTRIBUTORS.md 2019-12-07 17:51:59 -05:00
Haze Booth eb3df6f260 Fix ASM output on for the zig compiler 2019-11-27 21:43:59 -05:00
Sebastian 78b3381c84 * Add Python support (#1612) 2019-10-30 19:51:38 -04:00
Alessandro Vergani a22e16f338 Add Loghorn as contributor 2019-10-09 14:18:44 +02:00