- Dec 30, 2012
-
-
Nuno Lopes authored
The later API is nicer than the former, and is correct regarding wrap-around offsets (if anyone cares). There are a few more places left with duplicated code, which I'll remove soon. llvm-svn: 171259
-
Bill Wendling authored
llvm-svn: 171256
-
Bill Wendling authored
llvm-svn: 171255
-
Bill Wendling authored
directly. This is in preparation for removing the use of the 'Attribute' class as a collection of attributes. That will shift to the AttributeSet class instead. llvm-svn: 171253
-
- Dec 27, 2012
-
-
Nadav Rotem authored
Refactor DAGCombinerInfo. Change the different booleans that indicate if we are before or after different runs of DAGCo, with the CombineLevel enum. Also, added a new API for checking if we are running before or after the LegalizeVectorOps phase. llvm-svn: 171142
-
Eric Christopher authored
per compile unit/skeleton compile unit. Update tests accordingly. llvm-svn: 171133
-
- Dec 25, 2012
-
-
Bob Wilson authored
These are now generally used for all diagnostics from the backend, not just for inline assembly, so this drops the "InlineAsm" from the names. No functional change. (I've left aliases for the old names but only for long enough to let me switch over clang to use the new ones.) llvm-svn: 171047
-
- Dec 24, 2012
-
-
rdar://problem/12867368Bob Wilson authored
When the backend is used from clang, it should produce proper diagnostics instead of just printing messages to errs(). Other clients may also want to register their own error handlers with the LLVMContext, and the same handler should work for warnings in the same way as the existing emitError methods. llvm-svn: 171041
-
- Dec 22, 2012
-
-
Jakob Stoklund Olesen authored
Back when this exception was added, it was skipping a lot more code, but now it just looks like a premature optimization. llvm-svn: 170989
-
Jakob Stoklund Olesen authored
The representation of the Operands array is going to change soon so it can be allocated from a BumpPtrAllocator. llvm-svn: 170988
-
- Dec 21, 2012
-
-
Roman Divacky authored
llvm-svn: 170902
-
Evan Cheng authored
llvm-svn: 170836
-
- Dec 20, 2012
-
-
Jakob Stoklund Olesen authored
Instructions that are inserted in a basic block can still be decorated with addOperand(MO). Make the two-argument addOperand() function contain the actual implementation. This function will now always have a valid MF reference that it can use for memory allocation. llvm-svn: 170798
-
Jakob Stoklund Olesen authored
This function is often used to decorate dangling instructions, so a context reference is required to allocate memory for the operands. Also add a corresponding MachineInstrBuilder method. llvm-svn: 170797
-
Jakob Stoklund Olesen authored
llvm-svn: 170796
-
Eric Christopher authored
llvm-svn: 170771
-
Eric Christopher authored
into the DwarfUnits class. llvm-svn: 170770
-
Jakob Stoklund Olesen authored
llvm-svn: 170766
-
Jakob Stoklund Olesen authored
llvm-svn: 170716
-
Jakob Stoklund Olesen authored
This is supposed to be a mechanical change with no functional effects. InstrEmitter can generate all types of MachineOperands which revealed that MachineInstrBuilder was missing a few methods, added by this patch. Besides providing a context pointer to MI::addOperand(), MachineInstrBuilder seems like a better fit for this code. llvm-svn: 170712
-
Jakob Stoklund Olesen authored
This automatically passes a context pointer to MI->addOperand(). llvm-svn: 170711
-
Bob Wilson authored
<rdar://problem/12879313> llvm-svn: 170630
-
- Dec 19, 2012
-
-
Dmitri Gribenko authored
No testcase because it is apparently not so trivial to construct. llvm-svn: 170595
-
Eric Christopher authored
the abbreviations. Part of implementing split dwarf. llvm-svn: 170589
-
Jakob Stoklund Olesen authored
Use the version that also takes an MF reference instead. It would technically be possible to extract an MF reference from the MI as MI->getParent()->getParent(), but that would not work for MIs that are not inserted into any basic block. Given the reasonably small number of places this constructor was used at all, I preferred the compile time check to a run time assertion. llvm-svn: 170588
-
Patrik Hagglund authored
Accordingly, add MVT::getVT. llvm-svn: 170550
-
Patrik Hagglund authored
llvm-svn: 170540
-
Patrik Hagglund authored
instead of EVTs. llvm-svn: 170538
-
Patrik Hagglund authored
MVTs, instead of EVTs. llvm-svn: 170537
-
Patrik Hagglund authored
from EVT. llvm-svn: 170536
-
Patrik Hagglund authored
EVTs. llvm-svn: 170535
-
Patrik Hagglund authored
EVTs. llvm-svn: 170534
-
Patrik Hagglund authored
of EVT. llvm-svn: 170532
-
Patrik Hagglund authored
instead of EVTs. llvm-svn: 170529
-
Patrik Hagglund authored
llvm-svn: 170524
-
Patrik Hagglund authored
EVT. llvm-svn: 170522
-
Patrik Hagglund authored
llvm-svn: 170510
-
Elena Demikhovsky authored
llvm-svn: 170506
-
Nadav Rotem authored
bitwidth op back to the original size. If we reduce ANDs then this can cause an endless loop. This patch changes the ZEXT to ANY_EXTEND if the demanded bits are equal or smaller than the size of the reduced operation. llvm-svn: 170505
-
Bill Wendling authored
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future. llvm-svn: 170502
-