Renamed AddedCost to AddedComplexity.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 19 Apr 2006 20:38:28 +0000 (20:38 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 19 Apr 2006 20:38:28 +0000 (20:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27843 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td
lib/Target/TargetSelectionDAG.td

index 4d6c80cf97fd6131666fbe920fef6054b72cdf9c..663dfce91e49ba5cfd37fb15e88e2eb9271b6b7f 100644 (file)
@@ -144,8 +144,8 @@ class Instruction {
   // code.
   list<Predicate> Predicates = [];
 
-  // Added cost passed onto matching pattern.
-  int AddedCost  = 0;
+  // Added complexity passed onto matching pattern.
+  int AddedComplexity  = 0;
 
   // These bits capture information about the high-level semantics of the
   // instruction.
index 38613c4188204e3b331dfb21f7a09a724d74e791..61283ae2dfba35cee1c0f69685e136f92c40e575 100644 (file)
@@ -470,10 +470,10 @@ def setne  : PatFrag<(ops node:$lhs, node:$rhs),
 //
 
 class Pattern<dag patternToMatch, list<dag> resultInstrs> {
-  dag             PatternToMatch = patternToMatch;
-  list<dag>       ResultInstrs   = resultInstrs;
-  list<Predicate> Predicates     = [];  // See class Instruction in Target.td.
-  int             AddedCost      = 0;   // See class Instruction in Target.td.
+  dag             PatternToMatch  = patternToMatch;
+  list<dag>       ResultInstrs    = resultInstrs;
+  list<Predicate> Predicates      = [];  // 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