Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
bc041b82d44b51a3b7da79c38e4052e28ff8011c
/
llvm
/
utils
/
TableGen
/
CodeGenDAGPatterns.cpp
b48275f
Add IntrWrite[Arg]Mem intrinsic property
by Nicolai Haehnle
· 10 years ago
152c18e
[TableGen] Make an error message slightly more informative
by Nicolai Haehnle
· 10 years ago
28851b6
[TableGen] Store result of getInstructionsByEnumValue in an ArrayRef instead of accidentally copying to a vector.
by Craig Topper
· 10 years ago
1282df5
[TableGen] Remove an assumption about the order of encodings in the MVT::SimpleValueType enum. Instead of assuming the types are sorted by size, scan the typeset arrays to find the smallest/largest type. NFC
by Craig Topper
· 10 years ago
3522ab3
[TableGen] Use SmallString instead of std::string to build up a string to avoid heap allocations. NFC
by Craig Topper
· 10 years ago
8985efe
[TableGen] Sort pattern predicates before concatenating into a string so that different orders of the same set will produce the same string. This can reduce the number of unique predicates in the isel tables. NFC
by Craig Topper
· 10 years ago
9a44b3f
[SelectionDAG] Add a SDTCisSameSizeAs type constraint that can be used to ensure vector widths match even if the element size and count don't.
by Craig Topper
· 10 years ago
25ce6b8
[TableGen] Flip reversed comments.
by Craig Topper
· 10 years ago
5712d46
[TableGen] Use std::remove_if instead of manually coded loops that call erase multiple times. NFC
by Craig Topper
· 10 years ago
16f1cbd
[TableGen] Use the other version of EnforceVectorEltTypeIs inside the TypeSet version of EnforceVectorEltTypeIs to reduce duplicated code. NFC
by Craig Topper
· 10 years ago
dbfcc10
[TableGen] Fix formatting and use logical OR. NFC
by Craig Topper
· 10 years ago
fef745c
[TableGen] Use std::set_intersection to merge TypeSets. NFC
by Craig Topper
· 10 years ago
4856c81
[TableGen] Use SmallVector::assign instead of a resize and replace element.
by Craig Topper
· 10 years ago
de2d759
[TableGen] Use std::remove_if instead of manually coded loops that called erase inside them. NFC
by Craig Topper
· 10 years ago
d2177de
[TableGen] Use empty() instead of checking if size of vector is greater than or equal to 1.
by Craig Topper
· 10 years ago
2f70a7e
Revert a portion of r253836 that seems to have broke a couple bots.
by Craig Topper
· 10 years ago
306cb12
[TableGen] Use range-based for loops. NFC
by Craig Topper
· 10 years ago
43c414f
[TableGen] Use std::fill instead of a manually coded loop. NFC
by Craig Topper
· 10 years ago
fda69dd
Further simplify from r253832 with some unique_ptr and coalescing conditions
by David Blaikie
· 10 years ago
b8fc018
Further simplify from r253832, removing unnecessary intermediate lambdas
by David Blaikie
· 10 years ago
cbdc27e
[TableGen] Use std::any_of and std::find instead of manual loops. NFC
by Craig Topper
· 10 years ago
5b0f57d
[TableGen] Add a space between type and '*' in front of a variable name in output file. While there replace type with 'auto' since there's a cast on the right side of the assignment. NFC
by Craig Topper
· 10 years ago
e9ffb45
Fix typos.
by Bruce Mitchener
· 10 years ago
36b718f
Avoid a Symbol -> Name -> Symbol conversion.
by Rafael Espindola
· 10 years ago
ef0578a
[TableGen] Use range-based for loops. NFC.
by Craig Topper
· 10 years ago
f5e2fc4
Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types
by Benjamin Kramer
· 10 years ago
ec9072d
[TableGen] Replace some calls to ListInit::getSize() with ListInit::empty() if it was just comparing to 0. NFC.
by Craig Topper
· 10 years ago
e452e27
Fix tablegen's PrintFatalError function to run registered file cleanups.
by James Y Knight
· 10 years ago
1bf3d1f
[TableGen] Use 'isa' to identify UnsetInits rather than comparing with the singleton object created by UnsetInit::get(). Makes it more consistent with the other types.
by Craig Topper
· 11 years ago
3a8eb89
[Tablegen] Attempt to add support for patterns containing nodes with multiple results.
by Craig Topper
· 11 years ago
7bbd37b
Improve and simplify EnforceSmallerThan for vector types.
by Craig Topper
· 11 years ago
0d1fb90
Remove extra indentation of entire function body. NFC.
by Craig Topper
· 11 years ago
35b3dbc
Revert "[TableGen] Implement at least some support for multiple explicit results in an instruction pattern. No functional change to existing patterns."
by Craig Topper
· 11 years ago
5edbf1c
[TableGen] Implement at least some support for multiple explicit results in an instruction pattern. No functional change to existing patterns.
by Craig Topper
· 11 years ago
0be3458
[TableGen] Add support constraining a vector type in a pattern to have a specific element type and for constraining a vector type to have the same number of elements as another vector type. This is useful for AVX512 mask operations so we relate the mask type to the type of the other arguments.
by Craig Topper
· 11 years ago
483a300
[Tablegen] Use correct result number variables with the pattern nodes they go with when handling SDTCisSameAs. No functional change as they are always both 0 unless you try to define a multi result type profile that uses SDTCisSame on one of the other results.
by Craig Topper
· 11 years ago
0995479
Reverted 230471 - gather scatter handling in table gen.
by Elena Demikhovsky
· 11 years ago
56eadcf
AVX-512: Gather and Scatter patterns
by Elena Demikhovsky
· 11 years ago
75a4f35
Intrinsics: introduce llvm_any_ty aka ValueType Any
by Ramkumar Ramachandra
· 11 years ago
5be22a1
Clean up static analyzer warnings.
by Michael Ilseman
· 11 years ago
9ece3ce
Try to include operand counts for mismatches in tablegen.
by Matt Arsenault
· 11 years ago
bf82611
Remove neverHasSideEffects support from TableGen CodeGenInstruction. Everyone should use hasSideEffects now.
by Craig Topper
· 11 years ago
cf19530
Revert "Improve memory ownership/management in TableGen by unique_ptrifying TreePattern's Tree member."
by David Blaikie
· 11 years ago
8922a17
Improve memory ownership/management in TableGen by unique_ptrifying TreePattern's Tree member.
by David Blaikie
· 11 years ago
4ac0c0c
Turn a leaked object into a stack variable instead.
by David Blaikie
· 11 years ago
3c6ca23
Use unique_ptr to handle ownership of TreePatterns in CodeGenDAGPatterns::PatternFragments
by David Blaikie
· 11 years ago
ea8df3a
Make TreePattern::error use Twine
by Matt Arsenault
· 11 years ago
eb49216
Support REG_SEQUENCE in tablegen.
by Matt Arsenault
· 11 years ago
6655dd6
TableGen: Allow AddedComplexity values to be negative
by Tom Stellard
· 11 years ago
a0cc165
Revert of r213521. This change introduced a non-hermetic test (depending on a
by Richard Smith
· 11 years ago
edf1570
TableGen: Allow AddedComplexity values to be negative
by Tom Stellard
· 11 years ago
37b8093
Change an assert() to a diagnostic.
by Jim Grosbach
· 11 years ago
c350acf
ARM64: separate load/store operands to simplify assembler
by Tim Northover
· 11 years ago
c807a17
TableGen: permit non-leaf ComplexPattern uses
by Tim Northover
· 11 years ago
e96dd89
[Modules] Make Support/Debug.h modular. This requires it to not change
by Chandler Carruth
· 12 years ago
2406477
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
by Craig Topper
· 12 years ago
48e7e85
tblgen: Twinify PrintFatalError.
by Benjamin Kramer
· 12 years ago
2756dc1
Add an OutPatFrag TableGen class
by Hal Finkel
· 12 years ago
74169dc
Improve handling of EnforceSmallerThan. Remove all types that are smaller from the larger set not just the smallest type from the smaller set. Ensure 'smaller' vectors have the same or fewer total bits. Similar for 'larger' vectors.
by Craig Topper
· 12 years ago
6e1faaf
Don't use EnforceSmallerThan for EnforceVectorSubVectorTypeIs. EnforceSmallerThan doesn't handle vectors quite right and should really enforce that vectors have the same number of elements. Add explicit checks for vector element count differing in EnforceVectorSubVectorTypeIs instead. This removes some unnecessary type checks in X86GenDAGISel.inc.
by Craig Topper
· 12 years ago
5f730e8
Use isConcrete and getConcrete instead of using TypeVec directly.
by Craig Topper
· 12 years ago
6dbcb94
Fix EnforceSmallerThan to check !hasVectorTypes on the other type instead of this type to force this type to be scalar.
by Craig Topper
· 12 years ago
49f1c2a
[TableGen] Handle ValueType in CodeGenDAGPatterns GetNumNodeResults
by Hal Finkel
· 12 years ago
a70ecdc
TableGen: remove unused variable.
by Ahmed Bougacha
· 12 years ago
1410751
TableGen: Refactor DAG patterns to enable parsing one pattern at a time.
by Ahmed Bougacha
· 12 years ago
95198f4
Replace EVT with MVT in CodeGenDAGAPatterns.cpp.
by Craig Topper
· 12 years ago
9836f59
Fix formatting to match coding standards.
by Craig Topper
· 12 years ago
af0dea1
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
by Craig Topper
· 12 years ago
99ffcc8
Allow types to be omitted in output patterns.
by Jakob Stoklund Olesen
· 13 years ago
04b0f91
Allow direct value types to be used in instruction 'set' patterns.
by Jakob Stoklund Olesen
· 13 years ago
d906b90
Allow direct value types in pattern definitions.
by Jakob Stoklund Olesen
· 13 years ago
b5b9110
Make all unnamed RegisterClass TreePatternNodes typed MVT::i32.
by Jakob Stoklund Olesen
· 13 years ago
e618abd
Extend TableGen instruction selection matcher to improve handling
by Ulrich Weigand
· 13 years ago
57a8650
Extract a method.
by Jakob Stoklund Olesen
· 13 years ago
13d4a07
Use ArrayRef<MVT::SimpleValueType> when possible.
by Jakob Stoklund Olesen
· 13 years ago
91d19d8
Sort the #include lines for utils/...
by Chandler Carruth
· 13 years ago
41a73b7
Don't return false when the function's return type is a pointer.
by Kaelyn Uhrain
· 13 years ago
635debe
Remove exception handling usage from tblgen.
by Joerg Sonnenberger
· 13 years ago
88eb8dd
tblgen: Use semantically correct RTTI functions.
by Sean Silva
· 13 years ago
fb509ed
tblgen: Mechanically move dynamic_cast<> to dyn_cast<>.
by Sean Silva
· 13 years ago
dee6583
Soften the pattern-can-never-match error in TableGen into a warning. This pattern can be very useful in cases where you want to define a multiclass that covers both commutative and non-commutative operators (say, add and sub).
by Owen Anderson
· 13 years ago
a4e2c5f
Refactor Record* by-ID comparator to Record.h
by Sean Silva
· 13 years ago
16ba4b2
Improve tblgen code cleanliness: create an unknown_class, from which the unknown def inherits. Make tblgen check for that class, rather than checking for the def itself.
by Owen Anderson
· 13 years ago
b7246a7
Tablegen: Add OperandWithDefaultOps Operand type
by Tom Stellard
· 13 years ago
a9d322a
Check all patterns for missing instruction flags.
by Jakob Stoklund Olesen
· 13 years ago
228e6d4
Fix integer undefined behavior due to signed left shift overflow in LLVM.
by Richard Smith
· 13 years ago
c2272df
Infer instruction properties from single-instruction patterns.
by Jakob Stoklund Olesen
· 13 years ago
f5dc1bc
Stop inferring isVariadic from instruction patterns.
by Jakob Stoklund Olesen
· 13 years ago
8a276c2
Verify explicit instruction properties when they can be inferred.
by Jakob Stoklund Olesen
· 13 years ago
94ed4d4
Heed guessInstructionProperties, and stop warning on redundant flags.
by Jakob Stoklund Olesen
· 13 years ago
ab27c5e
TableGen: Pattern<> references to null_frag are a nop.
by Jim Grosbach
· 13 years ago
514410b
TableGen: Allow conditional instruction pattern in multiclass.
by Jim Grosbach
· 13 years ago
11983a4
tblgen: remove duplicated newlines.
by Benjamin Kramer
· 14 years ago
1752ffb
Tidy up. No need for a Twine here, as it's just constants.
by Jim Grosbach
· 14 years ago
7670374
Clean up warning text. Remove extraneous prefix.
by Jim Grosbach
· 14 years ago
3ae48a6
TableGen use PrintWarning rather than fprintf(stderr,...) for warnings.
by Jim Grosbach
· 14 years ago
b0640db
Include cstdio in a few place that depended on getting it transitively through StringExtras.h
by Benjamin Kramer
· 14 years ago
c4965bc
Convert assert(0) to llvm_unreachable
by Craig Topper
· 14 years ago
a5708dc
Provide better messages in llvm_unreachable.
by David Blaikie
· 14 years ago
b48ed1a
Remove unreachable code. (replace with llvm_unreachable to help GCC where necessary)
by David Blaikie
· 14 years ago
Next »