Cetnerowski, Adam
d46969a7f2
Rename offline compiler: cloc -> ocloc
...
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Pawel Wilma
17a0a7ecb8
Append internal options from file instead of replace
...
Change-Id: Ic3353e95b71e6227a9dda2afc7d940d8cd0575e2
2018-10-17 13:55:30 +02:00
Cetnerowski
17fe3e740e
Cloc: correctly handle nonexistant platform
...
Change-Id: I85a81c10dc101e8af68dd4c52c7f604d563c4396
Signed-off-by: Cetnerowski <adam.cetnerowski@intel.com>
2018-09-26 06:02:46 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Chodor, Jaroslaw
29794db9d9
Refactor cloc UTLS - use inititializer list
...
Using initializer list instead of C array
Change-Id: I0520fc8f782347b884b6134208e6b6edaea532dd
2018-08-13 13:10:46 +02:00
Chodor, Jaroslaw
59365ab854
Fix for cloc binary input
...
Cloc was truncating binary input
at first 0.
Change-Id: I10e3c9dbbfb56fedfa768e19fdf4e7c71bc47dd1
2018-08-13 11:05:18 +02:00
Kamil Diedrich
8226269bbe
Reimplementation of Elf Writer
...
- remove is_initialize pattern
- add RAII
- replace dynamic arrays with std::vector<char>
- use fixed width integer types
- remove c-style casting
- reducing the number of code checks
- add camelCase style
Change-Id: If24a595f03865c59c86fed29db280de0084b5663
2018-08-07 17:35:39 +02:00
Chodor, Jaroslaw
02216e198d
Adding spirv to cloc
...
cloc will now accept spirv as input
when spirv_input command line argument
is present
Change-Id: Iaca88e1bd11ec2e4b2bfbac3e372ba97fa7efc8e
2018-08-07 14:08:34 +02:00
Chodor, Jaroslaw
c2454d5aa2
SpirV improvements
...
* Use preferredIR form compiler
* Allow .spv test files instead of .bc
Change-Id: Ia1a693be52b7391896378fbe159be85f4e7a00c1
2018-07-31 00:26:52 +02:00
Kamil Diedrich
282f335269
elflib reimplementation - initial commit
...
Includes:
-add explicit definition of enum types
-replace NULL for nullptr
-add namespace for constants
-replace c-style casting
-add SH_FLAG_NONE for consistency
Change-Id: I3eb8d26cc6b549e91a940ae0d3c095a9f96785f2
2018-07-26 14:03:35 +02:00
Chodor, Jaroslaw
b490a1331b
Refactoring/preparation for preferred IR from FCL
...
NEO will be querying FCL for preferrerd IR
(intermediate representation) instead of
using llvm bc.
Change-Id: I98316b5623557a9651da2a4c5e610ab26421c491
2018-07-18 16:49:29 +02:00
Mateusz Jablonski
abbc0a5471
Compile kernels per platform type (core/lp)
...
compiled kernels are in (binary dir)/(family name with type) folder
Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +02:00
Hoppe, Mateusz
81362d5b7d
Source Level Debugger: add generating debug data in cloc
...
- generate debug data to .dbg file in cloc
- generate debug kernel for ults with "-g" option
in addition to "-cl-kernel-debug-enable"
- append "-g" option for compilation and build of
programs with kernel debugging enabled to make
compiler generate debug data
Change-Id: I09401f84be6e09da167194a44d1b9a7f2bfb622d
2018-04-18 17:14:15 +02:00
Hoppe, Mateusz
320f456816
Add reading internal options from file to cloc
...
- if no options are passed try to read options
and internal options from text files.
- refactor code for reading from file.
Change-Id: I608c70f3afe77a4e4845fe1c96cc9d31464c6122
2018-03-27 18:06:14 +02:00
Koska, Andrzej
dd21164b3e
Adding the last character in a null terminated string
...
Change-Id: I4a9cad0974c8b9f1474e79e5c3d78b88dd4b004c
2018-03-26 16:45:22 +02:00
Cetnerowski, Adam
e746081403
Offliner compiler - refactor help
...
Change-Id: Ie9514ea3aedb208bc653f29fe96e4b71003807fd
2018-03-21 15:09:40 +01:00
Cetnerowski, Adam
214b407353
Offline compiler - fix typo in help
...
Change-Id: I66d1fd899d351b3f89c610b04737893d106ae296
2018-03-20 20:19:13 +01:00
Hoppe, Mateusz
cc6fa3d1e1
Kernel source debugging support 1/n
...
- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size
Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
2018-03-13 08:01:29 +01:00
Hoppe, Mateusz
3f5a56ac1c
Adding "-internal_options" to cloc
...
- new parameter for passing internal options string
to compiler
Change-Id: I4eb75922a079eb5dcffbd3bf83141cf42a4d2830
2018-03-09 13:21:18 +01:00
Hoppe, Mateusz
8d5e099aa3
Adding "output" option to cloc for output filename
...
- instead using input filename for output files,
use name passed as an option.
Change-Id: Ibfa35b1d48d1b92dcfa67c5d59d9ea6a3c2e7639
2018-03-09 09:35:02 +01:00
Hoppe, Mateusz
d9eeb663a2
Add "inputFileLlvm" option to cloc
...
- enables offline compilation of llvm text source
Change-Id: I72cba4a081ea76446f1c0d4e0bd9ee97e6c55db4
2018-03-07 18:31:46 +01:00
Mateusz Jablonski
ea021f8d69
Cmake refactor part 1: fix dependencies with including os_inc.h
...
Remove some not needed includes
Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
2018-02-08 09:40:40 +01:00
Koska, Andrzej
be0306ca68
Adding support for passing proper extensions list from cloc to compilers
...
Change-Id: I89249cd6ccae9996cd33d7ba26007c778207f028
2018-01-17 12:47:44 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00