Ignore:
Timestamp:
Mar 18, 2016, 5:45:18 AM (3 years ago)
Author:
cameron
Message:

Remove mod64 junk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pe_advance.h

    r4959 r4980  
    4747};
    4848
    49 class Mod64Advance : public Statement {
    50     friend class PabloBlock;
    51 public:
    52     static inline bool classof(const PabloAST * e) {
    53         return e->getClassTypeId() == ClassTypeId::Mod64Advance;
    54     }
    55     static inline bool classof(const void *) {
    56         return false;
    57     }
    58     virtual ~Mod64Advance() {
    59     }
    60     inline PabloAST * getExpr() const {
    61         return getOperand(0);
    62     }
    63     inline Integer::Type getAmount() const {
    64         return cast<Integer>(getOperand(1))->value();
    65     }
    66 protected:
    67     Mod64Advance(PabloAST * expr, PabloAST * shiftAmount, String * name)
    68     : Statement(ClassTypeId::Mod64Advance, {expr, shiftAmount}, name)
    69     {
    70         assert(isa<Integer>(shiftAmount));
    71     }
    72 };
    73 
    7449}
    7550
Note: See TracChangeset for help on using the changeset viewer.