Ignore:
Timestamp:
May 30, 2018, 12:41:51 AM (12 months ago)
Author:
xwa163
Message:
  1. Enable swizzled match copy in multiplexing lz4_grep for some special case
  2. Implement some lz4 AIO (all-in-one) pipeline and related kernel
File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/CBuilder.cpp

    r6012 r6059  
    295295    }
    296296    return dprintf;
     297}
     298
     299void CBuilder::CallPrintIntCond(const std::string & name, llvm::Value * const value, llvm::Value * const cond) {
     300    BasicBlock* callBlock = this->CreateBasicBlock("callBlock");
     301    BasicBlock* exitBlock = this->CreateBasicBlock("exitBlock");
     302    this->CreateCondBr(cond, callBlock, exitBlock);
     303
     304    this->SetInsertPoint(callBlock);
     305    this->CallPrintInt(name, value);
     306
     307    this->CreateBr(exitBlock);
     308    this->SetInsertPoint(exitBlock);
    297309}
    298310
Note: See TracChangeset for help on using the changeset viewer.