Ignore:
Timestamp:
Jan 19, 2017, 2:41:02 PM (3 years ago)
Author:
nmedfort
Message:

Code clean-up. Removed Pablo Call, SetIthBit? and Prototype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_manager.cpp

    r5246 r5267  
    55 */
    66
    7 #include <stdexcept>
     7#include "carry_manager.h"
    88#include <pablo/carry_data.h>
    99#include <pablo/codegenstate.h>
    10 #include <pablo/carry_manager.h>
    11 #include <pablo/pabloAST.h>
    12 #include <llvm/Support/CommandLine.h>
    1310#include <llvm/IR/BasicBlock.h>
    14 #include <llvm/IR/CallingConv.h>
    15 #include <llvm/IR/Function.h>
    16 #include <pablo/printer_pablos.h>
     11#include <IR_Gen/idisa_builder.h>
     12#include <llvm/IR/DerivedTypes.h>
     13#include <pablo/branch.h>
     14#include <pablo/pe_advance.h>
     15#include <pablo/pe_scanthru.h>
     16#include <pablo/pe_matchstar.h>
     17#include <pablo/pe_var.h>
     18
     19using namespace llvm;
    1720
    1821namespace pablo {
     
    600603}
    601604
    602 }
    603 
     605/** ------------------------------------------------------------------------------------------------------------- *
     606 * @brief constructor
     607 ** ------------------------------------------------------------------------------------------------------------- */
     608CarryManager::CarryManager(IDISA::IDISA_Builder * idb) noexcept
     609: iBuilder(idb)
     610, mKernel(nullptr)
     611, mSelf(nullptr)
     612, mFunction(nullptr)
     613, mBitBlockType(idb->getBitBlockType())
     614, mBitBlockWidth(idb->getBitBlockWidth())
     615, mCurrentFrameIndex(0)
     616, mCurrentScope(nullptr)
     617, mCarryInfo(nullptr)
     618, mCarryPackType(mBitBlockType)
     619, mCarryPackPtr(nullptr)
     620, mIfDepth(0)
     621, mLoopDepth(0) {
     622
     623}
     624
     625
     626}
     627
Note: See TracChangeset for help on using the changeset viewer.