aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/DFAPacketizerEmitter.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-04-21Simplify DFAPacketizerEmitter State copy/move semantics to use compiler ↵David Blaikie1-6/+0
defaults. llvm-svn: 206824
2014-04-21Fix builds that use an stl missing std::set::emplaceDavid Blaikie1-1/+1
llvm-svn: 206821
2014-04-21Store State objects by value in TableGen's DFAPacketizerEmitterDavid Blaikie1-34/+30
Removes some extra manual dynamic memory allocation/management. It does get a bit quirky having to make State's members mutable and pointers/references to const rather than non-const, but that's a necessary workaround to dealing with the std::set elements. llvm-svn: 206807
2014-04-17remove some dead codeNuno Lopes1-7/+0
lib/Analysis/IPA/InlineCost.cpp | 18 ------------------ lib/Analysis/RegionPass.cpp | 1 - lib/Analysis/TypeBasedAliasAnalysis.cpp | 1 - lib/Transforms/Scalar/LoopUnswitch.cpp | 21 --------------------- lib/Transforms/Utils/LCSSA.cpp | 2 -- lib/Transforms/Utils/LoopSimplify.cpp | 6 ------ utils/TableGen/AsmWriterEmitter.cpp | 13 ------------- utils/TableGen/DFAPacketizerEmitter.cpp | 7 ------- utils/TableGen/IntrinsicEmitter.cpp | 2 -- 9 files changed, 71 deletions(-) llvm-svn: 206506
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check ↵Craig Topper1-2/+2
instead of comparing to nullptr. llvm-svn: 206254
2012-12-10Fix PR14568: Avoid the DFA packetizer from making an invalid readAnshuman Dasgupta1-1/+10
beyond array bounds. No test case since I cannot reproduce an ICE with this bug. According to Carlos -- the bug reporter -- a segfault occurs only when LLVM is compiled with a specific version of GCC. llvm-svn: 169783
2012-09-07Refactored DFA generator. Merged transition class into state class.Anshuman Dasgupta1-117/+51
Patch by Ivan Llopard! llvm-svn: 163424
2012-06-28Fix Windows build after r159281: s/iterator/const_iteratorAlexey Samsonov1-1/+1
llvm-svn: 159334
2012-06-28Silence unused variable warning.Richard Trieu1-0/+1
llvm-svn: 159316
2012-06-27Refactor and speed up DFA generator.Anshuman Dasgupta1-21/+48
Patch by Ivan Llopard! llvm-svn: 159281
2012-06-11Write llvm-tblgen backends as functions instead of sub-classes.Jakob Stoklund Olesen1-7/+48
The TableGenBackend base class doesn't do much, and will be removed completely soon. Patch by Sean Silva! llvm-svn: 158311
2012-03-12DFAPacketizerEmitter: Prune includes.Benjamin Kramer1-2/+0
llvm-svn: 152581
2012-02-03Increment DFAStateEntryTable index for sentinel entry.Brendon Cahoon1-1/+3
When adding the {-1, -1} entry to the DFAStateInputTable, we need to increment the index used to populate the DFAStateEntryTable. Otherwise, the entry table will be off by one for each transition after the {-1, -1} entry. PR11908. llvm-svn: 149713
2011-12-06use space star instead of star spaceSebastian Pop1-27/+27
llvm-svn: 145944
2011-12-06add missing point at the end of sentencesSebastian Pop1-64/+64
llvm-svn: 145943
2011-12-01Add a deterministic finite automaton based packetizer for VLIW architecturesAnshuman Dasgupta1-0/+512
llvm-svn: 145629