diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-04-19 20:36:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-04-19 20:36:09 +0000 |
commit | c81d2a041de34645859b3d4d2e85edeb3963733d (patch) | |
tree | e03ef15e3346dd048561b45b1d93e1a3006774b0 /utils/TableGen/DAGISelEmitter.h | |
parent | 533a0aa9ba8653e2a0219be442eebae02f371c88 (diff) | |
download | external_llvm-c81d2a041de34645859b3d4d2e85edeb3963733d.zip external_llvm-c81d2a041de34645859b3d4d2e85edeb3963733d.tar.gz external_llvm-c81d2a041de34645859b3d4d2e85edeb3963733d.tar.bz2 |
Rename AddedCost to AddedComplexity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index c0e984a..d30b8e3 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -395,18 +395,20 @@ namespace llvm { /// to produce isel. struct PatternToMatch { PatternToMatch(ListInit *preds, - TreePatternNode *src, TreePatternNode *dst, unsigned cost): - Predicates(preds), SrcPattern(src), DstPattern(dst), AddedCost(cost) {}; + TreePatternNode *src, TreePatternNode *dst, + unsigned complexity): + Predicates(preds), SrcPattern(src), DstPattern(dst), + AddedComplexity(complexity) {}; ListInit *Predicates; // Top level predicate conditions to match. TreePatternNode *SrcPattern; // Source pattern to match. TreePatternNode *DstPattern; // Resulting pattern. - unsigned AddedCost; // Add to matching pattern complexity. + unsigned AddedComplexity; // Add to matching pattern complexity. ListInit *getPredicates() const { return Predicates; } TreePatternNode *getSrcPattern() const { return SrcPattern; } TreePatternNode *getDstPattern() const { return DstPattern; } - unsigned getAddedCost() const { return AddedCost; } + unsigned getAddedComplexity() const { return AddedComplexity; } }; /// DAGISelEmitter - The top-level class which coordinates construction |