You are not logged in.

#1 2022-11-14 11:48:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

[Solved] spirv-llvm-translator trunk fails to build shared library

https://docs.mesa3d.org/rusticl.html wrote:

SPIRV-LLVM-Translator for a libLLVMSPIRVLib.so matching your version of LLVM, i.e. if you’re using LLVM 15 (libLLVM.so.15), then you need a libLLVMSPIRVLib.so.15.

Since I want to make it possible to add rusticl to aur mesa trunk pacakges, I am looking into building spirv-llvm-translator-git .
I started with the repo PKGBUILD for extra/spirv-llvm-translator , but encounter a failure when building lib/SPIRV/libLLVMSPIRVLib.so.16 .

removing " -DBUILD_SHARED_LIBS=ON \" makes build succeed, but only creates a static version of the library which is not the desired outcome.
building against aur llvm-git and/or using !lto gives the same error.

I have checked 20 of the 'undefined reference' fields but they appear to be all present and I don't understand why the build fails.
Please help.

$ pacman -Qkk devtools
devtools: 88 total files, 0 altered files
$

PKGBUILD

# Maintainer: Daniel Bermond <dbermond@archlinux.org>
# Maintainer: Bruno Pagani <archange@archlinux.org>

_srcname=SPIRV-LLVM-Translator
pkgname=${_srcname,,}-git
pkgver=r1637.245e03fa
pkgrel=1
pkgdesc="Tool and a library for bi-directional translation between SPIR-V and LLVM IR"
arch=(x86_64)
url="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
license=(custom)
# depends=(llvm-libs spirv-tools)
# LW llvm-libs < 16 is needed to provide LLVMgold.so
depends=('llvm-libs<16' llvm-libs-minimal-git spirv-tools)
# makedepends=(git cmake llvm spirv-headers)
makedepends=(git cmake llvm-minimal-git spirv-headers)
# checkdepends=(python python-setuptools clang)
# LW clang-git is provided by llvm-minimal-git
checkdepends=(python python-setuptools)
# Current point in the used LLVM branch
#_commit=33898cef1093f67c73f0623bae941f00034b2db9
# source=(git+${url}.git#commit=$_commit)
# LW build default branch, not a specific commit
source=(git+${url}.git)
sha256sums=(SKIP)

pkgver() {
  cd ${_srcname}
#  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
# LW above fails with main branch, switching to a pkgver() function that doesn't depend on tags
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cmake -B build -S ${_srcname} \
    -DBUILD_SHARED_LIBS=ON \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
    -DCMAKE_SKIP_RPATH=ON \
    -DLLVM_INCLUDE_TESTS=ON \
    -DLLVM_EXTERNAL_LIT=/usr/bin/lit \
    -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv/ \
    -Wno-dev
  make -j 1 -C build
}

check() {
  LD_LIBRARY_PATH="${srcdir}/build/lib/SPIRV" make -C build test
}

package() {
  make -C build DESTDIR="${pkgdir}" install
  install -Dm755 build/tools/llvm-spirv/llvm-spirv -t "${pkgdir}"/usr/bin
  install -Dm644 ${_srcname}/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/${pkgname}/
}

Used command

$ extra-x86_64-build -- -I /var/cache/pacman/pkg/llvm-libs-minimal-git-16.0.0_r441447.1cb97a1e2dab-1-x86_64.pkg.tar.zst -I /var/cache/pacman/pkg/llvm-minimal-git-16.0.0_r441447.1cb97a1e2dab-1-x86_64.pkg.tar.zst

