- Dec 04, 2012
-
-
Chandler Carruth authored
I've tried to find main moudle headers where possible, but the TableGen stuff may warrant someone else looking at it. llvm-svn: 169251
-
- Nov 29, 2012
-
-
Jakob Stoklund Olesen authored
Use this type for arrays of physical registers. llvm-svn: 168850
-
- Nov 28, 2012
-
-
Jakob Stoklund Olesen authored
This class has been merged into its super-class TargetInstrInfo. llvm-svn: 168760
-
- Nov 20, 2012
-
-
Bill Wendling authored
When code deletes the context, the AttributeImpls that the AttrListPtr points to are now invalid. Therefore, instead of keeping a separate managed static for the AttrListPtrs that's reference counted, move it into the LLVMContext and delete it when deleting the AttributeImpls. llvm-svn: 168354
-
- Nov 16, 2012
-
-
Weiming Zhao authored
This patch replaces the hard coded GPR pair [R0, R1] of Intrinsic:arm_ldrexd and [R2, R3] of Intrinsic:arm_strexd with even/odd GPRPair reg class. Similar to the lowering of atomic_64 operation. llvm-svn: 168207
-
- Nov 09, 2012
-
-
Evandro Menezes authored
Avoid iterating over list of operands beyond the number of operands in it. PS: this fixes issue with revision #167634. llvm-svn: 167635
-
Evandro Menezes authored
Avoid iterating over list of operands beyond the number of operands in it. llvm-svn: 167634
-
- Nov 08, 2012
-
-
Michael Liao authored
- Add RTM code generation support throught 3 X86 intrinsics: xbegin()/xend() to start/end a transaction region, and xabort() to abort a tranaction region llvm-svn: 167573
-
- Nov 02, 2012
-
-
Rafael Espindola authored
"../llvm-git/utils/TableGen/CodeGenSchedule.cpp", line 1594.12: 1540-0218 (S) The call does not match any parameter list for "operator+". "../llvm-git/include/llvm/ADT/STLExtras.h", line 130.1: 1540-1283 (I) "template <class _Iterator, class Func> llvm::operator+(mapped_iterator<_Iterator,Func>::difference_type, const mapped_iterator<_Iterator,Func> &)" is not a viable candidate. Patch by Kai. llvm-svn: 167311
-
- Nov 01, 2012
-
-
Jakob Stoklund Olesen authored
Explicitly allow composition of null sub-register indices, and handle that common case in an inlinable stub. Use a compressed table implementation instead of the previous nested switches which generated pretty bad code. llvm-svn: 167190
-
- Oct 25, 2012
-
-
Kaelyn Uhrain authored
llvm-svn: 166719
-
Joerg Sonnenberger authored
Most places can use PrintFatalError as the unwinding mechanism was not used for anything other than printing the error. The single exception was CodeGenDAGPatterns.cpp, where intermediate errors during type resolution were ignored to simplify incremental platform development. This use is replaced by an error flag in TreePattern and bailout earlier in various places if it is set. llvm-svn: 166712
-
David Blaikie authored
llvm-svn: 166694
-
NAKAMURA Takumi authored
llvm-svn: 166686
-
Sebastian Pop authored
Relationship maps are represented as InstrMapping records which are parsed by TableGen and the information is used to construct mapping tables to represent appropriate relations between instructions. These tables are emitted into XXXGenInstrInfo.inc file along with the functions to query them. Patch by Jyotsna Verma <jverma@codeaurora.org>. llvm-svn: 166685
-
Joerg Sonnenberger authored
SetTheory, but pass down the location explicitly. llvm-svn: 166629
-
- Oct 21, 2012
-
-
Lang Hames authored
rather than "$src = $dst"). llvm-svn: 166382
-
- Oct 15, 2012
-
-
Bill Wendling authored
Add an enum for the return and function indexes into the AttrListPtr object. This gets rid of some magic numbers. llvm-svn: 165924
-
Bill Wendling authored
Convert the internal representation of the Attributes class into a pointer to an opaque object that's uniqued by and stored in the LLVMContext object. The Attributes class then becomes a thin wrapper around this opaque object. Eventually, the internal representation will be expanded to include attributes that represent code generation options, etc. llvm-svn: 165917
-
- Oct 13, 2012
-
-
Chad Rosier authored
MapAndConstraints vector. Also remove the unused Kind argument. llvm-svn: 165833
-
- Oct 12, 2012
-
-
Richard Trieu authored
llvm-svn: 165812
-
Sean Silva authored
isa<> et al. automatically infer when the cast is an upcast (including a self-cast), so these are no longer necessary. llvm-svn: 165767
-
Chad Rosier authored
llvm-svn: 165757
-
- Oct 10, 2012
-
-
Sean Silva authored
TableGen no longer needs RTTI! llvm-svn: 165651
-
Sean Silva authored
llvm-svn: 165648
-
Sean Silva authored
Also, some minor cleanup. llvm-svn: 165647
-
Sean Silva authored
Some of these dyn_cast<>'s would be better phrased as isa<> or cast<>. That will happen in a future patch. There are also two dyn_cast_or_null<>'s slipped in instead of dyn_cast<>'s, since they were causing crashes with just dyn_cast<>. llvm-svn: 165646
-
Bill Wendling authored
enums. These are then created via the correct Attributes creation method. llvm-svn: 165607
-
Andrew Trick authored
Consistently evaluate Aliases and Sequences recursively. llvm-svn: 165604
-
Andrew Trick authored
llvm-svn: 165602
-
- Oct 08, 2012
-
-
Micah Villmow authored
llvm-svn: 165403
-
- Oct 05, 2012
-
-
Chad Rosier authored
llvm-svn: 165324
-
Sean Silva authored
This is a mechanical change of dynamic_cast<> to dyn_cast<>. A number of these uses are actually more like isa<> or cast<>, and will be changed to the semanticaly appropriate one in a future patch. llvm-svn: 165291
-
- Oct 04, 2012
-
-
Andrew Trick authored
This allows the processor-specific machine model to override selected base opcodes without any fanciness. e.g. InstRW<[CoreXWriteVANDP], (instregex "VANDP")>. llvm-svn: 165180
-
Andrew Trick authored
A processor can now arbitrarily alias one SchedWrite onto another. Only the SchedAlias definition need be within the processor model. The aliased SchedWrite may be a SchedVariant, WriteSequence, or transitively refer to another alias. llvm-svn: 165179
-
Andrew Trick authored
llvm-svn: 165178
-
Chad Rosier authored
MSVC compiler. llvm-svn: 165174
-
- Oct 03, 2012
-
-
Sean Silva authored
llvm-svn: 165166
-
- Oct 02, 2012
-
-
Chad Rosier authored
llvm-svn: 164983
-
Chad Rosier authored
map constraints and MCInst operands to inline asm operands. This replaces the getMCInstOperandNum() function. The logic to determine the constraints are not in place, so we still default to a register constraint (i.e., "r"). Also, we no longer build the MCInst but rather return just the opcode to get the MCInstrDesc. llvm-svn: 164979
-