Ignore:
Timestamp:
Oct 28, 2014, 4:16:05 PM (5 years ago)
Author:
nmedfort
Message:

Potential fix for AVX2 support in LLVM 3.5

File:
1 edited

Legend:

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

    r4273 r4274  
    1515#include <pablo/pabloAST.h>
    1616#include "unicode_categories.h"
    17 #include <iostream>
    1817#include <string>
    1918#include <list>
    2019#include <map>
    2120#include <algorithm>
     21#include <llvm/ADT/Twine.h>
    2222
    23 #include <llvm/Support/raw_ostream.h>
    24 
    25 #ifdef USE_LLVM_3_4
    26 #include <llvm/Analysis/Verifier.h>
    27 #include <llvm/Assembly/PrintModulePass.h>
    28 #include <llvm/Linker.h>
    29 #endif
    30 
    31 #ifdef USE_LLVM_3_5
    32 #include <llvm/IR/Verifier.h>
    33 #endif
    34 
    35 #include <llvm/Pass.h>
    36 #include <llvm/PassManager.h>
    37 #include <llvm/ADT/SmallVector.h>
    38 #include <llvm/Analysis/Passes.h>
    39 #include <llvm/IR/BasicBlock.h>
    40 #include <llvm/IR/CallingConv.h>
    41 #include <llvm/IR/Constants.h>
    42 #include <llvm/IR/DataLayout.h>
    43 #include <llvm/IR/DerivedTypes.h>
    44 #include <llvm/IR/Function.h>
    45 #include <llvm/IR/GlobalVariable.h>
    46 #include <llvm/IR/InlineAsm.h>
    47 #include <llvm/IR/Instructions.h>
    48 #include <llvm/IR/LLVMContext.h>
    49 #include <llvm/IR/Module.h>
    50 #include <llvm/Support/FormattedStream.h>
    51 #include <llvm/Support/MathExtras.h>
    52 #include <llvm/Support/Casting.h>
    53 #include <llvm/Support/Debug.h>
    54 
    55 #include <llvm/Support/TargetSelect.h>
    56 #include <llvm/Transforms/Scalar.h>
    57 
    58 #include <llvm/ExecutionEngine/ExecutionEngine.h>
    59 #include <llvm/ExecutionEngine/MCJIT.h>
    60 
    61 #include <llvm/IRReader/IRReader.h>
    62 #include <llvm/Bitcode/ReaderWriter.h>
    63 #include <llvm/Support/MemoryBuffer.h>
    64 
    65 #include <llvm/IR/IRBuilder.h>
     23namespace llvm {
     24    class Value;
     25    class Module;
     26    class ExecutionEngine;
     27    class VectorType;
     28    class PointerType;
     29    class ConstantAggregateZero;
     30    class Constant;
     31    class FunctionType;
     32    class Function;
     33}
    6634
    6735using namespace llvm;
     
    134102
    135103    FunctionType*                       mFunctionType;
    136     Function*                           mFunc_process_block;
     104    Function*                           mFunction;
    137105
    138106
Note: See TracChangeset for help on using the changeset viewer.