Changeset 5043


Ignore:
Timestamp:
May 27, 2016, 11:06:01 AM (3 years ago)
Author:
cameron
Message:

Some clean-ups

Location:
icGREP/icgrep-devel
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/README-icgrep.txt

    r5027 r5043  
    3030code version of LLVM.   
    3131
     32Boost development libraries are required.  Install via a suitable
     33command for your OS, for example"
     34sudo apt-get install libboost-all-dev
     35
    3236To build LLVM,
    3337(L1) open a terminal window and cd to the llvm-build directory
     
    4650icgrep is governed by Open Software License 3.0 in OSL-3.0.txt.
    4751
    48 NOTES on G++
    49 
    50 Currently, icgrep cannot be compiled with g++.
    51 
    52 One major issue is caused by LLVM headers (templates). ArrayRef has a
    53 constructor overload for initializer lists, which is only enabled if the
    54 compiler supports initializer lists. The detection mechanism, however, only
    55 works for clang, rendering this overload unavailable in g++. Yet we use this
    56 overload heavily especially when calling CreateGEP.
    57 
    58 This issue is resolved in LLVM 3.7.
  • icGREP/icgrep-devel/icgrep/pablo/pablo_compiler.cpp

    r5042 r5043  
    11/*
    2  *  Copyright (c) 2014-15 International Characters.
     2 *  Copyright (c) 2014-16 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    88#include <pablo/pablo_toolchain.h>
    99#include <pablo/codegenstate.h>
    10 #include <pablo/carry_data.h>
    1110#include <pablo/carry_manager.h>
    1211#include <pablo/printer_pablos.h>
     
    1615#include <sstream>
    1716#include <IDISA/idisa_builder.h>
    18 #include <IDISA/idisa_avx_builder.h>
    19 #include <llvm/Pass.h>
    20 #include <llvm/ADT/SmallVector.h>
    21 #include <llvm/Analysis/Passes.h>
    22 #include <llvm/IR/BasicBlock.h>
    23 #include <llvm/IR/CallingConv.h>
    24 #include <llvm/IR/DataLayout.h>
    25 #include <llvm/IR/DerivedTypes.h>
    26 #include <llvm/IR/Function.h>
    27 #include <llvm/IR/GlobalVariable.h>
    28 #include <llvm/IR/InlineAsm.h>
    29 #include <llvm/IR/Instructions.h>
    30 #include <llvm/IR/LLVMContext.h>
    3117#include <llvm/IR/Module.h>
    32 #include <llvm/Support/FormattedStream.h>
    33 #include <llvm/Support/MathExtras.h>
    34 #include <llvm/Support/Casting.h>
    35 #include <llvm/Support/Compiler.h>
    36 #include <llvm/Support/Debug.h>
    37 #include <llvm/Support/TargetSelect.h>
    38 #include <llvm/Support/Host.h>
    39 #include <llvm/Transforms/Scalar.h>
    40 #include <llvm/IRReader/IRReader.h>
    41 #include <llvm/Bitcode/ReaderWriter.h>
    42 #include <llvm/Support/MemoryBuffer.h>
    4318#include <llvm/IR/IRBuilder.h>
    44 #include <llvm/Support/CommandLine.h>
    45 #include <llvm/ADT/Twine.h>
    4619#include <iostream>
    47 #include <llvm/Support/raw_ostream.h>
    48 #include <llvm/Support/FileSystem.h>
    49 #ifndef NDEBUG
    50 #include <llvm/IR/Verifier.h>
    51 #endif
    5220#include <hrtime.h>
    5321
  • icGREP/icgrep-devel/icgrep/pablo/printer_pablos.cpp

    r5023 r5043  
    124124        print(e->getExpr(), out);
    125125        out << ")";
     126    } else if (const AtEOF * e = dyn_cast<const AtEOF>(stmt)) {
     127        out << e->getName() << " = pablo.AtEOF(";
     128        print(e->getExpr(), out);
     129        out << ")";
    126130    } else {
    127131        out << "???";
Note: See TracChangeset for help on using the changeset viewer.