1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/lang/beignet/files
Jan Beich ff6025f14f lang/beignet: unbreak with llvm70
backend/src/backend/program.cpp:797:34: error: reference to type 'const llvm::Module' could not bind to an lvalue of type 'llvm::Module *'
        llvm::WriteBitcodeToFile(*out_module, ostream);
                                 ^~~~~~~~~~~
/usr/local/llvm70/include/llvm/Bitcode/BitcodeWriter.h:129:41: note: passing argument to parameter 'M' here
  void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
                                        ^
backend/src/llvm/llvm_bitcode_link.cpp:343:36: error: no matching function for call to 'CloneModule'
    llvm::Module * linked_module = llvm::CloneModule((llvm::Module*)mod).release();
                                   ^~~~~~~~~~~~~~~~~
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:52:25: note: candidate function not viable: no known conversion from 'llvm::Module *' to 'const llvm::Module' for 1st argument; dereference the argument with *
std::unique_ptr<Module> CloneModule(const Module &M);
                        ^
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:53:25: note: candidate function not viable: requires 2 arguments, but 1 was provided
std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap);
                        ^
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:60:1: note: candidate function not viable: requires 3 arguments, but 1 was provided
CloneModule(const Module &M, ValueToValueMapTy &VMap,
^
backend/src/llvm/ExpandLargeIntegers.cpp:230:5: error: use of undeclared identifier 'DEBUG'
    DEBUG(dbgs() << "\tRecording as forward PHI\n");
    ^
backend/src/llvm/ExpandLargeIntegers.cpp:237:5: error: use of undeclared identifier 'DEBUG'
    DEBUG(dbgs() << "\tTo:  " << *To.Lo << "\n");
    ^
backend/src/llvm/ExpandLargeIntegers.cpp:238:5: error: use of undeclared identifier 'DEBUG'
    DEBUG(dbgs() << "\tAnd: " << *To.Hi << "\n");
    ^
backend/src/llvm/ExpandLargeIntegers.cpp:247:5: error: use of undeclared identifier 'DEBUG'
    DEBUG(dbgs() << "\tTo:  " << *To << "\n");
    ^
backend/src/llvm/ExpandLargeIntegers.cpp:256:11: error: expected expression
    DEBUG(if (!ForwardPHIs.empty()) dbgs() << "Patching forward PHIs:\n");
          ^
backend/src/llvm/ExpandLargeIntegers.cpp:261:7: error: use of undeclared identifier 'DEBUG'
      DEBUG(dbgs() << "\t" << *F.Lo << "\n\t" << *F.Hi << "\n");
      ^
backend/src/llvm/ExpandLargeIntegers.cpp:389:3: error: use of undeclared identifier 'DEBUG'
  DEBUG(dbgs() << "Expanding Large Integer: " << *Inst << "\n");
  ^
backend/src/llvm/llvm_to_gen.cpp:142:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    MPM.add(createInstructionCombiningPass());// Clean up after IPCP & DAE
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:164:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    MPM.add(createInstructionCombiningPass());  // Combine silly seq's
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:172:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    MPM.add(createInstructionCombiningPass());
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:209:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    MPM.add(createInstructionCombiningPass());
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:215:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    MPM.add(createInstructionCombiningPass());  // Clean up after everything.
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:366:16: error: use of undeclared identifier 'createPromoteMemoryToRegisterPass'
    passes.add(createPromoteMemoryToRegisterPass());
               ^
backend/src/llvm/llvm_to_gen.cpp:373:16: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'?
    passes.add(createInstructionCombiningPass());  // legalize will generate some silly instructions
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
backend/src/llvm/llvm_to_gen.cpp:380:16: error: use of undeclared identifier 'createLowerSwitchPass'; did you mean 'createLoopUnswitchPass'?
    passes.add(createLowerSwitchPass());           // simplify cfg will generate switch-case instruction
               ^~~~~~~~~~~~~~~~~~~~~
backend/src/backend/gen_program.cpp:452:32: error: reference to type 'const llvm::Module' could not bind to an rvalue of type 'llvm::Module *'
      llvm::WriteBitcodeToFile((llvm::Module*)prog->module, OS);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/llvm70/include/llvm/Bitcode/BitcodeWriter.h:129:41: note: passing argument to parameter 'M' here
  void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
                                        ^
backend/src/backend/gen_program.cpp:543:29: error: no matching function for call to 'CloneModule'
      llvm::Module* clone = llvm::CloneModule(src).release();
                            ^~~~~~~~~~~~~~~~~
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:52:25: note: candidate function not viable: no known conversion from 'llvm::Module *' to 'const llvm::Module' for 1st argument; dereference the argument with *
std::unique_ptr<Module> CloneModule(const Module &M);
                        ^
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:53:25: note: candidate function not viable: requires 2 arguments, but 1 was provided
std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap);
                        ^
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:60:1: note: candidate function not viable: requires 3 arguments, but 1 was provided
CloneModule(const Module &M, ValueToValueMapTy &VMap,
^
backend/src/backend/gen_program.cpp:452:32: error: reference to type 'const llvm::Module' could not bind to an rvalue of type 'llvm::Module *'
      llvm::WriteBitcodeToFile((llvm::Module*)prog->module, OS);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/llvm70/include/llvm/Bitcode/BitcodeWriter.h:129:41: note: passing argument to parameter 'M' here
  void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
                                        ^

Obtained from:	upstream (via Debian)
Approved by:	portmgr blanket
2018-08-20 23:37:50 +00:00
..
patch-backend_src_backend_gen__insn__selection.cpp
patch-backend_src_backend_gen__reg__allocation.cpp
patch-backend_src_ir_immediate.hpp
patch-backend_src_sys_alloc.cpp
patch-CMake_FindLLVM.cmake
patch-CMakeLists.txt
patch-llvm6 lang/beignet: unbreak with llvm70 2018-08-20 23:37:50 +00:00
patch-llvm7 lang/beignet: unbreak with llvm70 2018-08-20 23:37:50 +00:00
patch-src_cl__alloc.c
patch-src_cl__api__kernel.c
patch-src_cl__device__id.c
patch-src_cl__enqueue.c
patch-src_cl__program.c
patch-src_git__sha1.sh
patch-src_performance.c
patch-utests_builtin__exp.cpp
patch-utests_CMakeLists.txt
patch-utests_image__from__buffer.cpp
patch-utests_utest__math__gen.py
patch-utests_utest.cpp