mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Renamed AddedCost to AddedComplexity.
llvm-svn: 27843
This commit is contained in:
parent
a52eb1d7d5
commit
5e80563052
@ -144,8 +144,8 @@ class Instruction {
|
|||||||
// code.
|
// code.
|
||||||
list<Predicate> Predicates = [];
|
list<Predicate> Predicates = [];
|
||||||
|
|
||||||
// Added cost passed onto matching pattern.
|
// Added complexity passed onto matching pattern.
|
||||||
int AddedCost = 0;
|
int AddedComplexity = 0;
|
||||||
|
|
||||||
// These bits capture information about the high-level semantics of the
|
// These bits capture information about the high-level semantics of the
|
||||||
// instruction.
|
// instruction.
|
||||||
|
@ -470,10 +470,10 @@ def setne : PatFrag<(ops node:$lhs, node:$rhs),
|
|||||||
//
|
//
|
||||||
|
|
||||||
class Pattern<dag patternToMatch, list<dag> resultInstrs> {
|
class Pattern<dag patternToMatch, list<dag> resultInstrs> {
|
||||||
dag PatternToMatch = patternToMatch;
|
dag PatternToMatch = patternToMatch;
|
||||||
list<dag> ResultInstrs = resultInstrs;
|
list<dag> ResultInstrs = resultInstrs;
|
||||||
list<Predicate> Predicates = []; // See class Instruction in Target.td.
|
list<Predicate> Predicates = []; // See class Instruction in Target.td.
|
||||||
int AddedCost = 0; // See class Instruction in Target.td.
|
int AddedComplexity = 0; // See class Instruction in Target.td.
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pat - A simple (but common) form of a pattern, which produces a simple result
|
// Pat - A simple (but common) form of a pattern, which produces a simple result
|
||||||
|
Loading…
Reference in New Issue
Block a user