llvm-6502/lib
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
..
Analysis Removing an "if (!this)" check from two print methods. The condition will 2014-06-09 22:53:16 +00:00
AsmParser Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
Bitcode Mark a few functions noexcept. 2014-06-10 21:26:47 +00:00
CodeGen Have isInTailCallPosition take the DAG so that we can use the 2014-06-10 20:39:38 +00:00
DebugInfo
ExecutionEngine Add a Constant version of stripPointerCasts. 2014-06-04 19:01:48 +00:00
IR Remove support for runtime multi-threading. 2014-06-10 23:01:20 +00:00
IRReader
LineEditor
Linker Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
LTO Build fix: remove initializeJumpInstrTablesPass() call from LTO 2014-06-07 20:39:53 +00:00
MC Revert "Patch by Ray Donnelly to print register names instead of numbers." 2014-06-10 20:16:36 +00:00
Object Mark a few functions noexcept. 2014-06-10 21:26:47 +00:00
Option
ProfileData Mark a few functions noexcept. 2014-06-10 21:26:47 +00:00
Support Remove support for runtime multi-threading. 2014-06-10 23:01:20 +00:00
TableGen Fix error in tablegen when either operand of !if is an empty list. 2014-06-10 20:10:08 +00:00
Target Move AArch64InstrInfo to AArch64Subtarget. 2014-06-10 22:57:25 +00:00
Transforms We already have a reference to the TargetMachine, use that. 2014-06-10 20:39:39 +00:00
CMakeLists.txt
LLVMBuild.txt ProfileData: Introduce the InstrProfReader interface and a text reader 2014-03-21 17:24:48 +00:00
Makefile