Ignore:
Timestamp:
Jul 2, 2015, 9:28:21 AM (4 years ago)
Author:
nmedfort
Message:

Couple modifications to the UCD compiler. Splitting Multiplexing from BDD Minimization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/unicode_set.h

    r4627 r4629  
    104104
    105105        inline quad_iterator_return_t dereference() const {
    106             return std::make_pair(run(), quad());
     106            return std::make_pair(std::make_pair(type(), length()), quad());
    107107        }
    108108
     
    111111        }
    112112
    113         inline run_t run() const {
    114             return std::make_pair(std::get<0>(*mRunIterator), std::get<1>(*mRunIterator) - mOffset);
     113        inline run_type_t type() const {
     114            return std::get<0>(*mRunIterator);
     115        }
     116
     117        inline length_t length() const {
     118            return std::get<1>(*mRunIterator) - mOffset;
    115119        }
    116120
     
    138142
    139143    bool contains(const codepoint_t codepoint) const;
     144
     145    bool intersects(const codepoint_t lo_codepoint, const codepoint_t hi_codepoint) const;
    140146
    141147    void dump(llvm::raw_ostream & out) const;
Note: See TracChangeset for help on using the changeset viewer.