build log

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Using SPIR-V Headers from
          /usr/include/spirv/
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib/libffi.so  
-- Performing Test Terminfo_LINKABLE
-- Performing Test Terminfo_LINKABLE - Success
-- Found Terminfo: /usr/lib/libtinfo.so  
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") 
-- Found zstd: /usr/lib/libzstd.so  
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.10.3") 
-- Linker detection: GNU ld
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success
-- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG
-- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Found LLVM: 16.0.0
-- Checking for one of the modules 'SPIRV-Tools'
-- Configuring done
-- Generating done
-- Build files have been written to: /build/spirv-llvm-translator-git/src/build
make: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[1]: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
[  0%] Built target intrinsics_gen
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
[  2%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/LLVMSPIRVOpts.cpp.o
[  4%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o
[  7%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/Mangler/FunctionDescriptor.cpp.o
[  9%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/Mangler/Mangler.cpp.o
[ 11%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/Mangler/ManglingUtils.cpp.o
[ 14%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/Mangler/ParameterType.cpp.o
[ 16%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/OCLToSPIRV.cpp.o
[ 19%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o
[ 21%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/OCLUtil.cpp.o
[ 23%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o
[ 26%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVBuiltinHelper.cpp.o
[ 28%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerBitCastToNonStandardType.cpp.o
[ 30%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o
[ 33%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o
[ 35%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o
[ 38%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o
[ 40%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVLowerSaddIntrinsics.cpp.o
[ 42%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVReader.cpp.o
[ 45%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o
[ 47%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o
[ 50%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o
[ 52%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o
[ 54%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVToOCL20.cpp.o
[ 57%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVTypeScavenger.cpp.o
[ 59%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVUtil.cpp.o
[ 61%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVWriter.cpp.o
[ 64%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/SPIRVWriterPass.cpp.o
[ 66%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/PreprocessMetadata.cpp.o
[ 69%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVBasicBlock.cpp.o
[ 71%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVDebug.cpp.o
[ 73%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVDecorate.cpp.o
[ 76%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVEntry.cpp.o
[ 78%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVFunction.cpp.o
[ 80%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVInstruction.cpp.o
[ 83%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVModule.cpp.o
[ 85%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVStream.cpp.o
[ 88%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVType.cpp.o
[ 90%] Building CXX object lib/SPIRV/CMakeFiles/obj.LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
[ 90%] Built target obj.LLVMSPIRVLib
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
[ 92%] Linking CXX static library libLLVMSPIRVLib_static.a
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
[ 92%] Built target LLVMSPIRVLib_static
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
make[2]: Entering directory '/build/spirv-llvm-translator-git/src/build'
[ 95%] Linking CXX shared library libLLVMSPIRVLib.so
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `llvm::DINode::getStringOperand(unsigned int) const':
<artificial>:(.text._ZNK4llvm6DINode16getStringOperandEj+0x19): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::TranslatorOpts::isUnknownIntrinsicAllowed(llvm::IntrinsicInst*) const':
<artificial>:(.text._ZNK5SPIRV14TranslatorOpts25isUnknownIntrinsicAllowedEPN4llvm13IntrinsicInstE+0x39): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `transDebugFlags(llvm::DINode const*) [clone .localalias]':
<artificial>:(.text._Z15transDebugFlagsPKN4llvm6DINodeE+0x2e): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: <artificial>:(.text._Z15transDebugFlagsPKN4llvm6DINodeE+0x45): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `adjustAccessFlags(llvm::DIScope*, unsigned int) [clone .localalias]':
<artificial>:(.text._Z17adjustAccessFlagsPN4llvm7DIScopeEj+0x22): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::getVoidTy()':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getVoidTyEv+0x2e): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgBaseType(llvm::DIBasicType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgBaseTypeEPKN4llvm11DIBasicTypeE+0x8b): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgBaseTypeEPKN4llvm11DIBasicTypeE+0x122): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgBaseTypeEPKN4llvm11DIBasicTypeE+0x130): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgBaseTypeEPKN4llvm11DIBasicTypeE+0x25a): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgLocalVariable(llvm::DILocalVariable const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgLocalVariableEPKN4llvm15DILocalVariableE+0x96): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgEntryImpl(llvm::MDNode const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transDbgEntryImplEPKN4llvm6MDNodeE+0x43): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::finalizeDebugDeclare(llvm::DbgVariableIntrinsic const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran20finalizeDebugDeclareEPKN4llvm20DbgVariableIntrinsicE+0x9f): undefined reference to `llvm::DbgVariableIntrinsic::getVariableLocationOp(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::createDebugValuePlaceholder(llvm::DbgVariableIntrinsic const*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran27createDebugValuePlaceholderEPKN4llvm20DbgVariableIntrinsicEPNS_15SPIRVBasicBlockE+0x32): undefined reference to `llvm::DbgVariableIntrinsic::getVariableLocationOp(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::finalizeDebugValue(llvm::DbgVariableIntrinsic const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18finalizeDebugValueEPKN4llvm20DbgVariableIntrinsicE+0x9c): undefined reference to `llvm::DbgVariableIntrinsic::getVariableLocationOp(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18finalizeDebugValueEPKN4llvm20DbgVariableIntrinsicE+0x1f0): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18finalizeDebugValueEPKN4llvm20DbgVariableIntrinsicE+0x20c): undefined reference to `llvm::DIExpression::getImpl(llvm::LLVMContext&, llvm::ArrayRef<unsigned long>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::getGlobalVariable(llvm::DIGlobalVariable const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17getGlobalVariableEPKN4llvm16DIGlobalVariableE+0x7c): undefined reference to `llvm::GlobalVariable::getDebugInfo(llvm::SmallVectorImpl<llvm::DIGlobalVariableExpression*>&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgCompilationUnit(llvm::DICompileUnit const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x6f): undefined reference to `llvm::Module::getDwarfVersion() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0xf0): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x140): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x26f): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x4bf): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x515): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x5ae): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x88a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran23transDbgCompilationUnitEPKN4llvm13DICompileUnitE+0x8d0): undefined reference to `llvm::DIFile::getChecksumKindAsString(llvm::DIFile::ChecksumKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgQualifiedType(llvm::DIDerivedType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgQualifiedTypeEPKN4llvm13DIDerivedTypeE+0x92): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgArrayType(llvm::DICompositeType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transDbgArrayTypeEPKN4llvm15DICompositeTypeE+0x127): undefined reference to `llvm::DISubrange::getCount() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transDbgArrayTypeEPKN4llvm15DICompositeTypeE+0x1f8): undefined reference to `llvm::DISubrange::getLowerBound() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgTypeDef(llvm::DIDerivedType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran15transDbgTypeDefEPKN4llvm13DIDerivedTypeE+0x93): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgEnumType(llvm::DICompositeType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0xea): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0x2fc): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0x308): undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0x364): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0x5a9): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgEnumTypeEPKN4llvm15DICompositeTypeE+0x5ba): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgCompositeType(llvm::DICompositeType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgCompositeTypeEPKN4llvm15DICompositeTypeE+0x10e): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgCompositeTypeEPKN4llvm15DICompositeTypeE+0x14c): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgCompositeTypeEPKN4llvm15DICompositeTypeE+0x1f4): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgMemberType(llvm::DIDerivedType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18transDbgMemberTypeEPKN4llvm13DIDerivedTypeE+0x92): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18transDbgMemberTypeEPKN4llvm13DIDerivedTypeE+0x3b2): undefined reference to `llvm::DIDerivedType::getConstant() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18transDbgMemberTypeEPKN4llvm13DIDerivedTypeE+0x3f2): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgInheritance(llvm::DIDerivedType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0xf0): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0xfe): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0x14b): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0x159): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0x262): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgInheritanceEPKN4llvm13DIDerivedTypeE+0x272): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgPtrToMember(llvm::DIDerivedType const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran19transDbgPtrToMemberEPKN4llvm13DIDerivedTypeE+0x8c): undefined reference to `llvm::DIDerivedType::getClassType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgTemplateParameter(llvm::DITemplateParameter const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran25transDbgTemplateParameterEPKN4llvm19DITemplateParameterE+0x92): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran25transDbgTemplateParameterEPKN4llvm19DITemplateParameterE+0x175): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgTemplateTemplateParameter(llvm::DITemplateValueParameter const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran33transDbgTemplateTemplateParameterEPKN4llvm24DITemplateValueParameterE+0x8e): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran33transDbgTemplateTemplateParameterEPKN4llvm24DITemplateValueParameterE+0x11a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgTemplateParameterPack(llvm::DITemplateValueParameter const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran29transDbgTemplateParameterPackEPKN4llvm24DITemplateValueParameterE+0x89): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgGlobalVariable(llvm::DIGlobalVariable const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x9a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x1af): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x217): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x360): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x65d): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x6f6): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x90c): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran22transDbgGlobalVariableEPKN4llvm16DIGlobalVariableE+0x950): undefined reference to `llvm::DIFile::getChecksumKindAsString(llvm::DIFile::ChecksumKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgFunction(llvm::DISubprogram const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran16transDbgFunctionEPKN4llvm12DISubprogramE+0x4c9): undefined reference to `llvm::DISubprogram::describes(llvm::Function const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgScope(llvm::DIScope const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran13transDbgScopeEPKN4llvm7DIScopeE+0xab): undefined reference to `llvm::DIScope::getScope() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran13transDbgScopeEPKN4llvm7DIScopeE+0x1c1): undefined reference to `llvm::DIScope::getScope() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDebugLoc(llvm::DebugLoc const&, SPIRV::SPIRVBasicBlock*, SPIRV::SPIRVInstruction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran13transDebugLocERKN4llvm8DebugLocEPNS_15SPIRVBasicBlockEPNS_16SPIRVInstructionE+0x68): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran13transDebugLocERKN4llvm8DebugLocEPNS_15SPIRVBasicBlockEPNS_16SPIRVInstructionE+0xb0): undefined reference to `llvm::DebugLoc::getScope() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran13transDebugLocERKN4llvm8DebugLocEPNS_15SPIRVBasicBlockEPNS_16SPIRVInstructionE+0xe7): undefined reference to `llvm::DebugLoc::getInlinedAt() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transLocationInfo() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x189): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x19b): undefined reference to `llvm::DebugLoc::getScope() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x1af): undefined reference to `llvm::DebugLoc::getScope() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x1bd): undefined reference to `llvm::DebugLoc::getInlinedAt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x1f1): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x25a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x34f): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x402): undefined reference to `llvm::DebugLoc::getLine() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x40f): undefined reference to `llvm::DebugLoc::getCol() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x5f5): undefined reference to `llvm::DebugLoc::getInlinedAt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x635): undefined reference to `llvm::DebugLoc::getLine() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x64a): undefined reference to `llvm::DebugLoc::getCol() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x7b0): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x80d): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran17transLocationInfoEv+0x8cb): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans0.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDebugMetadata()':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18transDebugMetadataEv+0x1e): undefined reference to `llvm::DebugInfoFinder::processModule(llvm::Module const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVLegacy::getAnalysisUsage(llvm::AnalysisUsage&) const [clone .localalias]':
<artificial>:(.text._ZNK5SPIRV16OCLToSPIRVLegacy16getAnalysisUsageERN4llvm13AnalysisUsageE+0x10): undefined reference to `llvm::AnalysisUsage::addRequiredID(char&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `non-virtual thunk to SPIRV::OCLToSPIRVLegacy::getAnalysisUsage(llvm::AnalysisUsage&) const [clone .localalias]':
<artificial>:(.text._ZThn184_NK5SPIRV16OCLToSPIRVLegacy16getAnalysisUsageERN4llvm13AnalysisUsageE+0x10): undefined reference to `llvm::AnalysisUsage::addRequiredID(char&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::SmallPtrSetImplBase::insert_imp(void const*)':
<artificial>:(.text._ZN4llvm19SmallPtrSetImplBase10insert_impEPKv+0xf): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::DataLayout::getTypeSizeInBits(llvm::Type*) const':
<artificial>:(.text._ZNK4llvm10DataLayout17getTypeSizeInBitsEPNS_4TypeE+0xf4): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZNK4llvm10DataLayout17getTypeSizeInBitsEPNS_4TypeE+0x138): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZNK4llvm10DataLayout17getTypeSizeInBitsEPNS_4TypeE+0x15a): undefined reference to `llvm::DataLayout::getStructLayout(llvm::StructType*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::CallBase::arg_end()':
<artificial>:(.text._ZN4llvm8CallBase7arg_endEv+0x3b): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallBase7arg_endEv+0x4e): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallBase7arg_endEv+0x6d): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallBase7arg_endEv+0x84): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallBase7arg_endEv+0xa2): undefined reference to `llvm::CallBase::getNumSubclassExtraOperandsDynamic() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::IRBuilderBase::SetInsertPoint(llvm::Instruction*)':
<artificial>:(.text._ZN4llvm13IRBuilderBase14SetInsertPointEPNS_11InstructionE+0x4f): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase14SetInsertPointEPNS_11InstructionE+0x9a): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase14SetInsertPointEPNS_11InstructionE+0xff): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::IRBuilderBase::CreateExtractElement(llvm::Value*, llvm::Value*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase20CreateExtractElementEPNS_5ValueES2_RKNS_5TwineE+0x80): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase20CreateExtractElementEPNS_5ValueES2_RKNS_5TwineE+0x98): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase20CreateExtractElementEPNS_5ValueES2_RKNS_5TwineE+0xdf): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::IRBuilderBase::CreateLShr(llvm::Value*, llvm::Value*, llvm::Twine const&, bool)':
<artificial>:(.text._ZN4llvm13IRBuilderBase10CreateLShrEPNS_5ValueES2_RKNS_5TwineEb+0x94): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateLShrEPNS_5ValueES2_RKNS_5TwineEb+0xb2): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateLShrEPNS_5ValueES2_RKNS_5TwineEb+0xc3): undefined reference to `llvm::Instruction::setIsExact(bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::IRBuilderBase::CreateICmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES4_RKNS_5TwineE+0x74): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES4_RKNS_5TwineE+0x9d): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES4_RKNS_5TwineE+0xc5): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES4_RKNS_5TwineE+0xf6): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateICmpENS_7CmpInst9PredicateEPNS_5ValueES4_RKNS_5TwineE+0x104): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::~IRBuilder() [clone .lto_priv.0]':
<artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEED2Ev.lto_priv.0+0xe): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEED2Ev.lto_priv.0+0x15): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEED2Ev.lto_priv.0+0x2b): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallAtomicInit(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallAtomicInitEPN4llvm8CallInstE+0x19): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallAtomicInitEPN4llvm8CallInstE+0x51): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallAtomicInitEPN4llvm8CallInstE+0x5d): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallAtomicInitEPN4llvm8CallInstE+0xb5): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallDot(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x54): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x83): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x144): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x19e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x216): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x21f): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x22a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x231): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x246): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x2ee): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x357): undefined reference to `llvm::IRBuilderBase::CreateConstrainedFPBinOp(unsigned int, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::Twine const&, llvm::MDNode*, llvm::Optional<llvm::RoundingMode>, llvm::Optional<llvm::fp::ExceptionBehavior>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x38e): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x3b7): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstE+0x3c6): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::BuiltinCallMutator::~BuiltinCallMutator() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorD2Ev.lto_priv.0+0x1c): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorD2Ev.lto_priv.0+0x23): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorD2Ev.lto_priv.0+0x3b): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::runOCLToSPIRV(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13runOCLToSPIRVERN4llvm6ModuleE+0x1a8): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13runOCLToSPIRVERN4llvm6ModuleE+0x1dc): undefined reference to `llvm::GlobalValue::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x1d): undefined reference to `llvm::AnalysisManager<llvm::Module>::getResultImpl(llvm::AnalysisKey*, llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x90): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallAtomicCmpXchg(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x50): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x77): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0xfb): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x1de): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x1e7): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x1f3): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x20f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x244): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x2a0): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x2ce): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x2e4): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x2f7): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x2fe): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgEPN4llvm8CallInstE+0x315): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallNDRange(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x34): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x3f): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x1d3): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x210): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x2da): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x336): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x36d): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x383): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x4ea): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x541): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x573): undefined reference to `llvm::GEPOperator::getSourceElementType() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallNDRangeEPN4llvm8CallInstENS1_9StringRefE+0x58c): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallAsyncWorkGroupCopy(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x5d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x70): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0xad): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0xb4): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0xce): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x1b7): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x1c2): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x1cf): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstENS1_9StringRefE+0x1df): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallDot(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstENS1_9StringRefES4_+0x5f): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstENS1_9StringRefES4_+0x128): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstENS1_9StringRefES4_+0x138): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase12visitCallDotEPN4llvm8CallInstENS1_9StringRefES4_+0x1bf): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallAllAny(spv::Op, llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x60): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x95): undefined reference to `llvm::CmpInst::Create(llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x114): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x242): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x254): undefined reference to `llvm::CastInst::CreateZExtOrBitCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x260): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpEPN4llvm8CallInstE+0x269): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::transAtomicBuiltin(llvm::CallInst*, OCLUtil::OCLBuiltinTransInfo&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x60): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x78): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x5af): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x5cd): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x69c): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x700): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x74a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x760): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0x960): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0xa54): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0xa6a): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0xbda): undefined reference to `llvm::UnaryOperator::Create(llvm::Instruction::UnaryOps, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0xc04): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18transAtomicBuiltinEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoE+0xc18): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallAtomicCpp11(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallAtomicCpp11EPN4llvm8CallInstENS1_9StringRefES4_+0x147): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallRelational(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallRelationalEPN4llvm8CallInstENS1_9StringRefE+0xa8): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19visitCallRelationalEPN4llvm8CallInstENS1_9StringRefE+0x1b5): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::eraseUselessConvert(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19eraseUselessConvertEPN4llvm8CallInstENS1_9StringRefES4_+0x99): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19eraseUselessConvertEPN4llvm8CallInstENS1_9StringRefES4_+0xe4): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase19eraseUselessConvertEPN4llvm8CallInstENS1_9StringRefES4_+0x100): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallConvert(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallConvertEPN4llvm8CallInstENS1_9StringRefES4_+0x216): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallConvertEPN4llvm8CallInstENS1_9StringRefES4_+0x275): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase16visitCallConvertEPN4llvm8CallInstENS1_9StringRefES4_+0x4f3): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallGroupBuiltin(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS1_9StringRefE+0x886): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallReadWriteImage(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase23visitCallReadWriteImageEPN4llvm8CallInstENS1_9StringRefE+0xf5): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase23visitCallReadWriteImageEPN4llvm8CallInstENS1_9StringRefE+0x115): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallToAddr(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS1_9StringRefE+0x329): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallReadImageMSAA(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallReadImageMSAAEPN4llvm8CallInstENS1_9StringRefE+0xa1): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallReadImageMSAAEPN4llvm8CallInstENS1_9StringRefE+0xb4): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallReadImageWithSampler(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x37): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x42): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x256): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x40c): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x422): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x435): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x43c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x453): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x50e): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x564): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x64d): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerEPN4llvm8CallInstENS1_9StringRefES4_+0x65a): undefined reference to `llvm::ConstantFP::get(llvm::Type*, double)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallGetImageSize(llvm::CallInst*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x124): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x136): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x14b): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x1c7): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x1d7): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeEPN4llvm8CallInstENS1_9StringRefE+0x32a): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallVecLoadStore(llvm::CallInst*, llvm::StringRef, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallVecLoadStoreEPN4llvm8CallInstENS1_9StringRefES4_+0x23c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase21visitCallVecLoadStoreEPN4llvm8CallInstENS1_9StringRefES4_+0x24d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallInst(llvm::CallInst&)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x6a): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0xbf): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x127): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x147): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x167): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x310): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase13visitCallInstERN4llvm8CallInstE+0x330): more undefined references to `llvm::StringRef::find(llvm::StringRef, unsigned long) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV16SPIRVToOCLLegacyE+0x10): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV24PreprocessMetadataLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV24PreprocessMetadataLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL20LegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xa0): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xb8): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xc0): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xc8): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xd0): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xd8): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xe0): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xe8): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xf0): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0xf8): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0x100): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0x108): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV18SPIRVToOCL12LegacyE+0x110): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVRegularizeLLVMLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV23SPIRVLowerMemmoveLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV23SPIRVLowerMemmoveLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV20SPIRVLowerBoolLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20SPIRVLowerBoolLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x10): undefined reference to `typeinfo for llvm::FunctionPass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x40): undefined reference to `llvm::FunctionPass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x48): undefined reference to `llvm::FunctionPass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x58): undefined reference to `llvm::FunctionPass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV20OCLTypeToSPIRVLegacyE+0x28): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV20OCLTypeToSPIRVLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTIN5SPIRV16OCLToSPIRVLegacyE+0x28): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x58): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x70): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x78): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x80): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x88): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0x90): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xa0): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xa8): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xb0): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xb8): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xc0): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans2.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16OCLToSPIRVLegacyE+0xc8): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&), SPIRV::OCLToSPIRVBase::visitCallKernelQuery(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)':
<artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryES8_NS6_9StringRefEEUlS8_SE_E_E10_M_managerERSt9_Any_dataRKSL_St18_Manager_operation+0x32): undefined reference to `llvm::DataLayout::~DataLayout()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryES8_NS6_9StringRefEEUlS8_SE_E_E10_M_managerERSt9_Any_dataRKSL_St18_Manager_operation+0x146): undefined reference to `llvm::DataLayout::clear()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `initializeOCLTypeToSPIRVLegacyPassOnce(llvm::PassRegistry&) [clone .lto_priv.0]':
<artificial>:(.text._ZL38initializeOCLTypeToSPIRVLegacyPassOnceRN4llvm12PassRegistryE.lto_priv.0+0x82): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `initializeOCLToSPIRVLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL34initializeOCLToSPIRVLegacyPassOnceRN4llvm12PassRegistryE+0x10e): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::OCLToSPIRVLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV16OCLToSPIRVLegacyEEEPNS_4PassEv+0xf1): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::OCLTypeToSPIRVLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV20OCLTypeToSPIRVLegacyEEEPNS_4PassEv+0xa7): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallRelational(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase19visitCallRelationalES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x3b): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase19visitCallRelationalES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x4a): undefined reference to `llvm::Constant::getAllOnesValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase19visitCallRelationalES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x62): undefined reference to `llvm::IRBuilderBase::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::SmallVectorTemplateBase<llvm::Value*, true>::push_back(llvm::Value*)':
<artificial>:(.text._ZN4llvm23SmallVectorTemplateBaseIPNS_5ValueELb1EE9push_backES2_+0x40): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::SmallVectorTemplateBase<llvm::Type*, true>::push_back(llvm::Type*)':
<artificial>:(.text._ZN4llvm23SmallVectorTemplateBaseIPNS_4TypeELb1EE9push_backES2_+0x40): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVBase::getAdaptedArgumentType(llvm::Function*, unsigned int)':
<artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase22getAdaptedArgumentTypeEPN4llvm8FunctionEj+0x8d): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::createOCLToSPIRVLegacy()':
<artificial>:(.text._ZN4llvm22createOCLToSPIRVLegacyEv+0xf1): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::Instruction* llvm::IRBuilderBase::Insert<llvm::Instruction>(llvm::Instruction*, llvm::Twine const&) const':
<artificial>:(.text._ZNK4llvm13IRBuilderBase6InsertINS_11InstructionEEEPT_S4_RKNS_5TwineE+0x47): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallReadImageWithSampler(llvm::CallInst*, llvm::StringRef, llvm::StringRef)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x3e): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x49): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x56): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x63): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xb2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase29visitCallReadImageWithSamplerES9_NS0_9StringRefESD_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xcc): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallAtomicCmpXchg(llvm::CallInst*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x3b): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x44): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x51): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x74): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x8e): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xe0): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x15c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x180): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1a8): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1da): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase22visitCallAtomicCmpXchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1e6): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallAllAny(spv::Op, llvm::CallInst*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x34): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xaf): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase15visitCallAllAnyEN3spv2OpES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xe9): undefined reference to `llvm::CastInst::CreateZExtOrBitCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallGetFence(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase17visitCallGetFenceES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x38): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase17visitCallGetFenceES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x48): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase17visitCallGetFenceES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x87): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallGetImageChannel(llvm::CallInst*, llvm::StringRef, unsigned int)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase24visitCallGetImageChannelES9_NS0_9StringRefEjEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x3a): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase24visitCallGetImageChannelES9_NS0_9StringRefEjEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x47): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase24visitCallGetImageChannelES9_NS0_9StringRefEjEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xab): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::transBuiltin(llvm::CallInst*, OCLUtil::OCLBuiltinTransInfo&)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase12transBuiltinES9_RN7OCLUtil19OCLBuiltinTransInfoEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xb1): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase12transBuiltinES9_RN7OCLUtil19OCLBuiltinTransInfoEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x124): undefined reference to `llvm::CastInst::CreateIntegerCast(llvm::Value*, llvm::Type*, bool, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVLegacy::~OCLToSPIRVLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV16OCLToSPIRVLegacyD0Ev.lto_priv.0+0x2d): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `non-virtual thunk to SPIRV::OCLToSPIRVLegacy::~OCLToSPIRVLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZThn184_N5SPIRV16OCLToSPIRVLegacyD1Ev+0x26): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `non-virtual thunk to SPIRV::OCLToSPIRVLegacy::~OCLToSPIRVLegacy()':
<artificial>:(.text._ZThn184_N5SPIRV16OCLToSPIRVLegacyD0Ev+0x33): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVLegacy::~OCLTypeToSPIRVLegacy()':
<artificial>:(.text._ZN5SPIRV20OCLTypeToSPIRVLegacyD0Ev+0x1b): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVLegacy::~OCLToSPIRVLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV16OCLToSPIRVLegacyD2Ev.lto_priv.0+0x2d): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::DataLayout::getTypeSizeInBits(llvm::Type*) const [clone .part.0] [clone .lto_priv.0]':
<artificial>:(.text._ZNK4llvm10DataLayout17getTypeSizeInBitsEPNS_4TypeE.part.0.lto_priv.0+0x1d): undefined reference to `llvm::DataLayout::getABITypeAlignment(llvm::Type*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVLegacy::OCLTypeToSPIRVLegacy()':
<artificial>:(.text._ZN5SPIRV20OCLTypeToSPIRVLegacyC2Ev+0x98): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVBase::adaptFunction(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase13adaptFunctionEPN4llvm8FunctionE+0x159): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase13adaptFunctionEPN4llvm8FunctionE+0x164): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase13adaptFunctionEPN4llvm8FunctionE+0x43c): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase13adaptFunctionEPN4llvm8FunctionE+0x469): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase13adaptFunctionEPN4llvm8FunctionE+0x4b7): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<void (llvm::Function*, unsigned int), SPIRV::OCLTypeToSPIRVBase::adaptArgumentsBySamplerUse(llvm::Module&)::{lambda(llvm::Function*, unsigned int)#1}>::_M_invoke(std::_Any_data const&, llvm::Function*&&, unsigned int&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFvPN4llvm8FunctionEjEZN5SPIRV18OCLTypeToSPIRVBase26adaptArgumentsBySamplerUseERNS0_6ModuleEEUlS2_jE_E9_M_invokeERKSt9_Any_dataOS2_Oj+0x41): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvPN4llvm8FunctionEjEZN5SPIRV18OCLTypeToSPIRVBase26adaptArgumentsBySamplerUseERNS0_6ModuleEEUlS2_jE_E9_M_invokeERKSt9_Any_dataOS2_Oj+0x156): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `llvm::createOCLTypeToSPIRVLegacy()':
<artificial>:(.text._ZN4llvm26createOCLTypeToSPIRVLegacyEv+0xa7): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVLegacy::~OCLTypeToSPIRVLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV20OCLTypeToSPIRVLegacyD2Ev.lto_priv.0+0x1b): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallLdexp(llvm::CallInst*, llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase14visitCallLdexpEPN4llvm8CallInstENS1_9StringRefES4_+0x1cb): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallScalToVec(llvm::CallInst*, llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x25c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x274): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x2c0): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x39b): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x3fe): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x429): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x439): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x449): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x45c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x47d): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x48d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x4ac): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x4bc): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x4ca): undefined reference to `llvm::ConstantVector::getSplat(llvm::ElementCount, llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x4d8): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x4f4): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x525): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x52c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x543): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase18visitCallScalToVecEPN4llvm8CallInstENS1_9StringRefES4_+0x660): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallConvertBFloat16AsUshort(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x6b): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x201): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x25e): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x27f): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x2da): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x2fe): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x326): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x338): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o:<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase32visitCallConvertBFloat16AsUshortEPN4llvm8CallInstENS1_9StringRefE+0x350): more undefined references to `llvm::report_fatal_error(char const*, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallConvertAsBFloat16Float(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x82): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0xec): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x122): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x1e5): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x256): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x2d2): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x2fd): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x30f): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o:<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase31visitCallConvertAsBFloat16FloatEPN4llvm8CallInstENS1_9StringRefE+0x327): more undefined references to `llvm::report_fatal_error(char const*, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallEnqueueKernel(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x45): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x5f): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x11c): undefined reference to `llvm::getUnderlyingObject(llvm::Value const*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x158): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x1a4): undefined reference to `llvm::TypeSize::operator unsigned long() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x1cb): undefined reference to `llvm::DataLayout::getPrefTypeAlignment(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x1f8): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x270): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x280): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x295): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x2a6): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x2d7): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x31c): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x339): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x3bd): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x3d4): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x3f3): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x47b): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x4c4): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x4e2): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x52b): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x559): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x57f): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x5b2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x5bb): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x621): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x63e): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x659): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x691): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x839): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase22visitCallEnqueueKernelEPN4llvm8CallInstENS1_9StringRefE+0x8a5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallKernelQuery(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x3e): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x5a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x83): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x91): undefined reference to `llvm::getUnderlyingObject(llvm::Value const*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x1a4): undefined reference to `llvm::DataLayout::clear()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x357): undefined reference to `llvm::DataLayout::clear()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryEPN4llvm8CallInstENS1_9StringRefE+0x45b): undefined reference to `llvm::DataLayout::~DataLayout()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::processSubgroupBlockReadWriteINTEL(llvm::CallInst*, OCLUtil::OCLBuiltinTransInfo&, llvm::Type const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase34processSubgroupBlockReadWriteINTELEPN4llvm8CallInstERN7OCLUtil19OCLBuiltinTransInfoEPKNS1_4TypeE+0x48): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&), SPIRV::OCLToSPIRVBase::visitCallKernelQuery(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)':
<artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryES8_NS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_+0x35): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryES8_NS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_+0xa2): undefined reference to `llvm::TypeSize::operator unsigned long() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV14OCLToSPIRVBase20visitCallKernelQueryES8_NS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_+0xcf): undefined reference to `llvm::DataLayout::getPrefTypeAlignment(llvm::Type*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitSubgroupImageMediaBlockINTEL(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase33visitSubgroupImageMediaBlockINTELEPN4llvm8CallInstENS1_9StringRefE+0x51): undefined reference to `llvm::StringRef::rfind(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase33visitSubgroupImageMediaBlockINTELEPN4llvm8CallInstENS1_9StringRefE+0x106): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase33visitSubgroupImageMediaBlockINTELEPN4llvm8CallInstENS1_9StringRefE+0x10d): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase33visitSubgroupImageMediaBlockINTELEPN4llvm8CallInstENS1_9StringRefE+0x127): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<void (SPIRV::BuiltinCallMutator&), SPIRV::OCLToSPIRVBase::visitCallAtomicLegacy(llvm::CallInst*, llvm::StringRef, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#1}>::_M_invoke(std::_Any_data const&, SPIRV::BuiltinCallMutator&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase21visitCallAtomicLegacyEPN4llvm8CallInstENS5_9StringRefES8_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x3c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase21visitCallAtomicLegacyEPN4llvm8CallInstENS5_9StringRefES8_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x4d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<void (SPIRV::BuiltinCallMutator&), SPIRV::OCLToSPIRVBase::visitCallAtomicCpp11(llvm::CallInst*, llvm::StringRef, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#1}>::_M_invoke(std::_Any_data const&, SPIRV::BuiltinCallMutator&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase20visitCallAtomicCpp11EPN4llvm8CallInstENS5_9StringRefES8_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x3c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase20visitCallAtomicCpp11EPN4llvm8CallInstENS5_9StringRefES8_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x4d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<void (SPIRV::BuiltinCallMutator&), SPIRV::OCLToSPIRVBase::visitCallReadWriteImage(llvm::CallInst*, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#1}>::_M_invoke(std::_Any_data const&, SPIRV::BuiltinCallMutator&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase23visitCallReadWriteImageEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x20): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase23visitCallReadWriteImageEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x31): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<void (SPIRV::BuiltinCallMutator&), SPIRV::OCLToSPIRVBase::visitCallToAddr(llvm::CallInst*, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#1}>::_M_invoke(std::_Any_data const&, SPIRV::BuiltinCallMutator&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x32): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x52): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x73): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x14c): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x19e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x1b2): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x1bb): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x1c9): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x1f7): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x20b): undefined reference to `llvm::CastInst::CreatePointerCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x227): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x22e): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x245): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvRN5SPIRV18BuiltinCallMutatorEEZNS0_14OCLToSPIRVBase15visitCallToAddrEPN4llvm8CallInstENS5_9StringRefEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_.lto_priv.0+0x2f5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitSubgroupAVCWrapperBuiltinCall(llvm::CallInst*, spv::Op, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase34visitSubgroupAVCWrapperBuiltinCallEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x10b): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase34visitSubgroupAVCWrapperBuiltinCallEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x25d): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase34visitSubgroupAVCWrapperBuiltinCallEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x271): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase34visitSubgroupAVCWrapperBuiltinCallEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0xa35): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitSubgroupAVCBuiltinCallWithSampler(llvm::CallInst*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x3c7): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x49b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x4a2): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x4f0): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x5c9): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x626): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x74a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x751): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x766): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x8e4): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14OCLToSPIRVBase38visitSubgroupAVCBuiltinCallWithSamplerEPN4llvm8CallInstENS1_9StringRefE+0x944): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::OCLToSPIRVBase::visitCallGetImageSize(llvm::CallInst*, llvm::StringRef)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xc2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0xdc): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x16c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x17f): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x194): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1a7): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1ba): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1da): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x1f7): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x282): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x290): undefined reference to `llvm::ConstantVector::getSplat(llvm::ElementCount, llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x2b9): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x2cc): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x30f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x335): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14OCLToSPIRVBase21visitCallGetImageSizeES9_NS0_9StringRefEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x352): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVBase::adaptArgumentsBySamplerUse(llvm::Module&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase26adaptArgumentsBySamplerUseERN4llvm6ModuleE+0x10e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase26adaptArgumentsBySamplerUseERN4llvm6ModuleE+0x147): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVBase::adaptFunctionArguments(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase22adaptFunctionArgumentsEPN4llvm8FunctionE+0x3f): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase22adaptFunctionArgumentsEPN4llvm8FunctionE+0x192): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase22adaptFunctionArgumentsEPN4llvm8FunctionE+0x243): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase22adaptFunctionArgumentsEPN4llvm8FunctionE+0x335): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans3.ltrans.o: in function `SPIRV::OCLTypeToSPIRVBase::adaptArgumentsByMetadata(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x44): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0xbc): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x17b): undefined reference to `llvm::Twine::str[abi:cxx11]() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x19a): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x1ad): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x1cd): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x21e): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x392): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x3b2): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x3ea): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18OCLTypeToSPIRVBase24adaptArgumentsByMetadataEPN4llvm8FunctionE+0x4d7): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `OCLUtil::OCLBuiltinFuncMangleInfo::init(llvm::StringRef)':
<artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x3c7): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x414): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x729): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x752): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x799): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x806): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o:<artificial>:(.text._ZN7OCLUtil24OCLBuiltinFuncMangleInfo4initEN4llvm9StringRefE+0x93b): more undefined references to `llvm::StringRef::find(llvm::StringRef, unsigned long) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `OCLUtil::isSamplerTy(llvm::Type*)':
<artificial>:(.text._ZN7OCLUtil11isSamplerTyEPN4llvm4TypeE+0x2b): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `std::_Function_handler<void (OCLUtil::OCLScopeKind, spv::Scope), SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLScopeKind, spv::Scope, void>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLScopeKind, spv::Scope, void> const&, bool, llvm::Optional<int>, llvm::Instruction*, int)::{lambda(int, int)#1}>::_M_invoke(std::_Any_data const&, OCLUtil::OCLScopeKind&&, spv::Scope&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x53): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0xf0): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0xf9): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x19d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1aa): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1dc): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1f2): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x248): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x262): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x270): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x27f): undefined reference to `llvm::SwitchInst::addCase(llvm::ConstantInt*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x29c): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2a3): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil12OCLScopeKindEN3spv5ScopeEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2ba): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `std::_Function_handler<void (OCLUtil::OCLMemOrderKind, unsigned int), SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLMemOrderKind, unsigned int, spv::MemorySemanticsMask>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLMemOrderKind, unsigned int, spv::MemorySemanticsMask> const&, bool, llvm::Optional<int>, llvm::Instruction*, int)::{lambda(int, int)#1}>::_M_invoke(std::_Any_data const&, OCLUtil::OCLMemOrderKind&&, unsigned int&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x53): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0xf0): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0xf9): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x19d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x1aa): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x1dc): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x1f2): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x248): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x262): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x270): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x27f): undefined reference to `llvm::SwitchInst::addCase(llvm::ConstantInt*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x29c): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x2a3): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil15OCLMemOrderKindEjEZN5SPIRV21getOrCreateSwitchFuncIS1_jN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS3_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_Oj+0x2ba): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `std::_Function_handler<void (OCLUtil::OCLMemFenceExtendedKind, spv::MemorySemanticsMask), SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLMemFenceExtendedKind, spv::MemorySemanticsMask, void>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLMemFenceExtendedKind, spv::MemorySemanticsMask, void> const&, bool, llvm::Optional<int>, llvm::Instruction*, int)::{lambda(int, int)#1}>::_M_invoke(std::_Any_data const&, OCLUtil::OCLMemFenceExtendedKind&&, spv::MemorySemanticsMask&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x53): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0xf0): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0xf9): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x19d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1aa): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1dc): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x1f2): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x248): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x262): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x270): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x27f): undefined reference to `llvm::SwitchInst::addCase(llvm::ConstantInt*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x29c): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2a3): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEEZN5SPIRV21getOrCreateSwitchFuncIS1_S3_vEEPN4llvm11InstructionENS7_9StringRefEPNS7_5ValueERKNS5_8SPIRVMapIT_T0_T1_EEbNS7_8OptionalIiEES9_iEUliiE_E9_M_invokeERKSt9_Any_dataOS1_OS3_+0x2ba): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `OCLUtil::isUnfusedMulAdd(llvm::BinaryOperator*)':
<artificial>:(.text._ZN7OCLUtil15isUnfusedMulAddEPN4llvm14BinaryOperatorE+0x16): undefined reference to `llvm::Instruction::hasAllowContract() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `OCLUtil::unwrapSpecialTypeInitializer(llvm::Value*)':
<artificial>:(.text._ZN7OCLUtil28unwrapSpecialTypeInitializerEPN4llvm5ValueE+0xa5): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil28unwrapSpecialTypeInitializerEPN4llvm5ValueE+0xd7): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil28unwrapSpecialTypeInitializerEPN4llvm5ValueE+0x106): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `SPIRV::transOCLMemScopeIntoSPIRVScope(llvm::Value*, llvm::Optional<int>, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV30transOCLMemScopeIntoSPIRVScopeEPN4llvm5ValueENS0_8OptionalIiEEPNS0_11InstructionE+0xa1): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `SPIRV::transSPIRVMemoryScopeIntoOCLMemoryScope(llvm::Value*, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV39transSPIRVMemoryScopeIntoOCLMemoryScopeEPN4llvm5ValueEPNS0_11InstructionE+0xc7): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV39transSPIRVMemoryScopeIntoOCLMemoryScopeEPN4llvm5ValueEPNS0_11InstructionE+0x29f): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `SPIRV::transOCLMemOrderIntoSPIRVMemorySemantics(llvm::Value*, llvm::Optional<int>, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV40transOCLMemOrderIntoSPIRVMemorySemanticsEPN4llvm5ValueENS0_8OptionalIiEEPNS0_11InstructionE+0x1aa): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `SPIRV::transSPIRVMemorySemanticsIntoOCLMemoryOrder(llvm::Value*, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV43transSPIRVMemorySemanticsIntoOCLMemoryOrderEPN4llvm5ValueEPNS0_11InstructionE+0x1ae): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV43transSPIRVMemorySemanticsIntoOCLMemoryOrderEPN4llvm5ValueEPNS0_11InstructionE+0x4a6): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans5.ltrans.o: in function `SPIRV::transSPIRVMemorySemanticsIntoOCLMemFenceFlags(llvm::Value*, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV45transSPIRVMemorySemanticsIntoOCLMemFenceFlagsEPN4llvm5ValueEPNS0_11InstructionE+0x145): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `initializeSPIRVLowerBitCastToNonStandardTypeLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL58initializeSPIRVLowerBitCastToNonStandardTypeLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `initializeSPIRVLowerBoolLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL38initializeSPIRVLowerBoolLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `initializeSPIRVLowerConstExprLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL43initializeSPIRVLowerConstExprLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `initializeSPIRVLowerMemmoveLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL41initializeSPIRVLowerMemmoveLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `initializeSPIRVLowerOCLBlocksLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL43initializeSPIRVLowerOCLBlocksLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:<artificial>:(.text._ZL48initializeSPIRVLowerSaddIntrinsicsLegacyPassOnceRN4llvm12PassRegistryE+0x7d): more undefined references to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBitCastToNonStandardTypeLegacy::~SPIRVLowerBitCastToNonStandardTypeLegacy()':
<artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyD0Ev+0xd7): undefined reference to `vtable for llvm::FunctionPass'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyD0Ev+0xe8): undefined reference to `llvm::Pass::~Pass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVLowerBoolLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV20SPIRVLowerBoolLegacyEEEPNS_4PassEv+0x66): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVLowerConstExprLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV25SPIRVLowerConstExprLegacyEEEPNS_4PassEv+0x58): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVLowerMemmoveLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV23SPIRVLowerMemmoveLegacyEEEPNS_4PassEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVLowerSaddIntrinsicsLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyEEEPNS_4PassEv+0x60): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolLegacy::~SPIRVLowerBoolLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV20SPIRVLowerBoolLegacyD0Ev.lto_priv.0+0x18): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `non-virtual thunk to SPIRV::SPIRVLowerBoolLegacy::~SPIRVLowerBoolLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZThn32_N5SPIRV20SPIRVLowerBoolLegacyD1Ev+0x18): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `non-virtual thunk to SPIRV::SPIRVLowerBoolLegacy::~SPIRVLowerBoolLegacy()':
<artificial>:(.text._ZThn32_N5SPIRV20SPIRVLowerBoolLegacyD0Ev+0x1d): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerConstExprLegacy::~SPIRVLowerConstExprLegacy()':
<artificial>:(.text._ZN5SPIRV25SPIRVLowerConstExprLegacyD2Ev+0x10): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerConstExprLegacy::~SPIRVLowerConstExprLegacy()':
<artificial>:(.text._ZN5SPIRV25SPIRVLowerConstExprLegacyD0Ev+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:<artificial>:(.text._ZN5SPIRV23SPIRVLowerMemmoveLegacyD0Ev+0x18): more undefined references to `llvm::ModulePass::~ModulePass()' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::BuiltinCallMutator(SPIRV::BuiltinCallMutator&&)':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EOS0_+0x24): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EOS0_+0x2b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EOS0_+0x12a): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EOS0_+0x34a): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EOS0_+0x38f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::setArgs(llvm::ArrayRef<llvm::Value*>)':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0x29): undefined reference to `llvm::AttributeList::getRetAttrs() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0x35): undefined reference to `llvm::AttributeList::getFnAttrs() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0x41): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0x55): undefined reference to `llvm::AttributeList::get(llvm::LLVMContext&, llvm::AttributeSet, llvm::AttributeSet, llvm::ArrayRef<llvm::AttributeSet>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0xf0): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator7setArgsEN4llvm8ArrayRefIPNS1_5ValueEEE+0x115): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `moveAttributes(llvm::LLVMContext&, llvm::AttributeList&, unsigned int, unsigned int, unsigned int) [clone .lto_priv.0]':
<artificial>:(.text._ZL14moveAttributesRN4llvm11LLVMContextERNS_13AttributeListEjjj.lto_priv.0+0x5c): undefined reference to `llvm::AttributeList::getNumAttrSets() const'
/usr/bin/ld: <artificial>:(.text._ZL14moveAttributesRN4llvm11LLVMContextERNS_13AttributeListEjjj.lto_priv.0+0xa8): undefined reference to `llvm::AttributeList::getAttributes(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZL14moveAttributesRN4llvm11LLVMContextERNS_13AttributeListEjjj.lto_priv.0+0x1b7): undefined reference to `llvm::AttributeList::get(llvm::LLVMContext&, llvm::ArrayRef<std::pair<unsigned int, llvm::AttributeSet> >)'
/usr/bin/ld: <artificial>:(.text._ZL14moveAttributesRN4llvm11LLVMContextERNS_13AttributeListEjjj.lto_priv.0+0x26b): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZL14moveAttributesRN4llvm11LLVMContextERNS_13AttributeListEjjj.lto_priv.0+0x2b0): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::insertArg(unsigned int, SPIRV::BuiltinCallMutator::ValueTypePair)':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9insertArgEjNS0_13ValueTypePairE+0x111): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9insertArgEjNS0_13ValueTypePairE+0x16b): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9insertArgEjNS0_13ValueTypePairE+0x18e): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::replaceArg(unsigned int, SPIRV::BuiltinCallMutator::ValueTypePair)':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator10replaceArgEjNS0_13ValueTypePairE+0x2a): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator10replaceArgEjNS0_13ValueTypePairE+0x3a): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::removeArg(unsigned int)':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj+0x3b): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj+0xda): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj+0xe9): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::IRBuilderBase::CreateCast(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase10CreateCastENS_11Instruction7CastOpsEPNS_5ValueEPNS_4TypeERKNS_5TwineE+0x8c): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::SmallPtrSetImpl<void*>::count(void const*) const':
<artificial>:(.text._ZNK4llvm15SmallPtrSetImplIPvE5countEPKv+0x1b): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::removeBitCasts(llvm::Value*, llvm::Type*, llvm::IRBuilder<llvm::NoFolder, llvm::IRBuilderDefaultInserter>&, std::vector<llvm::Instruction*, std::allocator<llvm::Instruction*> >&)::{lambda(llvm::Instruction*, llvm::Value*)#1}::operator()(llvm::Instruction*, llvm::Value*) const':
<artificial>:(.text._ZZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EEENKUlSC_S2_E_clESC_S2_+0x61): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EEENKUlSC_S2_E_clESC_S2_+0xa5): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EEENKUlSC_S2_E_clESC_S2_+0xb1): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::removeBitCasts(llvm::Value*, llvm::Type*, llvm::IRBuilder<llvm::NoFolder, llvm::IRBuilderDefaultInserter>&, std::vector<llvm::Instruction*, std::allocator<llvm::Instruction*> >&)':
<artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x54): undefined reference to `llvm::IRBuilderBase::getCurrentDebugLocation() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x8c): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0xa8): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0xd5): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x131): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x175): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x1d1): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x248): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x32e): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x380): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x3b6): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x404): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x41a): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x48f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x502): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x544): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x550): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x5aa): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x5e6): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x622): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL14removeBitCastsEPN4llvm5ValueEPNS0_4TypeERNS0_9IRBuilderINS0_8NoFolderENS0_24IRBuilderDefaultInserterEEERSt6vectorIPNS0_11InstructionESaISC_EE+0x62e): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBitCastToNonStandardTypePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)':
<artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x1a7): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x21c): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x261): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x2b1): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x2f3): undefined reference to `vtable for llvm::NoFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x310): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x3f9): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x40a): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x416): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x422): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x48d): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x4f6): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x52d): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x53d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x5d9): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x5e3): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x641): undefined reference to `llvm::RecursivelyDeleteTriviallyDeadInstructions(llvm::Value*, llvm::TargetLibraryInfo const*, llvm::MemorySSAUpdater*, std::function<void (llvm::Value*)>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x73f): undefined reference to `llvm::report_fatal_error(llvm::Twine const&, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x7bc): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x825): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x83b): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x89b): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x8ba): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x8fd): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0x9d8): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xa5d): undefined reference to `llvm::SmallVectorBase<unsigned int>::mallocForGrow(void*, unsigned long, unsigned long, unsigned long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xaee): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xb73): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xc4e): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xd14): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xd1b): undefined reference to `vtable for llvm::NoFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xd30): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xdb8): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xe15): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV38SPIRVLowerBitCastToNonStandardTypePass3runERN4llvm8FunctionERNS1_15AnalysisManagerIS2_JEEE+0xec4): undefined reference to `llvm::report_fatal_error(llvm::Twine const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBitCastToNonStandardTypeLegacy::runOnFunction(llvm::Function&)':
<artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x271): undefined reference to `llvm::AnalysisManager<llvm::Function>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x2dc): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x376): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x3d0): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x472): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x47e): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacy13runOnFunctionERN4llvm8FunctionE+0x4bf): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBitCastToNonStandardTypeLegacy::~SPIRVLowerBitCastToNonStandardTypeLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyD2Ev.lto_priv.0+0xd7): undefined reference to `vtable for llvm::FunctionPass'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV40SPIRVLowerBitCastToNonStandardTypeLegacyD2Ev.lto_priv.0+0xec): undefined reference to `llvm::Pass::~Pass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::replace(llvm::Instruction*, llvm::Instruction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x27): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x4b): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x5e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x78): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x87): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0xf7): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase7replaceEPN4llvm11InstructionES3_+0x130): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::visitTruncInst(llvm::TruncInst&) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x4d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x69): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x8c): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0xac): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0xc8): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0xff): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x113): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x128): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x150): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x177): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x1c5): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE.part.0+0x1d1): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::visitTruncInst(llvm::TruncInst&)':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase14visitTruncInstERN4llvm9TruncInstE+0x1b): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::isBoolType(llvm::Type*)':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase10isBoolTypeEPN4llvm4TypeE+0x12): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolLegacy::SPIRVLowerBoolLegacy()':
<artificial>:(.text._ZN5SPIRV20SPIRVLowerBoolLegacyC2Ev+0x56): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::createSPIRVLowerBoolLegacy()':
<artificial>:(.text._ZN4llvm26createSPIRVLowerBoolLegacyEv+0x66): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolLegacy::~SPIRVLowerBoolLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV20SPIRVLowerBoolLegacyD2Ev.lto_priv.0+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::handleExtInstructions(llvm::Instruction&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase21handleExtInstructionsERN4llvm11InstructionE+0x43): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase21handleExtInstructionsERN4llvm11InstructionE+0xec): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase21handleExtInstructionsERN4llvm11InstructionE+0x115): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase21handleExtInstructionsERN4llvm11InstructionE+0x209): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::handleCastInstructions(llvm::Instruction&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x4a): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x76): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x8d): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0xcd): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0xf1): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x1e8): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x207): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x222): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x23b): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase22handleCastInstructionsERN4llvm11InstructionE+0x312): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolBase::runLowerBool(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolBase12runLowerBoolERN4llvm6ModuleE+0x21e): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerBoolPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV18SPIRVLowerBoolPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerConstExprBase::visit(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x1cc): undefined reference to `llvm::ConstantExpr::getAsInstruction(llvm::Instruction*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x1f5): undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x2a4): undefined reference to `llvm::User::replaceUsesOfWith(llvm::Value*, llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x2c0): undefined reference to `llvm::Instruction::comesBefore(llvm::Instruction const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x44f): undefined reference to `llvm::ConstantExpr::getAsInstruction(llvm::Instruction*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x481): undefined reference to `llvm::Instruction::insertBefore(llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x53c): undefined reference to `llvm::User::replaceUsesOfWith(llvm::Value*, llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x558): undefined reference to `llvm::Instruction::comesBefore(llvm::Instruction const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x579): undefined reference to `llvm::Instruction::moveBefore(llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x5d5): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x5e6): undefined reference to `llvm::MetadataAsValue::get(llvm::LLVMContext&, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerConstExprBase5visitEPN4llvm6ModuleE+0x691): undefined reference to `llvm::Instruction::moveBefore(llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::createSPIRVLowerConstExprLegacy()':
<artificial>:(.text._ZN4llvm31createSPIRVLowerConstExprLegacyEv+0x58): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::SmallVectorTemplateBase<llvm::cl::OptionCategory*, true>::push_back(llvm::cl::OptionCategory*)':
<artificial>:(.text.startup._ZN4llvm23SmallVectorTemplateBaseIPNS_2cl14OptionCategoryELb1EE9push_backES3_+0x3c): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::opt<char [23], llvm::cl::initializer<bool>, llvm::cl::desc>(char const (&) [23], llvm::cl::initializer<bool> const&, llvm::cl::desc const&) [clone .lto_priv.0]':
<artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0x1d): undefined reference to `vtable for llvm::cl::Option'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0x99): undefined reference to `llvm::cl::getGeneralCategory()'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0xc1): undefined reference to `vtable for llvm::cl::opt<bool, false, llvm::cl::parser<bool> >'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0xe9): undefined reference to `vtable for llvm::cl::parser<bool>'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0x129): undefined reference to `llvm::cl::Option::setArgStr(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEEC2IJA23_cNS0_11initializerIbEENS0_4descEEEEDpRKT_.lto_priv.0+0x169): undefined reference to `llvm::cl::Option::addArgument()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::cl::opt<bool, false, llvm::cl::parser<bool> >::~opt() [clone .lto_priv.0]':
<artificial>:(.text._ZN4llvm2cl3optIbLb0ENS0_6parserIbEEED2Ev.lto_priv.0+0x7): undefined reference to `vtable for llvm::cl::opt<bool, false, llvm::cl::parser<bool> >'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmoveBase::LowerMemMoveInst(llvm::MemMoveInst&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x5b): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x8f): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x176): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x182): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x19c): undefined reference to `llvm::AttributeList::getParamAlignment(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x1b8): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x1c1): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x1d0): undefined reference to `llvm::DataLayout::getPrefTypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x1e8): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x221): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Value*, llvm::Align, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x25f): undefined reference to `llvm::IRBuilderBase::CreateLifetimeStart(llvm::Value*, llvm::ConstantInt*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x294): undefined reference to `llvm::APInt::countLeadingZerosSlowCase() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x2d4): undefined reference to `llvm::IRBuilderBase::CreateMemTransferInst(unsigned int, llvm::Value*, llvm::MaybeAlign, llvm::Value*, llvm::MaybeAlign, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x30a): undefined reference to `llvm::APInt::countLeadingZerosSlowCase() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x322): undefined reference to `llvm::AttributeList::getParamAlignment(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x35c): undefined reference to `llvm::IRBuilderBase::CreateMemTransferInst(unsigned int, llvm::Value*, llvm::MaybeAlign, llvm::Value*, llvm::MaybeAlign, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x371): undefined reference to `llvm::IRBuilderBase::CreateLifetimeEnd(llvm::Value*, llvm::ConstantInt*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x37d): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x389): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x3e7): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x3f2): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x3f9): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase16LowerMemMoveInstERN4llvm11MemMoveInstE+0x410): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmoveBase::expandMemMoveIntrinsicUses(llvm::Function&)':
<artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase26expandMemMoveIntrinsicUsesERN4llvm8FunctionE+0x2d): undefined reference to `llvm::expandMemMoveAsLoop(llvm::MemMoveInst*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase26expandMemMoveIntrinsicUsesERN4llvm8FunctionE+0x36): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmoveBase::runLowerMemmove(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase15runLowerMemmoveERN4llvm6ModuleE+0x68): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase15runLowerMemmoveERN4llvm6ModuleE+0x9d): undefined reference to `llvm::expandMemMoveAsLoop(llvm::MemMoveInst*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmoveBase15runLowerMemmoveERN4llvm6ModuleE+0xa6): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmovePass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV21SPIRVLowerMemmovePass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmoveLegacy::SPIRVLowerMemmoveLegacy()':
<artificial>:(.text._ZN5SPIRV23SPIRVLowerMemmoveLegacyC2Ev+0x4c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::createSPIRVLowerMemmoveLegacy()':
<artificial>:(.text._ZN4llvm29createSPIRVLowerMemmoveLegacyEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerMemmoveLegacy::~SPIRVLowerMemmoveLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV23SPIRVLowerMemmoveLegacyD2Ev.lto_priv.0+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerOCLBlocksBase::runLowerOCLBlocks(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0x5e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0x73): undefined reference to `llvm::Regex::match(llvm::StringRef, llvm::SmallVectorImpl<llvm::StringRef>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0x9b): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0xaf): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0x10c): undefined reference to `llvm::Regex::Regex(llvm::StringRef, llvm::Regex::RegexFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksBase17runLowerOCLBlocksERN4llvm6ModuleE+0x113): undefined reference to `llvm::Regex::~Regex()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerOCLBlocksPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV23SPIRVLowerOCLBlocksPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::IRBuilderBase::CreateXor(llvm::Value*, llvm::Value*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase9CreateXorEPNS_5ValueES2_RKNS_5TwineE+0x8f): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase9CreateXorEPNS_5ValueES2_RKNS_5TwineE+0xd7): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::IRBuilderBase::CreateExtractValue(llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase18CreateExtractValueEPNS_5ValueENS_8ArrayRefIjEERKNS_5TwineE+0x80): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase18CreateExtractValueEPNS_5ValueENS_8ArrayRefIjEERKNS_5TwineE+0x92): undefined reference to `llvm::ExtractValueInst::getIndexedType(llvm::Type*, llvm::ArrayRef<unsigned int>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase18CreateExtractValueEPNS_5ValueENS_8ArrayRefIjEERKNS_5TwineE+0xb8): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase18CreateExtractValueEPNS_5ValueENS_8ArrayRefIjEERKNS_5TwineE+0x124): undefined reference to `llvm::ExtractValueInst::init(llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsBase::replaceSaddOverflow(llvm::Function&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x3b): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0xdb): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0xf3): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x1bf): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x2a2): undefined reference to `llvm::MemoryBuffer::getMemBuffer(llvm::StringRef, llvm::StringRef, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x2c0): undefined reference to `llvm::MemoryBuffer::getMemBufferRef() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x2f6): undefined reference to `llvm::parseIR(llvm::MemoryBufferRef, llvm::SMDiagnostic&, llvm::LLVMContext&, llvm::function_ref<llvm::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (llvm::StringRef)>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x35e): undefined reference to `llvm::Linker::linkModules(llvm::Module&, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, unsigned int, std::function<void (llvm::Module&, llvm::StringSet<llvm::MallocAllocator> const&)>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x376): undefined reference to `llvm::Module::~Module()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x3c3): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x3d9): undefined reference to `llvm::Module::~Module()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x503): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x587): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x5ad): undefined reference to `llvm::SMDiagnostic::print(char const*, llvm::raw_ostream&, bool, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x611): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x623): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase19replaceSaddOverflowERN4llvm8FunctionE+0x655): undefined reference to `llvm::Module::~Module()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsBase::replaceSaddSat(llvm::Function&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x1e): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x3a): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x11b): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x129): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x230): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x263): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x270): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x332): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x38f): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x457): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x4e0): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x510): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x5c0): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x697): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x6f4): undefined reference to `llvm::IRBuilderBase::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x700): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x709): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x802): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x845): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x85c): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x8da): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x8e6): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x905): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x91b): undefined reference to `llvm::ExtractValueInst::getIndexedType(llvm::Type*, llvm::ArrayRef<unsigned int>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x93c): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x9ae): undefined reference to `llvm::ExtractValueInst::init(llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x9e5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0x9fb): undefined reference to `llvm::ExtractValueInst::getIndexedType(llvm::Type*, llvm::ArrayRef<unsigned int>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xa1c): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xa8e): undefined reference to `llvm::ExtractValueInst::init(llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xac9): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xb40): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xb7d): undefined reference to `llvm::APInt::initSlowCase(unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsBase14replaceSaddSatERN4llvm8FunctionE+0xbc0): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV28SPIRVLowerSaddIntrinsicsPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsLegacy::SPIRVLowerSaddIntrinsicsLegacy()':
<artificial>:(.text._ZN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyC2Ev+0x50): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `llvm::createSPIRVLowerSaddIntrinsicsLegacy()':
<artificial>:(.text._ZN4llvm36createSPIRVLowerSaddIntrinsicsLegacyEv+0x60): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::BuiltinCallMutator(llvm::CallInst*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, SPIRV::ManglingRules, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::StringRef)>) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EPN4llvm8CallInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13ManglingRulesESt8functionIFS9_NS1_9StringRefEEE+0x28): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EPN4llvm8CallInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13ManglingRulesESt8functionIFS9_NS1_9StringRefEEE+0x3d): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EPN4llvm8CallInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13ManglingRulesESt8functionIFS9_NS1_9StringRefEEE+0x116): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EPN4llvm8CallInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13ManglingRulesESt8functionIFS9_NS1_9StringRefEEE+0x179): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutatorC2EPN4llvm8CallInstENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_13ManglingRulesESt8functionIFS9_NS1_9StringRefEEE+0x32d): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallMutator::doConversion()':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator12doConversionEv+0x2a6): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator12doConversionEv+0x2fb): undefined reference to `llvm::Instruction::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator12doConversionEv+0x36b): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator12doConversionEv+0x384): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator12doConversionEv+0x398): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallHelper::addSPIRVCall(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, spv::Op, llvm::Type*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::Type*>, llvm::Twine const&)':
<artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x8d): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x3ef): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x479): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x4a6): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x63d): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x654): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x6d1): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x6dc): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper12addSPIRVCallERN4llvm9IRBuilderINS1_14ConstantFolderENS1_24IRBuilderDefaultInserterEEEN3spv2OpEPNS1_4TypeENS1_8ArrayRefIPNS1_5ValueEEENSB_ISA_EERKNS1_5TwineE+0x743): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o: in function `SPIRV::BuiltinCallHelper::adjustImageType(llvm::Type*, llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0xb9): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0xf2): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0x12e): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0x13e): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0x1fb): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17BuiltinCallHelper15adjustImageTypeEPN4llvm4TypeENS1_9StringRefES4_+0x246): undefined reference to `llvm::report_fatal_error(char const*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTIN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyIbEE+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTIN5SPIRV25SPIRVLowerConstExprLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerOCLBlocksLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN4llvm2cl11OptionValueIbEE+0x18): undefined reference to `llvm::cl::GenericOptionValue::anchor()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans6.ltrans.o:(.data.rel.ro._ZTVN5SPIRV25SPIRVLowerConstExprLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsLegacy::~SPIRVLowerSaddIntrinsicsLegacy()':
<artificial>:(.text._ZN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyD0Ev+0x18): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transType(SPIRV::SPIRVType*, bool)::{lambda(llvm::StringRef, unsigned int)#1}::operator()(llvm::StringRef, unsigned int) const':
<artificial>:(.text._ZZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEbENKUlN4llvm9StringRefEjE_clES4_j+0x32): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEbENKUlN4llvm9StringRefEjE_clES4_j+0x6c): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEbENKUlN4llvm9StringRefEjE_clES4_j+0x78): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEbENKUlN4llvm9StringRefEjE_clES4_j+0xcb): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVLowerSaddIntrinsicsLegacy::~SPIRVLowerSaddIntrinsicsLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV30SPIRVLowerSaddIntrinsicsLegacyD2Ev.lto_priv.0+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::raw_ostream::operator<<(char const*)':
<artificial>:(.text._ZN4llvm11raw_ostreamlsEPKc+0x39): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::GlobalVariable::addAttribute(llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN4llvm14GlobalVariable12addAttributeENS_9StringRefES1_+0x1d): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm14GlobalVariable12addAttributeENS_9StringRefES1_+0x36): undefined reference to `llvm::AttributeSet::addAttribute(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::APFloat::Storage::~Storage() [clone .lto_priv.0]':
<artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0x1a): undefined reference to `llvm::APFloatBase::PPCDoubleDouble()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0x36): undefined reference to `llvm::detail::IEEEFloat::~IEEEFloat()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0x86): undefined reference to `llvm::detail::IEEEFloat::~IEEEFloat()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0xde): undefined reference to `llvm::detail::IEEEFloat::~IEEEFloat()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0x136): undefined reference to `llvm::detail::IEEEFloat::~IEEEFloat()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm7APFloat7StorageD2Ev.lto_priv.0+0x176): undefined reference to `llvm::detail::IEEEFloat::~IEEEFloat()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::GetElementPtrInst::Create(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::BasicBlock*)':
<artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x36): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x80): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x9d): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x10c): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x129): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x14a): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x15d): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x178): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm17GetElementPtrInst6CreateEPNS_4TypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x1a9): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::BasicBlock*)':
<artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x39): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x6a): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE+0x8e): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::IRBuilderBase::CreateInsertElement(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase19CreateInsertElementEPNS_5ValueES2_S2_RKNS_5TwineE+0x88): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase19CreateInsertElementEPNS_5ValueES2_S2_RKNS_5TwineE+0xa3): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase19CreateInsertElementEPNS_5ValueES2_S2_RKNS_5TwineE+0xef): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::IRBuilderBase::CreateShuffleVector(llvm::Value*, llvm::Value*, llvm::ArrayRef<int>, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase19CreateShuffleVectorEPNS_5ValueES2_NS_8ArrayRefIiEERKNS_5TwineE+0x7c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase19CreateShuffleVectorEPNS_5ValueES2_NS_8ArrayRefIiEERKNS_5TwineE+0xab): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::ArrayRef<int>, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase19CreateShuffleVectorEPNS_5ValueES2_NS_8ArrayRefIiEERKNS_5TwineE+0xf7): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `llvm::IRBuilderBase::CreateInsertValue(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase17CreateInsertValueEPNS_5ValueES2_NS_8ArrayRefIjEERKNS_5TwineE+0x88): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase17CreateInsertValueEPNS_5ValueES2_NS_8ArrayRefIjEERKNS_5TwineE+0xab): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase17CreateInsertValueEPNS_5ValueES2_NS_8ArrayRefIjEERKNS_5TwineE+0xdd): undefined reference to `llvm::InsertValueInst::init(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::addKernelArgumentMetadata(llvm::LLVMContext*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SPIRV::SPIRVFunction*, llvm::Function*, std::function<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*)>) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL25addKernelArgumentMetadataEPN4llvm11LLVMContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_13SPIRVFunctionEPNS0_8FunctionESt8functionIFPNS0_8MetadataEPNS_22SPIRVFunctionParameterEEE.lto_priv.0+0x146): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addKernelArgumentMetadataEPN4llvm11LLVMContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_13SPIRVFunctionEPNS0_8FunctionESt8functionIFPNS0_8MetadataEPNS_22SPIRVFunctionParameterEEE.lto_priv.0+0x15d): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFPType(SPIRV::SPIRVType*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transFPTypeEPNS_9SPIRVTypeE+0x1a): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transFPTypeEPNS_9SPIRVTypeE+0x22): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transFPTypeEPNS_9SPIRVTypeE+0x32): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::opaquifyType(llvm::Type*) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL12opaquifyTypeEPN4llvm4TypeE.lto_priv.0+0x63): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL12opaquifyTypeEPN4llvm4TypeE.lto_priv.0+0x6f): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL12opaquifyTypeEPN4llvm4TypeE.lto_priv.0+0x7a): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL12opaquifyTypeEPN4llvm4TypeE.lto_priv.0+0x8f): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::setName(llvm::Value*, SPIRV::SPIRVValue*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM7setNameEPN4llvm5ValueEPNS_10SPIRVValueE+0x6d): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM7setNameEPN4llvm5ValueEPNS_10SPIRVValueE+0xad): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transLLVMLoopMetadata(llvm::Function const*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE+0x21): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::applyNoIntegerWrapDecorations(SPIRV::SPIRVValue const*, llvm::Instruction*) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL29applyNoIntegerWrapDecorationsEPKNS_10SPIRVValueEPN4llvm11InstructionE.lto_priv.0+0x4a): undefined reference to `llvm::Instruction::setHasNoSignedWrap(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL29applyNoIntegerWrapDecorationsEPKNS_10SPIRVValueEPN4llvm11InstructionE.lto_priv.0+0x60): undefined reference to `llvm::Instruction::setHasNoUnsignedWrap(bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::applyFPFastMathModeDecorations(SPIRV::SPIRVValue const*, llvm::Instruction*) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL30applyFPFastMathModeDecorationsEPKNS_10SPIRVValueEPN4llvm11InstructionE.lto_priv.0+0x96): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transShiftLogicalBitwiseInst(SPIRV::SPIRVValue*, llvm::BasicBlock*, llvm::Function*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x39): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x44): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x284): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x2db): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x2e2): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x2f7): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x502): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x57a): undefined reference to `llvm::Instruction::setHasNoUnsignedWrap(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x592): undefined reference to `llvm::Instruction::setHasNoSignedWrap(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x60f): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM28transShiftLogicalBitwiseInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x61b): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transCmpInst(SPIRV::SPIRVValue*, llvm::BasicBlock*, llvm::Function*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x3f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x4a): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x32a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x331): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x346): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x53c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x56f): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x59a): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x68a): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x696): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM12transCmpInstEPNS_10SPIRVValueEPN4llvm10BasicBlockEPNS3_8FunctionE+0x821): undefined reference to `llvm::IRBuilderBase::CreateFCmpHelper(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::mapValue(SPIRV::SPIRVValue*, llvm::Value*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM8mapValueEPNS_10SPIRVValueEPN4llvm5ValueE+0xab): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM8mapValueEPNS_10SPIRVValueEPN4llvm5ValueE+0xb4): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM8mapValueEPNS_10SPIRVValueEPN4llvm5ValueE+0xbd): undefined reference to `llvm::GlobalVariable::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transGeneratorMD()':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x48): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0xb0): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0xbf): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0xc8): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x124): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x132): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x13b): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x183): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x199): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x1ff): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transGeneratorMDEv+0x21f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::oclTransConstantPipeStorage(SPIRV::SPIRVConstantPipeStorage*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0xb6): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0xce): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0xef): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x105): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x11b): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x130): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x154): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x18b): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27oclTransConstantPipeStorageEPNS_24SPIRVConstantPipeStorageE+0x237): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::ArrayRef<llvm::Type*>, llvm::StringRef, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::replaceOperandWithAnnotationIntrinsicCallResult(llvm::Value*&) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL47replaceOperandWithAnnotationIntrinsicCallResultERPN4llvm5ValueE.lto_priv.0+0xd): undefined reference to `llvm::Value::getSingleUndroppableUse()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::addMemAliasMetadata(llvm::Instruction*, unsigned int, unsigned int)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x129): undefined reference to `llvm::MDBuilder::createAnonymousAARoot(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x172): undefined reference to `llvm::MDBuilder::createAnonymousAARoot(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x29d): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x2c1): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x2d9): undefined reference to `llvm::MDNode::concatenate(llvm::MDNode*, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19addMemAliasMetadataEPN4llvm11InstructionEjj+0x309): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::getMDNodeStringIntVec(llvm::LLVMContext*, std::vector<unsigned int, std::allocator<unsigned int> > const&) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL21getMDNodeStringIntVecEPN4llvm11LLVMContextERKSt6vectorIjSaIjEE.lto_priv.0+0x70): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL21getMDNodeStringIntVecEPN4llvm11LLVMContextERKSt6vectorIjSaIjEE.lto_priv.0+0x7e): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL21getMDNodeStringIntVecEPN4llvm11LLVMContextERKSt6vectorIjSaIjEE.lto_priv.0+0x87): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL21getMDNodeStringIntVecEPN4llvm11LLVMContextERKSt6vectorIjSaIjEE.lto_priv.0+0xfa): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL21getMDNodeStringIntVecEPN4llvm11LLVMContextERKSt6vectorIjSaIjEE.lto_priv.0+0x146): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::getMDTwoInt(llvm::LLVMContext*, unsigned int, unsigned int) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x38): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x45): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x4e): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x83): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x91): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0x9a): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL11getMDTwoIntEPN4llvm11LLVMContextEjj.lto_priv.0+0xd3): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::translateSEVMetadata(SPIRV::SPIRVValue*, llvm::LLVMContext&) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL20translateSEVMetadataEPNS_10SPIRVValueERN4llvm11LLVMContextE.lto_priv.0+0xbf): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transOCLKernelArgTypeName(SPIRV::SPIRVFunctionParameter*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transOCLKernelArgTypeNameEPNS_22SPIRVFunctionParameterE+0x2f0): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transType(SPIRV::SPIRVType*, bool)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x48e): undefined reference to `llvm::Type::getTokenTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x556): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x5b2): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x5ce): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x64a): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x661): undefined reference to `llvm::StructType::setName(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x67b): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x84d): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x8d3): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0x946): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0xa16): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0xa7d): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0xbbd): undefined reference to `llvm::StructType::setBody(llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0xbf2): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9transTypeEPNS_9SPIRVTypeEb+0xcea): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFunctionPointerCallArgumentAttributes(SPIRV::SPIRVValue*, llvm::CallInst*, SPIRV::SPIRVTypeFunction*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x1a7): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x1b8): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x1d6): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x1ef): undefined reference to `llvm::AttributeList::addParamAttribute(llvm::LLVMContext&, llvm::ArrayRef<unsigned int>, llvm::Attribute) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x25a): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM42transFunctionPointerCallArgumentAttributesEPNS_10SPIRVValueEPN4llvm8CallInstEPNS_17SPIRVTypeFunctionE+0x268): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::transConvertInst(SPIRV::SPIRVValue*, llvm::Function*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transConvertInstEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockE+0xaa): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transConvertInstEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockE+0xbb): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transConvertInstEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockE+0x11f): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transConvertInstEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockE+0x228): undefined reference to `llvm::ConstantExpr::getCast(unsigned int, llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::expandOCLBuiltinWithScalarArg(llvm::CallInst*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x147): undefined reference to `llvm::ConstantVector::getSplat(llvm::ElementCount, llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x156): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1a6): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1b4): undefined reference to `llvm::ConstantVector::getSplat(llvm::ElementCount, llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1e5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x209): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x219): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x244): undefined reference to `llvm::ConstantVector::getSplat(llvm::ElementCount, llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29expandOCLBuiltinWithScalarArgEPN4llvm8CallInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x262): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans7.ltrans.o: in function `SPIRV::SPIRVToLLVM::oclTransConstantSampler(SPIRV::SPIRVConstantSampler*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0x47): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0x62): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0x7b): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0xb8): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0xcd): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0xf2): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23oclTransConstantSamplerEPNS_20SPIRVConstantSamplerEPN4llvm10BasicBlockE+0x11b): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans8.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFixedPointInst(SPIRV::SPIRVInstruction*, llvm::BasicBlock*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xae): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xce): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2a0): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2e5): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x331): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x515): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x539): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x66a): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x67d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x6ba): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x6ca): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x6fb): undefined reference to `llvm::AddrSpaceCastInst::AddrSpaceCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x773): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x781): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x7c5): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x7dc): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x7f6): undefined reference to `llvm::AttributeList::addParamAttribute(llvm::LLVMContext&, llvm::ArrayRef<unsigned int>, llvm::Attribute) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x80a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x844): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x88e): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transFixedPointInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xc16): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans8.ltrans.o: in function `SPIRV::SPIRVToLLVM::transArbFloatInst(SPIRV::SPIRVInstruction*, llvm::BasicBlock*, bool) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x58): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x67): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x21c): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x419): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x476): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x6c6): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x6e3): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x707): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x806): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x814): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x864): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x87b): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x893): undefined reference to `llvm::AttributeList::addParamAttribute(llvm::LLVMContext&, llvm::ArrayRef<unsigned int>, llvm::Attribute) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x8a7): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x8e5): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x916): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x935): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x95f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x98c): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x99c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x9c5): undefined reference to `llvm::AddrSpaceCastInst::AddrSpaceCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0xa27): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x1491): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transArbFloatInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockEb+0x1544): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans8.ltrans.o: in function `SPIRV::SPIRVToLLVM::transValueWithoutDecoration(SPIRV::SPIRVValue*, llvm::Function*, llvm::BasicBlock*, bool)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x21c): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x223): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x549): undefined reference to `llvm::ConstantInt::getTrue(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x67a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6af): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6e2): undefined reference to `llvm::ConstantInt::getFalse(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x71e): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x743): undefined reference to `llvm::ConstantInt::getTrue(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x785): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x7e2): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x985): undefined reference to `llvm::ConstantInt::getFalse(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x9ac): undefined reference to `llvm::APFloatBase::IEEEhalf()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x9e1): undefined reference to `llvm::APFloatBase::PPCDoubleDouble()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x9f9): undefined reference to `llvm::detail::IEEEFloat::IEEEFloat(llvm::fltSemantics const&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xa2d): undefined reference to `llvm::ConstantFP::get(llvm::LLVMContext&, llvm::APFloat const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xaf5): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xb35): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xb4e): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xb89): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xc18): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xc7a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0xcb0): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x104f): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x115b): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x118f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x11ac): undefined reference to `llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x11f4): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1385): undefined reference to `llvm::IRBuilderBase::CreateMaskedScatter(llvm::Value*, llvm::Value*, llvm::Align, llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x13dd): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x14cb): undefined reference to `llvm::IRBuilderBase::CreateAssumption(llvm::Value*, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1792): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x187d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x18d0): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x194c): undefined reference to `llvm::GlobalVariable::setInitializer(llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x19b1): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x19ea): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x19f9): undefined reference to `llvm::Attribute::getKindAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1a2f): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1a6e): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1b58): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1c10): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1c1d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1c29): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1c35): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1cf6): undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1d14): undefined reference to `llvm::TypeSize::operator unsigned long() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1d25): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1daa): undefined reference to `llvm::IRBuilderBase::CreateIntrinsic(unsigned int, llvm::ArrayRef<llvm::Type*>, llvm::ArrayRef<llvm::Value*>, llvm::Instruction*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1e20): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1e91): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1ea1): undefined reference to `llvm::APFloatBase::IEEEsingle()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1eaf): undefined reference to `llvm::APFloatBase::IEEEdouble()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1ebd): undefined reference to `llvm::detail::DoubleAPFloat::DoubleAPFloat(llvm::fltSemantics const&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1f4a): undefined reference to `llvm::APInt::APInt(unsigned int, llvm::ArrayRef<unsigned long>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x1f56): undefined reference to `llvm::ConstantInt::get(llvm::Type*, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x20ab): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x21f7): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x220a): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x232e): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x236a): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x237d): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2551): undefined reference to `llvm::IRBuilderBase::CreateMaskedGather(llvm::Type*, llvm::Value*, llvm::Align, llvm::Value*, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2592): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2707): undefined reference to `llvm::IRBuilderBase::CreateIntrinsic(unsigned int, llvm::ArrayRef<llvm::Type*>, llvm::ArrayRef<llvm::Value*>, llvm::Instruction*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2806): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2996): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2ae4): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2bee): undefined reference to `llvm::IRBuilderBase::CreateLifetimeStart(llvm::Value*, llvm::ConstantInt*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2c52): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2caa): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2cc4): undefined reference to `llvm::UnreachableInst::UnreachableInst(llvm::LLVMContext&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2d84): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2d9c): undefined reference to `llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::BasicBlock*, llvm::Value*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2dfb): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2e0d): undefined reference to `llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2e2d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2e3f): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2ef7): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x2f0e): undefined reference to `llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3039): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x304e): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3208): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x344e): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3627): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x36ac): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x372e): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x375d): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3895): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3959): undefined reference to `llvm::ShuffleVectorInst::getShuffleMask(llvm::Constant const*, llvm::SmallVectorImpl<int>&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3ab4): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3bd7): undefined reference to `llvm::IRBuilderBase::CreateMemTransferInst(unsigned int, llvm::Value*, llvm::MaybeAlign, llvm::Value*, llvm::MaybeAlign, llvm::Value*, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3be7): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3bf5): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3cec): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3d0c): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3db2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3dcf): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3e83): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3eaa): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3f6d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x3fbc): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4284): undefined reference to `llvm::Constant::getAllOnesValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x42d9): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4404): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4441): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4450): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4459): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4562): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x46ab): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x46b6): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x46bf): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4744): undefined reference to `llvm::ConstantFP::get(llvm::Type*, double)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4757): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x47b6): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4893): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x49d9): undefined reference to `llvm::ConstantFP::get(llvm::Type*, double)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x49f8): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4a5f): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4b02): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4c38): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4c61): undefined reference to `llvm::ConstantFP::get(llvm::Type*, double)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4c73): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4cd3): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4ce3): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x4e34): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5085): undefined reference to `llvm::IRBuilderBase::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5101): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x511d): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5139): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x514a): undefined reference to `llvm::User::allocHungoffUses(unsigned int, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5461): undefined reference to `llvm::UnaryOperator::Create(llvm::Instruction::UnaryOps, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5594): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x55f4): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x56f2): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5703): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x570c): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5811): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x587f): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5891): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x597b): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x59a5): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x59b5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5a01): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5a11): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5a34): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5a4f): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5c0d): undefined reference to `llvm::IRBuilderBase::CreateBinaryIntrinsic(unsigned int, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5c7b): undefined reference to `llvm::IRBuilderBase::CreateFCmpHelper(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5c9b): undefined reference to `llvm::IRBuilderBase::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5e83): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5f7b): undefined reference to `llvm::IRBuilderBase::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x5f9c): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x60c5): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x60f5): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6104): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6173): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6199): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x61a5): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x61e8): undefined reference to `llvm::IRBuilderBase::CreateConstrainedFPBinOp(unsigned int, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::Twine const&, llvm::MDNode*, llvm::Optional<llvm::RoundingMode>, llvm::Optional<llvm::fp::ExceptionBehavior>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x629c): undefined reference to `llvm::IRBuilderBase::CreateLifetimeEnd(llvm::Value*, llvm::ConstantInt*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x64a5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x64d8): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::ArrayRef<int>, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6531): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6553): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x689b): undefined reference to `llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Optional<unsigned int>, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6a28): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6a72): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6a9d): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Align, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6ac1): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6b18): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::Align, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6b59): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6b89): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM27transValueWithoutDecorationEPNS_10SPIRVValueEPN4llvm8FunctionEPNS3_10BasicBlockEb+0x6bde): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::SPIRVToLLVM(llvm::Module*, SPIRV::SPIRVModule*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x2c2): undefined reference to `llvm::DIBuilder::DIBuilder(llvm::Module&, bool, llvm::DICompileUnit*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x5ee): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x633): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x69e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x6e3): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x71e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x790): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x7d5): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x80e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x89e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x8f6): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVMC2EPN4llvm6ModuleEPNS_11SPIRVModuleE+0x9b6): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transGlobalAnnotations() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM22transGlobalAnnotationsEv+0x4c): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM22transGlobalAnnotationsEv+0x5b): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM22transGlobalAnnotationsEv+0x6e): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM22transGlobalAnnotationsEv+0xb6): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM22transGlobalAnnotationsEv+0xe7): undefined reference to `llvm::GlobalObject::setSection(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::createCXXStructor(char const*, llvm::SmallVectorImpl<llvm::Function*>&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x59): undefined reference to `llvm::Module::getGlobalVariable(llvm::StringRef, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x96): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0xa3): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0xae): undefined reference to `llvm::FunctionType::get(llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0xb9): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0xc8): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0xf8): undefined reference to `llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x109): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x136): undefined reference to `llvm::Module::getOrInsertGlobal(llvm::StringRef, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x1b8): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x1e9): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x218): undefined reference to `llvm::ConstantPointerNull::get(llvm::PointerType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x254): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x2b2): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x2be): undefined reference to `llvm::GlobalVariable::setInitializer(llvm::Constant*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x309): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x32f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x34f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17createCXXStructorEPKcRN4llvm15SmallVectorImplIPNS3_8FunctionEEE+0x377): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFPContractMetadata() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23transFPContractMetadataEv+0x13d): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transNonTemporalMetadata(llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x28): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x38): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x41): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x5f): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x78): undefined reference to `llvm::Module::getMDKindID(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM24transNonTemporalMetadataEPN4llvm11InstructionE+0x86): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transOCLMetadataEPNS_13SPIRVFunctionE+0x8e0): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transOCLMetadataEPNS_13SPIRVFunctionE+0x8f8): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transOCLMetadataEPNS_13SPIRVFunctionE+0x991): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transOCLMetadataEPNS_13SPIRVFunctionE+0x9a9): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFunctionAttrs(SPIRV::SPIRVFunction*, llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x97): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x2dc): undefined reference to `llvm::Argument::addAttrs(llvm::AttrBuilder&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x3ca): undefined reference to `llvm::AttrBuilder::addAlignmentAttr(llvm::MaybeAlign)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x3e1): undefined reference to `llvm::AttrBuilder::addDereferenceableAttr(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x560): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x575): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x59d): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transAsmINTEL(SPIRV::SPIRVAsmINTEL*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transAsmINTELEPNS_13SPIRVAsmINTELE+0x7c): undefined reference to `llvm::InlineAsm::get(llvm::FunctionType*, llvm::StringRef, llvm::StringRef, bool, bool, llvm::InlineAsm::AsmDialect, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFunction(SPIRV::SPIRVFunction*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x1af): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x627): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x649): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x7cd): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x81d): undefined reference to `llvm::StructType::get(llvm::LLVMContext&, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x848): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x881): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x8c0): undefined reference to `llvm::GlobalValue::getAddressSpace() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x8d3): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x8f2): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transFunctionEPNS_13SPIRVFunctionE+0x939): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transBlockInvoke(SPIRV::SPIRVValue*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transBlockInvokeEPNS_10SPIRVValueEPN4llvm10BasicBlockE+0x35): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM16transBlockInvokeEPNS_10SPIRVValueEPN4llvm10BasicBlockE+0x53): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transAsmCallINTEL(SPIRV::SPIRVAsmCallINTEL*, llvm::Function*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transAsmCallINTELEPNS_17SPIRVAsmCallINTELEPN4llvm8FunctionEPNS3_10BasicBlockE+0x1a8): undefined reference to `llvm::InlineAsm::getFunctionType() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transAsmCallINTELEPNS_17SPIRVAsmCallINTELEPN4llvm8FunctionEPNS3_10BasicBlockE+0x1b9): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transAsmCallINTELEPNS_17SPIRVAsmCallINTELEPN4llvm8FunctionEPNS3_10BasicBlockE+0x1ed): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transAsmCallINTELEPNS_17SPIRVAsmCallINTELEPN4llvm8FunctionEPNS3_10BasicBlockE+0x213): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transOCLBuiltinFromInstPreproc(SPIRV::SPIRVInstruction*, llvm::Type*&, std::vector<SPIRV::SPIRVValue*, std::allocator<SPIRV::SPIRVValue*> >&)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM30transOCLBuiltinFromInstPreprocEPNS_16SPIRVInstructionERPN4llvm4TypeERSt6vectorIPNS_10SPIRVValueESaIS9_EE+0x85): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM30transOCLBuiltinFromInstPreprocEPNS_16SPIRVInstructionERPN4llvm4TypeERSt6vectorIPNS_10SPIRVValueESaIS9_EE+0x91): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM30transOCLBuiltinFromInstPreprocEPNS_16SPIRVInstructionERPN4llvm4TypeERSt6vectorIPNS_10SPIRVValueESaIS9_EE+0xae): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transOCLBuiltinPostproc(SPIRV::SPIRVInstruction*, llvm::CallInst*, llvm::BasicBlock*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM23transOCLBuiltinPostprocEPNS_16SPIRVInstructionEPN4llvm8CallInstEPNS3_10BasicBlockERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x131): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transWGSizeQueryBI(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x71): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xbc): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xe8): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x155): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x17b): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x1a4): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x270): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x288): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x29b): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2be): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2dc): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transWGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2ea): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transSGSizeQueryBI(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x82): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xef): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x119): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x194): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x205): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x238): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x263): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x33b): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3bb): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3ce): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3f8): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x41a): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM18transSGSizeQueryBIEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x428): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transBuiltinFromInst(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SPIRV::SPIRVInstruction*, llvm::BasicBlock*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x1cb): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x23c): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x248): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2ab): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x391): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3a0): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3ab): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3b7): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3c3): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x3fc): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x412): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x455): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x475): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x497): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x4d2): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x53a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x56a): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x590): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transBuiltinFromInstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x69b): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transAddressingModel() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transAddressingModelEv+0x20c): undefined reference to `llvm::Module::setDataLayout(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM20transAddressingModelEv+0x281): undefined reference to `llvm::Module::setDataLayout(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transSPIRVBuiltinFromInst(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transSPIRVBuiltinFromInstEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x10f): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::generateIntelFPGAAnnotation(SPIRV::SPIRVEntry const*, std::vector<llvm::SmallString<256u>, std::allocator<llvm::SmallString<256u> > >&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x65): undefined reference to `vtable for llvm::raw_svector_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xd7): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x15b): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x2f3): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x30e): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x32b): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x393): undefined reference to `vtable for llvm::raw_svector_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x41c): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x494): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x4bc): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x4e9): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x4fd): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x527): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x5ad): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x5e2): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x64a): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x725): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x7b3): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x7fa): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x87a): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x8ba): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x960): undefined reference to `vtable for llvm::raw_svector_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x9ba): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa3f): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa81): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa96): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xc24): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xc34): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xc97): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xcc7): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xcd7): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o:<artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xce7): more undefined references to `llvm::raw_ostream::write(unsigned char)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::generateIntelFPGAAnnotation(SPIRV::SPIRVEntry const*, std::vector<llvm::SmallString<256u>, std::allocator<llvm::SmallString<256u> > >&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV27generateIntelFPGAAnnotationEPKNS_10SPIRVEntryERSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xd3b): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transUserSemantic(SPIRV::SPIRVFunction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0xd9): undefined reference to `llvm::ConstantDataArray::getString(llvm::LLVMContext&, llvm::StringRef, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0xec): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x12c): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x154): undefined reference to `llvm::GlobalObject::setSection(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x177): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x185): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x191): undefined reference to `llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(llvm::Constant*, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x1a2): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x1af): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x1cf): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x1e0): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x1f3): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x204): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x221): undefined reference to `llvm::ConstantStruct::getTypeForElements(llvm::ArrayRef<llvm::Constant*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM17transUserSemanticEPNS_13SPIRVFunctionE+0x232): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::generateIntelFPGAAnnotationForStructMember(SPIRV::SPIRVEntry const*, unsigned int, std::vector<llvm::SmallString<256u>, std::allocator<llvm::SmallString<256u> > >&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x7f): undefined reference to `vtable for llvm::raw_svector_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xdb): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x18a): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x390): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x49f): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x5a3): undefined reference to `vtable for llvm::raw_svector_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x5fd): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x67f): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x6c1): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x6d6): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x7c0): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x831): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x8c0): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x948): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x988): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0x9c8): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa08): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa34): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xa44): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xaa7): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xab3): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xae7): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xaf7): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xb07): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xb17): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xb2a): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xb36): undefined reference to `vtable for llvm::raw_pwrite_stream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xb98): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42generateIntelFPGAAnnotationForStructMemberEPKNS_10SPIRVEntryEjRSt6vectorIN4llvm11SmallStringILj256EEESaIS6_EE+0xbb3): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transIntelFPGADecorations(SPIRV::SPIRVValue*, llvm::Value*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x95): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xe0): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xec): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x182): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x199): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1a5): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1b3): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x3b3): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x473): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x570): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x600): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x62d): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x8c9): undefined reference to `llvm::IRBuilderBase::CreateGlobalString(llvm::StringRef, llvm::Twine const&, unsigned int, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x8da): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x8e7): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x93d): undefined reference to `llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Optional<unsigned int>, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xa2d): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xb05): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xb1c): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xb9c): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xba7): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xbd5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xd91): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xec6): undefined reference to `llvm::ConstantDataArray::getString(llvm::LLVMContext&, llvm::StringRef, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xed9): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf18): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf40): undefined reference to `llvm::GlobalObject::setSection(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf63): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf71): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf7d): undefined reference to `llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast(llvm::Constant*, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf8c): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xf99): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xfb4): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xfc5): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xfd8): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0xfe9): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1006): undefined reference to `llvm::ConstantStruct::getTypeForElements(llvm::ArrayRef<llvm::Constant*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1017): undefined reference to `llvm::ConstantStruct::get(llvm::StructType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x11c8): undefined reference to `llvm::IRBuilderBase::CreateGlobalString(llvm::StringRef, llvm::Twine const&, unsigned int, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x11d9): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x11e6): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x122d): undefined reference to `llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Optional<unsigned int>, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1247): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1254): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x126a): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x127d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x12fd): undefined reference to `llvm::Intrinsic::getDeclaration(llvm::Module*, unsigned int, llvm::ArrayRef<llvm::Type*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1309): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x142a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x14ba): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x14ef): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x15a0): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1775): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x178c): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1838): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1843): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1865): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x18ad): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x18c5): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x194b): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1967): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1986): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1994): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x19d0): undefined reference to `llvm::User::operator new(unsigned long, unsigned int, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1a06): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1a1b): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1a3b): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transIntelFPGADecorationsEPNS_10SPIRVValueEPN4llvm5ValueE+0x1b6a): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::transDecorationsToMetadataList(llvm::LLVMContext*, std::vector<SPIRV::SPIRVDecorate const*, std::allocator<SPIRV::SPIRVDecorate const*> >) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xb2): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xc0): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xc9): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x366): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x37c): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x385): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xb50): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xb81): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xc19): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xc99): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xf1c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xf2a): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0xf33): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x1282): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x12cc): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x12da): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x12e3): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x1345): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x13cd): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x15b8): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL30transDecorationsToMetadataListEPN4llvm11LLVMContextESt6vectorIPKNS_13SPIRVDecorateESaIS6_EE.lto_priv.0+0x15e1): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transDecoration(SPIRV::SPIRVValue*, llvm::Value*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM15transDecorationEPNS_10SPIRVValueEPN4llvm5ValueE+0x9f): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM15transDecorationEPNS_10SPIRVValueEPN4llvm5ValueE+0xb8): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM15transDecorationEPNS_10SPIRVValueEPN4llvm5ValueE+0x120): undefined reference to `llvm::GlobalObject::setAlignment(llvm::MaybeAlign)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::transMetadata() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x1cb): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x315): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x352): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x3a8): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x475): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x54d): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x560): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x569): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x572): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x5a0): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x5b0): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x5b9): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x5f8): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x610): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x669): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x785): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x7a6): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x7be): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x84d): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x8d9): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x8f1): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0x98d): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xa1d): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xaec): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xb1e): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xb36): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xba1): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xc12): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xc2d): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xc62): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xcc2): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xcda): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM13transMetadataEv+0xd31): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans9.ltrans.o: in function `SPIRV::SPIRVToLLVM::translate()':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9translateEv+0x442): undefined reference to `llvm::Module::addModuleFlag(llvm::Module::ModFlagBehavior, llvm::StringRef, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM9translateEv+0x460): undefined reference to `llvm::DIBuilder::finalize()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transAlign(SPIRV::SPIRVValue*, llvm::Value*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM10transAlignEPNS_10SPIRVValueEPN4llvm5ValueE+0x89): undefined reference to `llvm::GlobalObject::setAlignment(llvm::MaybeAlign)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `llvm::SmallVectorTemplateBase<llvm::Metadata*, true>::push_back(llvm::Metadata*)':
<artificial>:(.text._ZN4llvm23SmallVectorTemplateBaseIPNS_8MetadataELb1EE9push_backES2_+0x40): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVMDBuilder::MDWrapper<SPIRV::SPIRVMDBuilder::NamedMDWrapper>::add(unsigned int)':
<artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE3addEj+0x1b): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE3addEj+0x28): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE3addEj+0x31): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE3addEj+0x6f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transSourceLanguage()':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0xec): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x160): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x175): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x1ba): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x1dd): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x21d): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x239): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19transSourceLanguageEv+0x279): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `void SPIRV::SPIRVToLLVM::setLLVMLoopMetadata<SPIRV::SPIRVLoopMerge>(SPIRV::SPIRVLoopMerge const*, llvm::Loop const*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x51): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x86): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x97): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x100): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x26b): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x27c): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x28a): undefined reference to `llvm::Loop::setLoopID(llvm::MDNode*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x2fc): undefined reference to `llvm::MDNode::deleteTemporary(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x30a): undefined reference to `llvm::Loop::setLoopID(llvm::MDNode*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x496): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x673): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x746): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x80d): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x8c8): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o:<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0xd55): more undefined references to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `void SPIRV::SPIRVToLLVM::setLLVMLoopMetadata<SPIRV::SPIRVLoopMerge>(SPIRV::SPIRVLoopMerge const*, llvm::Loop const*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0xe83): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0xf7b): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0xf8f): undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x102f): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x1116): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x129f): undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x1402): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x1410): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x1419): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x14e8): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x158c): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x165c): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x172b): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x188a): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o:<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19setLLVMLoopMetadataINS_14SPIRVLoopMergeEEEvPKT_PKN4llvm4LoopE+0x1a0e): more undefined references to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `std::_Function_handler<void (SPIRV::SPIRVFunctionParameter*), SPIRV::addBufferLocationMetadata(llvm::LLVMContext*, SPIRV::SPIRVFunction*, llvm::Function*, std::function<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*)>)::{lambda(SPIRV::SPIRVFunctionParameter*)#1}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addBufferLocationMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x4b): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addBufferLocationMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x5d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addBufferLocationMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x66): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transVectorComputeMetadata(SPIRV::SPIRVFunction*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x90): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x13b): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x553): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x562): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x583): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x5c3): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x603): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x635): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x64c): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x66a): undefined reference to `llvm::Function::addAttributeAtIndex(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x6aa): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x6f6): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x71e): undefined reference to `llvm::Function::addFnAttr(llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x89e): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x8d4): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x98f): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0x9c5): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0xe73): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transVectorComputeMetadataEPNS_13SPIRVFunctionE+0xea9): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transFPGAFunctionMetadata(SPIRV::SPIRVFunction*, llvm::Function*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0xab): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0xe9): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x122): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x13a): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x1bc): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x1de): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x1f6): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x28b): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x2d4): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x2ec): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x38b): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x3d4): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x3ec): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x4cb): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x514): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x52c): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x5b1): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x5c4): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x5cd): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x616): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x62e): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x666): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x688): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x6a0): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transOCLBuiltinFromExtInst(SPIRV::SPIRVExtInst*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x54e): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x55d): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x569): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x575): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x580): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x5b8): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x5da): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x7f6): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x827): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x84d): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x89c): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x8b3): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x992): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x9b8): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x9db): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0xa07): undefined reference to `llvm::StringMapImpl::FindKey(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0xa75): undefined reference to `llvm::Argument::addAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0xab0): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM26transOCLBuiltinFromExtInstEPNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0xad8): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transAllAny(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x47): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x110): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x1c7): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x25d): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x273): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x284): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x28b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x2a0): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x309): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM11transAllAnyEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x334): undefined reference to `llvm::CastInst::CreateSExtOrBitCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `SPIRV::SPIRVToLLVM::transRelational(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM15transRelationalEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0xce): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM15transRelationalEPNS_16SPIRVInstructionEPN4llvm10BasicBlockE+0x1c8): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans10.ltrans.o: in function `llvm::convertSpirvToLLVM(llvm::LLVMContext&, SPIRV::SPIRVModule&, SPIRV::TranslatorOpts const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) [clone .localalias]':
<artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x60): undefined reference to `llvm::Module::Module(llvm::StringRef, llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x506): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x54a): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5b6): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5fa): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x62e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x69c): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x6dd): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x716): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x79e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x7ee): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x842): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x860): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x87e): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x89c): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x8b2): undefined reference to `llvm::Module::~Module()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x9ed): undefined reference to `llvm::AnalysisManager<llvm::Module>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x9ff): undefined reference to `llvm::PassInstrumentationAnalysis::Key'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xa59): undefined reference to `llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xab0): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xb46): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xba1): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18convertSpirvToLLVMERNS_11LLVMContextERN5SPIRV11SPIRVModuleERKNS2_14TranslatorOptsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xce0): undefined reference to `llvm::PassInstrumentationAnalysis::Key'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (SPIRV::SPIRVFunctionParameter*), SPIRV::addRuntimeAlignedMetadata(llvm::LLVMContext*, SPIRV::SPIRVFunction*, llvm::Function*, std::function<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*)>)::{lambda(SPIRV::SPIRVFunctionParameter*)#1}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addRuntimeAlignedMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x4b): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addRuntimeAlignedMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x58): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV22SPIRVFunctionParameterEEZNS0_L25addRuntimeAlignedMetadataEPN4llvm11LLVMContextEPNS0_13SPIRVFunctionEPNS4_8FunctionESt8functionIFPNS4_8MetadataES2_EEEUlS2_E_E9_M_invokeERKSt9_Any_dataOS2_.lto_priv.0+0x61): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (SPIRV::SPIRVValue*, SPIRV::SPIRVBasicBlock*, unsigned long), SPIRV::SPIRVToLLVM::transValueWithoutDecoration(SPIRV::SPIRVValue*, llvm::Function*, llvm::BasicBlock*, bool)::{lambda(SPIRV::SPIRVValue*, SPIRV::SPIRVBasicBlock*, unsigned long)#1}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVValue*&&, SPIRV::SPIRVBasicBlock*&&, unsigned long&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvPN5SPIRV10SPIRVValueEPNS0_15SPIRVBasicBlockEmEZNS0_11SPIRVToLLVM27transValueWithoutDecorationES2_PN4llvm8FunctionEPNS7_10BasicBlockEbEUlS2_S4_mE_E9_M_invokeERKSt9_Any_dataOS2_OS4_Om.lto_priv.0+0x145): undefined reference to `llvm::PHINode::growOperands()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (std::vector<unsigned int, std::allocator<unsigned int> >, SPIRV::SPIRVBasicBlock*), SPIRV::SPIRVToLLVM::transValueWithoutDecoration(SPIRV::SPIRVValue*, llvm::Function*, llvm::BasicBlock*, bool)::{lambda(std::vector<unsigned int, std::allocator<unsigned int> >, SPIRV::SPIRVBasicBlock*)#2}>::_M_invoke(std::_Any_data const&, std::vector<unsigned int, std::allocator<unsigned int> >&&, SPIRV::SPIRVBasicBlock*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvSt6vectorIjSaIjEEPN5SPIRV15SPIRVBasicBlockEEZNS3_11SPIRVToLLVM27transValueWithoutDecorationEPNS3_10SPIRVValueEPN4llvm8FunctionEPNSA_10BasicBlockEbEUlS2_S5_E0_E9_M_invokeERKSt9_Any_dataOS2_OS5_.lto_priv.0+0x81): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvSt6vectorIjSaIjEEPN5SPIRV15SPIRVBasicBlockEEZNS3_11SPIRVToLLVM27transValueWithoutDecorationEPNS3_10SPIRVValueEPN4llvm8FunctionEPNSA_10BasicBlockEbEUlS2_S5_E0_E9_M_invokeERKSt9_Any_dataOS2_OS5_.lto_priv.0+0x90): undefined reference to `llvm::SwitchInst::addCase(llvm::ConstantInt*, llvm::BasicBlock*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (spv::FunctionParameterAttribute), SPIRV::SPIRVToLLVM::transFunctionAttrs(SPIRV::SPIRVFunction*, llvm::Function*)::{lambda(spv::FunctionParameterAttribute)#3}>::_M_invoke(std::_Any_data const&, spv::FunctionParameterAttribute&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvN3spv26FunctionParameterAttributeEEZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS3_13SPIRVFunctionEPN4llvm8FunctionEEUlS1_E1_E9_M_invokeERKSt9_Any_dataOS1_.lto_priv.0+0x92): undefined reference to `llvm::Function::addRetAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#1}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0xb9): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0xc7): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0xda): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#6}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E4_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x18): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#2}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E0_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x133): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (llvm::Attribute::AttrKind, spv::FunctionControlMask), SPIRV::SPIRVToLLVM::foreachFuncCtlMask<SPIRV::SPIRVFunction*, SPIRV::SPIRVToLLVM::transFunctionAttrs(SPIRV::SPIRVFunction*, llvm::Function*)::{lambda(llvm::Attribute::AttrKind)#1}>(SPIRV::SPIRVFunction*, SPIRV::SPIRVToLLVM::transFunctionAttrs(SPIRV::SPIRVFunction*, llvm::Function*)::{lambda(llvm::Attribute::AttrKind)#1})::{lambda(llvm::Attribute::AttrKind, spv::FunctionControlMask)#1}>::_M_invoke(std::_Any_data const&, llvm::Attribute::AttrKind&&, spv::FunctionControlMask&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvN4llvm9Attribute8AttrKindEN3spv19FunctionControlMaskEEZN5SPIRV11SPIRVToLLVM18foreachFuncCtlMaskIPNS6_13SPIRVFunctionEZNS7_18transFunctionAttrsESA_PNS0_8FunctionEEUlS2_E_EEbT_T0_EUlS2_S4_E_E9_M_invokeERKSt9_Any_dataOS2_OS4_.lto_priv.0+0x1e): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::detail::AnalysisPassModel<llvm::Module, llvm::PassInstrumentationAnalysis, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator>::name() const':
<artificial>:(.text._ZNK4llvm6detail17AnalysisPassModelINS_6ModuleENS_27PassInstrumentationAnalysisENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::DenseMap<SPIRV::SPIRVFunction*, llvm::Function*, llvm::DenseMapInfo<SPIRV::SPIRVFunction*, void>, llvm::detail::DenseMapPair<SPIRV::SPIRVFunction*, llvm::Function*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV13SPIRVFunctionEPNS_8FunctionENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV13SPIRVFunctionEPNS_8FunctionENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x155): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::DenseMap<SPIRV::SPIRVType*, llvm::Type*, llvm::DenseMapInfo<SPIRV::SPIRVType*, void>, llvm::detail::DenseMapPair<SPIRV::SPIRVType*, llvm::Type*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV9SPIRVTypeEPNS_4TypeENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV9SPIRVTypeEPNS_4TypeENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x155): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::DenseMap<SPIRV::SPIRVValue*, llvm::Value*, llvm::DenseMapInfo<SPIRV::SPIRVValue*, void>, llvm::detail::DenseMapPair<SPIRV::SPIRVValue*, llvm::Value*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV10SPIRVValueEPNS_5ValueENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPN5SPIRV10SPIRVValueEPNS_5ValueENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S5_EEE4growEj+0x155): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::DenseMap<llvm::AnalysisKey*, std::unique_ptr<llvm::detail::AnalysisPassConcept<llvm::Module, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator>, std::default_delete<llvm::detail::AnalysisPassConcept<llvm::Module, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator> > >, llvm::DenseMapInfo<llvm::AnalysisKey*, void>, llvm::detail::DenseMapPair<llvm::AnalysisKey*, std::unique_ptr<llvm::detail::AnalysisPassConcept<llvm::Module, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator>, std::default_delete<llvm::detail::AnalysisPassConcept<llvm::Module, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator> > > > >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPNS_11AnalysisKeyESt10unique_ptrINS_6detail19AnalysisPassConceptINS_6ModuleENS_17PreservedAnalysesENS_15AnalysisManagerIS6_JEE11InvalidatorEJEEESt14default_deleteISB_EENS_12DenseMapInfoIS2_vEENS4_12DenseMapPairIS2_SE_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_11AnalysisKeyESt10unique_ptrINS_6detail19AnalysisPassConceptINS_6ModuleENS_17PreservedAnalysesENS_15AnalysisManagerIS6_JEE11InvalidatorEJEEESt14default_deleteISB_EENS_12DenseMapInfoIS2_vEENS4_12DenseMapPairIS2_SE_EEE4growEj+0x154): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `llvm::StringSet<llvm::MallocAllocator>::~StringSet() [clone .lto_priv.0]':
<artificial>:(.text._ZN4llvm9StringSetINS_15MallocAllocatorEED2Ev.lto_priv.0+0x45): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::transKernelArgTypeMedataFromString(llvm::LLVMContext*, SPIRV::SPIRVModule*, llvm::Function*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) [clone .part.0] [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x3f): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x4cc): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x4e6): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x5c4): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x707): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL34transKernelArgTypeMedataFromStringEPN4llvm11LLVMContextEPNS_11SPIRVModuleEPNS0_8FunctionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0.lto_priv.0+0x721): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::lowerLLVMIntrinsicName[abi:cxx11](llvm::IntrinsicInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase22lowerLLVMIntrinsicNameB5cxx11EPN4llvm13IntrinsicInstE+0x45): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToLLVM::transRelational(SPIRV::SPIRVInstruction*, llvm::BasicBlock*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV11SPIRVToLLVM15transRelationalEPNSB_16SPIRVInstructionEPNS0_10BasicBlockEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_.lto_priv.0+0x91): undefined reference to `llvm::CastInst::CreateTruncOrBitCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::extendBitInstBoolArg(llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x5f): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x76): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x13f): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x14a): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x215): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x21c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x231): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x2e6): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase20extendBitInstBoolArgEPN4llvm11InstructionE+0x36d): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::lowerIntrinsicToFunction(llvm::IntrinsicInst*)':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x77): undefined reference to `llvm::Instruction::isVolatile() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x92): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x1bb): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x23e): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x245): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x2d7): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x2f7): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x317): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x335): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x343): undefined reference to `llvm::Argument::addAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x37e): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x387): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x46a): undefined reference to `llvm::APInt::countLeadingZerosSlowCase() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x486): undefined reference to `llvm::AttributeList::getParamAlignment(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x4b2): undefined reference to `llvm::IRBuilderBase::CreateMemSet(llvm::Value*, llvm::Value*, llvm::Value*, llvm::MaybeAlign, bool, llvm::MDNode*, llvm::MDNode*, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x4dd): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x4f0): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x507): undefined reference to `llvm::expandMemSetAsLoop(llvm::MemSetInst*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x510): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x57a): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x583): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x692): undefined reference to `llvm::IRBuilderBase::CreateIntrinsic(unsigned int, llvm::ArrayRef<llvm::Type*>, llvm::ArrayRef<llvm::Value*>, llvm::Instruction*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x6b7): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x6cb): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x728): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x736): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x74c): undefined reference to `llvm::IntrinsicLowering::LowerIntrinsicCall(llvm::CallInst*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x785): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x79e): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x7c4): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x7e1): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase24lowerIntrinsicToFunctionEPN4llvm13IntrinsicInstE+0x7f5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::lowerFunnelShift(llvm::IntrinsicInst*)':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x17e): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x187): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x18e): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x219): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x293): undefined reference to `llvm::APInt::initSlowCase(unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x2a4): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x2f0): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x4a0): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x4b6): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x512): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x632): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x695): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x6c3): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x703): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x73b): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x76a): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x785): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x7b1): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x7da): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase16lowerFunnelShiftEPN4llvm13IntrinsicInstE+0x7f5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<void (spv::FunctionParameterAttribute), SPIRV::SPIRVToLLVM::transFunctionAttrs(SPIRV::SPIRVFunction*, llvm::Function*)::{lambda(spv::FunctionParameterAttribute)#2}>::_M_invoke(std::_Any_data const&, spv::FunctionParameterAttribute&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvN3spv26FunctionParameterAttributeEEZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS3_13SPIRVFunctionEPN4llvm8FunctionEEUlS1_E0_E9_M_invokeERKSt9_Any_dataOS1_.lto_priv.0+0x9b): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN3spv26FunctionParameterAttributeEEZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS3_13SPIRVFunctionEPN4llvm8FunctionEEUlS1_E0_E9_M_invokeERKSt9_Any_dataOS1_.lto_priv.0+0xb6): undefined reference to `llvm::Argument::addAttr(llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFvN3spv26FunctionParameterAttributeEEZN5SPIRV11SPIRVToLLVM18transFunctionAttrsEPNS3_13SPIRVFunctionEPN4llvm8FunctionEEUlS1_E0_E9_M_invokeERKSt9_Any_dataOS1_.lto_priv.0+0x103): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVToLLVM::transVarDecorationsToMetadata(SPIRV::SPIRVValue*, llvm::Value*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM29transVarDecorationsToMetadataEPNS_10SPIRVValueEPN4llvm5ValueE.part.0+0xca): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#4}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E2_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0xfb): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#7}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E5_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x43): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E5_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x51): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E5_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x5a): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `std::_Function_handler<llvm::Metadata* (SPIRV::SPIRVFunctionParameter*), SPIRV::SPIRVToLLVM::transOCLMetadata(SPIRV::SPIRVFunction*)::{lambda(SPIRV::SPIRVFunctionParameter*)#8}>::_M_invoke(std::_Any_data const&, SPIRV::SPIRVFunctionParameter*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E6_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x43): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E6_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x51): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm8MetadataEPN5SPIRV22SPIRVFunctionParameterEEZNS3_11SPIRVToLLVM16transOCLMetadataEPNS3_13SPIRVFunctionEEUlS5_E6_E9_M_invokeERKSt9_Any_dataOS5_.lto_priv.0+0x5a): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVToLLVM::transLLVMLoopMetadata(llvm::Function const*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xa9): undefined reference to `void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::BasicBlock, false> >(llvm::DominatorTreeBase<llvm::BasicBlock, false>&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xb5): undefined reference to `llvm::LoopInfo::LoopInfo(llvm::DominatorTreeBase<llvm::BasicBlock, false> const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xc6): undefined reference to `llvm::LoopInfoBase<llvm::BasicBlock, llvm::Loop>::getLoopsInPreorder() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x239): undefined reference to `llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x342): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x3db): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x406): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x43a): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x4b4): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o:<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x53c): more undefined references to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVToLLVM::transLLVMLoopMetadata(llvm::Function const*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x694): undefined reference to `llvm::SmallPtrSetImplBase::shrink_and_clear()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x6c0): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x6f5): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x706): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x787): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x910): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x921): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x92f): undefined reference to `llvm::Loop::setLoopID(llvm::MDNode*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x979): undefined reference to `llvm::MDNode::deleteTemporary(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xa16): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xbad): undefined reference to `llvm::Loop::setLoopID(llvm::MDNode*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xbc4): undefined reference to `llvm::MDNode::deleteTemporary(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xd81): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xe6f): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0xf5d): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1059): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1148): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o:<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1618): more undefined references to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVToLLVM::transLLVMLoopMetadata(llvm::Function const*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x173c): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1852): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1866): undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1913): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1a12): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1bc7): undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1d07): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1d15): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1d1e): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1dfe): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1ea2): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x1f8d): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x217d): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x21d2): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o:<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x2252): more undefined references to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVToLLVM::transLLVMLoopMetadata(llvm::Function const*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x2510): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x252c): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM21transLLVMLoopMetadataEPKN4llvm8FunctionE.part.0+0x25b4): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::expandVEDWithSYCLTypeSRetArg(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPN4llvm8FunctionE+0x3e): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPN4llvm8FunctionE+0x4a): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPN4llvm8FunctionE+0x60): undefined reference to `llvm::AttributeList::removeAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPN4llvm8FunctionE+0x6e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::expandVIDWithSYCLTypeByValComp(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPN4llvm8FunctionE+0x3e): undefined reference to `llvm::AttributeList::getParamByValType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPN4llvm8FunctionE+0x4a): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPN4llvm8FunctionE+0x60): undefined reference to `llvm::AttributeList::removeAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPN4llvm8FunctionE+0x6e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans11.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::expandSYCLTypeUsing(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0xa1): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0xf6): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0x10a): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0x145): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0x17f): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0x1a0): undefined reference to `llvm::AttributeList::getParamByValType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19expandSYCLTypeUsingEPN4llvm6ModuleE+0x2a8): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `initializeSPIRVRegularizeLLVMLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL43initializeSPIRVRegularizeLLVMLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVRegularizeLLVMLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV25SPIRVRegularizeLLVMLegacyEEEPNS_4PassEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMLegacy::~SPIRVRegularizeLLVMLegacy()':
<artificial>:(.text._ZN5SPIRV25SPIRVRegularizeLLVMLegacyD0Ev+0x18): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&), SPIRV::SPIRVRegularizeLLVMBase::expandVIDWithSYCLTypeByValComp(llvm::Function*)::{lambda(llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x3a): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x4a): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x72): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x17c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x189): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x19f): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x1ac): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x216): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x21f): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x22d): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x24a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x27c): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x2d9): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x323): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x32a): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x341): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x3a5): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x3e5): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x3fd): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x476): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x49b): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x4b7): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x4e2): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x4f0): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x520): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV23SPIRVRegularizeLLVMBase30expandVIDWithSYCLTypeByValCompEPNS6_8FunctionEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x559): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `std::_Function_handler<llvm::Instruction* (llvm::CallInst*), SPIRV::SPIRVRegularizeLLVMBase::expandVEDWithSYCLTypeSRetArg(llvm::Function*)::{lambda(llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x2f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x57): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x77): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x158): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x165): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x17b): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x188): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x1e2): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x1eb): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x1f8): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x21c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x23a): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x291): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x29f): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x2a6): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x2bb): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x314): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x35e): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x37b): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x3f6): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x418): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x431): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x459): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x467): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x499): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm11InstructionEPNS0_8CallInstEEZN5SPIRV23SPIRVRegularizeLLVMBase28expandVEDWithSYCLTypeSRetArgEPNS0_8FunctionEEUlS4_E0_E9_M_invokeERKSt9_Any_dataOS4_.lto_priv.0+0x4ae): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::addKernelEntryPoint(llvm::Module*) [clone .cold]':
<artificial>:(.text.unlikely._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x14): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::addKernelEntryPoint(llvm::Module*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x42): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x66): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x134): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x14d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x278): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x281): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x369): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x398): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x468): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x4b5): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x4e2): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x546): undefined reference to `llvm::Value::getAllMetadata(llvm::SmallVectorImpl<std::pair<unsigned int, llvm::MDNode*> >&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x589): undefined reference to `llvm::Value::addMetadata(unsigned int, llvm::MDNode&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x5f1): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x60f): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x66c): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x6a4): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x700): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x7e7): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x7ee): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x808): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x8c8): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x925): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x944): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x96a): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x993): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x9ad): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0x9f6): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase19addKernelEntryPointEPN4llvm6ModuleE+0xa04): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `llvm::createSPIRVRegularizeLLVMLegacy()':
<artificial>:(.text._ZN4llvm31createSPIRVRegularizeLLVMLegacyEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMLegacy::~SPIRVRegularizeLLVMLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV25SPIRVRegularizeLLVMLegacyD2Ev.lto_priv.0+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::SPIRVToLLVMDbgTran(SPIRV::SPIRVModule*, llvm::Module*, SPIRV::SPIRVToLLVM*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTranC2EPNS_11SPIRVModuleEPN4llvm6ModuleEPNS_11SPIRVToLLVME+0x2b): undefined reference to `llvm::DIBuilder::DIBuilder(llvm::Module&, bool, llvm::DICompileUnit*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::addDbgInfoVersion()':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17addDbgInfoVersionEv+0x2d): undefined reference to `llvm::Module::addModuleFlag(llvm::Module::ModFlagBehavior, llvm::StringRef, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeBasic(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeBasicEPKNS_12SPIRVExtInstE+0x127): undefined reference to `llvm::DIBuilder::createUnspecifiedType(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeBasicEPKNS_12SPIRVExtInstE+0x1f1): undefined reference to `llvm::DIBuilder::createBasicType(llvm::StringRef, unsigned long, unsigned int, llvm::DINode::DIFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTemplateTemplateParameter(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran30transTemplateTemplateParameterEPKNS_12SPIRVExtInstE+0xa4): undefined reference to `llvm::DIBuilder::createTemplateTemplateParameter(llvm::DIScope*, llvm::StringRef, llvm::DIType*, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeQualifier(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeQualifierEPKNS_12SPIRVExtInstE+0xf0): undefined reference to `llvm::DIBuilder::createQualifiedType(unsigned int, llvm::DIType*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypePointer(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transTypePointerEPKNS_12SPIRVExtInstE+0x19f): undefined reference to `llvm::DIBuilder::createPointerType(llvm::DIType*, unsigned long, unsigned int, llvm::Optional<unsigned int>, llvm::StringRef, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transTypePointerEPKNS_12SPIRVExtInstE+0x223): undefined reference to `llvm::DIBuilder::createObjectPointerType(llvm::DIType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transTypePointerEPKNS_12SPIRVExtInstE+0x249): undefined reference to `llvm::DIBuilder::createReferenceType(unsigned int, llvm::DIType*, unsigned long, unsigned int, llvm::Optional<unsigned int>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transTypePointerEPKNS_12SPIRVExtInstE+0x2c3): undefined reference to `llvm::DIBuilder::createArtificialType(llvm::DIType*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transTypePointerEPKNS_12SPIRVExtInstE+0x2e9): undefined reference to `llvm::DIBuilder::createReferenceType(unsigned int, llvm::DIType*, unsigned long, unsigned int, llvm::Optional<unsigned int>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeVector(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeVectorEPKNS_12SPIRVExtInstE+0x105): undefined reference to `llvm::DIBuilder::getOrCreateSubrange(long, long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeVectorEPKNS_12SPIRVExtInstE+0x13d): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeVectorEPKNS_12SPIRVExtInstE+0x151): undefined reference to `llvm::DIBuilder::createVectorType(unsigned long, unsigned int, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeVectorEPKNS_12SPIRVExtInstE+0x1fd): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypePtrToMember(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran20transTypePtrToMemberEPKNS_12SPIRVExtInstE+0xae): undefined reference to `llvm::DIBuilder::createMemberPointerType(llvm::DIType*, llvm::DIType*, unsigned long, unsigned int, llvm::DINode::DIFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transInheritance(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transInheritanceEPKNS_12SPIRVExtInstE+0x18b): undefined reference to `llvm::DIBuilder::createInheritance(llvm::DIType*, llvm::DIType*, unsigned long, unsigned int, llvm::DINode::DIFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTemplateParameter(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran22transTemplateParameterEPKNS_12SPIRVExtInstE+0xfc): undefined reference to `llvm::DIBuilder::createTemplateTypeParameter(llvm::DIScope*, llvm::StringRef, llvm::DIType*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran22transTemplateParameterEPKNS_12SPIRVExtInstE+0x15e): undefined reference to `llvm::DIBuilder::createTemplateValueParameter(llvm::DIScope*, llvm::StringRef, llvm::DIType*, bool, llvm::Constant*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeArray(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x2ae): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x2b7): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x2da): undefined reference to `llvm::DIBuilder::getOrCreateSubrange(llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x335): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x393): undefined reference to `llvm::DIBuilder::createArrayType(unsigned long, unsigned int, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::PointerUnion<llvm::DIExpression*, llvm::DIVariable*>, llvm::PointerUnion<llvm::DIExpression*, llvm::DIVariable*>, llvm::PointerUnion<llvm::DIExpression*, llvm::DIVariable*>, llvm::PointerUnion<llvm::DIExpression*, llvm::DIVariable*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x4d3): undefined reference to `llvm::DIBuilder::getOrCreateSubrange(long, long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x5fe): undefined reference to `llvm::ConstantInt::get(llvm::LLVMContext&, llvm::APInt const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x607): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x63c): undefined reference to `llvm::DIBuilder::getOrCreateSubrange(llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran14transTypeArrayEPKNS_12SPIRVExtInstE+0x6f1): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeFunction(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transTypeFunctionEPKNS_12SPIRVExtInstE+0x29e): undefined reference to `llvm::DIBuilder::getOrCreateTypeArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transTypeFunctionEPKNS_12SPIRVExtInstE+0x2af): undefined reference to `llvm::DIBuilder::createSubroutineType(llvm::DITypeRefArray, llvm::DINode::DIFlags, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transTypeFunctionEPKNS_12SPIRVExtInstE+0x311): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTemplateParameterPack(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran26transTemplateParameterPackEPKNS_12SPIRVExtInstE+0x17e): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran26transTemplateParameterPackEPKNS_12SPIRVExtInstE+0x199): undefined reference to `llvm::DIBuilder::createTemplateParameterPack(llvm::DIScope*, llvm::StringRef, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran26transTemplateParameterPackEPKNS_12SPIRVExtInstE+0x1ec): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTemplate(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTemplateEPKNS_12SPIRVExtInstE+0x15e): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTemplateEPKNS_12SPIRVExtInstE+0x19f): undefined reference to `llvm::DIBuilder::replaceArrays(llvm::DICompositeType*&, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTemplateEPKNS_12SPIRVExtInstE+0x1c5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTemplateEPKNS_12SPIRVExtInstE+0x1ed): undefined reference to `llvm::MDNode::replaceOperandWith(unsigned int, llvm::Metadata*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::regularize()':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x37): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x42): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xbc): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x198): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1c2): undefined reference to `llvm::Instruction::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x21d): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x226): undefined reference to `llvm::LLVMContext::supportsTypedPointers() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x28c): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x2b7): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x2ed): undefined reference to `llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x2fd): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x322): undefined reference to `llvm::AddrSpaceCastInst::AddrSpaceCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x3c2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x3e8): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x3fb): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x49f): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x4b2): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x522): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x533): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x68e): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x788): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x7e6): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x875): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x8b6): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x919): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x962): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x969): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x980): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x9f9): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xa7f): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xab7): undefined reference to `llvm::Instruction::isExact() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xaca): undefined reference to `llvm::Instruction::setIsExact(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xb4b): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xb77): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xb98): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xf87): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0xf9e): undefined reference to `llvm::AttributeList::removeAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x10d2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1145): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x11e4): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x126e): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1290): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x12ca): undefined reference to `llvm::InsertValueInst::init(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1330): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1353): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1375): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x13ac): undefined reference to `llvm::InsertValueInst::init(llvm::Value*, llvm::Value*, llvm::ArrayRef<unsigned int>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1417): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1436): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x146b): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x149f): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x1517): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x15a3): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase10regularizeEv+0x15af): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::getDIFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::Optional<llvm::DIFile::ChecksumInfo<llvm::StringRef> >)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran9getDIFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4llvm8OptionalINS9_6DIFile12ChecksumInfoINS9_9StringRefEEEEE+0x245): undefined reference to `llvm::DIBuilder::createFile(llvm::StringRef, llvm::StringRef, llvm::Optional<llvm::DIFile::ChecksumInfo<llvm::StringRef> >, llvm::Optional<llvm::StringRef>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transDbgInfo(SPIRV::SPIRVValue const*, llvm::Value*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran12transDbgInfoEPKNS_10SPIRVValueEPN4llvm5ValueE+0x4e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran12transDbgInfoEPKNS_10SPIRVValueEPN4llvm5ValueE+0x67): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeComposite(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x24b): undefined reference to `llvm::DIBuilder::createReplaceableCompositeType(unsigned int, llvm::StringRef, llvm::DIScope*, llvm::DIFile*, unsigned int, unsigned int, unsigned long, unsigned int, llvm::DINode::DIFlags, llvm::StringRef, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x260): undefined reference to `llvm::MDNode::replaceWithDistinctImpl()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x39a): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x3ad): undefined reference to `llvm::DIBuilder::replaceArrays(llvm::DICompositeType*&, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x426): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x46f): undefined reference to `llvm::DIBuilder::createUnionType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long, unsigned int, llvm::DINode::DIFlags, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, unsigned int, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transTypeCompositeEPKNS_12SPIRVExtInstE+0x4c3): undefined reference to `llvm::DIBuilder::createStructType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long, unsigned int, llvm::DINode::DIFlags, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, unsigned int, llvm::DIType*, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeMember(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeMemberEPKNS_12SPIRVExtInstE+0x1ff): undefined reference to `llvm::DIBuilder::createMemberType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long, unsigned int, unsigned long, llvm::DINode::DIFlags, llvm::DIType*, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transTypeMemberEPKNS_12SPIRVExtInstE+0x286): undefined reference to `llvm::DIBuilder::createStaticMemberType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIType*, llvm::DINode::DIFlags, llvm::Constant*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypeEnum(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTypeEnumEPKNS_12SPIRVExtInstE+0x281): undefined reference to `llvm::DIBuilder::createEnumerator(llvm::StringRef, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTypeEnumEPKNS_12SPIRVExtInstE+0x3bd): undefined reference to `llvm::DIBuilder::createForwardDecl(unsigned int, llvm::StringRef, llvm::DIScope*, llvm::DIFile*, unsigned int, unsigned int, unsigned long, unsigned int, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTypeEnumEPKNS_12SPIRVExtInstE+0x412): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTypeEnumEPKNS_12SPIRVExtInstE+0x4a6): undefined reference to `llvm::DIBuilder::createEnumerationType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long, unsigned int, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::DIType*, llvm::StringRef, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transTypeEnumEPKNS_12SPIRVExtInstE+0x4f8): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transLexicalBlock(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transLexicalBlockEPKNS_12SPIRVExtInstE+0xdd): undefined reference to `llvm::DIBuilder::createNameSpace(llvm::DIScope*, llvm::StringRef, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transLexicalBlockEPKNS_12SPIRVExtInstE+0x10a): undefined reference to `llvm::DIBuilder::createLexicalBlock(llvm::DIScope*, llvm::DIFile*, unsigned int, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transLexicalBlockDiscriminator(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran30transLexicalBlockDiscriminatorEPKNS_12SPIRVExtInstE+0x83): undefined reference to `llvm::DIBuilder::createLexicalBlockFile(llvm::DIScope*, llvm::DIFile*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transFunctionDecl(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transFunctionDeclEPKNS_12SPIRVExtInstE+0x23e): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transFunctionDeclEPKNS_12SPIRVExtInstE+0x25b): undefined reference to `llvm::DISubprogram::toSPFlags(bool, bool, bool, unsigned int, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transFunctionDeclEPKNS_12SPIRVExtInstE+0x2b2): undefined reference to `llvm::DIBuilder::createTempFunctionFwdDecl(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::DISubprogram*, llvm::MDTupleTypedArrayWrapper<llvm::DIType>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transFunctionDeclEPKNS_12SPIRVExtInstE+0x2bf): undefined reference to `llvm::MDNode::replaceWithUniquedImpl()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transFunctionDeclEPKNS_12SPIRVExtInstE+0x304): undefined reference to `llvm::DIBuilder::createMethod(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, int, llvm::DIType*, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::MDTupleTypedArrayWrapper<llvm::DIType>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transGlobalVariable(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transGlobalVariableEPKNS_12SPIRVExtInstE+0x22a): undefined reference to `llvm::DIBuilder::createGlobalVariableExpression(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIType*, bool, bool, llvm::DIExpression*, llvm::MDNode*, llvm::MDTuple*, unsigned int, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transGlobalVariableEPKNS_12SPIRVExtInstE+0x2d2): undefined reference to `llvm::DIBuilder::createTempGlobalVariableFwdDecl(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIType*, bool, llvm::MDNode*, llvm::MDTuple*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transGlobalVariableEPKNS_12SPIRVExtInstE+0x2df): undefined reference to `llvm::MDNode::replaceWithUniquedImpl()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transGlobalVariableEPKNS_12SPIRVExtInstE+0x374): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transGlobalVariableEPKNS_12SPIRVExtInstE+0x391): undefined reference to `llvm::Value::addMetadata(llvm::StringRef, llvm::MDNode&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transLocalVariable(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transLocalVariableEPKNS_12SPIRVExtInstE+0x16d): undefined reference to `llvm::DIBuilder::createAutoVariable(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIType*, bool, llvm::DINode::DIFlags, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transLocalVariableEPKNS_12SPIRVExtInstE+0x1ad): undefined reference to `llvm::DIBuilder::createParameterVariable(llvm::DIScope*, llvm::StringRef, unsigned int, llvm::DIFile*, unsigned int, llvm::DIType*, bool, llvm::DINode::DIFlags, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transTypedef(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran12transTypedefEPKNS_12SPIRVExtInstE+0x135): undefined reference to `llvm::DIBuilder::createTypedef(llvm::DIType*, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, unsigned int, llvm::DINode::DIFlags, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transImportedEntry(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transImportedEntryEPKNS_12SPIRVExtInstE+0x166): undefined reference to `llvm::DIBuilder::createImportedDeclaration(llvm::DIScope*, llvm::DINode*, llvm::DIFile*, unsigned int, llvm::StringRef, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transImportedEntryEPKNS_12SPIRVExtInstE+0x1ac): undefined reference to `llvm::DIBuilder::createImportedModule(llvm::DIScope*, llvm::DIModule*, llvm::DIFile*, unsigned int, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transImportedEntryEPKNS_12SPIRVExtInstE+0x1f4): undefined reference to `llvm::DIBuilder::createImportedModule(llvm::DIScope*, llvm::DIImportedEntity*, llvm::DIFile*, unsigned int, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran18transImportedEntryEPKNS_12SPIRVExtInstE+0x270): undefined reference to `llvm::DIBuilder::createImportedModule(llvm::DIScope*, llvm::DINamespace*, llvm::DIFile*, unsigned int, llvm::MDTupleTypedArrayWrapper<llvm::DINode>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transModule(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran11transModuleEPKNS_12SPIRVExtInstE+0x1dd): undefined reference to `llvm::DIBuilder::createModule(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transCompileUnit(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transCompileUnitEPKNS_12SPIRVExtInstE+0x5e): undefined reference to `llvm::Module::addModuleFlag(llvm::Module::ModFlagBehavior, llvm::StringRef, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran16transCompileUnitEPKNS_12SPIRVExtInstE+0x126): undefined reference to `llvm::DIBuilder::createCompileUnit(unsigned int, llvm::DIFile*, llvm::StringRef, bool, llvm::StringRef, unsigned int, llvm::StringRef, llvm::DICompileUnit::DebugEmissionKind, unsigned long, bool, bool, llvm::DICompileUnit::DebugNameTableKind, bool, llvm::StringRef, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans12.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transFunction(SPIRV::SPIRVExtInst const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x294): undefined reference to `llvm::DISubprogram::toSPFlags(bool, bool, bool, unsigned int, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x31d): undefined reference to `llvm::DIBuilder::getOrCreateArray(llvm::ArrayRef<llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x397): undefined reference to `llvm::DIBuilder::createFunction(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::DISubprogram*, llvm::MDTupleTypedArrayWrapper<llvm::DIType>, llvm::MDTupleTypedArrayWrapper<llvm::DINode>, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x5ea): undefined reference to `llvm::DIBuilder::createMethod(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, unsigned int, int, llvm::DIType*, llvm::DINode::DIFlags, llvm::DISubprogram::DISPFlags, llvm::MDTupleTypedArrayWrapper<llvm::DITemplateParameter>, llvm::MDTupleTypedArrayWrapper<llvm::DIType>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x686): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13transFunctionEPKNS_12SPIRVExtInstE+0x6a3): undefined reference to `llvm::Value::setMetadata(llvm::StringRef, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL20Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL20PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL12Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL12PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL20Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL20PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL20PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL12Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL12PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL12PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL20Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL20PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::finalize()':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran8finalizeEv+0x16): undefined reference to `llvm::DIBuilder::finalize()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::ParseChecksum(llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13ParseChecksumEN4llvm9StringRefE+0x54): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13ParseChecksumEN4llvm9StringRefE+0x9f): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13ParseChecksumEN4llvm9StringRefE+0x130): undefined reference to `llvm::StringRef::find_first_not_of(char, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran13ParseChecksumEN4llvm9StringRefE+0x149): undefined reference to `llvm::DIFile::getChecksumKind(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transExpression(SPIRV::SPIRVExtInst const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transExpressionEPKNS_12SPIRVExtInstE+0x255): undefined reference to `llvm::DIBuilder::createExpression(llvm::ArrayRef<unsigned long>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transExpressionEPKNS_12SPIRVExtInstE+0xbd1): undefined reference to `llvm::DIBuilder::createExpression(llvm::ArrayRef<unsigned long>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::createSPIRVBIsLoweringPass(llvm::Module&, SPIRV::BIsRepresentation)':
<artificial>:(.text._ZN4llvm26createSPIRVBIsLoweringPassERNS_6ModuleEN5SPIRV17BIsRepresentationE+0xda): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm26createSPIRVBIsLoweringPassERNS_6ModuleEN5SPIRV17BIsRepresentationE+0x1cf): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transDebugIntrinsic(SPIRV::SPIRVExtInst const*, llvm::BasicBlock*)::{lambda(unsigned int)#1}::operator()(unsigned int) const':
<artificial>:(.text._ZZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockEENKUljE_clEj+0x80): undefined reference to `llvm::DILocation::getImpl(llvm::LLVMContext&, unsigned int, unsigned int, llvm::Metadata*, llvm::Metadata*, bool, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockEENKUljE_clEj+0x91): undefined reference to `llvm::DebugLoc::DebugLoc(llvm::DILocation const*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockEENKUljE_clEj+0xbf): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockEENKUljE_clEj+0xd1): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVGroupBuiltin(llvm::CallInst*, spv::Op)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x3a): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x47): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x9c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xc0): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xea): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x11a): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x126): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVImageSampleExplicitLodBuiltIn(llvm::CallInst*, spv::Op)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x3f): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x48): undefined reference to `llvm::PoisonValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x55): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x62): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xb2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xcf): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVImageQueryBuiltIn(llvm::CallInst*, spv::Op)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInES9_N3spv2OpEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x49): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInES9_N3spv2OpEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x57): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInES9_N3spv2OpEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xbb): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVGenericPtrMemSemantics(llvm::CallInst*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x38): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x48): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xab): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVAnyAll(llvm::CallInst*, spv::Op)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllES9_N3spv2OpEEUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x97): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCLBase::visitCallSPIRVRelational(llvm::CallInst*, spv::Op)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVRelationalES9_N3spv2OpEEUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x91): undefined reference to `llvm::CastInst::CreateTruncOrBitCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transDebugIntrinsic(SPIRV::SPIRVExtInst const*, llvm::BasicBlock*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x10c): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x127): undefined reference to `llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x133): undefined reference to `llvm::DIExpression::getNumLocationOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x150): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x222): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x24d): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x263): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x26c): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x2c7): undefined reference to `llvm::DIBuilder::insertDeclare(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x2d3): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x2fa): undefined reference to `llvm::DebugLoc::get() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x394): undefined reference to `llvm::DIBuilder::insertDeclare(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x3ed): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x429): undefined reference to `llvm::DIArgList::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::ValueAsMetadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x435): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran19transDebugIntrinsicEPKNS_12SPIRVExtInstEPN4llvm10BasicBlockE+0x441): undefined reference to `llvm::MetadataAsValue::get(llvm::LLVMContext&, llvm::Metadata*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transDebugScope(SPIRV::SPIRVInstruction const*)':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transDebugScopeEPKNS_16SPIRVInstructionE+0x141): undefined reference to `llvm::DILocation::getImpl(llvm::LLVMContext&, unsigned int, unsigned int, llvm::Metadata*, llvm::Metadata*, bool, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran15transDebugScopeEPKNS_16SPIRVInstructionE+0x14d): undefined reference to `llvm::DebugLoc::DebugLoc(llvm::DILocation const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToLLVMDbgTran::transDebugInlined(SPIRV::SPIRVExtInst const*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV18SPIRVToLLVMDbgTran17transDebugInlinedEPKNS_12SPIRVExtInstE+0x10e): undefined reference to `llvm::DILocation::getImpl(llvm::LLVMContext&, unsigned int, unsigned int, llvm::Metadata*, llvm::Metadata*, bool, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCastInst(llvm::CastInst&)':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCastInstERN4llvm8CastInstE+0x5b): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCastInstERN4llvm8CastInstE+0x6d): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCastInstERN4llvm8CastInstE+0x199): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCastInstERN4llvm8CastInstE+0x1e0): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCastInstERN4llvm8CastInstE+0x1e9): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageQuerySize(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x1e7): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x20b): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x217): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x2ac): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x2ed): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x302): undefined reference to `llvm::CastInst::CreateIntegerCast(llvm::Value*, llvm::Type*, bool, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x380): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x3bb): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x3fa): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x40f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x41b): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x440): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x45b): undefined reference to `llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x48c): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x497): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x4a4): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x4b2): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x51d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x54a): undefined reference to `llvm::CastInst::CreateIntegerCast(llvm::Value*, llvm::Type*, bool, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x556): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x57f): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x592): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x5ae): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x5bd): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x5c6): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x6bd): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x746): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x78c): undefined reference to `llvm::CastInst::CreateIntegerCast(llvm::Value*, llvm::Type*, bool, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x7ac): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x7d0): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x7de): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x7f1): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallSPIRVImageQuerySizeEPN4llvm8CallInstE+0x811): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVGroupBuiltin(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0xf0): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0x1dd): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0x1eb): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0x21d): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0x238): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase26visitCallSPIRVGroupBuiltinEPN4llvm8CallInstEN3spv2OpE+0x29d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVPipeBuiltin(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x1a2): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x1dc): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x1eb): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x28f): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x2f2): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x300): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x31a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x321): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x338): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase25visitCallSPIRVPipeBuiltinEPN4llvm8CallInstEN3spv2OpE+0x434): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageMediaBlockBuiltin(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVImageMediaBlockBuiltinEPN4llvm8CallInstEN3spv2OpE+0x62): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallBuildNDRangeBuiltIn(llvm::CallInst*, spv::Op, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase28visitCallBuildNDRangeBuiltInEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x90): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVCvtBuiltin(llvm::CallInst*, spv::Op, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVCvtBuiltinEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x108): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVCvtBuiltinEPN4llvm8CallInstEN3spv2OpENS1_9StringRefE+0x155): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::mutateCallImageOperands(llvm::CallInst*, llvm::StringRef, llvm::Type*, unsigned int) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase23mutateCallImageOperandsEPN4llvm8CallInstENS1_9StringRefEPNS1_4TypeEj+0x284): undefined reference to `llvm::Constant::isNullValue() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageSampleExplicitLodBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x32): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x42): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0xfc): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x225): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x23b): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x24e): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x255): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x26a): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2d6): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2e2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2f3): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase43visitCallSPIRVImageSampleExplicitLodBuiltInEPN4llvm8CallInstEN3spv2OpE+0x314): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVAnyAll(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x53): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x76): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0xd2): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x192): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x1fb): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x211): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x222): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x229): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x23e): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x298): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVAnyAllEPN4llvm8CallInstEN3spv2OpE+0x3ca): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVRelational(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVRelationalEPN4llvm8CallInstEN3spv2OpE+0x37): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVRelationalEPN4llvm8CallInstEN3spv2OpE+0x87): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVRelationalEPN4llvm8CallInstEN3spv2OpE+0x1be): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase24visitCallSPIRVRelationalEPN4llvm8CallInstEN3spv2OpE+0x1d6): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallGenericCastToPtrExplicitBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallGenericCastToPtrExplicitBuiltInEPN4llvm8CallInstEN3spv2OpE+0xb8): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallGenericCastToPtrExplicitBuiltInEPN4llvm8CallInstEN3spv2OpE+0xbf): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallGenericCastToPtrExplicitBuiltInEPN4llvm8CallInstEN3spv2OpE+0xd9): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallAsyncWorkGroupCopy(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstEN3spv2OpE+0x89): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstEN3spv2OpE+0x90): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase27visitCallAsyncWorkGroupCopyEPN4llvm8CallInstEN3spv2OpE+0xaa): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageWriteBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageWriteBuiltInEPN4llvm8CallInstEN3spv2OpE+0x88): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageWriteBuiltInEPN4llvm8CallInstEN3spv2OpE+0x8f): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageWriteBuiltInEPN4llvm8CallInstEN3spv2OpE+0xa9): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageReadBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase30visitCallSPIRVImageReadBuiltInEPN4llvm8CallInstEN3spv2OpE+0x62): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase30visitCallSPIRVImageReadBuiltInEPN4llvm8CallInstEN3spv2OpE+0x69): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase30visitCallSPIRVImageReadBuiltInEPN4llvm8CallInstEN3spv2OpE+0x83): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVImageQueryBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInEPN4llvm8CallInstEN3spv2OpE+0x134): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInEPN4llvm8CallInstEN3spv2OpE+0x13b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase31visitCallSPIRVImageQueryBuiltInEPN4llvm8CallInstEN3spv2OpE+0x155): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVGenericPtrMemSemantics(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsEPN4llvm8CallInstE+0x11f): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsEPN4llvm8CallInstE+0x126): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase36visitCallSPIRVGenericPtrMemSemanticsEPN4llvm8CallInstE+0x140): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVBuiltin(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv2OpE+0x81): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv2OpE+0x88): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv2OpE+0xa2): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVOCLExt(llvm::CallInst*, OpenCLLIB::Entrypoints) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVOCLExtEPN4llvm8CallInstEN9OpenCLLIB11EntrypointsE+0xf6): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVOCLExtEPN4llvm8CallInstEN9OpenCLLIB11EntrypointsE+0xfd): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVOCLExtEPN4llvm8CallInstEN9OpenCLLIB11EntrypointsE+0x117): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVPrintf(llvm::CallInst*, OpenCLLIB::Entrypoints) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVPrintfEPN4llvm8CallInstEN9OpenCLLIB11EntrypointsE+0x137): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20visitCallSPIRVPrintfEPN4llvm8CallInstEN9OpenCLLIB11EntrypointsE+0x2b0): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVSubgroupINTELBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase34visitCallSPIRVSubgroupINTELBuiltInEPN4llvm8CallInstEN3spv2OpE+0x228): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVAvcINTELEvaluateBuiltIn(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x4d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x73): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2be): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2ca): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2db): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x2fd): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x309): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x31a): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x3e3): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x40c): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x435): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x4a3): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x4af): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase37visitCallSPIRVAvcINTELEvaluateBuiltInEPN4llvm8CallInstEN3spv2OpE+0x4c0): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVAvcINTELInstructionBuiltin(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallSPIRVAvcINTELInstructionBuiltinEPN4llvm8CallInstEN3spv2OpE+0xf6): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallSPIRVAvcINTELInstructionBuiltinEPN4llvm8CallInstEN3spv2OpE+0xfd): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase40visitCallSPIRVAvcINTELInstructionBuiltinEPN4llvm8CallInstEN3spv2OpE+0x117): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallSPIRVBuiltin(llvm::CallInst*, spv::BuiltIn) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv7BuiltInE+0xf6): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv7BuiltInE+0xfd): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21visitCallSPIRVBuiltinEPN4llvm8CallInstEN3spv7BuiltInE+0x117): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::visitCallInst(llvm::CallInst&)':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase13visitCallInstERN4llvm8CallInstE+0xc5): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::getOCLImageOpaqueType(llvm::SmallVector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, 8u>&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase21getOCLImageOpaqueTypeERN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x2a3): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCLBase::translateOpaqueTypes()':
<artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20translateOpaqueTypesEv+0x28): undefined reference to `llvm::Module::getIdentifiedStructTypes() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20translateOpaqueTypesEv+0x48): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVToOCLBase20translateOpaqueTypesEv+0xcc): undefined reference to `llvm::StructType::setName(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::runSPIRVToOCL(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base13runSPIRVToOCLERN4llvm6ModuleE+0x114): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base13runSPIRVToOCLERN4llvm6ModuleE+0x17c): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base13runSPIRVToOCLERN4llvm6ModuleE+0x18c): undefined reference to `llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*, bool*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base13runSPIRVToOCLERN4llvm6ModuleE+0x19a): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans13.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVToOCL12Pass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV16SPIRVToOCL12PassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::SmallVectorTemplateBase<std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> >, true>::push_back(std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> >)':
<artificial>:(.text._ZN4llvm23SmallVectorTemplateBaseISt4pairIjNS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeEPNS_5ValueEEEEELb1EE9push_backESB_+0x50): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `initializeSPIRVToOCL12LegacyPassOnce(llvm::PassRegistry&) [clone .lto_priv.0]':
<artificial>:(.text._ZL36initializeSPIRVToOCL12LegacyPassOnceRN4llvm12PassRegistryE.lto_priv.0+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `initializeSPIRVToOCL20LegacyPassOnce(llvm::PassRegistry&) [clone .lto_priv.0]':
<artificial>:(.text._ZL36initializeSPIRVToOCL20LegacyPassOnceRN4llvm12PassRegistryE.lto_priv.0+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVToOCL12Legacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV18SPIRVToOCL12LegacyEEEPNS_4PassEv+0xd1): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::SPIRVToOCL20Legacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV18SPIRVToOCL20LegacyEEEPNS_4PassEv+0xcb): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Legacy::~SPIRVToOCL12Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV18SPIRVToOCL12LegacyD0Ev.lto_priv.0+0x27): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `non-virtual thunk to SPIRV::SPIRVToOCL12Legacy::~SPIRVToOCL12Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZThn128_N5SPIRV18SPIRVToOCL12LegacyD1Ev+0x23): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `non-virtual thunk to SPIRV::SPIRVToOCL12Legacy::~SPIRVToOCL12Legacy()':
<artificial>:(.text._ZThn128_N5SPIRV18SPIRVToOCL12LegacyD0Ev+0x2c): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Legacy::~SPIRVToOCL20Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV18SPIRVToOCL20LegacyD0Ev.lto_priv.0+0x5a): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `non-virtual thunk to SPIRV::SPIRVToOCL20Legacy::~SPIRVToOCL20Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZThn32_N5SPIRV18SPIRVToOCL20LegacyD1Ev+0x5d): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:<artificial>:(.text._ZThn32_N5SPIRV18SPIRVToOCL20LegacyD0Ev+0x64): more undefined references to `llvm::ModulePass::~ModulePass()' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCL20Base::visitCallSPIRVAtomicCmpExchg(llvm::CallInst*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#2}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x5f): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x68): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x74): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x90): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xbf): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgES9_EUlS7_S9_E0_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x10f): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::createSPIRVToOCL12Legacy()':
<artificial>:(.text._ZN4llvm24createSPIRVToOCL12LegacyEv+0xd1): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Legacy::~SPIRVToOCL12Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV18SPIRVToOCL12LegacyD2Ev.lto_priv.0+0x27): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::createSPIRVToOCL20Legacy()':
<artificial>:(.text._ZN4llvm24createSPIRVToOCL20LegacyEv+0xcb): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `std::_Function_handler<llvm::Value* (llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*), SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicFlagTestAndSet(llvm::CallInst*)::{lambda(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*)#1}>::_M_invoke(std::_Any_data const&, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::CallInst*&&)':
<artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL12Base34visitCallSPIRVAtomicFlagTestAndSetES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0x36): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFPN4llvm5ValueERNS0_9IRBuilderINS0_14ConstantFolderENS0_24IRBuilderDefaultInserterEEEPNS0_8CallInstEEZN5SPIRV16SPIRVToOCL12Base34visitCallSPIRVAtomicFlagTestAndSetES9_EUlS7_S9_E_E9_M_invokeERKSt9_Any_dataS7_OS9_+0xb0): undefined reference to `llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Legacy::~SPIRVToOCL20Legacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV18SPIRVToOCL20LegacyD2Ev.lto_priv.0+0x5b): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::DenseMap<llvm::ValueMapCallbackVH<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::DenseMapInfo<llvm::ValueMapCallbackVH<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >, void>, llvm::detail::DenseMapPair<llvm::ValueMapCallbackVH<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> > >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x8c): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x1c1): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x1ef): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x264): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x29c): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x315): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x349): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x385): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapINS_18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES3_EEENS_14ValueMapConfigIS3_NS_3sys10SmartMutexILb0EEEEEEESA_NS_12DenseMapInfoISG_vEENS_6detail12DenseMapPairISG_SA_EEE4growEj+0x473): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::fixType(SPIRVTypeScavenger::DeferredType&, llvm::Type*) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x46): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x9d): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x11a): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x296): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x31a): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x354): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x3a5): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x3ee): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x3fa): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x43c): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x454): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x4b6): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x4ee): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger7fixTypeERNS_12DeferredTypeEPN4llvm4TypeE+0x570): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::ValueMapCallbackVH<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >::deleted()':
<artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x66): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x9a): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0xcd): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x144): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x18c): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x1bc): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x1d9): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE7deletedEv+0x23c): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `llvm::ValueMapCallbackVH<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >::allUsesReplacedWith(llvm::Value*)':
<artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x75): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x134): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x182): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x1bd): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x1dc): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x23e): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x2a9): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x324): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x359): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x363): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x398): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x3d4): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x4f5): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEE19allUsesReplacedWithES2_+0x555): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::deduceIntrinsicTypes(llvm::Function&, unsigned int) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0x15): undefined reference to `llvm::Function::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0x44): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0x9d): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0xd5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0xf6): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger20deduceIntrinsicTypesERN4llvm8FunctionEj+0x105): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::getPointerElementType(llvm::Value*)':
<artificial>:(.text._ZN18SPIRVTypeScavenger21getPointerElementTypeEPN4llvm5ValueE+0x1e): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger21getPointerElementTypeEPN4llvm5ValueE+0xd5): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger21getPointerElementTypeEPN4llvm5ValueE+0xde): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::getArgumentPointerElementType(llvm::Function*, unsigned int)':
<artificial>:(.text._ZN18SPIRVTypeScavenger29getArgumentPointerElementTypeEPN4llvm8FunctionEj+0x3d): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVMemoryBarrier(llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x36): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x5e): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0xa5): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x167): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x1be): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x1fb): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x211): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x222): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x229): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x23e): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x2fe): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVControlBarrier(llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x36): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x5e): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0xa5): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x167): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x1be): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x1fd): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x204): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x219): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVControlBarrierEPN4llvm8CallInstE+0x2de): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVSplitBarrierINTEL(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x31): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x71): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0xbd): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x18d): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x1df): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x21e): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x225): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x23a): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0x2ff): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::mutateAtomicName(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0xa5): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0xac): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0xc6): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::visitCallSPIRVAtomicIncDec(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0xb2): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0xf2): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0xf9): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0x113): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::visitCallSPIRVAtomicCmpExchg(llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x43): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x4e): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x6b): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x8b): undefined reference to `llvm::BasicBlock::getFirstInsertionPt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0xc2): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0xcb): undefined reference to `llvm::Type::getScalarSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x134): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x20d): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x216): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x222): undefined reference to `llvm::DataLayout::getABITypeAlign(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x24b): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x26b): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Align, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x296): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x2a2): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x2eb): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x311): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x327): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x33a): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x341): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x358): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x3fd): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0x52a): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::visitCallSPIRVEnqueueKernel(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x32): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x3d): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x118): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x1f0): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x204): undefined reference to `llvm::CastInst::CreatePointerBitCastOrAddrSpaceCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x215): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x223): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x241): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x248): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x25f): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x3ec): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVEnqueueKernelEPN4llvm8CallInstEN3spv2OpE+0x401): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::mapAtomicName[abi:cxx11](spv::Op, llvm::Type*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base13mapAtomicNameB5cxx11EN3spv2OpEPN4llvm4TypeE+0x37): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicIncDec(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0x81): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0x88): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base26visitCallSPIRVAtomicIncDecEPN4llvm8CallInstEN3spv2OpE+0xa2): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::mutateCommonAtomicArguments(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0xff): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x106): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x120): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicUMinUMax(llvm::CallInst*, spv::Op) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicUMinUMaxEPN4llvm8CallInstEN3spv2OpE+0xcc): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicUMinUMaxEPN4llvm8CallInstEN3spv2OpE+0xd3): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicUMinUMaxEPN4llvm8CallInstEN3spv2OpE+0xed): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicLoad(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base24visitCallSPIRVAtomicLoadEPN4llvm8CallInstE+0x7b): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base24visitCallSPIRVAtomicLoadEPN4llvm8CallInstE+0xb9): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base24visitCallSPIRVAtomicLoadEPN4llvm8CallInstE+0xc0): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base24visitCallSPIRVAtomicLoadEPN4llvm8CallInstE+0xda): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicStore(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base25visitCallSPIRVAtomicStoreEPN4llvm8CallInstE+0x124): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base25visitCallSPIRVAtomicStoreEPN4llvm8CallInstE+0x12b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base25visitCallSPIRVAtomicStoreEPN4llvm8CallInstE+0x145): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicFlagClear(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base29visitCallSPIRVAtomicFlagClearEPN4llvm8CallInstE+0x3d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base29visitCallSPIRVAtomicFlagClearEPN4llvm8CallInstE+0x8a): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base29visitCallSPIRVAtomicFlagClearEPN4llvm8CallInstE+0x9a): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicFlagTestAndSet(llvm::CallInst*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base34visitCallSPIRVAtomicFlagTestAndSetEPN4llvm8CallInstE+0x3d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base34visitCallSPIRVAtomicFlagTestAndSetEPN4llvm8CallInstE+0x91): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base34visitCallSPIRVAtomicFlagTestAndSetEPN4llvm8CallInstE+0xa4): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::visitCallSPIRVAtomicCmpExchg(llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0xd7): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0xde): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base28visitCallSPIRVAtomicCmpExchgEPN4llvm8CallInstE+0xf8): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL12Base::mutateAtomicName(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0xf6): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0xfd): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL12Base16mutateAtomicNameEPN4llvm8CallInstEN3spv2OpE+0x117): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::runSPIRVToOCL(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base13runSPIRVToOCLERN4llvm6ModuleE+0x114): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base13runSPIRVToOCLERN4llvm6ModuleE+0x17c): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base13runSPIRVToOCLERN4llvm6ModuleE+0x18c): undefined reference to `llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*, bool*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base13runSPIRVToOCLERN4llvm6ModuleE+0x19a): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::visitCallSPIRVMemoryBarrier(llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0xfa): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x101): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27visitCallSPIRVMemoryBarrierEPN4llvm8CallInstE+0x11b): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::mutateCommonAtomicArguments(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x3b): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x5a): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x281): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x34e): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x3b0): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x3fd): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x40d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x46d): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x48d): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x494): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x4a9): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x55d): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x630): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x68e): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x6d0): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x6d7): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x6ec): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x90c): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base27mutateCommonAtomicArgumentsEPN4llvm8CallInstEN3spv2OpE+0x976): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRV::SPIRVToOCL20Base::visitCallSPIRVSplitBarrierINTEL(llvm::CallInst*, spv::Op)':
<artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0xd4): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16SPIRVToOCL20Base31visitCallSPIRVSplitBarrierINTELEPN4llvm8CallInstEN3spv2OpE+0xe5): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::deduceFunctionType(llvm::Function&) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0xb5): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x162): undefined reference to `llvm::AttributeList::getParamByValType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x178): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x18e): undefined reference to `llvm::AttributeList::getParamElementType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x1a4): undefined reference to `llvm::AttributeList::getParamInAllocaType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x1be): undefined reference to `llvm::AttributeList::getParamPreallocatedType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x1f4): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x235): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x3b5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x3d8): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x401): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger18deduceFunctionTypeERN4llvm8FunctionE+0x432): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::computePointerElementType(llvm::Value*) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x3b): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x44): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x14a): undefined reference to `llvm::AttributeList::getParamByValType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x171): undefined reference to `llvm::GEPOperator::getResultElementType() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x1bb): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x1c4): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x234): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x249): undefined reference to `llvm::AttributeList::getParamElementType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x25e): undefined reference to `llvm::AttributeList::getParamInAllocaType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger25computePointerElementTypeEPN4llvm5ValueE+0x273): undefined reference to `llvm::AttributeList::getParamPreallocatedType(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::mergeType(SPIRVTypeScavenger::DeferredType*, SPIRVTypeScavenger::DeferredType*) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x47): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0xc4): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x147): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x321): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x35c): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x3ad): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x434): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x588): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x5c6): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x608): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x653): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x65f): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x6a3): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger9mergeTypeEPNS_12DeferredTypeES1_+0x6bb): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::correctUseTypes(llvm::Instruction&) [clone .localalias]':
<artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x2f): undefined reference to `vtable for llvm::NoFolder'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x4a): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0xba): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x2a9): undefined reference to `llvm::CastInst::CreatePointerCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x406): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x40d): undefined reference to `vtable for llvm::NoFolder'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x422): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x58b): undefined reference to `llvm::Use::getOperandNo() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x699): undefined reference to `llvm::Use::getOperandNo() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x80d): undefined reference to `llvm::Use::getOperandNo() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x927): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x930): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x9a3): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger15correctUseTypesERN4llvm11InstructionE+0x9da): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o: in function `SPIRVTypeScavenger::typeModule(llvm::Module&)':
<artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x33): undefined reference to `llvm::LLVMContext::supportsTypedPointers() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xfa): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x15c): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x1e4): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x36b): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x3f0): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x42c): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x481): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x4cf): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x4db): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x51d): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x535): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x5aa): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x5e9): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x63d): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x722): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x84f): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x873): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0x96d): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xae5): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xb63): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xb9d): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xbf3): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xc41): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xc4d): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xc8f): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN18SPIRVTypeScavenger10typeModuleERN4llvm6ModuleE+0xca7): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTIN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEE+0x10): undefined reference to `typeinfo for llvm::CallbackVH'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN4llvm18ValueMapCallbackVHIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEE+0x10): undefined reference to `llvm::CallbackVH::anchor()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x20): undefined reference to `llvm::Pass::getPassName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans14.ltrans.o:(.data.rel.ro._ZTVN5SPIRV16SPIRVToOCLLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `llvm::TypedPointerType* SPIRV::parseNode<SPIRV::getParameterTypes(llvm::Function*, llvm::SmallVectorImpl<llvm::Type*>&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::StringRef)>)::{lambda(llvm::StringRef)#1}>(llvm::Module*, llvm::itanium_demangle::Node const*, SPIRV::getParameterTypes(llvm::Function*, llvm::SmallVectorImpl<llvm::Type*>&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::StringRef)>)::{lambda(llvm::StringRef)#1})':
<artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0xb0): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x253): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x29e): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x2e3): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x303): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x3cc): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x3d7): undefined reference to `llvm::FunctionType::get(llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x42e): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL9parseNodeIZNS_17getParameterTypesEPN4llvm8FunctionERNS1_15SmallVectorImplIPNS1_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_9StringRefEEEEUlSG_E_EEPNS1_16TypedPointerTypeEPNS1_6ModuleEPKNS1_16itanium_demangle4NodeET_+0x471): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::addVector(llvm::Instruction*, std::pair<__gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > >, __gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > > >) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x8a): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0xd8): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0xf8): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x186): undefined reference to `llvm::IRBuilderBase::CreateVectorSplat(unsigned int, llvm::Value*, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x1e9): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x1f2): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x200): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x241): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x25e): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x2b8): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x2e6): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x2ed): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addVectorEPN4llvm11InstructionESt4pairIN9__gnu_cxx17__normal_iteratorIPPNS0_5ValueESt6vectorIS7_SaIS7_EEEESC_E+0x304): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::castToInt8Ptr(llvm::Constant*, unsigned int)':
<artificial>:(.text._ZN5SPIRV13castToInt8PtrEPN4llvm8ConstantEj+0x11): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV13castToInt8PtrEPN4llvm8ConstantEj+0x1c): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV13castToInt8PtrEPN4llvm8ConstantEj+0x30): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getInt8PtrTy(llvm::PointerType*)':
<artificial>:(.text._ZN5SPIRV12getInt8PtrTyEPN4llvm11PointerTypeE+0xf): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::castToInt8Ptr(llvm::Value*, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV13castToInt8PtrEPN4llvm5ValueEPNS0_11InstructionE+0x3a): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV13castToInt8PtrEPN4llvm5ValueEPNS0_11InstructionE+0x4c): undefined reference to `llvm::CastInst::CreatePointerCast(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getSizetType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV12getSizetTypeEPN4llvm6ModuleE+0xa): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12getSizetTypeEPN4llvm6ModuleE+0x15): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12getSizetTypeEPN4llvm6ModuleE+0x22): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getVoidFuncType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV15getVoidFuncTypeEPN4llvm6ModuleE+0xd): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15getVoidFuncTypeEPN4llvm6ModuleE+0x1c): undefined reference to `llvm::FunctionType::get(llvm::Type*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getVoidFuncPtrType(llvm::Module*, unsigned int)':
<artificial>:(.text._ZN5SPIRV18getVoidFuncPtrTypeEPN4llvm6ModuleEj+0xc): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18getVoidFuncPtrTypeEPN4llvm6ModuleEj+0x17): undefined reference to `llvm::FunctionType::get(llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18getVoidFuncPtrTypeEPN4llvm6ModuleEj+0x23): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getInt64(llvm::Module*, long)':
<artificial>:(.text._ZN5SPIRV8getInt64EPN4llvm6ModuleEl+0xd): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getInt64EPN4llvm6ModuleEl+0x1a): undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getUInt64(llvm::Module*, unsigned long)':
<artificial>:(.text._ZN5SPIRV9getUInt64EPN4llvm6ModuleEm+0xd): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9getUInt64EPN4llvm6ModuleEm+0x1c): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getFloat32(llvm::Module*, float)':
<artificial>:(.text._ZN5SPIRV10getFloat32EPN4llvm6ModuleEf+0x17): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV10getFloat32EPN4llvm6ModuleEf+0x2a): undefined reference to `llvm::ConstantFP::get(llvm::Type*, double)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getInt32(llvm::Module*, int)':
<artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleEi+0xc): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleEi+0x1e): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getUInt32(llvm::Module*, unsigned int)':
<artificial>:(.text._ZN5SPIRV9getUInt32EPN4llvm6ModuleEj+0xc): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9getUInt32EPN4llvm6ModuleEj+0x1a): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getInt(llvm::Module*, long)':
<artificial>:(.text._ZN5SPIRV6getIntEPN4llvm6ModuleEl+0x16): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV6getIntEPN4llvm6ModuleEl+0x23): undefined reference to `llvm::ConstantInt::getSigned(llvm::IntegerType*, long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV6getIntEPN4llvm6ModuleEl+0x32): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV6getIntEPN4llvm6ModuleEl+0x44): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getUInt(llvm::Module*, unsigned long)':
<artificial>:(.text._ZN5SPIRV7getUIntEPN4llvm6ModuleEm+0x16): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV7getUIntEPN4llvm6ModuleEm+0x25): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV7getUIntEPN4llvm6ModuleEm+0x32): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV7getUIntEPN4llvm6ModuleEm+0x41): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getUInt16(llvm::Module*, unsigned short)':
<artificial>:(.text._ZN5SPIRV9getUInt16EPN4llvm6ModuleEt+0xc): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9getUInt16EPN4llvm6ModuleEt+0x1b): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getSizet(llvm::Module*, unsigned long)':
<artificial>:(.text._ZN5SPIRV8getSizetEPN4llvm6ModuleEm+0x12): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getSizetEPN4llvm6ModuleEm+0x1d): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getSizetEPN4llvm6ModuleEm+0x29): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getSizetEPN4llvm6ModuleEm+0x3d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getMDOperandAsString(llvm::MDNode*, unsigned int)':
<artificial>:(.text._ZN5SPIRV20getMDOperandAsStringEPN4llvm6MDNodeEj+0x34): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getNamedMDAsStringSet(llvm::Module*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text._ZN5SPIRV21getNamedMDAsStringSetEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x46): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getNamedMDAsStringSetEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x7a): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getNamedMDAsStringSetEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xa0): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getNamedMDAsStringSetEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x133): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mapUInt(llvm::Module*, llvm::ConstantInt*, std::function<unsigned int (unsigned int)>)':
<artificial>:(.text._ZN5SPIRV7mapUIntEPN4llvm6ModuleEPNS0_11ConstantIntESt8functionIFjjEE+0x5b): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mapSInt(llvm::Module*, llvm::ConstantInt*, std::function<int (int)>)':
<artificial>:(.text._ZN5SPIRV7mapSIntEPN4llvm6ModuleEPNS0_11ConstantIntESt8functionIFiiEE+0x6d): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::isDecoratedSPIRVFunc(llvm::Function const*, llvm::StringRef&)':
<artificial>:(.text._ZN5SPIRV20isDecoratedSPIRVFuncEPKN4llvm8FunctionERNS0_9StringRefE+0x1e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV20isDecoratedSPIRVFuncEPKN4llvm8FunctionERNS0_9StringRefE+0x45): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getScalarOrArray(llvm::Value*, unsigned int, llvm::Instruction*)':
<artificial>:(.text._ZN5SPIRV16getScalarOrArrayEPN4llvm5ValueEjPNS0_11InstructionE+0x5f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16getScalarOrArrayEPN4llvm5ValueEjPNS0_11InstructionE+0x95): undefined reference to `llvm::GEPOperator::getSourceElementType() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV16getScalarOrArrayEPN4llvm5ValueEjPNS0_11InstructionE+0xaa): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getScalarOrVectorConstantInt(llvm::Type*, unsigned long, bool)':
<artificial>:(.text._ZN5SPIRV28getScalarOrVectorConstantIntEPN4llvm4TypeEmb+0xe): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getScalarOrArrayConstantInt(llvm::Instruction*, llvm::Type*, unsigned int, unsigned long, bool)':
<artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x61): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x82): undefined reference to `llvm::ConstantInt::get(llvm::Type*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0xfc): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x16e): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x187): undefined reference to `llvm::Instruction::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x190): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x19c): undefined reference to `llvm::DataLayout::getPointerTypeSizeInBits(llvm::Type*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x1a7): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x1b6): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x1d0): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x252): undefined reference to `llvm::ConstantArray::get(llvm::ArrayType*, llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x267): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x293): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x2a3): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x2b7): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x2c5): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x2ce): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x2f2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x335): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x352): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x3cb): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x3e1): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x3ff): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x40d): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x44e): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x469): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getScalarOrArrayConstantIntEPN4llvm11InstructionEPNS0_4TypeEjmb+0x493): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getSPIRVImageTypePostfixes[abi:cxx11](llvm::StringRef, SPIRV::SPIRVTypeImageDescriptor, spv::AccessQualifier)':
<artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x29): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0xa5): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x109): undefined reference to `llvm::raw_ostream::operator<<(long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x132): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x15b): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x184): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x1ad): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x1d6): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x1fb): undefined reference to `llvm::raw_ostream::operator<<(long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x220): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x232): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x2b8): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x2d3): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x2fa): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x317): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x32f): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x347): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x35f): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o:<artificial>:(.text._ZN5SPIRV26getSPIRVImageTypePostfixesB5cxx11EN4llvm9StringRefENS_24SPIRVTypeImageDescriptorEN3spv15AccessQualifierE+0x377): more undefined references to `llvm::raw_ostream::write(unsigned char)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getLLVMTypeForSPIRVImageSampledTypePostfix(llvm::StringRef, llvm::LLVMContext&)':
<artificial>:(.text._ZN5SPIRV42getLLVMTypeForSPIRVImageSampledTypePostfixEN4llvm9StringRefERNS0_11LLVMContextE+0x18): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42getLLVMTypeForSPIRVImageSampledTypePostfixEN4llvm9StringRefERNS0_11LLVMContextE+0x22): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42getLLVMTypeForSPIRVImageSampledTypePostfixEN4llvm9StringRefERNS0_11LLVMContextE+0x42): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV42getLLVMTypeForSPIRVImageSampledTypePostfixEN4llvm9StringRefERNS0_11LLVMContextE+0x52): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::eraseIfNoUse(llvm::Function*)':
<artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm8FunctionE+0xba): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm8FunctionE+0xe5): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::eraseIfNoUse(llvm::Value*)':
<artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm5ValueE+0x29): undefined reference to `llvm::Constant::destroyConstant()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm5ValueE+0x36): undefined reference to `llvm::Instruction::mayHaveSideEffects() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm5ValueE+0x4d): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm5ValueE+0x67): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12eraseIfNoUseEPN4llvm5ValueE+0xaf): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::eraseUselessFunctions(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV21eraseUselessFunctionsEPN4llvm6ModuleE+0x39): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21eraseUselessFunctionsEPN4llvm6ModuleE+0x10d): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getImageBaseTypeName[abi:cxx11](llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV20getImageBaseTypeNameB5cxx11EN4llvm9StringRefE+0x69): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getOCLClkEventType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV18getOCLClkEventTypeEPN4llvm6ModuleE+0x72): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18getOCLClkEventTypeEPN4llvm6ModuleE+0x82): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18getOCLClkEventTypeEPN4llvm6ModuleE+0xce): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getOCLClkEventPtrType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV21getOCLClkEventPtrTypeEPN4llvm6ModuleE+0x72): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLClkEventPtrTypeEPN4llvm6ModuleE+0x82): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLClkEventPtrTypeEPN4llvm6ModuleE+0xc3): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLClkEventPtrTypeEPN4llvm6ModuleE+0xde): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getOCLNullClkEventPtr(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV21getOCLNullClkEventPtrEPN4llvm6ModuleE+0x72): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLNullClkEventPtrEPN4llvm6ModuleE+0x82): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLNullClkEventPtrEPN4llvm6ModuleE+0xab): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLNullClkEventPtrEPN4llvm6ModuleE+0xcc): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOCLNullClkEventPtrEPN4llvm6ModuleE+0xde): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::hasLoopMetadata(llvm::Module const*)':
<artificial>:(.text._ZN5SPIRV15hasLoopMetadataEPKN4llvm6ModuleE+0x4a): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::decodeSPIRVTypeName(llvm::StringRef, llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)':
<artificial>:(.text._ZN5SPIRV19decodeSPIRVTypeNameEN4llvm9StringRefERNS0_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0x86): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19decodeSPIRVTypeNameEN4llvm9StringRefERNS0_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0x176): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mapOCLTypeNameToSPIRV[abi:cxx11](llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV21mapOCLTypeNameToSPIRVB5cxx11EN4llvm9StringRefES1_+0x5e): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21mapOCLTypeNameToSPIRVB5cxx11EN4llvm9StringRefES1_+0xfb): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21mapOCLTypeNameToSPIRVB5cxx11EN4llvm9StringRefES1_+0x330): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21mapOCLTypeNameToSPIRVB5cxx11EN4llvm9StringRefES1_+0x3c9): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21mapOCLTypeNameToSPIRVB5cxx11EN4llvm9StringRefES1_+0x3dd): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::checkTypeForSPIRVExtendedInstLowering(llvm::IntrinsicInst*, SPIRV::SPIRVModule*)':
<artificial>:(.text._ZN5SPIRV37checkTypeForSPIRVExtendedInstLoweringEPN4llvm13IntrinsicInstEPNS_11SPIRVModuleE+0x17e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV37checkTypeForSPIRVExtendedInstLoweringEPN4llvm13IntrinsicInstEPNS_11SPIRVModuleE+0x2b0): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `llvm::MetadataAsValue* SPIRV::map2MDString<spv::internal::InternalJointMatrixLayout>(llvm::LLVMContext&, SPIRV::SPIRVValue*)':
<artificial>:(.text._ZN5SPIRV12map2MDStringIN3spv8internal25InternalJointMatrixLayoutEEEPN4llvm15MetadataAsValueERNS4_11LLVMContextEPNS_10SPIRVValueE+0x13d): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12map2MDStringIN3spv8internal25InternalJointMatrixLayoutEEEPN4llvm15MetadataAsValueERNS4_11LLVMContextEPNS_10SPIRVValueE+0x149): undefined reference to `llvm::MetadataAsValue::get(llvm::LLVMContext&, llvm::Metadata*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `llvm::MetadataAsValue* SPIRV::map2MDString<spv::Scope>(llvm::LLVMContext&, SPIRV::SPIRVValue*)':
<artificial>:(.text._ZN5SPIRV12map2MDStringIN3spv5ScopeEEEPN4llvm15MetadataAsValueERNS3_11LLVMContextEPNS_10SPIRVValueE+0x13d): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12map2MDStringIN3spv5ScopeEEEPN4llvm15MetadataAsValueERNS3_11LLVMContextEPNS_10SPIRVValueE+0x149): undefined reference to `llvm::MetadataAsValue::get(llvm::LLVMContext&, llvm::Metadata*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `llvm::cl::opt<bool, true, llvm::cl::parser<bool> >::opt<char [11], llvm::cl::desc, llvm::cl::LocationClass<bool> >(char const (&) [11], llvm::cl::desc const&, llvm::cl::LocationClass<bool> const&) [clone .lto_priv.0]':
<artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0x2b): undefined reference to `vtable for llvm::cl::Option'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0xa7): undefined reference to `llvm::cl::getGeneralCategory()'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0xe0): undefined reference to `vtable for llvm::cl::parser<bool>'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0x135): undefined reference to `llvm::cl::Option::setArgStr(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0x159): undefined reference to `llvm::errs()'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0x183): undefined reference to `llvm::cl::Option::error(llvm::Twine const&, llvm::StringRef, llvm::raw_ostream&)'
/usr/bin/ld: <artificial>:(.text.startup._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEEC2IJA11_cNS0_4descENS0_13LocationClassIbEEEEEDpRKT_.lto_priv.0+0x1a6): undefined reference to `llvm::cl::Option::addArgument()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getSPIRVSource[abi:cxx11](llvm::Module*)':
<artificial>:(.text._ZN5SPIRV14getSPIRVSourceB5cxx11EPN4llvm6ModuleE+0x79): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14getSPIRVSourceB5cxx11EPN4llvm6ModuleE+0xa5): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14getSPIRVSourceB5cxx11EPN4llvm6ModuleE+0xd5): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14getSPIRVSourceB5cxx11EPN4llvm6ModuleE+0x1af): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::lowerBuiltinVariableToCall(llvm::GlobalVariable*, spv::BuiltIn)::{lambda(llvm::User*)#2}::operator()(llvm::User*) const [clone .cold]':
<artificial>:(.text.unlikely._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0xc): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text.unlikely._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x26): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::lowerBuiltinVariableToCall(llvm::GlobalVariable*, spv::BuiltIn)::{lambda(llvm::User*)#2}::operator()(llvm::User*) const':
<artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0xa3): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x110): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x12b): undefined reference to `llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x150): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x16b): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x185): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x198): undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x1cb): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x1da): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x218): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x250): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x27d): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x2a4): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x2bb): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x2d5): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x32f): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x348): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x38a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x3af): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x3d2): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x3de): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x3f2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x482): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x49a): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x4a6): undefined reference to `llvm::Instruction::insertAfter(llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x4b2): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInEENKUlPNS0_4UserEE0_clES6_+0x4e8): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getInt32(llvm::Module*, std::vector<int, std::allocator<int> > const&)':
<artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleERKSt6vectorIiSaIiEE+0x73): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleERKSt6vectorIiSaIiEE+0x84): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::postProcessBuiltinReturningStruct(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x3c): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0xdc): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x1ff): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x2a7): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x2ec): undefined reference to `llvm::Attribute::get(llvm::LLVMContext&, llvm::Attribute::AttrKind, llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x2ff): undefined reference to `llvm::Function::addParamAttr(unsigned int, llvm::Attribute)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x39a): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x3f8): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x43f): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x46d): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x481): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x49d): undefined reference to `llvm::AttributeList::addParamAttribute(llvm::LLVMContext&, llvm::ArrayRef<unsigned int>, llvm::Attribute) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x5e4): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x5f6): undefined reference to `llvm::Function::dropAllReferences()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x5ff): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x728): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV33postProcessBuiltinReturningStructEPN4llvm8FunctionE+0x749): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::addCallInst(llvm::Module*, llvm::StringRef, llvm::Type*, llvm::ArrayRef<llvm::Value*>, llvm::AttributeList*, llvm::Instruction*, SPIRV::BuiltinFuncMangleInfo*, llvm::StringRef, bool) [clone .cold]':
<artificial>:(.text.unlikely._ZN5SPIRV11addCallInstEPN4llvm6ModuleENS0_9StringRefEPNS0_4TypeENS0_8ArrayRefIPNS0_5ValueEEEPNS0_13AttributeListEPNS0_11InstructionEPNS_21BuiltinFuncMangleInfoES3_b+0xa): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::addCallInst(llvm::Module*, llvm::StringRef, llvm::Type*, llvm::ArrayRef<llvm::Value*>, llvm::AttributeList*, llvm::Instruction*, SPIRV::BuiltinFuncMangleInfo*, llvm::StringRef, bool)':
<artificial>:(.text._ZN5SPIRV11addCallInstEPN4llvm6ModuleENS0_9StringRefEPNS0_4TypeENS0_8ArrayRefIPNS0_5ValueEEEPNS0_13AttributeListEPNS0_11InstructionEPNS_21BuiltinFuncMangleInfoES3_b+0x1f8): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11addCallInstEPN4llvm6ModuleENS0_9StringRefEPNS0_4TypeENS0_8ArrayRefIPNS0_5ValueEEEPNS0_13AttributeListEPNS0_11InstructionEPNS_21BuiltinFuncMangleInfoES3_b+0x226): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11addCallInstEPN4llvm6ModuleENS0_9StringRefEPNS0_4TypeENS0_8ArrayRefIPNS0_5ValueEEEPNS0_13AttributeListEPNS0_11InstructionEPNS_21BuiltinFuncMangleInfoES3_b+0x24d): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mutateCallInst(llvm::Module*, llvm::CallInst*, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)>, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool)':
<artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x10c): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x123): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x13d): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x157): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x163): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x16c): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x205): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x2a2): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mutateFunction(llvm::Function*, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)>, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool)':
<artificial>:(.text._ZN5SPIRV14mutateFunctionEPN4llvm8FunctionESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_8CallInstERSt6vectorIPNS0_5ValueESaISE_EEEEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x145): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::postProcessBuiltinWithArrayArguments(llvm::Function*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPN4llvm8FunctionENS0_9StringRefE+0x2b): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mutateCallInst(llvm::Module*, llvm::CallInst*, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&, llvm::Type*&)>, std::function<llvm::Instruction* (llvm::CallInst*)>, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x8f): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0xf9): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x11d): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x134): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x14e): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x167): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x17c): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14mutateCallInstEPN4llvm6ModuleEPNS0_8CallInstESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_RSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES5_IFPNS0_11InstructionES4_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x185): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::mutateFunction(llvm::Function*, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&, llvm::Type*&)>, std::function<llvm::Instruction* (llvm::CallInst*)>, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool)':
<artificial>:(.text._ZN5SPIRV14mutateFunctionEPN4llvm8FunctionESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS0_8CallInstERSt6vectorIPNS0_5ValueESaISE_EERPNS0_4TypeEEES3_IFPNS0_11InstructionESB_EEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x1b6): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::addCallInstSPIRV(llvm::Module*, llvm::StringRef, llvm::Type*, llvm::ArrayRef<llvm::Value*>, llvm::AttributeList*, llvm::ArrayRef<llvm::Type*>, llvm::Instruction*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV16addCallInstSPIRVEPN4llvm6ModuleENS0_9StringRefEPNS0_4TypeENS0_8ArrayRefIPNS0_5ValueEEEPNS0_13AttributeListENS6_IS5_EEPNS0_11InstructionES3_+0x16e): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::addBlockBind(llvm::Module*, llvm::Function*, llvm::Value*, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x66): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x7a): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0xae): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0xb9): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0xc7): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x16f): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x187): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x190): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x1af): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x1b8): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x1d9): undefined reference to `llvm::Type::getInt8PtrTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12addBlockBindEPN4llvm6ModuleEPNS0_8FunctionEPNS0_5ValueES6_S6_PNS0_11InstructionENS0_9StringRefE+0x1e2): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::getParameterTypes(llvm::Function*, llvm::SmallVectorImpl<llvm::Type*>&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::StringRef)>)':
<artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x35): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x110): undefined reference to `llvm::Argument::getParamStructRetType() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x128): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x14a): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x17f): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x414): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x452): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x516): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x525): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x54a): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x74e): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEE+0x75e): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::transTypeDesc(llvm::Type*, SPIRV::BuiltinArgTypeMangleInfo const&)':
<artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0x93): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0x3cf): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0x3db): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0x4a7): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0x4c8): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0xad9): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL13transTypeDescEPN4llvm4TypeERKNS_24BuiltinArgTypeMangleInfoE+0xaee): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::isSPIRVOCLExtInst(llvm::CallInst const*, OpenCLLIB::Entrypoints*)':
<artificial>:(.text._ZN5SPIRV17isSPIRVOCLExtInstEPKN4llvm8CallInstEPN9OpenCLLIB11EntrypointsE+0x67): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17isSPIRVOCLExtInstEPKN4llvm8CallInstEPN9OpenCLLIB11EntrypointsE+0xe0): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17isSPIRVOCLExtInstEPKN4llvm8CallInstEPN9OpenCLLIB11EntrypointsE+0x1ae): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::postProcessBuiltinsReturningStruct(llvm::Module*, bool)':
<artificial>:(.text._ZN5SPIRV34postProcessBuiltinsReturningStructEPN4llvm6ModuleEb+0x63): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV34postProcessBuiltinsReturningStructEPN4llvm6ModuleEb+0x81): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::postProcessBuiltinsWithArrayArguments(llvm::Module*, bool)':
<artificial>:(.text._ZN5SPIRV37postProcessBuiltinsWithArrayArgumentsEPN4llvm6ModuleEb+0x92): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV37postProcessBuiltinsWithArrayArgumentsEPN4llvm6ModuleEb+0xe0): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV37postProcessBuiltinsWithArrayArgumentsEPN4llvm6ModuleEb+0x114): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV37postProcessBuiltinsWithArrayArgumentsEPN4llvm6ModuleEb+0x19d): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV37postProcessBuiltinsWithArrayArgumentsEPN4llvm6ModuleEb+0x1b3): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::isSPIRVBuiltinVariable(llvm::GlobalVariable*, spv::BuiltIn*)':
<artificial>:(.text._ZN5SPIRV22isSPIRVBuiltinVariableEPN4llvm14GlobalVariableEPN3spv7BuiltInE+0x4d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::lowerBuiltinVariableToCall(llvm::GlobalVariable*, spv::BuiltIn) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x4f): undefined reference to `llvm::Constant::removeDeadConstantUsers() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x60): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x128): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x2a6): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x331): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x35a): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x379): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x4e7): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x511): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x532): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x557): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x567): undefined reference to `llvm::Function::addFnAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x5b1): undefined reference to `llvm::Argument::addAttr(llvm::Attribute::AttrKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x5c1): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV26lowerBuiltinVariableToCallEPN4llvm14GlobalVariableEN3spv7BuiltInE+0x5e5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o: in function `SPIRV::lowerBuiltinVariablesToCalls(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV28lowerBuiltinVariablesToCallsEPN4llvm6ModuleE+0x76): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28lowerBuiltinVariablesToCallsEPN4llvm6ModuleE+0x162): undefined reference to `llvm::GlobalVariable::eraseFromParent()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl3optIbLb1ENS0_6parserIbEEEE+0x18): undefined reference to `typeinfo for llvm::cl::Option'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o:(.data.rel.ro._ZTVN4llvm2cl3optIbLb1ENS0_6parserIbEEEE+0x20): undefined reference to `llvm::cl::Option::anchor()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans16.ltrans.o:(.data.rel.ro._ZTVN4llvm2cl3optIbLb1ENS0_6parserIbEEEE+0x60): undefined reference to `llvm::cl::Option::addOccurrence(unsigned int, llvm::StringRef, llvm::StringRef, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `llvm::cl::opt<bool, true, llvm::cl::parser<bool> >::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)':
<artificial>:(.text._ZN4llvm2cl3optIbLb1ENS0_6parserIbEEE16handleOccurrenceEjNS_9StringRefES5_+0x3c): undefined reference to `llvm::cl::parser<bool>::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, bool&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `llvm::cl::opt<bool, true, llvm::cl::parser<bool> >::getOptionWidth() const':
<artificial>:(.text._ZNK4llvm2cl3optIbLb1ENS0_6parserIbEEE14getOptionWidthEv+0x10): undefined reference to `llvm::cl::basic_parser_impl::getOptionWidth(llvm::cl::Option const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `llvm::cl::opt<bool, true, llvm::cl::parser<bool> >::printOptionInfo(unsigned long) const':
<artificial>:(.text._ZNK4llvm2cl3optIbLb1ENS0_6parserIbEEE15printOptionInfoEm+0x16): undefined reference to `llvm::cl::basic_parser_impl::printOptionInfo(llvm::cl::Option const&, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `llvm::cl::opt<bool, true, llvm::cl::parser<bool> >::printOptionValue(unsigned long, bool) const':
<artificial>:(.text._ZNK4llvm2cl3optIbLb1ENS0_6parserIbEEE16printOptionValueEmb+0x6a): undefined reference to `llvm::cl::parser<bool>::printOptionDiff(llvm::cl::Option const&, bool, llvm::cl::OptionValue<bool>, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `SPIRV::LLVMToSPIRVLegacy::getAnalysisUsage(llvm::AnalysisUsage&) const':
<artificial>:(.text._ZNK5SPIRV17LLVMToSPIRVLegacy16getAnalysisUsageERN4llvm13AnalysisUsageE+0x10): undefined reference to `llvm::AnalysisUsage::addRequiredID(char&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `SPIRV::getScalarOrVectorConstantInt(llvm::Type*, unsigned long, bool) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV28getScalarOrVectorConstantIntEPN4llvm4TypeEmb.part.0+0x21): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28getScalarOrVectorConstantIntEPN4llvm4TypeEmb.part.0+0x99): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28getScalarOrVectorConstantIntEPN4llvm4TypeEmb.part.0+0xe5): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV28getScalarOrVectorConstantIntEPN4llvm4TypeEmb.part.0+0xf5): undefined reference to `llvm::ConstantVector::get(llvm::ArrayRef<llvm::Constant*>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `llvm::CallBase::hasStructRetAttr() const':
<artificial>:(.text._ZNK4llvm8CallBase16hasStructRetAttrEv+0x34): undefined reference to `llvm::CallBase::paramHasAttr(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `SPIRV::LLVMToSPIRVPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x4a): undefined reference to `llvm::AnalysisManager<llvm::Module>::getResultImpl(llvm::AnalysisKey*, llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x7a): undefined reference to `llvm::CallGraph::CallGraph(llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVPass3runERN4llvm6ModuleERNS1_15AnalysisManagerIS2_JEEE+0x98): undefined reference to `llvm::CallGraph::~CallGraph()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans18.ltrans.o: in function `SPIRV::LLVMToSPIRVLegacy::runOnModule(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV17LLVMToSPIRVLegacy11runOnModuleERN4llvm6ModuleE+0x8b): undefined reference to `llvm::CallGraph::CallGraph(llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17LLVMToSPIRVLegacy11runOnModuleERN4llvm6ModuleE+0xa7): undefined reference to `llvm::CallGraph::~CallGraph()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transBuiltinSet()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transBuiltinSetEv+0xd4): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transBuiltinSetEv+0xe6): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::processAnnotationString(llvm::IntrinsicInst*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
<artificial>:(.text._ZN5SPIRV23processAnnotationStringEPN4llvm13IntrinsicInstERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x41): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23processAnnotationStringEPN4llvm13IntrinsicInstERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xc2): undefined reference to `llvm::getConstantStringInfo(llvm::Value const*, llvm::StringRef&, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23processAnnotationStringEPN4llvm13IntrinsicInstERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1b2): undefined reference to `llvm::getConstantStringInfo(llvm::Value const*, llvm::StringRef&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::oclTransSpvcCastSampler(llvm::CallInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23oclTransSpvcCastSamplerEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x4c): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23oclTransSpvcCastSamplerEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x97): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23oclTransSpvcCastSamplerEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x145): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transValueWithoutDecoration(llvm::Value*, SPIRV::SPIRVBasicBlock*, bool, SPIRV::LLVMToSPIRVBase::FuncTransMode)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x7d): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1d1): undefined reference to `llvm::GlobalValue::getAddressSpace() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x261): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x2af): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x3d5): undefined reference to `llvm::GlobalValue::getAddressSpace() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x43d): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x4bd): undefined reference to `llvm::GlobalValue::getAddressSpace() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x4ec): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x58e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x7d5): undefined reference to `llvm::AttributeSet::hasAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x7f2): undefined reference to `llvm::AttributeSet::hasAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x812): undefined reference to `llvm::AttributeSet::hasAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x82b): undefined reference to `llvm::AttributeSet::getAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x862): undefined reference to `llvm::AttributeSet::hasAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xa26): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xb0b): undefined reference to `llvm::AttributeSet::getAttribute(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xb21): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xb34): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xd52): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xeb9): undefined reference to `llvm::Instruction::isAtomic() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xf08): undefined reference to `llvm::Instruction::isAtomic() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0xffd): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x107c): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x108a): undefined reference to `llvm::Value::print(llvm::raw_ostream&, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x10a5): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1127): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x12ac): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x12e5): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1329): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x14f1): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1530): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o:<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1572): more undefined references to `llvm::Instruction::getMetadataImpl(unsigned int) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transValueWithoutDecoration(llvm::Value*, SPIRV::SPIRVBasicBlock*, bool, SPIRV::LLVMToSPIRVBase::FuncTransMode)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1795): undefined reference to `llvm::AllocaInst::isArrayAllocation() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x17fd): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1853): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1861): undefined reference to `llvm::Value::print(llvm::raw_ostream&, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1881): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x190d): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1b31): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1b82): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1b90): undefined reference to `llvm::Value::print(llvm::raw_ostream&, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1bb0): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x1c42): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x2953): undefined reference to `llvm::AtomicRMWInst::getOperationName(llvm::AtomicRMWInst::BinOp)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x317e): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x323f): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x327d): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x3289): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x32e8): undefined reference to `llvm::GetElementPtrInst::isInBounds() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x3543): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x35b2): undefined reference to `void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::BasicBlock, false> >(llvm::DominatorTreeBase<llvm::BasicBlock, false>&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x35cd): undefined reference to `llvm::LoopInfo::LoopInfo(llvm::DominatorTreeBase<llvm::BasicBlock, false> const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x35de): undefined reference to `llvm::LoopInfoBase<llvm::BasicBlock, llvm::Loop>::getLoopsInPreorder() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x36d7): undefined reference to `llvm::LoopInfoBase<llvm::BasicBlock, llvm::Loop>::~LoopInfoBase()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27transValueWithoutDecorationEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE+0x3771): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::shouldTryToAddMemAliasingDecoration(llvm::Instruction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35shouldTryToAddMemAliasingDecorationEPN4llvm11InstructionE+0x13): undefined reference to `llvm::Instruction::mayReadFromMemory() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35shouldTryToAddMemAliasingDecorationEPN4llvm11InstructionE+0x20): undefined reference to `llvm::Instruction::mayWriteToMemory() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::addFuncPointerCallArgumentAttributes(llvm::CallInst*, SPIRV::SPIRVValue*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x5d): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x75): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x98): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0xaf): undefined reference to `llvm::User::getDescriptor()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x103): undefined reference to `llvm::AttributeList::getParamAttrs(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x111): undefined reference to `llvm::AttributeSet::begin() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x11d): undefined reference to `llvm::AttributeSet::end() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x14d): undefined reference to `llvm::Attribute::getKindAsEnum() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV36addFuncPointerCallArgumentAttributesEPN4llvm8CallInstEPNS_10SPIRVValueE+0x405): undefined reference to `llvm::CallBase::getNumSubclassExtraOperandsDynamic() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::transMetadataDecorations(llvm::Metadata*, SPIRV::SPIRVEntry*) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0x387): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0x3be): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0xa3a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0xc9e): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0x1af6): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o:<artificial>:(.text._ZN5SPIRVL24transMetadataDecorationsEPN4llvm8MetadataEPNS_10SPIRVEntryE.lto_priv.0+0x1f5f): more undefined references to `llvm::MDString::getString() const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transMemAliasingINTELDecorations(llvm::Instruction*, SPIRV::SPIRVValue*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase32transMemAliasingINTELDecorationsEPN4llvm11InstructionEPNS_10SPIRVValueE+0x9a): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase32transMemAliasingINTELDecorationsEPN4llvm11InstructionEPNS_10SPIRVValueE+0x110): undefined reference to `llvm::Instruction::getMetadataImpl(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transDecoration(llvm::Value*, SPIRV::SPIRVValue*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transDecorationEPN4llvm5ValueEPNS_10SPIRVValueE+0xe7): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transWorkItemBuiltinCallsToVariables() [clone .cold]':
<artificial>:(.text.unlikely._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x2): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text.unlikely._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x2a): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans20.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transWorkItemBuiltinCallsToVariables()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x86): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0xa9): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x27f): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x294): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x2ee): undefined reference to `llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, llvm::Optional<unsigned int>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x32a): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x355): undefined reference to `llvm::LoadInst::LoadInst(llvm::Type*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x375): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x390): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x3aa): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x3ec): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x406): undefined reference to `llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x426): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x441): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x45b): undefined reference to `llvm::MetadataTracking::retrack(void*, llvm::Metadata&, void*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x46b): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x477): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x562): undefined reference to `llvm::Instruction::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x57a): undefined reference to `llvm::Function::eraseFromParent()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x6e3): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x703): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x724): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase36transWorkItemBuiltinCallsToVariablesEv+0x788): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::getBankBitsFromStrings(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV22getBankBitsFromStringsERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE+0xe0): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transAddressingMode()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transAddressingModeEv+0x42): undefined reference to `llvm::Triple::Triple(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transAddressingModeEv+0x4b): undefined reference to `llvm::Triple::isArch32Bit() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::collectEntryPointInterfaces(SPIRV::SPIRVFunction*, llvm::Function*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27collectEntryPointInterfacesEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x81): undefined reference to `llvm::GlobalValue::getAddressSpace() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27collectEntryPointInterfacesEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x158): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::tryParseAnnotationString(SPIRV::SPIRVModule*, llvm::StringRef) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV24tryParseAnnotationStringEPNS_11SPIRVModuleEN4llvm9StringRefE+0xf20): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24tryParseAnnotationStringEPNS_11SPIRVModuleEN4llvm9StringRefE+0xf85): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24tryParseAnnotationStringEPNS_11SPIRVModuleEN4llvm9StringRefE+0x11a9): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24tryParseAnnotationStringEPNS_11SPIRVModuleEN4llvm9StringRefE+0x147f): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24tryParseAnnotationStringEPNS_11SPIRVModuleEN4llvm9StringRefE+0x1c65): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, char, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::applyRoundingModeConstraint(llvm::Value*, SPIRV::SPIRVInstruction*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase27applyRoundingModeConstraintEPN4llvm5ValueEPNS_16SPIRVInstructionE+0xe): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::addAnnotationDecorations(SPIRV::SPIRVEntry*, std::vector<std::pair<spv::Decoration, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::allocator<std::pair<spv::Decoration, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV24addAnnotationDecorationsEPNS_10SPIRVEntryERSt6vectorISt4pairIN3spv10DecorationES2_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EEESaISE_EE+0x5e3): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transGlobalAnnotation(llvm::GlobalVariable*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase21transGlobalAnnotationEPN4llvm14GlobalVariableE+0x9c): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase21transGlobalAnnotationEPN4llvm14GlobalVariableE+0xd7): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase21transGlobalAnnotationEPN4llvm14GlobalVariableE+0xfc): undefined reference to `llvm::getConstantStringInfo(llvm::Value const*, llvm::StringRef&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transGlobalVariables()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transGlobalVariablesEv+0x5e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transGlobalVariablesEv+0x71): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transGlobalVariablesEv+0x8c): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transGlobalVariablesEv+0xc2): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::addAnnotationDecorationsForStructMember(SPIRV::SPIRVEntry*, unsigned int, std::vector<std::pair<spv::Decoration, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::allocator<std::pair<spv::Decoration, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV39addAnnotationDecorationsForStructMemberEPNS_10SPIRVEntryEjRSt6vectorISt4pairIN3spv10DecorationES2_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EEESaISE_EE+0x263): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transAsmINTEL(llvm::InlineAsm*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transAsmINTELEPN4llvm9InlineAsmE+0x98): undefined reference to `llvm::InlineAsm::getFunctionType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transIntrinsicInst(llvm::IntrinsicInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x459): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x4fb): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x915): undefined reference to `llvm::ArrayType::get(llvm::Type*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x930): undefined reference to `llvm::Constant::isZeroValue() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0xd84): undefined reference to `llvm::Value::replaceAllUsesWith(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0xffb): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x10c5): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x1327): undefined reference to `llvm::getConstantStringInfo(llvm::Value const*, llvm::StringRef&, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x1b37): undefined reference to `llvm::ConstantInt::getFalse(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x2191): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x24d0): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x2734): undefined reference to `llvm::ConstantInt::getTrue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockE+0x2872): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transFenceInst(llvm::FenceInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transFenceInstEPN4llvm9FenceInstEPNS_15SPIRVBasicBlockE+0x3c): undefined reference to `llvm::BasicBlock::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transFenceInstEPN4llvm9FenceInstEPNS_15SPIRVBasicBlockE+0x48): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transFenceInstEPN4llvm9FenceInstEPNS_15SPIRVBasicBlockE+0x55): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transFenceInstEPN4llvm9FenceInstEPNS_15SPIRVBasicBlockE+0x6d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transFenceInstEPN4llvm9FenceInstEPNS_15SPIRVBasicBlockE+0x7b): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transDirectCallInst(llvm::CallInst*, SPIRV::SPIRVBasicBlock*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transDirectCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x63): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transDirectCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1b6): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transDirectCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1d5): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transDirectCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x345): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase19transDirectCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x383): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans21.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transCallInst(llvm::CallInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1c): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transCallInstEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x96): undefined reference to `llvm::CallBase::isIndirectCall() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `initializeLLVMToSPIRVLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL35initializeLLVMToSPIRVLegacyPassOnceRN4llvm12PassRegistryE+0x10e): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::getSizetType(unsigned int)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12getSizetTypeEj+0x15): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12getSizetTypeEj+0x20): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12getSizetTypeEj+0x36): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::transKernelArgTypeMD(SPIRV::SPIRVModule*, llvm::Function*, llvm::MDNode*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
<artificial>:(.text._ZN5SPIRVL20transKernelArgTypeMDEPNS_11SPIRVModuleEPN4llvm8FunctionEPNS2_6MDNodeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x48): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL20transKernelArgTypeMDEPNS_11SPIRVModuleEPN4llvm8FunctionEPNS2_6MDNodeENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x1dc): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transLinkageType(llvm::GlobalValue const*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transLinkageTypeEPKN4llvm11GlobalValueE+0x24): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::fpContractUpdateRecursive(llvm::Function*, SPIRV::LLVMToSPIRVBase::FPContract) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25fpContractUpdateRecursiveEPN4llvm8FunctionENS0_10FPContractE+0x151): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `isValidLLVMModule(llvm::Module*, SPIRV::SPIRVErrorLog&) [clone .localalias]':
<artificial>:(.text._Z17isValidLLVMModulePN4llvm6ModuleERN5SPIRV13SPIRVErrorLogE+0x62): undefined reference to `llvm::Triple::Triple(llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > SPIRV::toString<llvm::Value>(llvm::Value const*)':
<artificial>:(.text._ZN5SPIRV8toStringIN4llvm5ValueEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x2f): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8toStringIN4llvm5ValueEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x9e): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8toStringIN4llvm5ValueEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0xac): undefined reference to `llvm::Value::print(llvm::raw_ostream&, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8toStringIN4llvm5ValueEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0xc1): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8toStringIN4llvm5ValueEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x10b): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::mutateFuncArgType(std::map<unsigned int, llvm::Type*, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, llvm::Type*> > > const&, llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0xf4): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0x10f): undefined reference to `llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType*, llvm::AttributeList)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0x186): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0x1cf): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0x20a): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17mutateFuncArgTypeERKSt3mapIjPN4llvm4TypeESt4lessIjESaISt4pairIKjS4_EEEPNS2_8FunctionE+0x21b): undefined reference to `llvm::User::replaceUsesOfWith(llvm::Value*, llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transFunction(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0xda): undefined reference to `void llvm::DomTreeBuilder::Calculate<llvm::DominatorTreeBase<llvm::BasicBlock, false> >(llvm::DominatorTreeBase<llvm::BasicBlock, false>&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x175): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x2b2): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, unsigned int, llvm::SmallPtrSetImplBase&&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x2fc): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, unsigned int, llvm::SmallPtrSetImplBase&&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x336): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, unsigned int, llvm::SmallPtrSetImplBase&&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x370): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, unsigned int, llvm::SmallPtrSetImplBase&&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x400): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, llvm::SmallPtrSetImplBase const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x435): undefined reference to `llvm::SmallPtrSetImplBase::SmallPtrSetImplBase(void const**, llvm::SmallPtrSetImplBase const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x4af): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x4e8): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x729): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transFunctionEPN4llvm8FunctionE+0x8e9): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::oclGetMutatedArgumentTypesByBuiltin(llvm::FunctionType*, std::map<unsigned int, llvm::Type*, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, llvm::Type*> > >&, llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35oclGetMutatedArgumentTypesByBuiltinEPN4llvm12FunctionTypeERSt3mapIjPNS1_4TypeESt4lessIjESaISt4pairIKjS6_EEEPNS1_8FunctionE+0x44): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35oclGetMutatedArgumentTypesByBuiltinEPN4llvm12FunctionTypeERSt3mapIjPNS1_4TypeESt4lessIjESaISt4pairIKjS6_EEEPNS1_8FunctionE+0x93): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transBuiltinToConstant(llvm::StringRef, llvm::CallInst*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase22transBuiltinToConstantEN4llvm9StringRefEPNS1_8CallInstE+0x7c): undefined reference to `llvm::APFloatBase::PPCDoubleDouble()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase22transBuiltinToConstantEN4llvm9StringRefEPNS1_8CallInstE+0x9a): undefined reference to `llvm::detail::IEEEFloat::bitcastToAPInt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase22transBuiltinToConstantEN4llvm9StringRefEPNS1_8CallInstE+0x1da): undefined reference to `llvm::detail::DoubleAPFloat::bitcastToAPInt() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transExecutionMode() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transExecutionModeEv+0x78): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transExecutionModeEv+0xa1): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transExecutionModeEv+0x100): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transOCLMetadata() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transOCLMetadataEv+0x129): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transOCLMetadataEv+0x157): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transOCLMetadataEv+0x1c8): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transOCLMetadataEv+0x22a): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transMetadata() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transMetadataEv+0x71): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transMetadataEv+0x82): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transMetadataEv+0x91): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transMetadataEv+0x186): undefined reference to `llvm::APInt::countLeadingZerosSlowCase() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `addPassesForSPIRV(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>&, SPIRV::TranslatorOpts const&) [clone .localalias]':
<artificial>:(.text._Z17addPassesForSPIRVRN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEEERKN5SPIRV14TranslatorOptsE+0xfa0): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._Z17addPassesForSPIRVRN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEEERKN5SPIRV14TranslatorOptsE+0xfea): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transExtension() [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0x74): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0xa4): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0x102): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0x127): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0x489): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14transExtensionEv+0x5d2): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::translate()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x8a): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x19e): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x3bd): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x3ee): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x420): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x44b): undefined reference to `llvm::GlobalValue::isDeclaration() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x57a): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x60d): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x649): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x67d): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x723): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9translateEv+0x747): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transBuiltinToInstWithoutDecoration(spv::Op, llvm::CallInst*, SPIRV::SPIRVBasicBlock*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x83): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0xa4): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0xe04): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0xe25): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0xee3): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0xf0c): undefined reference to `llvm::Constant::getAllOnesValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1228): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1250): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1278): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x12a1): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x12b4): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1300): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1350): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1398): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x162b): undefined reference to `llvm::Value::stripPointerCasts() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1647): undefined reference to `llvm::Argument::hasStructRetAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x17cf): undefined reference to `llvm::AttributeList::getParamStructRetType(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase35transBuiltinToInstWithoutDecorationEN3spv2OpEPN4llvm8CallInstEPNS_15SPIRVBasicBlockE+0x1811): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transBuiltinToInst(llvm::StringRef, llvm::CallInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transBuiltinToInstEN4llvm9StringRefEPNS1_8CallInstEPNS_15SPIRVBasicBlockE+0xad): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transBuiltinToInstEN4llvm9StringRefEPNS1_8CallInstEPNS_15SPIRVBasicBlockE+0x325): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `llvm::createLLVMToSPIRVLegacy(SPIRV::SPIRVModule*)':
<artificial>:(.text._ZN4llvm23createLLVMToSPIRVLegacyEPN5SPIRV11SPIRVModuleE+0x3f): undefined reference to `vtable for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `(anonymous namespace)::runSpirvWriterPasses(llvm::Module*, std::ostream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, SPIRV::TranslatorOpts const&) [clone .lto_priv.0]':
<artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x10b): undefined reference to `llvm::Triple::Triple(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x208): undefined reference to `llvm::AnalysisManager<llvm::Loop, llvm::LoopStandardAnalysisResults&>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x211): undefined reference to `llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x227): undefined reference to `llvm::AnalysisManager<llvm::Function>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x230): undefined reference to `llvm::AnalysisManager<llvm::Module>::AnalysisManager()'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x24b): undefined reference to `llvm::PipelineTuningOptions::PipelineTuningOptions()'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x284): undefined reference to `llvm::PassBuilder::PassBuilder(llvm::TargetMachine*, llvm::PipelineTuningOptions, llvm::Optional<llvm::PGOOptions>, llvm::PassInstrumentationCallbacks*)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x2a2): undefined reference to `llvm::PassBuilder::registerModuleAnalyses(llvm::AnalysisManager<llvm::Module>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x2ae): undefined reference to `llvm::PassBuilder::registerCGSCCAnalyses(llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x2bc): undefined reference to `llvm::PassBuilder::registerFunctionAnalyses(llvm::AnalysisManager<llvm::Function>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x2ca): undefined reference to `llvm::PassBuilder::registerLoopAnalyses(llvm::AnalysisManager<llvm::Loop, llvm::LoopStandardAnalysisResults&>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x33a): undefined reference to `llvm::PassBuilder::crossRegisterProxies(llvm::AnalysisManager<llvm::Loop, llvm::LoopStandardAnalysisResults&>&, llvm::AnalysisManager<llvm::Function>&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::AnalysisManager<llvm::Module>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x350): undefined reference to `llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xc3e): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xe4c): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xeb6): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xed8): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xf7c): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:<artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0xfe9): more undefined references to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o: in function `(anonymous namespace)::runSpirvWriterPasses(llvm::Module*, std::ostream*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, SPIRV::TranslatorOpts const&) [clone .lto_priv.0]':
<artificial>:(.text._ZN12_GLOBAL__N_120runSpirvWriterPassesEPN4llvm6ModuleEPSoRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN5SPIRV14TranslatorOptsE.lto_priv.0+0x1821): undefined reference to `llvm::Triple::getArchName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTIN5SPIRV17LLVMToSPIRVLegacyE+0x18): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans22.ltrans.o:(.data.rel.ro._ZTVN5SPIRV17LLVMToSPIRVLegacyE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `std::_Function_handler<bool (llvm::Type const*), SPIRV::recursiveType(llvm::StructType const*, llvm::Type const*)::{lambda(llvm::Type const*)#1}>::_M_invoke(std::_Any_data const&, llvm::Type const*&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFbPKN4llvm4TypeEEZN5SPIRVL13recursiveTypeEPKNS0_10StructTypeES3_EUlS3_E_E9_M_invokeERKSt9_Any_dataOS3_.lto_priv.0+0x63): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFbPKN4llvm4TypeEEZN5SPIRVL13recursiveTypeEPKNS0_10StructTypeES3_EUlS3_E_E9_M_invokeERKSt9_Any_dataOS3_.lto_priv.0+0x1e5): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `std::_Function_handler<void (llvm::Attribute::AttrKind, spv::FunctionControlMask), SPIRV::LLVMToSPIRVBase::transFunctionControlMask(llvm::Function*)::{lambda(llvm::Attribute::AttrKind, spv::FunctionControlMask)#1}>::_M_invoke(std::_Any_data const&, llvm::Attribute::AttrKind&&, spv::FunctionControlMask&&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFvN4llvm9Attribute8AttrKindEN3spv19FunctionControlMaskEEZN5SPIRV15LLVMToSPIRVBase24transFunctionControlMaskEPNS0_8FunctionEEUlS2_S4_E_E9_M_invokeERKSt9_Any_dataOS2_OS4_.lto_priv.0+0x1a): undefined reference to `llvm::Function::hasFnAttribute(llvm::Attribute::AttrKind) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*, llvm::DenseMapInfo<std::pair<llvm::StringRef, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*> >, std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*, llvm::DenseMapInfo<std::pair<llvm::StringRef, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*> >::LookupBucketFor<std::pair<llvm::StringRef, unsigned int> >(std::pair<llvm::StringRef, unsigned int> const&, llvm::detail::DenseMapPair<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*> const*&) const':
<artificial>:(.text._ZNK4llvm12DenseMapBaseINS_8DenseMapISt4pairINS_9StringRefEjEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS4_vEENS_6detail12DenseMapPairIS4_S7_EEEES4_S7_S9_SC_E15LookupBucketForIS4_EEbRKT_RPKSC_+0x5d): undefined reference to `llvm::DenseMapInfo<llvm::StringRef, void>::getHashValue(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `std::pair<llvm::StringMapIterator<SPIRV::SPIRVType*>, bool> llvm::StringMap<SPIRV::SPIRVType*, llvm::MallocAllocator>::try_emplace<>(llvm::StringRef)':
<artificial>:(.text._ZN4llvm9StringMapIPN5SPIRV9SPIRVTypeENS_15MallocAllocatorEE11try_emplaceIJEEESt4pairINS_17StringMapIteratorIS3_EEbENS_9StringRefEDpOT_+0x1d): undefined reference to `llvm::StringMapImpl::LookupBucketFor(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9StringMapIPN5SPIRV9SPIRVTypeENS_15MallocAllocatorEE11try_emplaceIJEEESt4pairINS_17StringMapIteratorIS3_EEbENS_9StringRefEDpOT_+0x68): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9StringMapIPN5SPIRV9SPIRVTypeENS_15MallocAllocatorEE11try_emplaceIJEEESt4pairINS_17StringMapIteratorIS3_EEbENS_9StringRefEDpOT_+0x99): undefined reference to `llvm::StringMapImpl::RehashTable(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::SmallSet<unsigned int, 2u, std::less<unsigned int> >::insert(unsigned int const&)':
<artificial>:(.text._ZN4llvm8SmallSetIjLj2ESt4lessIjEE6insertERKj+0x13c): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::DenseMap<llvm::MDNode*, llvm::SmallSet<unsigned int, 2u, std::less<unsigned int> >, llvm::DenseMapInfo<llvm::MDNode*, void>, llvm::detail::DenseMapPair<llvm::MDNode*, llvm::SmallSet<unsigned int, 2u, std::less<unsigned int> > > >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPNS_6MDNodeENS_8SmallSetIjLj2ESt4lessIjEEENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S6_EEE4growEj+0x6d): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_6MDNodeENS_8SmallSetIjLj2ESt4lessIjEEENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S6_EEE4growEj+0x22b): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_6MDNodeENS_8SmallSetIjLj2ESt4lessIjEEENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S6_EEE4growEj+0x354): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::DenseMap<llvm::Type*, SPIRV::SPIRVType*, llvm::DenseMapInfo<llvm::Type*, void>, llvm::detail::DenseMapPair<llvm::Type*, SPIRV::SPIRVType*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPNS_4TypeEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_4TypeEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x155): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::DenseMap<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*, llvm::DenseMapInfo<std::pair<llvm::StringRef, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::StringRef, unsigned int>, SPIRV::SPIRVType*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapISt4pairINS_9StringRefEjEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S6_EEE4growEj+0x6e): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapISt4pairINS_9StringRefEjEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S6_EEE4growEj+0x11f): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapISt4pairINS_9StringRefEjEPN5SPIRV9SPIRVTypeENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S6_EEE4growEj+0x167): undefined reference to `llvm::DenseMapInfo<llvm::StringRef, void>::getHashValue(llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::DenseMap<llvm::Value*, SPIRV::SPIRVValue*, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, SPIRV::SPIRVValue*> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPNS_5ValueEPN5SPIRV10SPIRVValueENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_5ValueEPN5SPIRV10SPIRVValueENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x155): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::DenseMap<llvm::Function*, SPIRV::LLVMToSPIRVBase::FPContract, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, SPIRV::LLVMToSPIRVBase::FPContract> >::grow(unsigned int)':
<artificial>:(.text._ZN4llvm8DenseMapIPNS_8FunctionEN5SPIRV15LLVMToSPIRVBase10FPContractENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x6f): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8DenseMapIPNS_8FunctionEN5SPIRV15LLVMToSPIRVBase10FPContractENS_12DenseMapInfoIS2_vEENS_6detail12DenseMapPairIS2_S5_EEE4growEj+0x152): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans23.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::LLVMToSPIRVLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV17LLVMToSPIRVLegacyEEEPNS_4PassEv+0x36): undefined reference to `vtable for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerSaddIntrinsicsPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV28SPIRVLowerSaddIntrinsicsPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerMemmovePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV21SPIRVLowerMemmovePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerBoolPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV18SPIRVLowerBoolPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerConstExprPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerConstExprPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVRegularizeLLVMPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVRegularizeLLVMPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV14OCLToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): more undefined references to `llvm::StringRef::find(llvm::StringRef, unsigned long) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerSaddIntrinsicsPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV28SPIRVLowerSaddIntrinsicsPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerMemmovePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV21SPIRVLowerMemmovePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV21SPIRVLowerMemmovePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerBoolPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV18SPIRVLowerBoolPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV18SPIRVLowerBoolPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerConstExprPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerConstExprPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerConstExprPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVRegularizeLLVMPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVRegularizeLLVMPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVRegularizeLLVMPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::OCLToSPIRVPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV14OCLToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV14OCLToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerOCLBlocksPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerOCLBlocksPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerOCLBlocksPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::PreprocessMetadataPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV22PreprocessMetadataPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV22PreprocessMetadataPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, llvm::PromotePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_11PromotePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESB_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_11PromotePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESB_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, llvm::LoopSimplifyPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_16LoopSimplifyPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESB_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_16LoopSimplifyPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESB_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_27ModuleToFunctionPassAdaptorENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS6_+0x22): undefined reference to `llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_27ModuleToFunctionPassAdaptorENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESB_EEE+0xa): undefined reference to `llvm::ModuleToFunctionPassAdaptor::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, llvm::PromotePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_11PromotePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS6_+0x22): undefined reference to `llvm::PromotePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, llvm::LoopSimplifyPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionENS_16LoopSimplifyPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS6_+0x22): undefined reference to `llvm::LoopSimplifyPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::AnalysisResultModel<llvm::Module, SPIRV::OCLTypeToSPIRVPass, SPIRV::OCLTypeToSPIRVBase, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator, false>::invalidate(llvm::Module&, llvm::PreservedAnalyses const&, llvm::AnalysisManager<llvm::Module>::Invalidator&)':
<artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x2b): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x47): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x53): undefined reference to `llvm::SmallPtrSetImplBase::FindBucketFor(void const*) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x76): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x113): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail19AnalysisResultModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS3_18OCLTypeToSPIRVBaseENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorELb0EE10invalidateERS2_RKS6_RS9_+0x163): undefined reference to `llvm::AllAnalysesOn<llvm::Module>::SetKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataLegacy::~PreprocessMetadataLegacy()':
<artificial>:(.text._ZN5SPIRV24PreprocessMetadataLegacyD0Ev+0x18): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `(anonymous namespace)::WriteSPIRVPass::~WriteSPIRVPass()':
<artificial>:(.text._ZN12_GLOBAL__N_114WriteSPIRVPassD2Ev+0xd8): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `(anonymous namespace)::WriteSPIRVPass::~WriteSPIRVPass()':
<artificial>:(.text._ZN12_GLOBAL__N_114WriteSPIRVPassD0Ev+0xd4): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `initializePreprocessMetadataLegacyPassOnce(llvm::PassRegistry&)':
<artificial>:(.text._ZL42initializePreprocessMetadataLegacyPassOnceRN4llvm12PassRegistryE+0x7d): undefined reference to `llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::Pass* llvm::callDefaultCtor<SPIRV::PreprocessMetadataLegacy>()':
<artificial>:(.text._ZN4llvm15callDefaultCtorIN5SPIRV24PreprocessMetadataLegacyEEEPNS_4PassEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::SPIRVWriterPass::run(llvm::Module&)':
<artificial>:(.text._ZN4llvm15SPIRVWriterPass3runERNS_6ModuleE+0x72): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataBase::preprocessCXXStructorList(SPIRV::SPIRVMDBuilder::NamedMDWrapper&, llvm::GlobalVariable*, spv::ExecutionMode) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0xcd): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x101): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x110): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x119): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x15e): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x174): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x1e7): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase25preprocessCXXStructorListERNS_14SPIRVMDBuilder14NamedMDWrapperEPN4llvm14GlobalVariableEN3spv13ExecutionModeE+0x217): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::createPreprocessMetadataLegacy()':
<artificial>:(.text._ZN4llvm30createPreprocessMetadataLegacyEv+0x5c): undefined reference to `llvm::PassRegistry::getPassRegistry()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataLegacy::~PreprocessMetadataLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV24PreprocessMetadataLegacyD2Ev.lto_priv.0+0x14): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::verifyRegularizationPass(llvm::Module&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV24verifyRegularizationPassERN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0+0x1f): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24verifyRegularizationPassERN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0+0x93): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24verifyRegularizationPassERN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0+0xa1): undefined reference to `llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*, bool*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24verifyRegularizationPassERN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.part.0+0xae): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerMemmovePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV21SPIRVLowerMemmovePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerBoolPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV18SPIRVLowerBoolPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerConstExprPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerConstExprPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x5b): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::OCLToSPIRVPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV14OCLToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x1d): undefined reference to `llvm::AnalysisManager<llvm::Module>::getResultImpl(llvm::AnalysisKey*, llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV14OCLToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x90): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerOCLBlocksPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV23SPIRVLowerOCLBlocksPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transVectorComputeMetadata(llvm::Function*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x55): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x72): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x92): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0xb4): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x11f): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x13e): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x19b): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x1ba): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x1c9): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x1dc): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x2b7): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x2d5): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x2e8): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x3c5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x3df): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x404): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x432): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x442): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x455): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x49c): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x4cc): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x4da): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase26transVectorComputeMetadataEPN4llvm8FunctionE.part.0+0x4eb): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transType(llvm::Type*) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x38): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x214): undefined reference to `llvm::Type::getPrimitiveSizeInBits() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x229): undefined reference to `llvm::TypeSize::operator unsigned long() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x58f): undefined reference to `llvm::Type::isOpaquePointerTy() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x607): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x662): undefined reference to `llvm::Type::isSizedDerivedType(llvm::SmallPtrSetImpl<llvm::Type*>*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x681): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x8b9): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x920): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x930): undefined reference to `llvm::Type::print(llvm::raw_ostream&, bool, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0xa14): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0xa26): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0xa5c): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0xae1): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase9transTypeEPN4llvm4TypeE.part.0+0x1161): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transValue(llvm::Value*, SPIRV::SPIRVBasicBlock*, bool, SPIRV::LLVMToSPIRVBase::FuncTransMode) [clone .part.0]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase10transValueEPN4llvm5ValueEPNS_15SPIRVBasicBlockEbNS0_13FuncTransModeE.part.0+0x55): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataBase::preprocessOCLMetadata(llvm::Module*, SPIRV::SPIRVMDBuilder*, SPIRV::SPIRVMDWalker*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x91): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x15b): undefined reference to `llvm::Triple::Triple(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x170): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x1b1): undefined reference to `llvm::Triple::isArch32Bit() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x304): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x315): undefined reference to `llvm::Module::eraseNamedMetadata(llvm::NamedMDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x33c): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x351): undefined reference to `llvm::Module::eraseNamedMetadata(llvm::NamedMDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x391): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x3a2): undefined reference to `llvm::Module::eraseNamedMetadata(llvm::NamedMDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x3c9): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x3da): undefined reference to `llvm::Module::eraseNamedMetadata(llvm::NamedMDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x415): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x42a): undefined reference to `llvm::Module::eraseNamedMetadata(llvm::NamedMDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x449): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x4bb): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x4d7): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x546): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase21preprocessOCLMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x57f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataBase::preprocessVectorComputeMetadata(llvm::Module*, SPIRV::SPIRVMDBuilder*, SPIRV::SPIRVMDWalker*)::{lambda(VectorComputeUtil::VCFloatType, unsigned int)#1}::operator()(VectorComputeUtil::VCFloatType, unsigned int) const':
<artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x6a): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0xb3): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0xcb): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x10b): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x154): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x16c): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x1ac): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x264): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerEENKUlN17VectorComputeUtil11VCFloatTypeEjE_clES9_j+0x278): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataBase::preprocessVectorComputeMetadata(llvm::Module*, SPIRV::SPIRVMDBuilder*, SPIRV::SPIRVMDWalker*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x5f): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0xe7): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x105): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x123): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x141): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x166): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x176): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x189): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x1ec): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x2a1): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x2af): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x2c0): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x523): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x58a): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x59a): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x5ad): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase31preprocessVectorComputeMetadataEPN4llvm6ModuleEPNS_14SPIRVMDBuilderEPNS_13SPIRVMDWalkerE+0x611): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o: in function `SPIRV::PreprocessMetadataBase::visit(llvm::Module*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x79): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x9a): undefined reference to `llvm::Module::getGlobalVariable(llvm::StringRef, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x110): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x19f): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x20e): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x29d): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x30c): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x36e): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x3eb): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x44d): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x4af): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x53e): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x5ad): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x60c): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x659): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x6bb): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x71d): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x77f): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x7e1): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x843): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x8a5): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0x933): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV22PreprocessMetadataBase5visitEPN4llvm6ModuleE+0xac4): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTIN12_GLOBAL__N_114WriteSPIRVPassE+0x10): undefined reference to `typeinfo for llvm::ModulePass'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x38): undefined reference to `llvm::Pass::print(llvm::raw_ostream&, llvm::Module const*) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x40): undefined reference to `llvm::ModulePass::createPrinterPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x48): undefined reference to `llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x50): undefined reference to `llvm::Pass::preparePassManager(llvm::PMStack&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x58): undefined reference to `llvm::ModulePass::getPotentialPassManagerType() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x60): undefined reference to `llvm::Pass::getAnalysisUsage(llvm::AnalysisUsage&) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x68): undefined reference to `llvm::Pass::releaseMemory()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x70): undefined reference to `llvm::Pass::getAdjustedAnalysisPointer(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x78): undefined reference to `llvm::Pass::getAsImmutablePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x80): undefined reference to `llvm::Pass::getAsPMDataManager()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x88): undefined reference to `llvm::Pass::verifyAnalysis() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans26.ltrans.o:(.data.rel.ro._ZTVN12_GLOBAL__N_114WriteSPIRVPassE+0x90): undefined reference to `llvm::Pass::dumpPassStructure(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans42.ltrans.o: in function `SPIRV::BuiltinCallMutator::removeArg(unsigned int) [clone .constprop.1]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.1+0x20): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.1+0xba): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.1+0xcb): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans42.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transIntrinsicInst(llvm::IntrinsicInst*, SPIRV::SPIRVBasicBlock*)::{lambda(llvm::MemIntrinsic*)#1}::operator()(llvm::MemIntrinsic*) const [clone .constprop.0]':
<artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockEENKUlPNS1_12MemIntrinsicEE_clES7_.constprop.0+0x5e): undefined reference to `llvm::AttributeList::getParamAlignment(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockEENKUlPNS1_12MemIntrinsicEE_clES7_.constprop.0+0xdb): undefined reference to `llvm::AttributeList::getParamAlignment(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase18transIntrinsicInstEPN4llvm13IntrinsicInstEPNS_15SPIRVBasicBlockEENKUlPNS1_12MemIntrinsicEE_clES7_.constprop.0+0x138): undefined reference to `llvm::APInt::countLeadingZerosSlowCase() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.0+0x56): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.0+0xbf): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.1]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.1+0x56): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.1+0xbf): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.2]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.2+0x56): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.2+0xbf): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.3]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.3+0x56): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.3+0xbf): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.4]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.4+0x56): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.4+0xbf): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans43.ltrans.o: in function `llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) [clone .constprop.5]':
<artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.5+0x73): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.5+0xe2): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.5+0x12f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096ELm128EE8AllocateEmNS_5AlignE.constprop.5+0x14f): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::DINode::getStringOperand(unsigned int) const [clone .constprop.0]':
<artificial>:(.text._ZNK4llvm6DINode16getStringOperandEj.constprop.0+0x1b): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::getInt32(llvm::Module*, int) [clone .constprop.1] [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleEi.constprop.1.isra.0+0xa): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV8getInt32EPN4llvm6ModuleEi.constprop.1.isra.0+0x1e): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::BuiltinCallMutator::replaceArg(unsigned int, SPIRV::BuiltinCallMutator::ValueTypePair) [clone .constprop.1] [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator10replaceArgEjNS0_13ValueTypePairE.constprop.1.isra.0+0x1e): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator10replaceArgEjNS0_13ValueTypePairE.constprop.1.isra.0+0x30): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::IRBuilderBase::getInt32(unsigned int) [clone .isra.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase8getInt32Ej.isra.0+0x9): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase8getInt32Ej.isra.0+0x17): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVMDBuilder::MDWrapper<SPIRV::SPIRVMDBuilder::NamedMDWrapper>::done(llvm::MDNode**) [clone .constprop.0] [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE4doneEPPN4llvm6MDNodeE.constprop.0.isra.0+0x21): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14SPIRVMDBuilder9MDWrapperINS0_14NamedMDWrapperEE4doneEPPN4llvm6MDNodeE.constprop.0.isra.0+0x35): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::ValueMap<llvm::Value*, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>, llvm::ValueMapConfig<llvm::Value*, llvm::sys::SmartMutex<false> > >::operator[](llvm::Value* const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm8ValueMapIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEixERKS2_.isra.0+0x5c): undefined reference to `llvm::ValueHandleBase::AddToUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8ValueMapIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEixERKS2_.isra.0+0x9a): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8ValueMapIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEixERKS2_.isra.0+0xcd): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8ValueMapIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEixERKS2_.isra.0+0x15f): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8ValueMapIPNS_5ValueENS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeES2_EEENS_14ValueMapConfigIS2_NS_3sys10SmartMutexILb0EEEEEEixERKS2_.isra.0+0x195): undefined reference to `llvm::ValueHandleBase::AddToExistingUseList(llvm::ValueHandleBase**)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> >& llvm::SmallVectorImpl<std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> > >::emplace_back<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>&>(unsigned int&&, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplISt4pairIjNS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeEPNS_5ValueEEEEEE12emplace_backIJjRSA_EEERSB_DpOT_.isra.0+0x56): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> >& llvm::SmallVectorImpl<std::pair<unsigned int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*> > >::emplace_back<int, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>&>(int&&, llvm::PointerUnion<llvm::Type*, SPIRVTypeScavenger::DeferredType*, llvm::Value*>&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplISt4pairIjNS_12PointerUnionIJPNS_4TypeEPN18SPIRVTypeScavenger12DeferredTypeEPNS_5ValueEEEEEE12emplace_backIJiRSA_EEERSB_DpOT_.isra.0+0x56): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<llvm::Type*>::operator=(llvm::SmallVectorImpl<llvm::Type*> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplIPNS_4TypeEEaSERKS3_.isra.0+0xa5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVToLLVM::getMetadataFromNameAndParameter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj.isra.0+0x24): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj.isra.0+0x32): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj.isra.0+0x3f): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj.isra.0+0x48): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVToLLVM::getMetadataFromNameAndParameter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long) [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl.isra.0+0x1a): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl.isra.0+0x27): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl.isra.0+0x35): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl.isra.0+0x3e): undefined reference to `llvm::ValueAsMetadata::get(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM31getMetadataFromNameAndParameterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEl.isra.0+0x70): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<char>::operator=(llvm::SmallVectorImpl<char> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplIcEaSERKS1_.isra.0+0xa9): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVToLLVM::getMetadataFromName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19getMetadataFromNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.isra.0+0x22): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11SPIRVToLLVM19getMetadataFromNameENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.isra.0+0x40): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::IRBuilderBase::getInt64(unsigned long) [clone .isra.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase8getInt64Em.isra.0+0xa): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase8getInt64Em.isra.0+0x19): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::OCLToSPIRVBase::visitCallGroupBuiltin(llvm::CallInst*, llvm::StringRef)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, spv::GroupOperation)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, spv::GroupOperation) const [clone .isra.0]':
<artificial>:(.text._ZZN5SPIRV14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS1_9StringRefEENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3spv14GroupOperationEE_clESC_SE_.isra.0+0x104): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS1_9StringRefEENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3spv14GroupOperationEE_clESC_SE_.isra.0+0x141): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS1_9StringRefEENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3spv14GroupOperationEE_clESC_SE_.isra.0+0x4f5): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<unsigned int>::operator=(llvm::SmallVectorImpl<unsigned int> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplIjEaSERKS1_.isra.0+0xa5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<llvm::PointerAlignElem>::operator=(llvm::SmallVectorImpl<llvm::PointerAlignElem> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplINS_16PointerAlignElemEEaSERKS2_.isra.0+0xa5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<llvm::LayoutAlignElem>::operator=(llvm::SmallVectorImpl<llvm::LayoutAlignElem> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplINS_15LayoutAlignElemEEaSERKS2_.isra.0+0xa5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<unsigned char>::operator=(llvm::SmallVectorImpl<unsigned char> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplIhEaSERKS1_.isra.0+0xa9): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallPtrSetImpl<void*>::insert(void*) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallPtrSetImplIPvE6insertES1_.isra.0+0xf): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVMDWalker::MDWrapper<SPIRV::SPIRVMDWalker::NamedMDWrapper>::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV13SPIRVMDWalker9MDWrapperINS0_14NamedMDWrapperEE3getERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.isra.0+0x83): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `llvm::SmallVectorImpl<llvm::StringRef>::operator=(llvm::SmallVectorImpl<llvm::StringRef> const&) [clone .isra.0]':
<artificial>:(.text._ZN4llvm15SmallVectorImplINS_9StringRefEEaSERKS2_.isra.0+0xa5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::BuiltinCallMutator& SPIRV::BuiltinCallMutator::mapArg<SPIRV::OCLToSPIRVBase::visitCallGroupBuiltin(llvm::CallInst*, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#2}::operator()(SPIRV::BuiltinCallMutator&) const::{lambda(llvm::Value*)#1}>(unsigned int, SPIRV::OCLToSPIRVBase::visitCallGroupBuiltin(llvm::CallInst*, llvm::StringRef)::{lambda(SPIRV::BuiltinCallMutator&)#2}::operator()(SPIRV::BuiltinCallMutator&) const::{lambda(llvm::Value*)#1}) [clone .constprop.0] [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x32): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x48): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x64): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x13b): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x206): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x213): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x245): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x24c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x263): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x293): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x2a5): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x2b4): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x2bb): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x2d2): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x324): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x353): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x384): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x3c2): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator6mapArgIZZNS_14OCLToSPIRVBase21visitCallGroupBuiltinEPN4llvm8CallInstENS3_9StringRefEENKUlRS0_E0_clES7_EUlPNS3_5ValueEE_EES7_jT_.constprop.0.isra.0+0x3ce): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::SPIRVRegularizeLLVMBase::buildUMulWithOverflowFunc(llvm::Function*) [clone .part.0] [clone .isra.0]':
<artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x34): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x51): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0xbc): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0xc5): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x204): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x273): undefined reference to `llvm::UndefValue::get(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x2e8): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x2fc): undefined reference to `llvm::ReturnInst::ReturnInst(llvm::LLVMContext&, llvm::Value*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x315): undefined reference to `llvm::IRBuilderDefaultInserter::~IRBuilderDefaultInserter()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x31c): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x333): undefined reference to `llvm::IRBuilderFolder::~IRBuilderFolder()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x385): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x39c): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x3d3): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x3f5): undefined reference to `llvm::Instruction::setHasNoUnsignedWrap(bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x40c): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x440): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x468): undefined reference to `llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x4ab): undefined reference to `llvm::Type::getInt1Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23SPIRVRegularizeLLVMBase25buildUMulWithOverflowFuncEPN4llvm8FunctionE.part.0.isra.0+0x4b9): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans46.ltrans.o: in function `SPIRV::addNamedMetadataStringSet(llvm::LLVMContext*, llvm::Module*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) [clone .isra.0]':
<artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x37): undefined reference to `llvm::Module::getOrInsertNamedMetadata(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x94): undefined reference to `llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x10a): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x116): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x161): undefined reference to `llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL25addNamedMetadataStringSetEPN4llvm11LLVMContextEPNS0_6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setISA_St4lessISA_ESaISA_EE.isra.0+0x16d): undefined reference to `llvm::NamedMDNode::addOperand(llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::IRBuilderBase::CreateGlobalStringPtr(llvm::StringRef, llvm::Twine const&, unsigned int, llvm::Module*) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase21CreateGlobalStringPtrENS_9StringRefERKNS_5TwineEjPNS_6ModuleE.constprop.0+0x25): undefined reference to `llvm::IRBuilderBase::CreateGlobalString(llvm::StringRef, llvm::Twine const&, unsigned int, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase21CreateGlobalStringPtrENS_9StringRefERKNS_5TwineEjPNS_6ModuleE.constprop.0+0x32): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase21CreateGlobalStringPtrENS_9StringRefERKNS_5TwineEjPNS_6ModuleE.constprop.0+0x3f): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase21CreateGlobalStringPtrENS_9StringRefERKNS_5TwineEjPNS_6ModuleE.constprop.0+0x71): undefined reference to `llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Optional<unsigned int>, llvm::Type*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::BasicBlock*) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE.constprop.0+0x32): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE.constprop.0+0x62): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm8CallInst6CreateEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_10BasicBlockE.constprop.0+0x86): undefined reference to `llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `SPIRV::getOrCreateFunction(llvm::Module*, llvm::Type*, llvm::ArrayRef<llvm::Type*>, llvm::StringRef, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool) [clone .constprop.0]':
<artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x4c): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x62): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x92): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0xae): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0xba): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0xc3): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x147): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x163): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb.constprop.0+0x16c): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>::IRBuilder(llvm::Instruction*, llvm::MDNode*, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0x1e): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0x33): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0x53): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0xf2): undefined reference to `llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0x13a): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm9IRBuilderINS_14ConstantFolderENS_24IRBuilderDefaultInserterEEC2EPNS_11InstructionEPNS_6MDNodeENS_8ArrayRefINS_17OperandBundleDefTIPNS_5ValueEEEEE.constprop.0+0x19e): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `SPIRV::BuiltinCallMutator::removeArg(unsigned int) [clone .constprop.0]':
<artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.0+0x20): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.0+0xb2): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18BuiltinCallMutator9removeArgEj.constprop.0+0xc3): undefined reference to `llvm::AttributeList::removeAttributesAtIndex(llvm::LLVMContext&, unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::IRBuilderBase::CreateAdd(llvm::Value*, llvm::Value*, llvm::Twine const&, bool, bool) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase9CreateAddEPNS_5ValueES2_RKNS_5TwineEbb.constprop.0+0x91): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase9CreateAddEPNS_5ValueES2_RKNS_5TwineEbb.constprop.0+0xb6): undefined reference to `llvm::Instruction::setHasNoSignedWrap(bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::IRBuilderBase::CreateFAdd(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFAddEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0x8d): undefined reference to `llvm::IRBuilderBase::CreateConstrainedFPBinOp(unsigned int, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::Twine const&, llvm::MDNode*, llvm::Optional<llvm::RoundingMode>, llvm::Optional<llvm::fp::ExceptionBehavior>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFAddEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xbf): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFAddEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xdd): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFAddEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xe9): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::IRBuilderBase::CreateFMul(llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*) [clone .constprop.0]':
<artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFMulEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0x8d): undefined reference to `llvm::IRBuilderBase::CreateConstrainedFPBinOp(unsigned int, llvm::Value*, llvm::Value*, llvm::Instruction*, llvm::Twine const&, llvm::MDNode*, llvm::Optional<llvm::RoundingMode>, llvm::Optional<llvm::fp::ExceptionBehavior>)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFMulEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xbf): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFMulEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xdd): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase10CreateFMulEPNS_5ValueES2_RKNS_5TwineEPNS_6MDNodeE.constprop.0+0xe9): undefined reference to `llvm::Instruction::setFastMathFlags(llvm::FastMathFlags)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `__static_initialization_and_destruction_0(int, int) [clone .constprop.19]':
<artificial>:(.text.startup._Z41__static_initialization_and_destruction_0ii.constprop.19+0x1694): undefined reference to `llvm::StringMapImpl::LookupBucketFor(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text.startup._Z41__static_initialization_and_destruction_0ii.constprop.19+0x16c3): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text.startup._Z41__static_initialization_and_destruction_0ii.constprop.19+0x16ef): undefined reference to `llvm::StringMapImpl::RehashTable(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::Instruction* SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLMemFenceExtendedKind, spv::MemorySemanticsMask, void>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLMemFenceExtendedKind, spv::MemorySemanticsMask, void> const&, bool, llvm::Optional<int>, llvm::Instruction*, int) [clone .constprop.0]':
<artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x59): undefined reference to `llvm::Instruction::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x103): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x10a): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x18d): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x196): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x27e): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x289): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x299): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x328): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x342): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x35e): undefined reference to `llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x505): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x5ee): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x5ff): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x6ce): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x6e6): undefined reference to `llvm::UnreachableInst::UnreachableInst(llvm::LLVMContext&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x725): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil23OCLMemFenceExtendedKindEN3spv19MemorySemanticsMaskEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x754): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::Instruction* SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLMemOrderKind, unsigned int, spv::MemorySemanticsMask>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLMemOrderKind, unsigned int, spv::MemorySemanticsMask> const&, bool, llvm::Optional<int>, llvm::Instruction*, int) [clone .constprop.0]':
<artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x59): undefined reference to `llvm::Instruction::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x103): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x10a): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x18b): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x194): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x27b): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x2c1): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x2df): undefined reference to `llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x4aa): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x4c5): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x4d8): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x570): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x588): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x5a6): undefined reference to `llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x5d2): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x6cb): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x6d4): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x7a1): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x7b9): undefined reference to `llvm::UnreachableInst::UnreachableInst(llvm::LLVMContext&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x7f9): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil15OCLMemOrderKindEjN3spv19MemorySemanticsMaskEEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x82b): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans41.ltrans.o: in function `llvm::Instruction* SPIRV::getOrCreateSwitchFunc<OCLUtil::OCLScopeKind, spv::Scope, void>(llvm::StringRef, llvm::Value*, SPIRV::SPIRVMap<OCLUtil::OCLScopeKind, spv::Scope, void> const&, bool, llvm::Optional<int>, llvm::Instruction*, int) [clone .constprop.0]':
<artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x59): undefined reference to `llvm::Instruction::getModule() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x103): undefined reference to `vtable for llvm::IRBuilderDefaultInserter'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x10a): undefined reference to `vtable for llvm::ConstantFolder'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x185): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x18e): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x272): undefined reference to `llvm::Value::setName(llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x2a4): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x2c2): undefined reference to `llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x47a): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x568): undefined reference to `llvm::BasicBlock::BasicBlock(llvm::LLVMContext&, llvm::Twine const&, llvm::Function*, llvm::BasicBlock*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x571): undefined reference to `llvm::BasicBlock::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x640): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x658): undefined reference to `llvm::UnreachableInst::UnreachableInst(llvm::LLVMContext&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getOrCreateSwitchFuncIN7OCLUtil12OCLScopeKindEN3spv5ScopeEvEEPN4llvm11InstructionENS5_9StringRefEPNS5_5ValueERKNS_8SPIRVMapIT_T0_T1_EEbNS5_8OptionalIiEES7_i.constprop.0+0x69a): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > OCLUtil::getFullPath<llvm::DIFile>(llvm::DIFile const*)':
<artificial>:(.text._ZN7OCLUtil11getFullPathIN4llvm6DIFileEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x66): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil11getFullPathIN4llvm6DIFileEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0xb6): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil11getFullPathIN4llvm6DIFileEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x1ac): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil11getFullPathIN4llvm6DIFileEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x1fe): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil11getFullPathIN4llvm6DIFileEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKT_+0x297): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgExpression(llvm::DIExpression const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran18transDbgExpressionEPKN4llvm12DIExpressionE+0x15c): undefined reference to `llvm::report_fatal_error(llvm::Twine const&, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::SPIRVExtInst* SPIRV::LLVMToSPIRVDbgTran::getSource<llvm::DISubprogram>(llvm::DISubprogram const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x144): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x194): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x23f): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x295): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x32b): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x5a1): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm12DISubprogramEEEPNS_12SPIRVExtInstEPKT_+0x5e5): undefined reference to `llvm::DIFile::getChecksumKindAsString(llvm::DIFile::ChecksumKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::SPIRVExtInst* SPIRV::LLVMToSPIRVDbgTran::getSource<llvm::DIScope>(llvm::DIScope const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x144): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x194): undefined reference to `llvm::sys::path::is_absolute(llvm::Twine const&, llvm::sys::path::Style)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x23f): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x295): undefined reference to `llvm::SmallVectorBase<unsigned long>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x32b): undefined reference to `llvm::sys::path::append(llvm::SmallVectorImpl<char>&, llvm::sys::path::Style, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x5a1): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm7DIScopeEEEPNS_12SPIRVExtInstEPKT_+0x5e5): undefined reference to `llvm::DIFile::getChecksumKindAsString(llvm::DIFile::ChecksumKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::SPIRVExtInst* SPIRV::LLVMToSPIRVDbgTran::getSource<llvm::DIFile>(llvm::DIFile const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm6DIFileEEEPNS_12SPIRVExtInstEPKT_+0x1a1): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran9getSourceIN4llvm6DIFileEEEPNS_12SPIRVExtInstEPKT_+0x1e6): undefined reference to `llvm::DIFile::getChecksumKindAsString(llvm::DIFile::ChecksumKind)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgImportedEntry(llvm::DIImportedEntity const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgImportedEntryEPKN4llvm16DIImportedEntityE+0x72): undefined reference to `llvm::DINode::getTag() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran21transDbgImportedEntryEPKN4llvm16DIImportedEntityE+0xa1): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans1.ltrans.o: in function `SPIRV::LLVMToSPIRVDbgTran::transDbgModule(llvm::DIModule const*)':
<artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran14transDbgModuleEPKN4llvm8DIModuleE+0x96): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran14transDbgModuleEPKN4llvm8DIModuleE+0x1ee): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran14transDbgModuleEPKN4llvm8DIModuleE+0x27c): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV18LLVMToSPIRVDbgTran14transDbgModuleEPKN4llvm8DIModuleE+0x30a): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans4.ltrans.o: in function `llvm::IRBuilderBase::CreateAnd(llvm::Value*, llvm::Value*, llvm::Twine const&)':
<artificial>:(.text._ZN4llvm13IRBuilderBase9CreateAndEPNS_5ValueES2_RKNS_5TwineE+0x8f): undefined reference to `llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm13IRBuilderBase9CreateAndEPNS_5ValueES2_RKNS_5TwineE+0xd7): undefined reference to `llvm::Instruction::setMetadata(unsigned int, llvm::MDNode*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans4.ltrans.o: in function `OCLUtil::decodeVecTypeHint(llvm::LLVMContext&, unsigned int)':
<artificial>:(.text._ZN7OCLUtil17decodeVecTypeHintERN4llvm11LLVMContextEj+0x25): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil17decodeVecTypeHintERN4llvm11LLVMContextEj+0x35): undefined reference to `llvm::FixedVectorType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil17decodeVecTypeHintERN4llvm11LLVMContextEj+0x42): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil17decodeVecTypeHintERN4llvm11LLVMContextEj+0x52): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil17decodeVecTypeHintERN4llvm11LLVMContextEj+0x62): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans4.ltrans.o: in function `OCLUtil::getOCLVersion(llvm::Module*, bool)':
<artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0x46): undefined reference to `llvm::Module::getNamedMetadata(llvm::Twine const&) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0x66): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0x8f): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0xae): undefined reference to `llvm::NamedMDNode::getOperand(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0xf9): undefined reference to `llvm::report_fatal_error(llvm::Twine const&, bool)'
/usr/bin/ld: <artificial>:(.text._ZN7OCLUtil13getOCLVersionEPN4llvm6ModuleEb+0x105): undefined reference to `llvm::NamedMDNode::getNumOperands() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans4.ltrans.o: in function `OCLUtil::getBarrierLiterals(llvm::CallInst*)':
<artificial>:(.text._ZN7OCLUtil18getBarrierLiteralsEPN4llvm8CallInstE+0x83): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `llvm::StringRef::split(llvm::StringRef) const':
<artificial>:(.text._ZNK4llvm9StringRef5splitES0_+0x1e): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::addFnAttr(llvm::CallInst*, llvm::Attribute::AttrKind)':
<artificial>:(.text._ZN5SPIRV9addFnAttrEPN4llvm8CallInstENS0_9Attribute8AttrKindE+0x11): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV9addFnAttrEPN4llvm8CallInstENS0_9Attribute8AttrKindE+0x25): undefined reference to `llvm::AttributeList::addAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::removeFnAttr(llvm::CallInst*, llvm::Attribute::AttrKind)':
<artificial>:(.text._ZN5SPIRV12removeFnAttrEPN4llvm8CallInstENS0_9Attribute8AttrKindE+0x11): undefined reference to `llvm::Value::getContext() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12removeFnAttrEPN4llvm8CallInstENS0_9Attribute8AttrKindE+0x25): undefined reference to `llvm::AttributeList::removeAttributeAtIndex(llvm::LLVMContext&, unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getOrCreateOpaquePtrType(llvm::Module*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)':
<artificial>:(.text._ZN5SPIRV24getOrCreateOpaquePtrTypeEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj+0x25): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24getOrCreateOpaquePtrTypeEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj+0x3f): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV24getOrCreateOpaquePtrTypeEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEj+0x53): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getOrCreateOpaqueStructType(llvm::Module*, llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV27getOrCreateOpaqueStructTypeEPN4llvm6ModuleENS0_9StringRefE+0x16): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV27getOrCreateOpaqueStructTypeEPN4llvm6ModuleENS0_9StringRefE+0x38): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::isOCLImageType(llvm::Type*, llvm::StringRef*)':
<artificial>:(.text._ZN5SPIRV14isOCLImageTypeEPN4llvm4TypeEPNS0_9StringRefE+0x6d): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14isOCLImageTypeEPN4llvm4TypeEPNS0_9StringRefE+0x8d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::isSPIRVStructType(llvm::Type*, llvm::StringRef, llvm::StringRef*)':
<artificial>:(.text._ZN5SPIRV17isSPIRVStructTypeEPN4llvm4TypeENS0_9StringRefEPS3_+0x6c): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::isSYCLHalfType(llvm::Type*)':
<artificial>:(.text._ZN5SPIRV14isSYCLHalfTypeEPN4llvm4TypeE+0x2b): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::isSYCLBfloat16Type(llvm::Type*)':
<artificial>:(.text._ZN5SPIRV18isSYCLBfloat16TypeEPN4llvm4TypeE+0x2b): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::undecorateSPIRVFunction(llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV23undecorateSPIRVFunctionEN4llvm9StringRefE+0x22): undefined reference to `llvm::StringRef::rfind(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::dePrefixSPIRVName(llvm::StringRef, llvm::SmallVectorImpl<llvm::StringRef>&)':
<artificial>:(.text._ZN5SPIRV17dePrefixSPIRVNameEN4llvm9StringRefERNS0_15SmallVectorImplIS1_EE+0x71): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::containsUnsignedAtomicType(llvm::StringRef)':
<artificial>:(.text._ZN5SPIRV26containsUnsignedAtomicTypeEN4llvm9StringRefE+0x24): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::castToVoidFuncPtr(llvm::Function*)':
<artificial>:(.text._ZN5SPIRV17castToVoidFuncPtrEPN4llvm8FunctionE+0x11): undefined reference to `llvm::Type::getVoidTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17castToVoidFuncPtrEPN4llvm8FunctionE+0x1c): undefined reference to `llvm::FunctionType::get(llvm::Type*, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17castToVoidFuncPtrEPN4llvm8FunctionE+0x27): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV17castToVoidFuncPtrEPN4llvm8FunctionE+0x36): undefined reference to `llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::hasArrayArg(llvm::Function*)':
<artificial>:(.text._ZN5SPIRV11hasArrayArgEPN4llvm8FunctionE+0x62): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV11hasArrayArgEPN4llvm8FunctionE+0x75): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::parsePrimitiveType(llvm::LLVMContext&, llvm::StringRef) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x2b): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x74): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x7d): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x86): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x9d): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0xba): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0xf5): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x130): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x139): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x142): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x14b): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x154): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x1ad): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x1c5): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x212): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x243): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x259): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x26f): undefined reference to `llvm::Type::getInt8Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x2e9): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x311): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x342): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x377): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x3c3): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL18parsePrimitiveTypeERN4llvm11LLVMContextENS0_9StringRefE.lto_priv.0+0x3cc): undefined reference to `llvm::Type::getInt64Ty(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getParameterTypes(llvm::Function*, llvm::SmallVectorImpl<llvm::Type*>&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::StringRef)>)::{lambda(llvm::StringRef)#1}::operator()(llvm::StringRef) const [clone .lto_priv.0]':
<artificial>:(.text._ZZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEEENKUlSF_E_clESF_.lto_priv.0+0x68): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEEENKUlSF_E_clESF_.lto_priv.0+0xc4): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEEENKUlSF_E_clESF_.lto_priv.0+0xeb): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV17getParameterTypesEPN4llvm8FunctionERNS0_15SmallVectorImplIPNS0_4TypeEEESt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_9StringRefEEEENKUlSF_E_clESF_.lto_priv.0+0x117): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::saveLLVMModule(llvm::Module*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
<artificial>:(.text._ZN5SPIRV14saveLLVMModuleEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x63): undefined reference to `llvm::ToolOutputFile::ToolOutputFile(llvm::StringRef, std::error_code&, llvm::sys::fs::OpenFlags)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14saveLLVMModuleEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x85): undefined reference to `llvm::WriteBitcodeToFile(llvm::Module const&, llvm::raw_ostream&, bool, llvm::ModuleSummaryIndex const*, bool, std::array<unsigned int, 5ul>*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14saveLLVMModuleEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x9d): undefined reference to `llvm::ToolOutputFile::CleanupInstaller::~CleanupInstaller()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14saveLLVMModuleEPN4llvm6ModuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xd1): undefined reference to `llvm::raw_fd_ostream::~raw_fd_ostream()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::mapLLVMTypeToOCLType[abi:cxx11](llvm::Type const*, bool, llvm::Type*)':
<artificial>:(.text._ZN5SPIRV20mapLLVMTypeToOCLTypeB5cxx11EPKN4llvm4TypeEbPS1_+0x443): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getOrCreateFunction(llvm::Module*, llvm::Type*, llvm::ArrayRef<llvm::Type*>, llvm::StringRef, SPIRV::BuiltinFuncMangleInfo*, llvm::AttributeList*, bool)':
<artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0xf7): undefined reference to `llvm::FunctionType::get(llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x113): undefined reference to `llvm::Module::getFunction(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x173): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x1c6): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x1e6): undefined reference to `llvm::Value::print(llvm::raw_ostream&, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x208): undefined reference to `llvm::Type::print(llvm::raw_ostream&, bool, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x247): undefined reference to `llvm::report_fatal_error(llvm::Twine const&, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x271): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x28f): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x298): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x32d): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x34b): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x354): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x382): undefined reference to `llvm::User::operator new(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x3a0): undefined reference to `llvm::Function::Function(llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, unsigned int, llvm::Twine const&, llvm::Module*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x3b3): undefined reference to `llvm::Value::takeName(llvm::Value*)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x3bc): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x3eb): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV19getOrCreateFunctionEPN4llvm6ModuleEPNS0_4TypeENS0_8ArrayRefIS4_EENS0_9StringRefEPNS_21BuiltinFuncMangleInfoEPNS0_13AttributeListEb+0x3fb): undefined reference to `llvm::raw_ostream::write(unsigned char)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getSamplerType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV14getSamplerTypeEPN4llvm6ModuleE+0x51): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14getSamplerTypeEPN4llvm6ModuleE+0x64): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV14getSamplerTypeEPN4llvm6ModuleE+0xb3): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getSamplerStructType(llvm::Module*)':
<artificial>:(.text._ZN5SPIRV20getSamplerStructTypeEPN4llvm6ModuleE+0x54): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV20getSamplerStructTypeEPN4llvm6ModuleE+0xac): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::getSPIRVOpaquePtrType(llvm::Module*, spv::Op)':
<artificial>:(.text._ZN5SPIRV21getSPIRVOpaquePtrTypeEPN4llvm6ModuleEN3spv2OpE+0x14b): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getSPIRVOpaquePtrTypeEPN4llvm6ModuleEN3spv2OpE+0x160): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV21getSPIRVOpaquePtrTypeEPN4llvm6ModuleEN3spv2OpE+0x26c): undefined reference to `llvm::StructType::create(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans15.ltrans.o: in function `SPIRV::oclIsBuiltin(llvm::StringRef, llvm::StringRef&, bool)':
<artificial>:(.text._ZN5SPIRV12oclIsBuiltinEN4llvm9StringRefERS1_b+0xdc): undefined reference to `llvm::StringRef::find_first_not_of(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12oclIsBuiltinEN4llvm9StringRefERS1_b+0x14b): undefined reference to `llvm::StringRef::find_first_not_of(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12oclIsBuiltinEN4llvm9StringRefERS1_b+0x182): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12oclIsBuiltinEN4llvm9StringRefERS1_b+0x226): undefined reference to `llvm::StringRef::find_first_not_of(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12oclIsBuiltinEN4llvm9StringRefERS1_b+0x25f): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans17.ltrans.o: in function `std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&), SPIRV::postProcessBuiltinWithArrayArguments(llvm::Function*, llvm::StringRef)::{lambda(llvm::CallInst*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&)#1}>::_M_invoke(std::_Any_data const&, llvm::CallInst*&&, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&) [clone .lto_priv.0]':
<artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x3b): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x50): undefined reference to `llvm::BasicBlock::getFirstInsertionPt() const'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0xc6): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0xed): undefined reference to `llvm::AllocaInst::AllocaInst(llvm::Type*, unsigned int, llvm::Twine const&, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0xfd): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x113): undefined reference to `llvm::StoreInst::StoreInst(llvm::Value*, llvm::Value*, bool, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x11c): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x125): undefined reference to `llvm::Constant::getNullValue(llvm::Type*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x14f): undefined reference to `llvm::User::operator new(unsigned long, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x192): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x1af): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x224): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x24b): undefined reference to `llvm::Instruction::Instruction(llvm::Type*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x260): undefined reference to `llvm::GetElementPtrInst::getIndexedType(llvm::Type*, llvm::ArrayRef<llvm::Value*>)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x27d): undefined reference to `llvm::GetElementPtrInst::init(llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::Twine const&)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x28b): undefined reference to `llvm::GetElementPtrInst::setIsInBounds(bool)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x2fe): undefined reference to `llvm::VectorType::get(llvm::Type*, llvm::ElementCount)'
/usr/bin/ld: <artificial>:(.text._ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4llvm8CallInstERSt6vectorIPNS6_5ValueESaISB_EEEZN5SPIRV36postProcessBuiltinWithArrayArgumentsEPNS6_8FunctionENS6_9StringRefEEUlS8_SE_E_E9_M_invokeERKSt9_Any_dataOS8_SE_.lto_priv.0+0x319): undefined reference to `llvm::PointerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans17.ltrans.o: in function `llvm::itanium_demangle::EnclosingExpr* SPIRV::(anonymous namespace)::DefaultAllocator::makeNode<llvm::itanium_demangle::EnclosingExpr, char const (&) [11], llvm::itanium_demangle::Node*&>(char const (&) [11], llvm::itanium_demangle::Node*&)':
<artificial>:(.text._ZN5SPIRV12_GLOBAL__N_116DefaultAllocator8makeNodeIN4llvm16itanium_demangle13EnclosingExprEJRA11_KcRPNS4_4NodeEEEEPT_DpOT0_+0x62): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV12_GLOBAL__N_116DefaultAllocator8makeNodeIN4llvm16itanium_demangle13EnclosingExprEJRA11_KcRPNS4_4NodeEEEEPT_DpOT0_+0x11d): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans17.ltrans.o: in function `llvm::SmallVectorTemplateBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, false>::grow(unsigned long)':
<artificial>:(.text._ZN4llvm23SmallVectorTemplateBaseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0EE4growEm+0x39): undefined reference to `llvm::SmallVectorBase<unsigned int>::mallocForGrow(void*, unsigned long, unsigned long, unsigned long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans17.ltrans.o: in function `llvm::itanium_demangle::AbstractManglingParser<llvm::itanium_demangle::ManglingParser<SPIRV::(anonymous namespace)::DefaultAllocator>, SPIRV::(anonymous namespace)::DefaultAllocator>::parseName(llvm::itanium_demangle::AbstractManglingParser<llvm::itanium_demangle::ManglingParser<SPIRV::(anonymous namespace)::DefaultAllocator>, SPIRV::(anonymous namespace)::DefaultAllocator>::NameState*)':
<artificial>:(.text._ZN4llvm16itanium_demangle22AbstractManglingParserINS0_14ManglingParserIN5SPIRV12_GLOBAL__N_116DefaultAllocatorEEES5_E9parseNameEPNS7_9NameStateE+0x18f): undefined reference to `llvm::itanium_demangle::parse_discriminator(char const*, char const*)'
/usr/bin/ld: <artificial>:(.text._ZN4llvm16itanium_demangle22AbstractManglingParserINS0_14ManglingParserIN5SPIRV12_GLOBAL__N_116DefaultAllocatorEEES5_E9parseNameEPNS7_9NameStateE+0x4ff): undefined reference to `llvm::itanium_demangle::parse_discriminator(char const*, char const*)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transPointerType(llvm::Type*, unsigned int)::{lambda(SPIRV::SPIRVType*)#1}::operator()(SPIRV::SPIRVType*) const':
<artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEjENKUlPNS_9SPIRVTypeEE_clES5_+0x76): undefined reference to `llvm::StringMapImpl::LookupBucketFor(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEjENKUlPNS_9SPIRVTypeEE_clES5_+0x16d): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEjENKUlPNS_9SPIRVTypeEE_clES5_+0x1aa): undefined reference to `llvm::StringMapImpl::RehashTable(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::foreachKernelArgMD(llvm::MDNode*, SPIRV::SPIRVFunction*, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, SPIRV::SPIRVFunctionParameter*)>) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL18foreachKernelArgMDEPN4llvm6MDNodeEPNS_13SPIRVFunctionESt8functionIFvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_22SPIRVFunctionParameterEEE.lto_priv.0+0x9d): undefined reference to `llvm::MDString::getString() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::isUniformGroupOperation(llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0x1e): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0x3e): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0x83): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0xa0): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0xbd): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0xda): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o:<artificial>:(.text._ZN5SPIRV23isUniformGroupOperationEPN4llvm8FunctionE+0xfb): more undefined references to `llvm::StringRef::find(llvm::StringRef, unsigned long) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::getSPIRVFunctionType(SPIRV::SPIRVType*, std::vector<SPIRV::SPIRVType*, std::allocator<SPIRV::SPIRVType*> > const&)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x25): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0xad): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0xb9): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x101): undefined reference to `llvm::raw_ostream::operator<<(unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x124): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x13e): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x159): undefined reference to `llvm::StringMapImpl::FindKey(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x193): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x1a5): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x206): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x23e): undefined reference to `llvm::StringMapImpl::LookupBucketFor(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x283): undefined reference to `llvm::allocate_buffer(unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20getSPIRVFunctionTypeEPNS_9SPIRVTypeERKSt6vectorIS2_SaIS2_EE+0x2c2): undefined reference to `llvm::StringMapImpl::RehashTable(unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::getLoopControl(llvm::BranchInst const*, std::vector<unsigned int, std::allocator<unsigned int> >&)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14getLoopControlEPKN4llvm10BranchInstERSt6vectorIjSaIjEE+0x55): undefined reference to `llvm::Instruction::getMetadataImpl(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::translateSEVDecoration(llvm::Attribute, SPIRV::SPIRVValue*) [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRVL22translateSEVDecorationEN4llvm9AttributeEPNS_10SPIRVValueE.lto_priv.0+0x34): undefined reference to `llvm::Attribute::getValueAsString() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRVL22translateSEVDecorationEN4llvm9AttributeEPNS_10SPIRVValueE.lto_priv.0+0x47): undefined reference to `llvm::getAsUnsignedInteger(llvm::StringRef, unsigned int, unsigned long long&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transFPGAFunctionMetadata(SPIRV::SPIRVFunction*, llvm::Function*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x2c): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0xb0): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x138): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x1c0): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x248): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o:<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase25transFPGAFunctionMetadataEPNS_13SPIRVFunctionEPN4llvm8FunctionE+0x2d0): more undefined references to `llvm::Value::getMetadata(llvm::StringRef) const' follow
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::~LLVMToSPIRVBase()':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x49): undefined reference to `llvm::Value::deleteValue()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x6a): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0xa9): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0xe8): undefined reference to `llvm::CallGraph::~CallGraph()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x338): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x354): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x39d): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x3d2): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x3ee): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x482): undefined reference to `vtable for llvm::CallbackVH'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x50c): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x545): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x578): undefined reference to `llvm::ValueHandleBase::RemoveFromUseList()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x5e2): undefined reference to `llvm::MetadataTracking::untrack(void*, llvm::Metadata&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBaseD2Ev+0x606): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::runLLVMToSPIRV(llvm::Module&)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14runLLVMToSPIRVERN4llvm6ModuleE+0x2c): undefined reference to `llvm::CallGraph::CallGraph(llvm::Module&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase14runLLVMToSPIRVERN4llvm6ModuleE+0x48): undefined reference to `llvm::CallGraph::~CallGraph()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::isBuiltinTransToInst(llvm::Function*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20isBuiltinTransToInstEPN4llvm8FunctionE+0x33): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20isBuiltinTransToInstEPN4llvm8FunctionE+0x75): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20isBuiltinTransToInstEPN4llvm8FunctionE+0x93): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::isBuiltinTransToExtInst(llvm::Function*, SPIRV::SPIRVExtInstSetKind*, unsigned int*, llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23isBuiltinTransToExtInstEPN4llvm8FunctionEPNS_19SPIRVExtInstSetKindEPjPNS1_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0x4b): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23isBuiltinTransToExtInstEPN4llvm8FunctionEPNS_19SPIRVExtInstSetKindEPjPNS1_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0xc4): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase23isBuiltinTransToExtInstEPN4llvm8FunctionEPNS_19SPIRVExtInstSetKindEPjPNS1_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0x352): undefined reference to `llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, llvm::StringRef, int, bool) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transConstantUse(llvm::Constant*) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transConstantUseEPN4llvm8ConstantE+0xbe): undefined reference to `llvm::Type::isIntegerTy(unsigned int) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transPointerType(SPIRV::SPIRVType*, unsigned int) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPNS_9SPIRVTypeEj+0x60): undefined reference to `llvm::Twine::str[abi:cxx11]() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPNS_9SPIRVTypeEj+0x73): undefined reference to `llvm::StringMapImpl::FindKey(llvm::StringRef) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transConstant(llvm::Value*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0xc7): undefined reference to `llvm::ConstantExpr::getAsInstruction(llvm::Instruction*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x201): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x2a5): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x2d1): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x2fd): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x407): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x4bc): undefined reference to `llvm::ConstantDataSequential::getNumElements() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x4dc): undefined reference to `llvm::ConstantDataSequential::getElementAsConstant(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x5bc): undefined reference to `llvm::ConstantDataSequential::getNumElements() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x5dc): undefined reference to `llvm::ConstantDataSequential::getElementAsConstant(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x627): undefined reference to `llvm::APFloatBase::PPCDoubleDouble()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x63f): undefined reference to `llvm::detail::IEEEFloat::bitcastToAPInt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x892): undefined reference to `llvm::detail::DoubleAPFloat::bitcastToAPInt() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x8b7): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x8e3): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x90f): undefined reference to `llvm::Constant::getUniqueInteger() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase13transConstantEPN4llvm5ValueE+0x95e): undefined reference to `llvm::APInt::initSlowCase(llvm::APInt const&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transSPIRVJointMatrixINTELType(llvm::SmallVector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, 8u>) [clone .localalias]':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x69): undefined reference to `llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0xe6): undefined reference to `llvm::consumeUnsignedInteger(llvm::StringRef&, unsigned int, unsigned long long&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0xf8): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x106): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x2fa): undefined reference to `llvm::Type::getInt16Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x3b5): undefined reference to `llvm::Type::getFloatTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x3da): undefined reference to `llvm::Type::getHalfTy(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase30transSPIRVJointMatrixINTELTypeEN4llvm11SmallVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELj8EEE+0x3f2): undefined reference to `llvm::Type::getDoubleTy(llvm::LLVMContext&)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transSPIRVOpaqueType(llvm::StringRef, unsigned int)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transSPIRVOpaqueTypeEN4llvm9StringRefEj+0xb7): undefined reference to `llvm::StructType::getTypeByName(llvm::LLVMContext&, llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transSPIRVOpaqueTypeEN4llvm9StringRefEj+0x2ab): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transSPIRVOpaqueTypeEN4llvm9StringRefEj+0x42b): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase20transSPIRVOpaqueTypeEN4llvm9StringRefEj+0x48e): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transPointerType(llvm::Type*, unsigned int)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x38): undefined reference to `llvm::PointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x89): undefined reference to `llvm::Twine::str[abi:cxx11]() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0xa2): undefined reference to `llvm::StringMapImpl::FindKey(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x1af): undefined reference to `llvm::StructType::isSized(llvm::SmallPtrSetImpl<llvm::Type*>*) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x1cc): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x219): undefined reference to `llvm::StringMapImpl::FindKey(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x2d8): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x33f): undefined reference to `llvm::raw_ostream::SetBufferAndMode(char*, unsigned long, llvm::raw_ostream::BufferKind)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x351): undefined reference to `llvm::Type::print(llvm::raw_ostream&, bool, bool) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x369): undefined reference to `llvm::raw_ostream::flush_nonempty()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x385): undefined reference to `vtable for llvm::raw_string_ostream'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x397): undefined reference to `llvm::raw_ostream::~raw_ostream()'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x55a): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x811): undefined reference to `llvm::StructType::setName(llvm::StringRef)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x8ef): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transPointerTypeEPN4llvm4TypeEj+0x9e3): undefined reference to `llvm::StructType::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transScavengedType(llvm::Value*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transScavengedTypeEPN4llvm5ValueE+0x1c5): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transScavengedTypeEPN4llvm5ValueE+0x2af): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transScavengedTypeEPN4llvm5ValueE+0x2d3): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transScavengedTypeEPN4llvm5ValueE+0x316): undefined reference to `llvm::TypedPointerType::get(llvm::Type*, unsigned int)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase18transScavengedTypeEPN4llvm5ValueE+0x363): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transFunctionDecl(llvm::Function*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x12f): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x267): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x2e5): undefined reference to `llvm::Argument::hasByValAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x2f6): undefined reference to `llvm::Argument::hasNoAliasAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x307): undefined reference to `llvm::Argument::hasNoCaptureAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x318): undefined reference to `llvm::Argument::hasStructRetAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x339): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x351): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x369): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x381): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x399): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x440): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x4b4): undefined reference to `llvm::Argument::hasByValAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x507): undefined reference to `llvm::Argument::hasNoAliasAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x55a): undefined reference to `llvm::Argument::hasNoCaptureAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x5ad): undefined reference to `llvm::Argument::hasStructRetAttr() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x631): undefined reference to `llvm::Value::getMetadata(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x651): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x668): undefined reference to `llvm::Function::BuildLazyArguments() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x684): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x69c): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x6ac): undefined reference to `llvm::Attribute::getDereferenceableBytes() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x764): undefined reference to `llvm::AttributeList::getAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0x774): undefined reference to `llvm::Attribute::getAlignment() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0xa6b): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0xa83): undefined reference to `llvm::AttributeList::hasAttributeAtIndex(unsigned int, llvm::Attribute::AttrKind) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0xaa0): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0xabd): undefined reference to `llvm::AttributeList::hasFnAttr(llvm::StringRef) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase17transFunctionDeclEPN4llvm8FunctionE+0xdc6): undefined reference to `llvm::Value::getName() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transBinaryInst(llvm::BinaryOperator*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transBinaryInstEPN4llvm14BinaryOperatorEPNS_15SPIRVBasicBlockE+0x113): undefined reference to `llvm::Instruction::hasAllowContract() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transBinaryInstEPN4llvm14BinaryOperatorEPNS_15SPIRVBasicBlockE+0x120): undefined reference to `llvm::Instruction::getFunction() const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transCmpInst(llvm::CmpInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12transCmpInstEPN4llvm7CmpInstEPNS_15SPIRVBasicBlockE+0x20a): undefined reference to `llvm::Module::getDataLayout() const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12transCmpInstEPN4llvm7CmpInstEPNS_15SPIRVBasicBlockE+0x21a): undefined reference to `llvm::DataLayout::getPointerAlignElem(unsigned int) const'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase12transCmpInstEPN4llvm7CmpInstEPNS_15SPIRVBasicBlockE+0x22a): undefined reference to `llvm::Type::getIntNTy(llvm::LLVMContext&, unsigned int)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transAtomicStore(llvm::StoreInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transAtomicStoreEPN4llvm9StoreInstEPNS_15SPIRVBasicBlockE+0x44): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transAtomicStoreEPN4llvm9StoreInstEPNS_15SPIRVBasicBlockE+0x54): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transAtomicStoreEPN4llvm9StoreInstEPNS_15SPIRVBasicBlockE+0xe7): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase16transAtomicStoreEPN4llvm9StoreInstEPNS_15SPIRVBasicBlockE+0xfa): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans19.ltrans.o: in function `SPIRV::LLVMToSPIRVBase::transAtomicLoad(llvm::LoadInst*, SPIRV::SPIRVBasicBlock*)':
<artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transAtomicLoadEPN4llvm8LoadInstEPNS_15SPIRVBasicBlockE+0x45): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transAtomicLoadEPN4llvm8LoadInstEPNS_15SPIRVBasicBlockE+0x55): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transAtomicLoadEPN4llvm8LoadInstEPNS_15SPIRVBasicBlockE+0xef): undefined reference to `llvm::Type::getInt32Ty(llvm::LLVMContext&)'
/usr/bin/ld: <artificial>:(.text._ZN5SPIRV15LLVMToSPIRVBase15transAtomicLoadEPN4llvm8LoadInstEPNS_15SPIRVBasicBlockE+0x102): undefined reference to `llvm::ConstantInt::get(llvm::IntegerType*, unsigned long, bool)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::AnalysisPassModel<llvm::Module, SPIRV::OCLTypeToSPIRVPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>::Invalidator>::name() const':
<artificial>:(.text._ZNK4llvm6detail17AnalysisPassModelINS_6ModuleEN5SPIRV18OCLTypeToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEE11InvalidatorEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::LLVMToSPIRVPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_6ModuleEN5SPIRV15LLVMToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, SPIRV::SPIRVLowerBitCastToNonStandardTypePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::name() const':
<artificial>:(.text._ZNK4llvm6detail9PassModelINS_8FunctionEN5SPIRV38SPIRVLowerBitCastToNonStandardTypePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE4nameEv+0x3d): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::LLVMToSPIRVPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV15LLVMToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV15LLVMToSPIRVPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::PassModel<llvm::Function, SPIRV::SPIRVLowerBitCastToNonStandardTypePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionEN5SPIRV38SPIRVLowerBitCastToNonStandardTypePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x4a): undefined reference to `llvm::StringRef::find(llvm::StringRef, unsigned long) const'
/usr/bin/ld: <artificial>:(.text._ZN4llvm6detail9PassModelINS_8FunctionEN5SPIRV38SPIRVLowerBitCastToNonStandardTypePassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESC_EEE+0x103): undefined reference to `llvm::raw_ostream::write(char const*, unsigned long)'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `SPIRV::LLVMToSPIRVLegacy::~LLVMToSPIRVLegacy() [clone .lto_priv.0]':
<artificial>:(.text._ZN5SPIRV17LLVMToSPIRVLegacyD2Ev.lto_priv.0+0x22): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `SPIRV::LLVMToSPIRVLegacy::~LLVMToSPIRVLegacy()':
<artificial>:(.text._ZN5SPIRV17LLVMToSPIRVLegacyD0Ev+0x21): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/bin/ld: /tmp/ccrm0acG.ltrans25.ltrans.o: in function `llvm::detail::PassModel<llvm::Module, SPIRV::SPIRVLowerSaddIntrinsicsPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
<artificial>:(.text._ZN4llvm6detail9PassModelINS_6ModuleEN5SPIRV28SPIRVLowerSaddIntrinsicsPassENS_17PreservedAnalysesENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS7_+0x70): undefined reference to `llvm::PreservedAnalyses::AllAnalysesKey'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/build.make:157: lib/SPIRV/libLLVMSPIRVLib.so.16] Error 1
make[2]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
make[1]: *** [CMakeFiles/Makefile2:277: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/all] Error 2
make[1]: Leaving directory '/build/spirv-llvm-translator-git/src/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/build/spirv-llvm-translator-git/src/build'
[1m[31m==> ERROR:(B[m[1m A failure occurred in build().(B[m
[1m    Aborting...(B[m

Last edited by Lone_Wolf (2023-05-14 15:42:11)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 2022-11-16 17:08:13

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

Re: [Solved] spirv-llvm-translator trunk fails to build shared library

After trying an in-tree build against llvm trunk I found building that way gives no build issues at all and just creates a static library version .

I'm no longer pursuing a standalone spirv-llvm-translator, but will include it in llvm-minimal-git .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-05-13 11:44:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

Re: [Solved] spirv-llvm-translator trunk fails to build shared library

I'm working on splitting llvm-minimal-git in separate packages and will attempt again to build spirv-llvm-translator-git out of tree .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-05-14 15:41:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

Re: [Solved] spirv-llvm-translator trunk fails to build shared library

It seems upstream has improved the code, as building a shared library against llvm trunk now works fine.

New standalone package https://aur.archlinux.org/packages/spir … inimal-git uploaded, marking as solved.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB