Ignore:
Timestamp:
Aug 29, 2016, 3:37:03 PM (3 years ago)
Author:
cameron
Message:

Some clean ups of encoding info for ccc restructuring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/u8u16.cpp

    r5133 r5137  
    3636#include <kernels/stdout_kernel.h>
    3737
    38 #include <utf_encoding.h>
    3938
    4039// mmap system
     
    5352namespace pablo {
    5453
    55 PabloFunction * u8u16_pablo(const Encoding encoding) {
     54PabloFunction * u8u16_pablo() {
    5655    //  input: 8 basis bit streams
    5756    //  output: 16 u8-indexed streams, + delmask stream + error stream
    5857    PabloFunction * function = PabloFunction::Create("u8u16", 8, 18);
    59     cc::CC_Compiler ccc(*function, encoding);
     58    cc::CC_Compiler ccc(*function);
    6059   
    6160    PabloBuilder pBuilder(ccc.getBuilder().getPabloBlock(), ccc.getBuilder());
     
    295294    IDISA::IDISA_Builder * idb = IDISA::GetIDISA_Builder(M);
    296295
    297     Encoding encoding(Encoding::Type::UTF_8, 8);
    298     pablo::PabloFunction * function = pablo::u8u16_pablo(encoding);
     296    pablo::PabloFunction * function = pablo::u8u16_pablo();
    299297   
    300298    llvm::Function * main_IR = u8u16Pipeline(M, idb, function);
Note: See TracChangeset for help on using the changeset viewer.