Ignore:
Timestamp:
Jul 5, 2015, 11:16:28 AM (4 years ago)
Author:
cameron
Message:

Pablo compiler refactoring step

File:
1 edited

Legend:

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

    r4628 r4640  
    108108
    109109    void genPrintRegister(std::string regName, Value * bitblockValue);
    110     void compileBlock(const PabloBlock & blk);
     110    void compileBlock(PabloBlock & blk);
    111111    void compileStatement(const Statement * stmt);
    112112    void compileIf(const If * ifStmt);
     
    115115    Value* genCarryDataLoad(const unsigned index);
    116116    void   genCarryDataStore(Value* carryOut, const unsigned index);
    117     Value* genAddWithCarry(Value* e1, Value* e2, unsigned localIndex, const PabloBlock * blk);
    118     Value* genAdvanceWithCarry(Value* e1, int shift_amount, unsigned localIndex, const PabloBlock * blk);
    119     Value* genUnitAdvanceWithCarry(Value* e1, unsigned localIndex, const PabloBlock * blk);
    120     Value* genLongAdvanceWithCarry(Value* e1, int shift_amount, unsigned localIndex, const PabloBlock * blk);
     117    Value* genAddWithCarry(Value* e1, Value* e2, unsigned localIndex);
     118    Value* genAdvanceWithCarry(Value* e1, int shift_amount, unsigned localIndex);
     119    Value* genUnitAdvanceWithCarry(Value* e1, unsigned localIndex);
     120    Value* genLongAdvanceWithCarry(Value* e1, int shift_amount, unsigned localIndex);
    121121    Value* genBitBlockAny(Value* test);
    122122    Value* genShiftHighbitToLow(unsigned FieldWidth, Value * op);
     
    153153    PointerType*                        mBasisBitsInputPtr;
    154154
     155    PabloBlock *                        mPabloBlock;
     156   
    155157    Value*                              mCarryDataPtr;
    156158    Value*                              mBlockNo;
Note: See TracChangeset for help on using the changeset viewer.