1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/ADT
Daniel Dunbar 775da1948b Pass target triple string in to TargetMachine constructor.
This is not just a matter of passing in the target triple from the module;
currently backends are making decisions based on the build and host
architecture. The goal is to migrate to making these decisions based off of the
triple (in conjunction with the feature string). Thus most clients pass in the
target triple, or the host triple if that is empty.

This has one important change in the way behavior of the JIT and llc.

For the JIT, it was previously selecting the Target based on the host
(naturally), but it was setting the target machine features based on the triple
from the module. Now it is setting the target machine features based on the
triple of the host.

For LLC, -march was previously only used to select the target, the target
machine features were initialized from the module's triple (which may have been
empty). Now the target triple is taken from the module, or the host's triple is
used if that is empty. Then the triple is adjusted to match -march.

The take away is that -march for llc is now used in conjunction with the host
triple to initialize the subtarget. If users want more deterministic behavior
from llc, they should use -mtriple, or set the triple in the input module.

llvm-svn: 77946
2009-08-03 04:03:51 +00:00
..
APFloat.h Dcoument that the opauque value used to construct QNaNs is truncated 2009-06-01 21:02:35 +00:00
APInt.h Reapply 74494, this time removing the conflicting definition of operator<< 2009-06-30 20:10:56 +00:00
APSInt.h Fix bug where APSInt::operator-- incremented instead of decremented. 2009-02-16 22:39:08 +00:00
BitVector.h Use CHAR_BIT instead of hard-coding 8 in several places where it 2009-04-01 18:45:54 +00:00
DenseMap.h Split DenseMapInfo into a separate header file, so that it can be 2009-07-31 18:18:19 +00:00
DenseMapInfo.h Split DenseMapInfo into a separate header file, so that it can be 2009-07-31 18:18:19 +00:00
DenseSet.h Add range insert method for DenseSet and define DenseMapInfo for chars. 2009-04-01 19:50:49 +00:00
DepthFirstIterator.h enhance DepthFirstIterator to support more robust operations in the face 2009-07-23 06:30:28 +00:00
EquivalenceClasses.h
FoldingSet.h Add an optional optimization to FoldingSet to allow ID values to be 2009-07-13 18:25:44 +00:00
GraphTraits.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
HashExtras.h Fixed spelling. 2009-04-01 21:33:08 +00:00
ilist_node.h Revert r67844. This fixes the llvm-gcc-4.2 build on Darwin. 2009-03-27 18:37:13 +00:00
ilist.h fix build on VC++2k8. 2009-06-02 20:32:59 +00:00
ImmutableList.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
ImmutableMap.h Correctly implement ImmutableMap::getMaxElement() by getting the actual <key, value> pair. 2009-02-23 17:28:16 +00:00
ImmutableSet.h Make default ctor for ImmutableSet::iterator public. 2009-08-01 01:28:23 +00:00
IndexedMap.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
IntrusiveRefCntPtr.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
iterator.cmake
iterator.h.in Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
OwningPtr.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
PointerIntPair.h I cast, therefore I think I know what I'm doing. 2009-04-26 20:12:38 +00:00
PointerUnion.h Fix a typo, and all of its copies 2009-07-29 18:27:22 +00:00
PostOrderIterator.h fix a bug in post-order iterators with external storage, patch by 2009-07-07 18:43:48 +00:00
PriorityQueue.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
SCCIterator.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
ScopedHashTable.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
SetOperations.h
SetVector.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
SmallPtrSet.h Make SmallPtrSet iterators real iterators 2009-07-08 23:53:54 +00:00
SmallSet.h add a range insertion method to SmallSet. 2009-05-04 02:19:15 +00:00
SmallString.h Fix a fixme, patch by Ryan Flynn! 2009-07-15 00:36:04 +00:00
SmallVector.h Tighten up the asserts in SmallVector::operator[](). 2009-05-21 19:48:58 +00:00
SparseBitVector.h Add a missing ilist_node.h #include to SparseBitVector, and add a very short 2009-07-25 00:33:57 +00:00
Statistic.h Fix the build on Cygwin. Patch by Aaron Gray. 2009-06-30 05:33:46 +00:00
STLExtras.h Fixed lint errors: 2009-02-20 22:20:18 +00:00
StringExtras.h Remove itohexstr, which only had one user. 2009-07-30 18:18:54 +00:00
StringMap.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
StringRef.h Use the RHS length instead of the LHS length. They are both the same, 2009-07-26 17:46:03 +00:00
StringSet.h Remove extra blank line and space. 2009-01-08 06:11:51 +00:00
Trie.h Fix some comments referring to std::cerr. 2009-08-03 01:02:24 +00:00
Triple.h Pass target triple string in to TargetMachine constructor. 2009-08-03 04:03:51 +00:00
Twine.h Twine: Directly support int, long, and long long types. 2009-07-30 21:15:14 +00:00
UniqueVector.h Removed trailing whitespace. 2009-01-09 19:25:42 +00:00
VectorExtras.h