summaryrefslogtreecommitdiffstats
path: root/libclc/utils/prepare-builtins.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC"Jan Vesely2019-08-051-2/+2
| | | | | | | This reverts commit 58c814614d2ac69bcf79b09543505fac80ada4e6. Fixes build breakage using LLVM<7. llvm-svn: 367893
* Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFCFangrui Song2019-08-051-2/+2
| | | | | | F_{None,Text,Append} are kept for compatibility since r334221. llvm-svn: 367800
* utils: Adapt to llvm r325155Jan Vesely2018-02-231-0/+4
| | | | | | | | | r325155 ("Pass a reference to a module to the bitcode writer.") changed bit writer interface from pointer to reference Reviewer: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325867
* Restore support for llvm-3.9Jan Vesely2017-09-291-0/+9
| | | | | | Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Acked-by: Aaron Watry <awatry@gmail.com> llvm-svn: 314543
* prepare_builtins: Fix compile breakage with older LLVMJan Vesely2017-09-251-0/+5
| | | | | | | | | Fixes r314050 reviewer: Tom Stellard Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314111
* [Support] Rename tool_output_file to ToolOutputFile, NFCReid Kleckner2017-09-231-2/+2
| | | | | | | This class isn't similar to anything from the STL, so it shouldn't use the STL naming conventions. llvm-svn: 314050
* Move BufferPtr into the block where it it being usedJeroen Ketema2017-02-121-3/+3
| | | | | | | The previous location outside the block would crash prepare-builtins when no the builtins file accidentially not passed on the command line. llvm-svn: 294916
* Fix build since r286752.Tom Stellard2016-11-141-1/+2
| | | | llvm-svn: 286839
* Fix build since llvm r286566 and require at least llvm 4.0Tom Stellard2016-11-111-1/+2
| | | | llvm-svn: 286634
* Strip opencl.ocl.version metadataMatt Arsenault2016-08-251-0/+7
| | | | | | | | | | This should be uniqued when linking, but right now it creates a lot of metadata spam listing the same version. This should also probably be reporting the compiled version of the user program, which may differ from the library. Currently the library IR files report 1.0 while 1.1/1.2 are the default for user programs. llvm-svn: 279692
* prepare-builtins: Remove call to getGlobalContext()Tom Stellard2016-04-151-1/+1
| | | | | | | | This function has been removed from LLVM. Patch By: Laurent Carlier llvm-svn: 266430
* Require LLVM >=3.7 and bump version to 0.2.0Jeroen Ketema2015-08-071-14/+2
| | | | | | | | v2: Also remove LLVM 3.6 traces from prepare-builtins.cpp Patch by: EdB llvm-svn: 244310
* prepare-builtins: Fix build with LLVM 3.6Tom Stellard2015-07-101-1/+1
| | | | | | Patch by: Tomasz Borowik llvm-svn: 241905
* Properly initialize Module pointerJeroen Ketema2015-06-271-1/+1
| | | | llvm-svn: 240881
* prepare-builtins: Fix build with LLVM 3.7Tom Stellard2015-06-241-6/+19
| | | | llvm-svn: 240552
* Require LLVM 3.6 and bump version to 0.1.0Tom Stellard2014-12-311-49/+2
| | | | | | | | Some functions are implemented using hand-written LLVM IR, and LLVM assembly format is allowed to change between versions, so we should require a specific version of LLVM. llvm-svn: 225041
* Fix build against LLVM SVN >= r216488Michel Danzer2014-08-281-0/+5
| | | | | Tested-by: Aaron Watry <awatry@gmail.com> llvm-svn: 216654
* Fix build against LLVM SVN >= r216393Michel Danzer2014-08-281-0/+13
| | | | | Tested-by: Aaron Watry <awatry@gmail.com> llvm-svn: 216653
* Include llvm-config.h instead of config.hNiels Ole Salscheider2014-08-221-1/+1
| | | | | | Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 216296
* prepare-builtins: Fix broken build due to recent LLVM API changeTom Stellard2014-07-071-0/+7
| | | | llvm-svn: 212470
* Fix breakage after r211259Jeroen Ketema2014-06-211-9/+11
| | | | | | | While we are here introduce the proper headers for the error code. Reviewed-by: Tom Stellard <tom@stellard.net> llvm-svn: 211432
* prepare-builtins: Use std:: prefix for error_codeTom Stellard2014-06-131-2/+11
| | | | | | This fixes the build with with newer LLVM. llvm-svn: 210867
* Remove unused include which breaks build after r210803Jeroen Ketema2014-06-121-1/+0
| | | | | | Tested with llvm 3.4 and trunk. llvm-svn: 210825
* Fix build broken by LLVM commit r209103Jeroen Ketema2014-06-031-0/+4
| | | | | Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 210111
* Fix build broken by LLVM commit r207593Tom Stellard2014-04-301-0/+1
| | | | llvm-svn: 207685
* Fix build since r202052Tom Stellard2014-02-241-1/+3
| | | | | | sys::fs_F_Binary has been replaced with sys::fs_F_Text llvm-svn: 202081
* Fix build broken by LLVM commit r199279Tom Stellard2014-01-201-1/+10
| | | | | | | | | Patch by: Udo van den Heuvel Tom Stellard: - Added ifdef and error handling llvm-svn: 199687
* Fix build with LLVM 3.4Aaron Watry2013-07-181-0/+5
| | | | | | | | | F_Binary and friends were moved to include/Support/FileSystem.h v2: Maintain compatibility with LLVM 3.3 Signed-off-by: Aaron Watry <awatry@gmail.com> llvm-svn: 186610
* Fix build with LLVM 3.3Tom Stellard2013-06-261-4/+4
| | | | | | Patch by: Niels Ole Salscheider llvm-svn: 184989
* Initial commit.Peter Collingbourne2012-01-081-0/+81
llvm-svn: 147756
OpenPOWER on IntegriCloud