llvm-6502/include/llvm-c
Zachary Turner 529e9d307e Remove support for runtime multi-threading.
This patch removes the functions llvm_start_multithreaded() and
llvm_stop_multithreaded(), and changes llvm_is_multithreaded()
to return a constant value based on the value of the compile-time
definition LLVM_ENABLE_THREADS.

Previously, it was possible to have compile-time support for
threads on, and runtime support for threads off, in which case
certain mutexes were not allocated or ever acquired.  Now, if the
build is created with threads enabled, mutexes are always acquired.

A test before/after patch of compiling a very large TU showed no
noticeable performance impact of this change.

Reviewers: rnk

Differential Revision: http://reviews.llvm.org/D4076

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210600 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-10 23:01:20 +00:00
..
Transforms The LLVM C API shouldn't be including a file from the C++ API. Especially not a 2014-04-08 10:47:04 +00:00
Analysis.h
BitReader.h
BitWriter.h
Core.h Remove support for runtime multi-threading. 2014-06-10 23:01:20 +00:00
Disassembler.h
ExecutionEngine.h
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h Move LTOModule and LTOCodeGenerator to the llvm namespace. 2014-05-03 14:59:52 +00:00
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Object.h Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
Support.h
Target.h
TargetMachine.h