Ignore:
Timestamp:
Jan 19, 2017, 2:41:02 PM (2 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/array-test.cpp

    r5256 r5267  
    55 */
    66
    7 #include <string>
    8 #include <iostream>
    9 #include <iomanip>
    10 #include <fstream>
    11 #include <sstream>
    12 
    13 
    14 #include <toolchain.h>
    15 #include <pablo/pablo_toolchain.h>
    16 #include <llvm/IR/Function.h>
    17 #include <llvm/IR/Module.h>
    18 #include <llvm/ExecutionEngine/ExecutionEngine.h>
    19 #include <llvm/ExecutionEngine/MCJIT.h>
    20 #include "llvm/Linker/Linker.h"
    21 #include <llvm/IR/Verifier.h>
    22 #include <llvm/Support/CommandLine.h>
    23 #include <llvm/Support/raw_ostream.h>
    24 
    25 #include <pablo/pablo_kernel.h>
    26 #include <IR_Gen/idisa_builder.h>
    27 #include <IR_Gen/idisa_target.h>
    28 #include <kernels/streamset.h>
    29 #include <kernels/interface.h>
    30 #include <kernels/kernel.h>
    31 #include <kernels/mmap_kernel.h>
     7#include <IR_Gen/idisa_builder.h>                  // for IDISA_Builder
     8#include <IR_Gen/idisa_target.h>                   // for GetIDISA_Builder
     9#include <kernels/mmap_kernel.h>                   // for MMapSourceKernel
     10#include <kernels/s2p_kernel.h>                    // for S2PKernel
     11#include <kernels/streamset.h>                     // for SingleBlockBuffer
    3212#include <kernels/pipeline.h>
    33 #include <pablo/builder.hpp>
    34 #include <pablo/pablo_compiler.h>
    35 #include <pablo/pablo_toolchain.h>
    36 #include <kernels/s2p_kernel.h>
    37 #include <kernels/stdout_kernel.h>
     13#include <llvm/ExecutionEngine/ExecutionEngine.h>  // for ExecutionEngine
     14#include <llvm/IR/Function.h>                      // for Function, Function...
     15#include <llvm/IR/Module.h>                        // for Module
     16#include <llvm/IR/Verifier.h>                      // for verifyModule
     17#include <llvm/Support/CommandLine.h>              // for ParseCommandLineOp...
     18#include <llvm/Support/raw_ostream.h>              // for errs
     19#include <pablo/pablo_kernel.h>                    // for PabloKernel
     20#include <toolchain.h>                             // for JIT_to_ExecutionEn...
     21#include <pablo/builder.hpp>                       // for PabloBuilder
    3822#include <boost/filesystem.hpp>
    3923#include <boost/iostreams/device/mapped_file.hpp>
    40 
    41 static cl::list<std::string> inputFiles(cl::Positional, cl::desc("<input file ...>"), cl::OneOrMore);
     24#include "llvm/ADT/StringRef.h"                    // for StringRef
     25#include "llvm/IR/CallingConv.h"                   // for ::C
     26#include "llvm/IR/DerivedTypes.h"                  // for ArrayType
     27#include "llvm/IR/LLVMContext.h"                   // for LLVMContext
     28#include "llvm/IR/Value.h"                         // for Value
     29#include "llvm/Support/Debug.h"                    // for dbgs
     30#include <iostream>
     31namespace llvm { class Type; }
     32namespace pablo { class Integer; }
     33namespace pablo { class PabloAST; }
     34namespace pablo { class Var; }
    4235
    4336using namespace pablo;
    4437using namespace kernel;
    4538using namespace parabix;
     39using namespace llvm;
     40
     41static cl::list<std::string> inputFiles(cl::Positional, cl::desc("<input file ...>"), cl::OneOrMore);
    4642
    4743void generate(PabloKernel * kernel, const unsigned size) {
Note: See TracChangeset for help on using the changeset viewer.