llvm-project/llvm/include/llvm-c
James Henderson 48c0688a36 [ThinLTO]Allow setting of maximum cache size with 64-bit number
Also added a C-interface function for large values, and updated
llvm-lto's --thinlto-cache-max-size-bytes switch to take a type larger
than int.

The maximum cache size in terms of bytes is a 64-bit number. However,
the methods to set it only took unsigned previously, which meant that
the maximum cache size could not be specified above 4GB. That's quite
small compared to the output of some projects, so it makes sense to
provide the ability to set larger values in that field.

We also needed a C-interface function that provides a greater range
than the existing thinlto_codegen_set_cache_size_bytes, which also only
takes an unsigned, so this change also adds
hinlto_codegen_set_cache_size_megabytes.

Reviewed by: mehdi_amini, tejohnson, steven_wu

Differential Revision: https://reviews.llvm.org/D52023

llvm-svn: 342233
2018-09-14 12:51:19 +00:00
..
Transforms [Aggressive InstCombine] Move C bindings to their own header file. 2018-09-05 11:41:12 +00:00
Analysis.h
BitReader.h
BitWriter.h
Comdat.h [LLVM-C] [bindings/go] Add C and Golang bindings for COMDAT 2018-03-14 18:33:53 +00:00
Core.h [LLVM-C] Add Bindings For Named Metadata 2018-08-30 17:09:43 +00:00
DataTypes.h Assume existence of inttypes.h and stdint.h in DataTypes.h. 2018-04-02 13:22:26 +00:00
DebugInfo.h [C-API][DIBuilder] Added DIFlags in LLVMDIBuilderCreateBasicType 2018-08-19 23:39:47 +00:00
Disassembler.h Split Disassembler.h in two to fix dependencies 2018-03-29 00:29:44 +00:00
DisassemblerTypes.h Split Disassembler.h in two to fix dependencies 2018-03-29 00:29:44 +00:00
Error.h [Support] Add a basic C API for llvm::Error. 2018-08-15 18:42:11 +00:00
ErrorHandling.h
ExecutionEngine.h Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
IRReader.h
Initialization.h [AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API. 2018-04-24 00:39:29 +00:00
LinkTimeOptimizer.h
Linker.h
Object.h
OrcBindings.h [ORC][C-API] Expose LLVMOrc{Unr,R}egisterJITEventListener(). 2018-05-24 21:32:52 +00:00
Support.h Reapply Support layering fixes. 2018-03-21 17:31:49 +00:00
Target.h
TargetMachine.h [AArch64] Add Tiny Code Model for AArch64 2018-08-22 11:31:39 +00:00
Types.h [LLVM-C] Add Bindings For Named Metadata 2018-08-30 17:09:43 +00:00
lto.h [ThinLTO]Allow setting of maximum cache size with 64-bit number 2018-09-14 12:51:19 +00:00
module.modulemap