RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-ppc64el-017 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le Buildd toolchain package versions: launchpad-buildd_158 python-lpbuildd_158 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.3 dpkg-dev_1.18.4ubuntu1.3 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 31 Jan 08:40:33 ntpdate[1766]: adjust time server 10.211.37.1 offset 0.000349 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 /home/buildd/filecache-default/64ab4a3b1843816d631a3747c16f42fa2d8de59d Creating target for build PACKAGEBUILD-14253344 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 Starting target for build PACKAGEBUILD-14253344 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 'deb http://ftpmaster.internal/ubuntu bionic main universe' 'deb http://ftpmaster.internal/ubuntu bionic-security main universe' 'deb http://ftpmaster.internal/ubuntu bionic-updates main universe' 'deb http://ftpmaster.internal/ubuntu bionic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-14253344 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 Updating target for build PACKAGEBUILD-14253344 Get:1 http://ftpmaster.internal/ubuntu bionic InRelease [235 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-proposed InRelease [235 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main ppc64el Packages [967 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/main Translation-en [514 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/universe ppc64el Packages [8126 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/universe Translation-en [4945 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el Packages [174 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main Translation-en [87.6 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/universe ppc64el Packages [691 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/universe Translation-en [329 kB] Fetched 16.4 MB in 3s (4682 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: gnupg-agent libcurl3-gnutls libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libmpfr4 libnghttp2-14 libpsl5 librtmp1 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm liblsan0 libmpfr6 libnghttp2-14 libtsan0 The following packages will be upgraded: adduser apt apt-transport-https base-files base-passwd binutils binutils-common binutils-powerpc64le-linux-gnu bsdutils build-essential coreutils cpp-7 dash debconf debianutils dmsetup dpkg dpkg-dev e2fslibs e2fsprogs fakeroot fdisk findutils g++-7 gcc-7 gcc-7-base gnupg gnupg-agent gpgv hostname init init-system-helpers libapparmor1 libapt-pkg5.0 libasan4 libasn1-8-heimdal libassuan0 libatomic1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcomerr2 libcurl3-gnutls libdevmapper1.02.1 libdpkg-perl libfakeroot libfdisk1 libffi6 libgcc-7-dev libgcc1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libidn11 libidn2-0 libip4tc0 libitm1 libk5crypto3 libkeyutils1 libkmod2 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblockfile-bin liblockfile1 libmount1 libmpc3 libncurses5 libncursesw5 libnettle6 libnpth0 libp11-kit0 libpcre3 libperl5.26 libpng16-16 libprocps6 libpsl5 libreadline7 libroken18-heimdal libseccomp2 libselinux1 libsemanage-common libsemanage1 libslang2 libsmartcols1 libsqlite3-0 libss2 libssl1.0.0 libstdc++-7-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo5 libubsan0 libudev1 libuuid1 libwind0-heimdal linux-libc-dev login lsb-base mount multiarch-support ncurses-base ncurses-bin openssl optipng passwd perl perl-base perl-modules-5.26 pinentry-curses procps readline-common sed sensible-utils systemd systemd-sysv sysvinit-utils tzdata util-linux 135 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 65.9 MB of archives. After this operation, 18.1 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el perl-modules-5.26 all 5.26.1-4 [2761 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libperl5.26 ppc64el 5.26.1-4 [3416 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el perl ppc64el 5.26.1-4 [201 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el perl-base ppc64el 5.26.1-4 [1303 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libc6-dev ppc64el 2.26-0ubuntu4 [2519 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libc-dev-bin ppc64el 2.26-0ubuntu4 [70.6 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el linux-libc-dev ppc64el 4.13.0-32.35 [943 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libitm1 ppc64el 7.3.0-1ubuntu1 [29.7 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gcc-7-base ppc64el 7.3.0-1ubuntu1 [19.3 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgcc1 ppc64el 1:7.3.0-1ubuntu1 [29.7 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgomp1 ppc64el 7.3.0-1ubuntu1 [69.3 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libatomic1 ppc64el 7.3.0-1ubuntu1 [8504 B] Get:13 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libasan4 ppc64el 7.3.0-1ubuntu1 [367 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el liblsan0 ppc64el 7.3.0-1ubuntu1 [134 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libtsan0 ppc64el 7.3.0-1ubuntu1 [287 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libubsan0 ppc64el 7.3.0-1ubuntu1 [136 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libmpc3 ppc64el 1.1.0-1 [40.5 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libmpfr6 ppc64el 4.0.0-7 [230 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el cpp-7 ppc64el 7.3.0-1ubuntu1 [6266 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libcc1-0 ppc64el 7.3.0-1ubuntu1 [39.3 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.30-1ubuntu1 [2004 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libbinutils ppc64el 2.30-1ubuntu1 [469 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el binutils ppc64el 2.30-1ubuntu1 [3384 B] Get:24 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el binutils-common ppc64el 2.30-1ubuntu1 [193 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el g++-7 ppc64el 7.3.0-1ubuntu1 [7112 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gcc-7 ppc64el 7.3.0-1ubuntu1 [6914 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgcc-7-dev ppc64el 7.3.0-1ubuntu1 [984 kB] Get:28 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libstdc++-7-dev ppc64el 7.3.0-1ubuntu1 [1529 kB] Get:29 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libstdc++6 ppc64el 7.3.0-1ubuntu1 [440 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgmp10 ppc64el 2:6.1.2+dfsg-2 [218 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libc6 ppc64el 2.26-0ubuntu4 [2686 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main ppc64el init-system-helpers all 1.51 [37.3 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main ppc64el base-files ppc64el 10ubuntu1 [55.9 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main ppc64el bsdutils ppc64el 1:2.30.2-0.1ubuntu1 [61.8 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el coreutils ppc64el 8.28-1ubuntu1 [1272 kB] Get:36 http://ftpmaster.internal/ubuntu bionic/main ppc64el debianutils ppc64el 4.8.4 [85.8 kB] Get:37 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el dpkg ppc64el 1.19.0.5ubuntu1 [1144 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main ppc64el dash ppc64el 0.5.8-2.9ubuntu1 [118 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main ppc64el e2fslibs ppc64el 1.43.8-2 [173 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main ppc64el e2fsprogs ppc64el 1.43.8-2 [512 kB] Get:41 http://ftpmaster.internal/ubuntu bionic/main ppc64el findutils ppc64el 4.6.0+git+20170828-2 [314 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/main ppc64el hostname ppc64el 3.19 [11.5 kB] Get:43 http://ftpmaster.internal/ubuntu bionic/main ppc64el login ppc64el 1:4.5-1ubuntu1 [308 kB] Get:44 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libncurses5 ppc64el 6.0+20171125-1ubuntu1 [101 kB] Get:45 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libtinfo5 ppc64el 6.0+20171125-1ubuntu1 [91.5 kB] Get:46 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libncursesw5 ppc64el 6.0+20171125-1ubuntu1 [120 kB] Get:47 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el ncurses-bin ppc64el 6.0+20171125-1ubuntu1 [170 kB] Get:48 http://ftpmaster.internal/ubuntu bionic/main ppc64el sed ppc64el 4.4-2 [197 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/main ppc64el libuuid1 ppc64el 2.30.2-0.1ubuntu1 [15.5 kB] Get:50 http://ftpmaster.internal/ubuntu bionic/main ppc64el libblkid1 ppc64el 2.30.2-0.1ubuntu1 [128 kB] Get:51 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsmartcols1 ppc64el 2.30.2-0.1ubuntu1 [84.7 kB] Get:52 http://ftpmaster.internal/ubuntu bionic/main ppc64el libfdisk1 ppc64el 2.30.2-0.1ubuntu1 [160 kB] Get:53 http://ftpmaster.internal/ubuntu bionic/main ppc64el libpcre3 ppc64el 2:8.39-8 [224 kB] Get:54 http://ftpmaster.internal/ubuntu bionic/main ppc64el libselinux1 ppc64el 2.7-2 [78.6 kB] Get:55 http://ftpmaster.internal/ubuntu bionic/main ppc64el libmount1 ppc64el 2.30.2-0.1ubuntu1 [139 kB] Get:56 http://ftpmaster.internal/ubuntu bionic/main ppc64el fdisk ppc64el 2.30.2-0.1ubuntu1 [108 kB] Get:57 http://ftpmaster.internal/ubuntu bionic/main ppc64el util-linux ppc64el 2.30.2-0.1ubuntu1 [881 kB] Get:58 http://ftpmaster.internal/ubuntu bionic/main ppc64el base-passwd ppc64el 3.5.44 [50.1 kB] Get:59 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libc-bin ppc64el 2.26-0ubuntu4 [617 kB] Get:60 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el ncurses-base all 6.0+20171125-1ubuntu1 [17.3 kB] Get:61 http://ftpmaster.internal/ubuntu bionic/main ppc64el sysvinit-utils ppc64el 2.88dsf-59.10ubuntu1 [20.6 kB] Get:62 http://ftpmaster.internal/ubuntu bionic/main ppc64el libudev1 ppc64el 235-3ubuntu3 [60.9 kB] Get:63 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libapt-pkg5.0 ppc64el 1.6~alpha7 [899 kB] Get:64 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsemanage-common all 2.7-2 [6916 B] Get:65 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsemanage1 ppc64el 2.7-2 [85.4 kB] Get:66 http://ftpmaster.internal/ubuntu bionic/main ppc64el passwd ppc64el 1:4.5-1ubuntu1 [801 kB] Get:67 http://ftpmaster.internal/ubuntu bionic/main ppc64el debconf all 1.5.65 [124 kB] Get:68 http://ftpmaster.internal/ubuntu bionic/main ppc64el adduser all 3.116ubuntu1 [163 kB] Get:69 http://ftpmaster.internal/ubuntu bionic/main ppc64el libgpg-error0 ppc64el 1.27-5 [42.1 kB] Get:70 http://ftpmaster.internal/ubuntu bionic/main ppc64el libgcrypt20 ppc64el 1.8.1-4 [448 kB] Get:71 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpgv ppc64el 2.2.4-1ubuntu1 [228 kB] Get:72 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libnettle6 ppc64el 3.4-1 [138 kB] Get:73 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libhogweed4 ppc64el 3.4-1 [136 kB] Get:74 http://ftpmaster.internal/ubuntu bionic/main ppc64el libidn2-0 ppc64el 2.0.4-1 [95.7 kB] Get:75 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libffi6 ppc64el 3.2.1-8 [21.7 kB] Get:76 http://ftpmaster.internal/ubuntu bionic/main ppc64el libp11-kit0 ppc64el 0.23.9-2 [167 kB] Get:77 http://ftpmaster.internal/ubuntu bionic/main ppc64el libtasn1-6 ppc64el 4.13-2 [40.1 kB] Get:78 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgnutls30 ppc64el 3.5.17-1ubuntu1 [630 kB] Get:79 http://ftpmaster.internal/ubuntu bionic/main ppc64el libseccomp2 ppc64el 2.3.1-2.1ubuntu3 [47.2 kB] Get:80 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el apt ppc64el 1.6~alpha7 [1198 kB] Get:81 http://ftpmaster.internal/ubuntu bionic/main ppc64el libapparmor1 ppc64el 2.11.0-2ubuntu19 [30.0 kB] Get:82 http://ftpmaster.internal/ubuntu bionic/main ppc64el libcap2 ppc64el 1:2.25-1.2 [13.5 kB] Get:83 http://ftpmaster.internal/ubuntu bionic/main ppc64el libidn11 ppc64el 1.33-2.1 [46.4 kB] Get:84 http://ftpmaster.internal/ubuntu bionic/main ppc64el libip4tc0 ppc64el 1.6.1-2ubuntu2 [23.6 kB] Get:85 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libkmod2 ppc64el 24-1ubuntu3 [42.7 kB] Get:86 http://ftpmaster.internal/ubuntu bionic/main ppc64el mount ppc64el 2.30.2-0.1ubuntu1 [111 kB] Get:87 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libprocps6 ppc64el 2:3.3.12-3ubuntu1 [32.8 kB] Get:88 http://ftpmaster.internal/ubuntu bionic/main ppc64el lsb-base all 9.20170808ubuntu1 [12.5 kB] Get:89 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el procps ppc64el 2:3.3.12-3ubuntu1 [239 kB] Get:90 http://ftpmaster.internal/ubuntu bionic/main ppc64el systemd ppc64el 235-3ubuntu3 [2961 kB] Get:91 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsystemd0 ppc64el 235-3ubuntu3 [213 kB] Get:92 http://ftpmaster.internal/ubuntu bionic/main ppc64el init ppc64el 1.51 [5868 B] Get:93 http://ftpmaster.internal/ubuntu bionic/main ppc64el systemd-sysv ppc64el 235-3ubuntu3 [13.1 kB] Get:94 http://ftpmaster.internal/ubuntu bionic/main ppc64el libcap-ng0 ppc64el 0.7.7-3.1 [11.6 kB] Get:95 http://ftpmaster.internal/ubuntu bionic/main ppc64el libcomerr2 ppc64el 1.43.8-2 [11.5 kB] Get:96 http://ftpmaster.internal/ubuntu bionic/main ppc64el libss2 ppc64el 1.43.8-2 [11.4 kB] Get:97 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el multiarch-support ppc64el 2.26-0ubuntu4 [6912 B] Get:98 http://ftpmaster.internal/ubuntu bionic/main ppc64el sensible-utils all 0.0.11 [14.8 kB] Get:99 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gnupg-l10n all 2.2.4-1ubuntu1 [48.6 kB] Get:100 http://ftpmaster.internal/ubuntu bionic/main ppc64el libassuan0 ppc64el 2.5.1-1 [33.9 kB] Get:101 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el readline-common all 7.0-3 [52.9 kB] Get:102 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libreadline7 ppc64el 7.0-3 [126 kB] Get:103 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gnupg ppc64el 2.2.4-1ubuntu1 [249 kB] Get:104 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gnupg-agent all 2.2.4-1ubuntu1 [4544 B] Get:105 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpgconf ppc64el 2.2.4-1ubuntu1 [143 kB] Get:106 http://ftpmaster.internal/ubuntu bionic/main ppc64el pinentry-curses ppc64el 1.0.0-3 [37.5 kB] Get:107 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnpth0 ppc64el 1.5-3 [7780 B] Get:108 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpg-agent ppc64el 2.2.4-1ubuntu1 [261 kB] Get:109 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gnupg-utils ppc64el 2.2.4-1ubuntu1 [146 kB] Get:110 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libsqlite3-0 ppc64el 3.22.0-1 [468 kB] Get:111 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpg ppc64el 2.2.4-1ubuntu1 [526 kB] Get:112 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpg-wks-client ppc64el 2.2.4-1ubuntu1 [112 kB] Get:113 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el gpg-wks-server ppc64el 2.2.4-1ubuntu1 [104 kB] Get:114 http://ftpmaster.internal/ubuntu bionic-proposed/universe ppc64el gpgsm ppc64el 2.2.4-1ubuntu1 [246 kB] Get:115 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el dirmngr ppc64el 2.2.4-1ubuntu1 [364 kB] Get:116 http://ftpmaster.internal/ubuntu bionic/main ppc64el libdevmapper1.02.1 ppc64el 2:1.02.145-4.1ubuntu2 [145 kB] Get:117 http://ftpmaster.internal/ubuntu bionic/main ppc64el dmsetup ppc64el 2:1.02.145-4.1ubuntu2 [77.9 kB] Get:118 http://ftpmaster.internal/ubuntu bionic/main ppc64el libroken18-heimdal ppc64el 7.5.0+dfsg-1 [42.2 kB] Get:119 http://ftpmaster.internal/ubuntu bionic/main ppc64el libasn1-8-heimdal ppc64el 7.5.0+dfsg-1 [140 kB] Get:120 http://ftpmaster.internal/ubuntu bionic/main ppc64el libheimbase1-heimdal ppc64el 7.5.0+dfsg-1 [30.5 kB] Get:121 http://ftpmaster.internal/ubuntu bionic/main ppc64el libhcrypto4-heimdal ppc64el 7.5.0+dfsg-1 [100 kB] Get:122 http://ftpmaster.internal/ubuntu bionic/main ppc64el libwind0-heimdal ppc64el 7.5.0+dfsg-1 [48.0 kB] Get:123 http://ftpmaster.internal/ubuntu bionic/main ppc64el libhx509-5-heimdal ppc64el 7.5.0+dfsg-1 [108 kB] Get:124 http://ftpmaster.internal/ubuntu bionic/main ppc64el libkrb5-26-heimdal ppc64el 7.5.0+dfsg-1 [216 kB] Get:125 http://ftpmaster.internal/ubuntu bionic/main ppc64el libheimntlm0-heimdal ppc64el 7.5.0+dfsg-1 [16.4 kB] Get:126 http://ftpmaster.internal/ubuntu bionic/main ppc64el libgssapi3-heimdal ppc64el 7.5.0+dfsg-1 [92.6 kB] Get:127 http://ftpmaster.internal/ubuntu bionic/main ppc64el libslang2 ppc64el 2.3.1a-1ubuntu1 [384 kB] Get:128 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libssl1.0.0 ppc64el 1.0.2n-1ubuntu1 [885 kB] Get:129 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el openssl ppc64el 1.0.2n-1ubuntu1 [523 kB] Get:130 http://ftpmaster.internal/ubuntu bionic/main ppc64el tzdata all 2018c-1 [188 kB] Get:131 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libgssapi-krb5-2 ppc64el 1.16-2 [123 kB] Get:132 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libkrb5-3 ppc64el 1.16-2 [309 kB] Get:133 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libk5crypto3 ppc64el 1.16-2 [106 kB] Get:134 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libkrb5support0 ppc64el 1.16-2 [32.4 kB] Get:135 http://ftpmaster.internal/ubuntu bionic/main ppc64el libkeyutils1 ppc64el 1.5.9-9.2ubuntu1 [9736 B] Get:136 http://ftpmaster.internal/ubuntu bionic/main ppc64el libpng16-16 ppc64el 1.6.34-1 [200 kB] Get:137 http://ftpmaster.internal/ubuntu bionic-proposed/universe ppc64el apt-transport-https all 1.6~alpha7 [1692 B] Get:138 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el dpkg-dev all 1.19.0.5ubuntu1 [607 kB] Get:139 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libdpkg-perl all 1.19.0.5ubuntu1 [211 kB] Get:140 http://ftpmaster.internal/ubuntu bionic/main ppc64el build-essential ppc64el 12.4ubuntu1 [4754 B] Get:141 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libfakeroot ppc64el 1.22-2ubuntu1 [23.7 kB] Get:142 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el fakeroot ppc64el 1.22-2ubuntu1 [65.2 kB] Get:143 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnghttp2-14 ppc64el 1.29.0-1 [84.6 kB] Get:144 http://ftpmaster.internal/ubuntu bionic/main ppc64el libpsl5 ppc64el 0.19.1-4 [43.0 kB] Get:145 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libcurl3-gnutls ppc64el 7.58.0-2ubuntu1 [217 kB] Get:146 http://ftpmaster.internal/ubuntu bionic/main ppc64el liblockfile-bin ppc64el 1.14-1.1 [12.0 kB] Get:147 http://ftpmaster.internal/ubuntu bionic/main ppc64el liblockfile1 ppc64el 1.14-1.1 [6988 B] Get:148 http://ftpmaster.internal/ubuntu bionic/main ppc64el optipng ppc64el 0.7.6-1.1 [86.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 65.9 MB in 3s (16.9 MB/s) (Reading database ... 12537 files and directories currently installed.) Preparing to unpack .../perl_5.26.1-4_ppc64el.deb ... Unpacking perl (5.26.1-4) over (5.26.0-8ubuntu1) ... Preparing to unpack .../perl-modules-5.26_5.26.1-4_all.deb ... Unpacking perl-modules-5.26 (5.26.1-4) over (5.26.0-8ubuntu1) ... Preparing to unpack .../libperl5.26_5.26.1-4_ppc64el.deb ... Unpacking libperl5.26:ppc64el (5.26.1-4) over (5.26.0-8ubuntu1) ... Preparing to unpack .../perl-base_5.26.1-4_ppc64el.deb ... Unpacking perl-base (5.26.1-4) over (5.26.0-8ubuntu1) ... Setting up perl-base (5.26.1-4) ... (Reading database ... 12537 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.26-0ubuntu4_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Preparing to unpack .../libc-dev-bin_2.26-0ubuntu4_ppc64el.deb ... Unpacking libc-dev-bin (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Preparing to unpack .../linux-libc-dev_4.13.0-32.35_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (4.13.0-32.35) over (4.13.0-11.12) ... Preparing to unpack .../libitm1_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../gcc-7-base_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking gcc-7-base:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Setting up gcc-7-base:ppc64el (7.3.0-1ubuntu1) ... (Reading database ... 12537 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libgcc1:ppc64el (1:7.3.0-1ubuntu1) over (1:7.2.0-6ubuntu1) ... Setting up libgcc1:ppc64el (1:7.3.0-1ubuntu1) ... (Reading database ... 12537 files and directories currently installed.) Preparing to unpack .../00-libgomp1_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../01-libatomic1_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../02-libasan4_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libasan4:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Selecting previously unselected package liblsan0:ppc64el. Preparing to unpack .../03-liblsan0_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (7.3.0-1ubuntu1) ... Selecting previously unselected package libtsan0:ppc64el. Preparing to unpack .../04-libtsan0_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libtsan0:ppc64el (7.3.0-1ubuntu1) ... Preparing to unpack .../05-libubsan0_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libubsan0:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../06-libmpc3_1.1.0-1_ppc64el.deb ... Unpacking libmpc3:ppc64el (1.1.0-1) over (1.0.3-2) ... Selecting previously unselected package libmpfr6:ppc64el. Preparing to unpack .../07-libmpfr6_4.0.0-7_ppc64el.deb ... Unpacking libmpfr6:ppc64el (4.0.0-7) ... Preparing to unpack .../08-cpp-7_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking cpp-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../09-libcc1-0_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../10-binutils-powerpc64le-linux-gnu_2.30-1ubuntu1_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../11-libbinutils_2.30-1ubuntu1_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../12-binutils_2.30-1ubuntu1_ppc64el.deb ... Unpacking binutils (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../13-binutils-common_2.30-1ubuntu1_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../14-g++-7_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking g++-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../15-gcc-7_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking gcc-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../16-libgcc-7-dev_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libgcc-7-dev:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../17-libstdc++-7-dev_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libstdc++-7-dev:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../18-libstdc++6_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Setting up libstdc++6:ppc64el (7.3.0-1ubuntu1) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-2_ppc64el.deb ... Unpacking libgmp10:ppc64el (2:6.1.2+dfsg-2) over (2:6.1.2+dfsg-1) ... Setting up libgmp10:ppc64el (2:6.1.2+dfsg-2) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../libc6_2.26-0ubuntu4_ppc64el.deb ... Unpacking libc6:ppc64el (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up libc6:ppc64el (2.26-0ubuntu4) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.51_all.deb ... Unpacking init-system-helpers (1.51) over (1.49ubuntu1) ... Setting up init-system-helpers (1.51) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../base-files_10ubuntu1_ppc64el.deb ... Unpacking base-files (10ubuntu1) over (9.6ubuntu101) ... Setting up base-files (10ubuntu1) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking bsdutils (1:2.30.2-0.1ubuntu1) over (1:2.30.1-0ubuntu4) ... Setting up bsdutils (1:2.30.2-0.1ubuntu1) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../coreutils_8.28-1ubuntu1_ppc64el.deb ... Unpacking coreutils (8.28-1ubuntu1) over (8.26-3ubuntu3) ... Setting up coreutils (8.28-1ubuntu1) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../debianutils_4.8.4_ppc64el.deb ... Unpacking debianutils (4.8.4) over (4.8.2) ... Setting up debianutils (4.8.4) ... (Reading database ... 12635 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5ubuntu1_ppc64el.deb ... Unpacking dpkg (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Setting up dpkg (1.19.0.5ubuntu1) ... Installing new version of config file /etc/alternatives/README ... Installing new version of config file /etc/cron.daily/dpkg ... Installing new version of config file /etc/logrotate.d/dpkg ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../dash_0.5.8-2.9ubuntu1_ppc64el.deb ... Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Unpacking dash (0.5.8-2.9ubuntu1) over (0.5.8-2.3ubuntu1) ... Setting up dash (0.5.8-2.9ubuntu1) ... Removing 'diversion of /bin/sh to /bin/sh.distrib by bash' Adding 'diversion of /bin/sh to /bin/sh.distrib by dash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../e2fslibs_1.43.8-2_ppc64el.deb ... Unpacking e2fslibs:ppc64el (1.43.8-2) over (1.43.5-1) ... Setting up e2fslibs:ppc64el (1.43.8-2) ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.43.8-2_ppc64el.deb ... Unpacking e2fsprogs (1.43.8-2) over (1.43.5-1) ... Setting up e2fsprogs (1.43.8-2) ... Installing new version of config file /etc/mke2fs.conf ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20170828-2_ppc64el.deb ... Unpacking findutils (4.6.0+git+20170828-2) over (4.6.0+git+20170729-2) ... Setting up findutils (4.6.0+git+20170828-2) ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../hostname_3.19_ppc64el.deb ... Unpacking hostname (3.19) over (3.18) ... Setting up hostname (3.19) ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../login_1%3a4.5-1ubuntu1_ppc64el.deb ... Unpacking login (1:4.5-1ubuntu1) over (1:4.2-3.2ubuntu4) ... Setting up login (1:4.5-1ubuntu1) ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/pam.d/login ... Installing new version of config file /etc/securetty ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../libncurses5_6.0+20171125-1ubuntu1_ppc64el.deb ... Unpacking libncurses5:ppc64el (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.0+20171125-1ubuntu1_ppc64el.deb ... Unpacking libtinfo5:ppc64el (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up libtinfo5:ppc64el (6.0+20171125-1ubuntu1) ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.0+20171125-1ubuntu1_ppc64el.deb ... Unpacking libncursesw5:ppc64el (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up libncursesw5:ppc64el (6.0+20171125-1ubuntu1) ... (Reading database ... 12637 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.0+20171125-1ubuntu1_ppc64el.deb ... Unpacking ncurses-bin (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up ncurses-bin (6.0+20171125-1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../archives/sed_4.4-2_ppc64el.deb ... Unpacking sed (4.4-2) over (4.4-1) ... Setting up sed (4.4-2) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libuuid1_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking libuuid1:ppc64el (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libuuid1:ppc64el (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libblkid1_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking libblkid1:ppc64el (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libblkid1:ppc64el (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking libsmartcols1:ppc64el (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libsmartcols1:ppc64el (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking libfdisk1:ppc64el (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libfdisk1:ppc64el (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-8_ppc64el.deb ... Unpacking libpcre3:ppc64el (2:8.39-8) over (2:8.39-4) ... Setting up libpcre3:ppc64el (2:8.39-8) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libselinux1_2.7-2_ppc64el.deb ... Unpacking libselinux1:ppc64el (2.7-2) over (2.7-1) ... Setting up libselinux1:ppc64el (2.7-2) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../libmount1_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking libmount1:ppc64el (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libmount1:ppc64el (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../fdisk_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking fdisk (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up fdisk (2.30.2-0.1ubuntu1) ... (Reading database ... 12639 files and directories currently installed.) Preparing to unpack .../util-linux_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking util-linux (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up util-linux (2.30.2-0.1ubuntu1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.44_ppc64el.deb ... Unpacking base-passwd (3.5.44) over (3.5.43) ... Setting up base-passwd (3.5.44) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libc-bin_2.26-0ubuntu4_ppc64el.deb ... Unpacking libc-bin (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up libc-bin (2.26-0ubuntu4) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.0+20171125-1ubuntu1_all.deb ... Unpacking ncurses-base (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up ncurses-base (6.0+20171125-1ubuntu1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.88dsf-59.10ubuntu1_ppc64el.deb ... Unpacking sysvinit-utils (2.88dsf-59.10ubuntu1) over (2.88dsf-59.8git1) ... Setting up sysvinit-utils (2.88dsf-59.10ubuntu1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libudev1_235-3ubuntu3_ppc64el.deb ... Unpacking libudev1:ppc64el (235-3ubuntu3) over (234-2ubuntu10) ... Setting up libudev1:ppc64el (235-3ubuntu3) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.6~alpha7_ppc64el.deb ... Unpacking libapt-pkg5.0:ppc64el (1.6~alpha7) over (1.5~rc4) ... Setting up libapt-pkg5.0:ppc64el (1.6~alpha7) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.7-2_all.deb ... Unpacking libsemanage-common (2.7-2) over (2.7-1) ... Setting up libsemanage-common (2.7-2) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.7-2_ppc64el.deb ... Unpacking libsemanage1:ppc64el (2.7-2) over (2.7-1) ... Setting up libsemanage1:ppc64el (2.7-2) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.5-1ubuntu1_ppc64el.deb ... Unpacking passwd (1:4.5-1ubuntu1) over (1:4.2-3.2ubuntu4) ... Setting up passwd (1:4.5-1ubuntu1) ... (Reading database ... 12648 files and directories currently installed.) Preparing to unpack .../debconf_1.5.65_all.deb ... Unpacking debconf (1.5.65) over (1.5.63) ... Setting up debconf (1.5.65) ... (Reading database ... 12642 files and directories currently installed.) Preparing to unpack .../adduser_3.116ubuntu1_all.deb ... Unpacking adduser (3.116ubuntu1) over (3.113+nmu3ubuntu5) ... Setting up adduser (3.116ubuntu1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.27-5_ppc64el.deb ... Unpacking libgpg-error0:ppc64el (1.27-5) over (1.27-3) ... Setting up libgpg-error0:ppc64el (1.27-5) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.1-4_ppc64el.deb ... Unpacking libgcrypt20:ppc64el (1.8.1-4) over (1.7.8-2ubuntu1) ... Setting up libgcrypt20:ppc64el (1.8.1-4) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpgv (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... Setting up gpgv (2.2.4-1ubuntu1) ... (Reading database ... 12640 files and directories currently installed.) Preparing to unpack .../libnettle6_3.4-1_ppc64el.deb ... Unpacking libnettle6:ppc64el (3.4-1) over (3.3-1) ... Setting up libnettle6:ppc64el (3.4-1) ... (Reading database ... 12642 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.4-1_ppc64el.deb ... Unpacking libhogweed4:ppc64el (3.4-1) over (3.3-1) ... Setting up libhogweed4:ppc64el (3.4-1) ... (Reading database ... 12642 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.0.4-1_ppc64el.deb ... Unpacking libidn2-0:ppc64el (2.0.4-1) over (2.0.2-5) ... Setting up libidn2-0:ppc64el (2.0.4-1) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libffi6_3.2.1-8_ppc64el.deb ... Unpacking libffi6:ppc64el (3.2.1-8) over (3.2.1-6) ... Setting up libffi6:ppc64el (3.2.1-8) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.9-2_ppc64el.deb ... Unpacking libp11-kit0:ppc64el (0.23.9-2) over (0.23.7-3) ... Setting up libp11-kit0:ppc64el (0.23.9-2) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.13-2_ppc64el.deb ... Unpacking libtasn1-6:ppc64el (4.13-2) over (4.12-2.1) ... Setting up libtasn1-6:ppc64el (4.13-2) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.17-1ubuntu1_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.5.17-1ubuntu1) over (3.5.8-6ubuntu3) ... Setting up libgnutls30:ppc64el (3.5.17-1ubuntu1) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.3.1-2.1ubuntu3_ppc64el.deb ... Unpacking libseccomp2:ppc64el (2.3.1-2.1ubuntu3) over (2.3.1-2.1ubuntu2) ... Setting up libseccomp2:ppc64el (2.3.1-2.1ubuntu3) ... (Reading database ... 12643 files and directories currently installed.) Preparing to unpack .../apt_1.6~alpha7_ppc64el.deb ... Unpacking apt (1.6~alpha7) over (1.5~rc4) ... Setting up apt (1.6~alpha7) ... Installing new version of config file /etc/cron.daily/apt-compat ... (Reading database ... 12646 files and directories currently installed.) Preparing to unpack .../00-libapparmor1_2.11.0-2ubuntu19_ppc64el.deb ... Unpacking libapparmor1:ppc64el (2.11.0-2ubuntu19) over (2.11.0-2ubuntu17) ... Preparing to unpack .../01-libcap2_1%3a2.25-1.2_ppc64el.deb ... Unpacking libcap2:ppc64el (1:2.25-1.2) over (1:2.25-1) ... Preparing to unpack .../02-libidn11_1.33-2.1_ppc64el.deb ... Unpacking libidn11:ppc64el (1.33-2.1) over (1.33-2) ... Preparing to unpack .../03-libip4tc0_1.6.1-2ubuntu2_ppc64el.deb ... Unpacking libip4tc0:ppc64el (1.6.1-2ubuntu2) over (1.6.1-2ubuntu1) ... Preparing to unpack .../04-libkmod2_24-1ubuntu3_ppc64el.deb ... Unpacking libkmod2:ppc64el (24-1ubuntu3) over (24-1ubuntu2) ... Preparing to unpack .../05-mount_2.30.2-0.1ubuntu1_ppc64el.deb ... Unpacking mount (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Preparing to unpack .../06-libprocps6_2%3a3.3.12-3ubuntu1_ppc64el.deb ... Unpacking libprocps6:ppc64el (2:3.3.12-3ubuntu1) over (2:3.3.12-1ubuntu2) ... Preparing to unpack .../07-lsb-base_9.20170808ubuntu1_all.deb ... Unpacking lsb-base (9.20170808ubuntu1) over (9.20160110ubuntu5) ... Preparing to unpack .../08-procps_2%3a3.3.12-3ubuntu1_ppc64el.deb ... Unpacking procps (2:3.3.12-3ubuntu1) over (2:3.3.12-1ubuntu2) ... Preparing to unpack .../09-systemd_235-3ubuntu3_ppc64el.deb ... Unpacking systemd (235-3ubuntu3) over (234-2ubuntu10) ... Preparing to unpack .../10-libsystemd0_235-3ubuntu3_ppc64el.deb ... Unpacking libsystemd0:ppc64el (235-3ubuntu3) over (234-2ubuntu10) ... Setting up libsystemd0:ppc64el (235-3ubuntu3) ... (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../archives/init_1.51_ppc64el.deb ... Unpacking init (1.51) over (1.49ubuntu1) ... Setting up libapparmor1:ppc64el (2.11.0-2ubuntu19) ... Setting up libcap2:ppc64el (1:2.25-1.2) ... Setting up libidn11:ppc64el (1.33-2.1) ... Setting up libip4tc0:ppc64el (1.6.1-2ubuntu2) ... Setting up libkmod2:ppc64el (24-1ubuntu3) ... Setting up mount (2.30.2-0.1ubuntu1) ... Setting up libncurses5:ppc64el (6.0+20171125-1ubuntu1) ... Setting up libprocps6:ppc64el (2:3.3.12-3ubuntu1) ... Setting up lsb-base (9.20170808ubuntu1) ... Setting up procps (2:3.3.12-3ubuntu1) ... Setting up systemd (235-3ubuntu3) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/system.conf ... Removing empty /etc/rc.local Removed /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service. Removing user `systemd-bus-proxy' ... Warning: group `systemd-bus-proxy' has no more members. Done. (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../systemd-sysv_235-3ubuntu3_ppc64el.deb ... Unpacking systemd-sysv (235-3ubuntu3) over (234-2ubuntu10) ... Preparing to unpack .../libcap-ng0_0.7.7-3.1_ppc64el.deb ... Unpacking libcap-ng0:ppc64el (0.7.7-3.1) over (0.7.7-3build1) ... Setting up libcap-ng0:ppc64el (0.7.7-3.1) ... (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../libcomerr2_1.43.8-2_ppc64el.deb ... Unpacking libcomerr2:ppc64el (1.43.8-2) over (1.43.5-1) ... Setting up libcomerr2:ppc64el (1.43.8-2) ... (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../libss2_1.43.8-2_ppc64el.deb ... Unpacking libss2:ppc64el (1.43.8-2) over (1.43.5-1) ... Setting up libss2:ppc64el (1.43.8-2) ... (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../multiarch-support_2.26-0ubuntu4_ppc64el.deb ... Unpacking multiarch-support (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up multiarch-support (2.26-0ubuntu4) ... (Reading database ... 12651 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.11_all.deb ... Unpacking sensible-utils (0.0.11) over (0.0.10) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../01-gnupg-l10n_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg-l10n (2.2.4-1ubuntu1) ... Preparing to unpack .../02-libassuan0_2.5.1-1_ppc64el.deb ... Unpacking libassuan0:ppc64el (2.5.1-1) over (2.4.3-3) ... Preparing to unpack .../03-readline-common_7.0-3_all.deb ... Unpacking readline-common (7.0-3) over (7.0-0ubuntu2) ... Preparing to unpack .../04-libreadline7_7.0-3_ppc64el.deb ... Unpacking libreadline7:ppc64el (7.0-3) over (7.0-0ubuntu2) ... Preparing to unpack .../05-gnupg_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gnupg (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... Preparing to unpack .../06-gnupg-agent_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg-agent (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... dpkg: warning: unable to delete old directory '/etc/X11/Xsession.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/X11': Directory not empty Selecting previously unselected package gpgconf. Preparing to unpack .../07-gpgconf_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpgconf (2.2.4-1ubuntu1) ... Preparing to unpack .../08-pinentry-curses_1.0.0-3_ppc64el.deb ... Unpacking pinentry-curses (1.0.0-3) over (1.0.0-2) ... Preparing to unpack .../09-libnpth0_1.5-3_ppc64el.deb ... Unpacking libnpth0:ppc64el (1.5-3) over (1.5-2) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../10-gpg-agent_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../11-gnupg-utils_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gnupg-utils (2.2.4-1ubuntu1) ... Preparing to unpack .../12-libsqlite3-0_3.22.0-1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.22.0-1) over (3.19.3-3) ... Selecting previously unselected package gpg. Preparing to unpack .../13-gpg_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpg (2.2.4-1ubuntu1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../14-gpg-wks-client_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpg-wks-client (2.2.4-1ubuntu1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../15-gpg-wks-server_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpg-wks-server (2.2.4-1ubuntu1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../16-gpgsm_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking gpgsm (2.2.4-1ubuntu1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../17-dirmngr_2.2.4-1ubuntu1_ppc64el.deb ... Unpacking dirmngr (2.2.4-1ubuntu1) ... Preparing to unpack .../18-libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu2_ppc64el.deb ... Unpacking libdevmapper1.02.1:ppc64el (2:1.02.145-4.1ubuntu2) over (2:1.02.137-2ubuntu3) ... Preparing to unpack .../19-dmsetup_2%3a1.02.145-4.1ubuntu2_ppc64el.deb ... Unpacking dmsetup (2:1.02.145-4.1ubuntu2) over (2:1.02.137-2ubuntu3) ... Preparing to unpack .../20-libroken18-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libroken18-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../21-libasn1-8-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libasn1-8-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../22-libheimbase1-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libheimbase1-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../23-libhcrypto4-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libhcrypto4-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../24-libwind0-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libwind0-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../25-libhx509-5-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libhx509-5-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../26-libkrb5-26-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libkrb5-26-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../27-libheimntlm0-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libheimntlm0-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../28-libgssapi3-heimdal_7.5.0+dfsg-1_ppc64el.deb ... Unpacking libgssapi3-heimdal:ppc64el (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../29-libslang2_2.3.1a-1ubuntu1_ppc64el.deb ... Unpacking libslang2:ppc64el (2.3.1a-1ubuntu1) over (2.3.1-5ubuntu1) ... Preparing to unpack .../30-libssl1.0.0_1.0.2n-1ubuntu1_ppc64el.deb ... Unpacking libssl1.0.0:ppc64el (1.0.2n-1ubuntu1) over (1.0.2g-1ubuntu13) ... Preparing to unpack .../31-openssl_1.0.2n-1ubuntu1_ppc64el.deb ... Unpacking openssl (1.0.2n-1ubuntu1) over (1.0.2g-1ubuntu13) ... Preparing to unpack .../32-tzdata_2018c-1_all.deb ... Unpacking tzdata (2018c-1) over (2017b-2) ... Preparing to unpack .../33-libgssapi-krb5-2_1.16-2_ppc64el.deb ... Unpacking libgssapi-krb5-2:ppc64el (1.16-2) over (1.15.1-2) ... Preparing to unpack .../34-libkrb5-3_1.16-2_ppc64el.deb ... Unpacking libkrb5-3:ppc64el (1.16-2) over (1.15.1-2) ... Preparing to unpack .../35-libk5crypto3_1.16-2_ppc64el.deb ... Unpacking libk5crypto3:ppc64el (1.16-2) over (1.15.1-2) ... Preparing to unpack .../36-libkrb5support0_1.16-2_ppc64el.deb ... Unpacking libkrb5support0:ppc64el (1.16-2) over (1.15.1-2) ... Preparing to unpack .../37-libkeyutils1_1.5.9-9.2ubuntu1_ppc64el.deb ... Unpacking libkeyutils1:ppc64el (1.5.9-9.2ubuntu1) over (1.5.9-9ubuntu1) ... Preparing to unpack .../38-libpng16-16_1.6.34-1_ppc64el.deb ... Unpacking libpng16-16:ppc64el (1.6.34-1) over (1.6.32-2) ... Preparing to unpack .../39-apt-transport-https_1.6~alpha7_all.deb ... Unpacking apt-transport-https (1.6~alpha7) over (1.5~rc4) ... Preparing to unpack .../40-dpkg-dev_1.19.0.5ubuntu1_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../41-libdpkg-perl_1.19.0.5ubuntu1_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../42-build-essential_12.4ubuntu1_ppc64el.deb ... Unpacking build-essential (12.4ubuntu1) over (12.1ubuntu2) ... Preparing to unpack .../43-libfakeroot_1.22-2ubuntu1_ppc64el.deb ... Unpacking libfakeroot:ppc64el (1.22-2ubuntu1) over (1.21-1ubuntu2) ... Preparing to unpack .../44-fakeroot_1.22-2ubuntu1_ppc64el.deb ... Unpacking fakeroot (1.22-2ubuntu1) over (1.21-1ubuntu2) ... Selecting previously unselected package libnghttp2-14:ppc64el. Preparing to unpack .../45-libnghttp2-14_1.29.0-1_ppc64el.deb ... Unpacking libnghttp2-14:ppc64el (1.29.0-1) ... Preparing to unpack .../46-libpsl5_0.19.1-4_ppc64el.deb ... Unpacking libpsl5:ppc64el (0.19.1-4) over (0.18.0-2) ... Preparing to unpack .../47-libcurl3-gnutls_7.58.0-2ubuntu1_ppc64el.deb ... Unpacking libcurl3-gnutls:ppc64el (7.58.0-2ubuntu1) over (7.55.1-1ubuntu1) ... Preparing to unpack .../48-liblockfile-bin_1.14-1.1_ppc64el.deb ... Unpacking liblockfile-bin (1.14-1.1) over (1.14-1) ... Preparing to unpack .../49-liblockfile1_1.14-1.1_ppc64el.deb ... Unpacking liblockfile1:ppc64el (1.14-1.1) over (1.14-1) ... Preparing to unpack .../50-optipng_0.7.6-1.1_ppc64el.deb ... Unpacking optipng (0.7.6-1.1) over (0.7.6-1build1) ... Setting up libnpth0:ppc64el (1.5-3) ... Setting up libgomp1:ppc64el (7.3.0-1ubuntu1) ... Setting up libatomic1:ppc64el (7.3.0-1ubuntu1) ... Setting up readline-common (7.0-3) ... Setting up liblockfile-bin (1.14-1.1) ... Setting up libcc1-0:ppc64el (7.3.0-1ubuntu1) ... Setting up apt-transport-https (1.6~alpha7) ... Setting up libssl1.0.0:ppc64el (1.0.2n-1ubuntu1) ... Setting up libnghttp2-14:ppc64el (1.29.0-1) ... Setting up libasan4:ppc64el (7.3.0-1ubuntu1) ... Setting up libpng16-16:ppc64el (1.6.34-1) ... Setting up libreadline7:ppc64el (7.0-3) ... Setting up libpsl5:ppc64el (0.19.1-4) ... Setting up tzdata (2018c-1) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Jan 31 08:41:06 UTC 2018. Universal Time is now: Wed Jan 31 08:41:06 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (235-3ubuntu3) ... Setting up libubsan0:ppc64el (7.3.0-1ubuntu1) ... Setting up libtsan0:ppc64el (7.3.0-1ubuntu1) ... Setting up liblockfile1:ppc64el (1.14-1.1) ... Setting up linux-libc-dev:ppc64el (4.13.0-32.35) ... Setting up libmpfr6:ppc64el (4.0.0-7) ... Setting up libroken18-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up libdevmapper1.02.1:ppc64el (2:1.02.145-4.1ubuntu2) ... Setting up perl-modules-5.26 (5.26.1-4) ... Setting up libkrb5support0:ppc64el (1.16-2) ... Setting up optipng (0.7.6-1.1) ... Setting up gnupg-l10n (2.2.4-1ubuntu1) ... Setting up liblsan0:ppc64el (7.3.0-1ubuntu1) ... Setting up binutils-common:ppc64el (2.30-1ubuntu1) ... Setting up sensible-utils (0.0.11) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... Setting up libperl5.26:ppc64el (5.26.1-4) ... Setting up libheimbase1-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up libfakeroot:ppc64el (1.22-2ubuntu1) ... Setting up libsqlite3-0:ppc64el (3.22.0-1) ... Setting up dmsetup (2:1.02.145-4.1ubuntu2) ... Setting up libmpc3:ppc64el (1.1.0-1) ... Setting up libc-dev-bin (2.26-0ubuntu4) ... Setting up libkeyutils1:ppc64el (1.5.9-9.2ubuntu1) ... Setting up libc6-dev:ppc64el (2.26-0ubuntu4) ... Setting up libslang2:ppc64el (2.3.1a-1ubuntu1) ... Setting up libassuan0:ppc64el (2.5.1-1) ... Setting up libitm1:ppc64el (7.3.0-1ubuntu1) ... Setting up libk5crypto3:ppc64el (1.16-2) ... Setting up libwind0-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up libbinutils:ppc64el (2.30-1ubuntu1) ... Setting up init (1.51) ... Setting up libasn1-8-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up gpgconf (2.2.4-1ubuntu1) ... Setting up binutils-powerpc64le-linux-gnu (2.30-1ubuntu1) ... Setting up libhcrypto4-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up fakeroot (1.22-2ubuntu1) ... Setting up libhx509-5-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up libgcc-7-dev:ppc64el (7.3.0-1ubuntu1) ... Setting up cpp-7 (7.3.0-1ubuntu1) ... Setting up libstdc++-7-dev:ppc64el (7.3.0-1ubuntu1) ... Setting up perl (5.26.1-4) ... Setting up gpgsm (2.2.4-1ubuntu1) ... Setting up openssl (1.0.2n-1ubuntu1) ... Setting up gnupg-utils (2.2.4-1ubuntu1) ... Setting up pinentry-curses (1.0.0-3) ... Setting up libkrb5-3:ppc64el (1.16-2) ... Setting up binutils (2.30-1ubuntu1) ... Setting up libkrb5-26-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up dirmngr (2.2.4-1ubuntu1) ... Setting up libheimntlm0-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up gpg (2.2.4-1ubuntu1) ... Setting up gcc-7 (7.3.0-1ubuntu1) ... Setting up g++-7 (7.3.0-1ubuntu1) ... Setting up libdpkg-perl (1.19.0.5ubuntu1) ... Setting up gpg-agent (2.2.4-1ubuntu1) ... Installing new version of config file /etc/X11/Xsession.d/90gpg-agent ... Setting up gpg-wks-server (2.2.4-1ubuntu1) ... Setting up gpg-wks-client (2.2.4-1ubuntu1) ... Setting up libgssapi-krb5-2:ppc64el (1.16-2) ... Setting up dpkg-dev (1.19.0.5ubuntu1) ... Setting up gnupg-agent (2.2.4-1ubuntu1) ... Setting up libgssapi3-heimdal:ppc64el (7.5.0+dfsg-1) ... Setting up build-essential (12.4ubuntu1) ... Setting up libcurl3-gnutls:ppc64el (7.58.0-2ubuntu1) ... Setting up gnupg (2.2.4-1ubuntu1) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-14253344 ppc64el bionic-proposed -c chroot:build-PACKAGEBUILD-14253344 --arch=ppc64el --dist=bionic-proposed --nolog pocl_1.0-2.dsc Initiating build PACKAGEBUILD-14253344 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-ppc64el-017.buildd +==============================================================================+ | pocl 1.0-2 (ppc64el) 31 Jan 2018 08:41 | +==============================================================================+ Package: pocl Version: 1.0-2 Source Version: 1.0-2 Distribution: bionic-proposed Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el I: NOTICE: Log filtering will replace 'build/pocl-AnhBHm/pocl-1.0' with '<>' I: NOTICE: Log filtering will replace 'build/pocl-AnhBHm' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-14253344/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- pocl_1.0-2.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-143W4W/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-143W4W/apt_archive ./ InRelease Get:2 copy:/<>/resolver-143W4W/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-143W4W/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-143W4W/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-143W4W/apt_archive ./ Packages [529 B] Fetched 2862 B in 0s (119 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: gnupg-agent libcurl3-gnutls libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libmpfr4 libnghttp2-14 libpsl5 librtmp1 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 856 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-143W4W/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 856 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12790 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 11~), pkg-config, libhwloc-dev, libltdl-dev, ocl-icd-dev (>= 2.2.3), ocl-icd-libopencl1 (>= 2.2.3), ocl-icd-opencl-dev, clang-4.0, libclang-4.0-dev, llvm-4.0-dev, pkg-kde-tools, sphinx-common, cmake Filtered Build-Depends: debhelper (>= 11~), pkg-config, libhwloc-dev, libltdl-dev, ocl-icd-dev (>= 2.2.3), ocl-icd-libopencl1 (>= 2.2.3), ocl-icd-opencl-dev, clang-4.0, libclang-4.0-dev, llvm-4.0-dev, pkg-kde-tools, sphinx-common, cmake dpkg-deb: building package 'sbuild-build-depends-pocl-dummy' in '/<>/resolver-u43Zqq/apt_archive/sbuild-build-depends-pocl-dummy.deb'. Ign:1 copy:/<>/resolver-u43Zqq/apt_archive ./ InRelease Get:2 copy:/<>/resolver-u43Zqq/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-u43Zqq/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-u43Zqq/apt_archive ./ Sources [297 B] Get:5 copy:/<>/resolver-u43Zqq/apt_archive ./ Packages [623 B] Fetched 3039 B in 0s (102 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install pocl build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: gnupg-agent libcurl3-gnutls libmpfr4 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev binfmt-support bsdmainutils clang-4.0 cmake cmake-data debhelper dh-autoreconf dh-python dh-strip-nondeterminism diffstat file gettext gettext-base groff-base intltool-debian libapt-pkg-perl libarchive-zip-perl libarchive13 libbsd0 libcgi-pm-perl libclang-4.0-dev libclang-common-4.0-dev libclang1-4.0 libclass-accessor-perl libclone-perl libcroco3 libcurl3 libdigest-hmac-perl libedit2 libemail-valid-perl libexpat1 libexporter-tiny-perl libffi-dev libfile-basedir-perl libfile-stripnondeterminism-perl libfreetype6 libgc1c2 libglib2.0-0 libgraphite2-3 libharfbuzz0b libhtml-parser-perl libhtml-tagset-perl libhwloc-dev libhwloc5 libicu-le-hb0 libicu60 libio-pty-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl libipc-run-perl libipc-system-simple-perl libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp1 liblist-moreutils-perl libllvm4.0 liblocale-gettext-perl libltdl-dev libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmailtools-perl libmpdec2 libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnuma-dev libnuma1 libobjc-7-dev libobjc4 libparse-debianchangelog-perl libpipeline1 libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib librhash0 libsigsegv2 libsocket6-perl libsub-name-perl libtext-levenshtein-perl libtimedate-perl libtinfo-dev libtool liburi-perl libuv1 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-0-2 libyaml-libyaml-perl lintian llvm-4.0 llvm-4.0-dev llvm-4.0-runtime m4 man-db mime-support netbase ocl-icd-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers patchutils perl-openssl-defaults pkg-config pkg-kde-tools po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.6 python3.6-minimal sphinx-common t1utils ucf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation gnustep gnustep-devel clang-4.0-doc libomp-dev ninja-build dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff lrzip libdata-dump-perl libhwloc-contrib-plugins libtool-doc libhtml-template-perl gfortran | fortran95-compiler gcj-jdk libwww-perl binutils-multiarch libtext-template-perl llvm-4.0-doc m4-doc less www-browser apparmor opencl-icd libpoclu-dev cdbs libmail-box-perl python3-doc python3-tk python3-venv python3.6-venv python3.6-doc Recommended packages: python curl | wget | lynx libcgi-fast-perl libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libhttp-message-perl libhwloc-plugins javascript-common libauthen-sasl-perl libxml-sax-expat-perl libperlio-gzip-perl libgl1-mesa-dev | libgl-dev libwww-perl libmail-sendmail-perl python-sphinx | python3-sphinx The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev binfmt-support bsdmainutils clang-4.0 cmake cmake-data debhelper dh-autoreconf dh-python dh-strip-nondeterminism diffstat file gettext gettext-base groff-base intltool-debian libapt-pkg-perl libarchive-zip-perl libarchive13 libbsd0 libcgi-pm-perl libclang-4.0-dev libclang-common-4.0-dev libclang1-4.0 libclass-accessor-perl libclone-perl libcroco3 libcurl3 libdigest-hmac-perl libedit2 libemail-valid-perl libexpat1 libexporter-tiny-perl libffi-dev libfile-basedir-perl libfile-stripnondeterminism-perl libfreetype6 libgc1c2 libglib2.0-0 libgraphite2-3 libharfbuzz0b libhtml-parser-perl libhtml-tagset-perl libhwloc-dev libhwloc5 libicu-le-hb0 libicu60 libio-pty-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl libipc-run-perl libipc-system-simple-perl libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp1 liblist-moreutils-perl libllvm4.0 liblocale-gettext-perl libltdl-dev libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmailtools-perl libmpdec2 libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnuma-dev libnuma1 libobjc-7-dev libobjc4 libparse-debianchangelog-perl libpipeline1 libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib librhash0 libsigsegv2 libsocket6-perl libsub-name-perl libtext-levenshtein-perl libtimedate-perl libtinfo-dev libtool liburi-perl libuv1 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-0-2 libyaml-libyaml-perl lintian llvm-4.0 llvm-4.0-dev llvm-4.0-runtime m4 man-db mime-support netbase ocl-icd-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers patchutils perl-openssl-defaults pkg-config pkg-kde-tools po-debconf python3 python3-distutils python3-lib2to3 python3-minimal python3.6 python3.6-minimal sbuild-build-depends-pocl-dummy sphinx-common t1utils ucf 0 upgraded, 129 newly installed, 1 to remove and 0 not upgraded. Need to get 142 MB of archives. After this operation, 900 MB of additional disk space will be used. Get:1 copy:/<>/resolver-u43Zqq/apt_archive ./ sbuild-build-depends-pocl-dummy 0.invalid.0 [948 B] Get:2 http://ftpmaster.internal/ubuntu bionic/main ppc64el liblocale-gettext-perl ppc64el 1.07-3build2 [16.5 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libpython3.6-minimal ppc64el 3.6.4-3 [532 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main ppc64el libexpat1 ppc64el 2.2.5-3 [89.5 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3.6-minimal ppc64el 3.6.4-3 [1532 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3-minimal ppc64el 3.6.4-1 [23.7 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/main ppc64el mime-support all 3.60ubuntu1 [30.1 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main ppc64el libmpdec2 ppc64el 2.4.2-1 [82.6 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libpython3.6-stdlib ppc64el 3.6.4-3 [1662 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3-lib2to3 all 3.6.4-2 [76.6 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3-distutils all 3.6.4-2 [144 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3.6 ppc64el 3.6.4-3 [181 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libpython3-stdlib ppc64el 3.6.4-1 [7184 B] Get:14 http://ftpmaster.internal/ubuntu bionic/main ppc64el dh-python all 2.20170125 [83.7 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el python3 ppc64el 3.6.4-1 [8768 B] Get:16 http://ftpmaster.internal/ubuntu bionic/main ppc64el groff-base ppc64el 1.22.3-9 [1361 kB] Get:17 http://ftpmaster.internal/ubuntu bionic/main ppc64el libbsd0 ppc64el 0.8.7-1 [49.8 kB] Get:18 http://ftpmaster.internal/ubuntu bionic/main ppc64el bsdmainutils ppc64el 11.1.2ubuntu1 [185 kB] Get:19 http://ftpmaster.internal/ubuntu bionic/main ppc64el libpipeline1 ppc64el 1.5.0-1 [24.7 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main ppc64el man-db ppc64el 2.7.6.1-4 [913 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main ppc64el cmake-data all 3.9.5-1 [1268 kB] Get:22 http://ftpmaster.internal/ubuntu bionic/main ppc64el liblzo2-2 ppc64el 2.08-1.2 [67.2 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libfreetype6 ppc64el 2.8.1-0.1ubuntu2 [386 kB] Get:24 http://ftpmaster.internal/ubuntu bionic/main ppc64el libglib2.0-0 ppc64el 2.54.1-1ubuntu1 [1160 kB] Get:25 http://ftpmaster.internal/ubuntu bionic/main ppc64el libgraphite2-3 ppc64el 1.3.10-8 [67.0 kB] Get:26 http://ftpmaster.internal/ubuntu bionic/main ppc64el libharfbuzz0b ppc64el 1.7.2-1 [237 kB] Get:27 http://ftpmaster.internal/ubuntu bionic/main ppc64el libicu-le-hb0 ppc64el 1.0.3+git161113-4 [17.7 kB] Get:28 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libicu60 ppc64el 60.2-3ubuntu1 [8367 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml2 ppc64el 2.9.4+dfsg1-6.1ubuntu1 [615 kB] Get:30 http://ftpmaster.internal/ubuntu bionic/main ppc64el libarchive13 ppc64el 3.2.2-3.1 [352 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libcurl3 ppc64el 7.58.0-2ubuntu1 [217 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main ppc64el libjsoncpp1 ppc64el 1.7.4-3 [79.0 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main ppc64el librhash0 ppc64el 1.3.4-3 [81.1 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main ppc64el libuv1 ppc64el 1.18.0-3 [63.6 kB] Get:35 http://ftpmaster.internal/ubuntu bionic/main ppc64el cmake ppc64el 3.9.5-1 [3520 kB] Get:36 http://ftpmaster.internal/ubuntu bionic/main ppc64el libmagic-mgc ppc64el 1:5.32-1 [184 kB] Get:37 http://ftpmaster.internal/ubuntu bionic/main ppc64el libmagic1 ppc64el 1:5.32-1 [76.6 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main ppc64el file ppc64el 1:5.32-1 [22.7 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main ppc64el libyaml-0-2 ppc64el 0.1.7-2ubuntu3 [46.3 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main ppc64el netbase all 5.4 [12.7 kB] Get:41 http://ftpmaster.internal/ubuntu bionic/main ppc64el ucf all 3.0036 [52.9 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/main ppc64el gettext-base ppc64el 0.19.8.1-4ubuntu2 [49.7 kB] Get:43 http://ftpmaster.internal/ubuntu bionic/main ppc64el libedit2 ppc64el 3.1-20170329-1 [79.6 kB] Get:44 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnuma1 ppc64el 2.0.11-2.1 [22.3 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsigsegv2 ppc64el 2.11-1 [13.3 kB] Get:46 http://ftpmaster.internal/ubuntu bionic/main ppc64el m4 ppc64el 1.4.18-1 [202 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/main ppc64el autoconf all 2.69-11 [322 kB] Get:48 http://ftpmaster.internal/ubuntu bionic/main ppc64el autotools-dev all 20171216.1 [39.7 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/main ppc64el automake all 1:1.15.1-3ubuntu1 [509 kB] Get:50 http://ftpmaster.internal/ubuntu bionic/main ppc64el autopoint all 0.19.8.1-4ubuntu2 [412 kB] Get:51 http://ftpmaster.internal/ubuntu bionic/main ppc64el binfmt-support ppc64el 2.1.8-1 [58.5 kB] Get:52 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libllvm4.0 ppc64el 1:4.0.1-8 [11.5 MB] Get:53 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libclang1-4.0 ppc64el 1:4.0.1-8 [6257 kB] Get:54 http://ftpmaster.internal/ubuntu bionic/main ppc64el libgc1c2 ppc64el 1:7.4.2-8ubuntu1 [76.8 kB] Get:55 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libobjc4 ppc64el 7.3.0-1ubuntu1 [53.6 kB] Get:56 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libobjc-7-dev ppc64el 7.3.0-1ubuntu1 [216 kB] Get:57 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libclang-common-4.0-dev ppc64el 1:4.0.1-8 [1489 kB] Get:58 http://ftpmaster.internal/ubuntu bionic/universe ppc64el clang-4.0 ppc64el 1:4.0.1-8 [49.5 MB] Get:59 http://ftpmaster.internal/ubuntu bionic/main ppc64el libtool all 2.4.6-2 [194 kB] Get:60 http://ftpmaster.internal/ubuntu bionic/main ppc64el dh-autoreconf all 16 [15.8 kB] Get:61 http://ftpmaster.internal/ubuntu bionic/main ppc64el libarchive-zip-perl all 1.60-1 [83.9 kB] Get:62 http://ftpmaster.internal/ubuntu bionic/main ppc64el libfile-stripnondeterminism-perl all 0.040-1 [13.9 kB] Get:63 http://ftpmaster.internal/ubuntu bionic/main ppc64el libtimedate-perl all 2.3000-2 [37.5 kB] Get:64 http://ftpmaster.internal/ubuntu bionic/main ppc64el dh-strip-nondeterminism all 0.040-1 [5196 B] Get:65 http://ftpmaster.internal/ubuntu bionic/main ppc64el libcroco3 ppc64el 0.6.12-2 [82.5 kB] Get:66 http://ftpmaster.internal/ubuntu bionic/main ppc64el gettext ppc64el 0.19.8.1-4ubuntu2 [1147 kB] Get:67 http://ftpmaster.internal/ubuntu bionic/main ppc64el intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:68 http://ftpmaster.internal/ubuntu bionic/main ppc64el po-debconf all 1.0.20 [232 kB] Get:69 http://ftpmaster.internal/ubuntu bionic/main ppc64el debhelper all 11.1.3ubuntu1 [900 kB] Get:70 http://ftpmaster.internal/ubuntu bionic/main ppc64el diffstat ppc64el 1.61-1build1 [25.0 kB] Get:71 http://ftpmaster.internal/ubuntu bionic/main ppc64el libapt-pkg-perl ppc64el 0.1.33build1 [71.6 kB] Get:72 http://ftpmaster.internal/ubuntu bionic/main ppc64el libhtml-tagset-perl all 3.20-3 [12.1 kB] Get:73 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el liburi-perl all 1.73-1 [77.2 kB] Get:74 http://ftpmaster.internal/ubuntu bionic/main ppc64el libhtml-parser-perl ppc64el 3.72-3build1 [90.9 kB] Get:75 http://ftpmaster.internal/ubuntu bionic/main ppc64el libcgi-pm-perl all 4.38-1 [185 kB] Get:76 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libclang-4.0-dev ppc64el 1:4.0.1-8 [16.6 MB] Get:77 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsub-name-perl ppc64el 0.21-1build1 [11.7 kB] Get:78 http://ftpmaster.internal/ubuntu bionic/main ppc64el libclass-accessor-perl all 0.51-1 [21.2 kB] Get:79 http://ftpmaster.internal/ubuntu bionic/main ppc64el libclone-perl ppc64el 0.39-1 [10.5 kB] Get:80 http://ftpmaster.internal/ubuntu bionic/main ppc64el libdigest-hmac-perl all 1.03+dfsg-1 [12.1 kB] Get:81 http://ftpmaster.internal/ubuntu bionic/main ppc64el perl-openssl-defaults ppc64el 3 [6816 B] Get:82 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libnet-ssleay-perl ppc64el 1.84-1 [271 kB] Get:83 http://ftpmaster.internal/ubuntu bionic/main ppc64el libio-socket-ssl-perl all 2.052-1 [168 kB] Get:84 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnet-smtp-ssl-perl all 1.04-1 [5948 B] Get:85 http://ftpmaster.internal/ubuntu bionic/main ppc64el libmailtools-perl all 2.18-1 [74.0 kB] Get:86 http://ftpmaster.internal/ubuntu bionic/main ppc64el libsocket6-perl ppc64el 0.27-1build2 [22.5 kB] Get:87 http://ftpmaster.internal/ubuntu bionic/main ppc64el libio-socket-inet6-perl all 2.72-2 [13.8 kB] Get:88 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnet-ip-perl all 1.26-1 [31.5 kB] Get:89 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnet-dns-perl all 1.10-2 [335 kB] Get:90 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnet-domain-tld-perl all 1.75-1 [29.1 kB] Get:91 http://ftpmaster.internal/ubuntu bionic/main ppc64el libemail-valid-perl all 1.202-1 [16.3 kB] Get:92 http://ftpmaster.internal/ubuntu bionic/main ppc64el libexporter-tiny-perl all 1.000000-2 [34.6 kB] Get:93 http://ftpmaster.internal/ubuntu bionic/main ppc64el libipc-system-simple-perl all 1.25-3 [22.8 kB] Get:94 http://ftpmaster.internal/ubuntu bionic/main ppc64el libfile-basedir-perl all 0.07-1 [16.9 kB] Get:95 http://ftpmaster.internal/ubuntu bionic/main ppc64el libio-pty-perl ppc64el 1:1.08-1.1build4 [29.7 kB] Get:96 http://ftpmaster.internal/ubuntu bionic/main ppc64el libio-string-perl all 1.08-3 [11.1 kB] Get:97 http://ftpmaster.internal/ubuntu bionic/main ppc64el libipc-run-perl all 0.96-1 [89.9 kB] Get:98 http://ftpmaster.internal/ubuntu bionic/main ppc64el libjs-jquery all 3.2.1-1 [152 kB] Get:99 http://ftpmaster.internal/ubuntu bionic/main ppc64el libjs-underscore all 1.8.3~dfsg-1 [59.9 kB] Get:100 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libjs-sphinxdoc all 1.6.6-2 [85.1 kB] Get:101 http://ftpmaster.internal/ubuntu bionic/main ppc64el liblist-moreutils-perl ppc64el 0.416-1build3 [53.8 kB] Get:102 http://ftpmaster.internal/ubuntu bionic/main ppc64el libltdl7 ppc64el 2.4.6-2 [40.9 kB] Get:103 http://ftpmaster.internal/ubuntu bionic/main ppc64el libltdl-dev ppc64el 2.4.6-2 [169 kB] Get:104 http://ftpmaster.internal/ubuntu bionic/main ppc64el libparse-debianchangelog-perl all 1.2.0-12 [49.5 kB] Get:105 http://ftpmaster.internal/ubuntu bionic/main ppc64el libtext-levenshtein-perl all 0.13-1 [9612 B] Get:106 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libtinfo-dev ppc64el 6.0+20171125-1ubuntu1 [99.4 kB] Get:107 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml-namespacesupport-perl all 1.12-1 [13.2 kB] Get:108 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml-sax-base-perl all 1.09-1 [18.8 kB] Get:109 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml-sax-perl all 0.99+dfsg-2ubuntu1 [64.6 kB] Get:110 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml-libxml-perl ppc64el 2.0128+dfsg-5 [305 kB] Get:111 http://ftpmaster.internal/ubuntu bionic/main ppc64el libxml-simple-perl all 2.24-1 [63.6 kB] Get:112 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libyaml-libyaml-perl ppc64el 0.69+repack-1 [27.3 kB] Get:113 http://ftpmaster.internal/ubuntu bionic/main ppc64el patchutils ppc64el 0.3.4-2 [71.1 kB] Get:114 http://ftpmaster.internal/ubuntu bionic/main ppc64el t1utils ppc64el 1.41-2 [61.8 kB] Get:115 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el lintian all 2.5.71 [830 kB] Get:116 http://ftpmaster.internal/ubuntu bionic/universe ppc64el llvm-4.0-runtime ppc64el 1:4.0.1-8 [664 kB] Get:117 http://ftpmaster.internal/ubuntu bionic/universe ppc64el llvm-4.0 ppc64el 1:4.0.1-8 [3645 kB] Get:118 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el libffi-dev ppc64el 3.2.1-8 [163 kB] Get:119 http://ftpmaster.internal/ubuntu bionic/universe ppc64el llvm-4.0-dev ppc64el 1:4.0.1-8 [18.5 MB] Get:120 http://ftpmaster.internal/ubuntu bionic/main ppc64el pkg-config ppc64el 0.29.1-0ubuntu2 [44.1 kB] Get:121 http://ftpmaster.internal/ubuntu bionic-proposed/main ppc64el sphinx-common all 1.6.6-2 [420 kB] Get:122 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libhwloc5 ppc64el 1.11.9-1 [128 kB] Get:123 http://ftpmaster.internal/ubuntu bionic/main ppc64el libnuma-dev ppc64el 2.0.11-2.1 [35.9 kB] Get:124 http://ftpmaster.internal/ubuntu bionic/universe ppc64el libhwloc-dev ppc64el 1.11.9-1 [198 kB] Get:125 http://ftpmaster.internal/ubuntu bionic/main ppc64el ocl-icd-dev ppc64el 2.2.11-1ubuntu1 [11.0 kB] Get:126 http://ftpmaster.internal/ubuntu bionic/main ppc64el ocl-icd-libopencl1 ppc64el 2.2.11-1ubuntu1 [30.1 kB] Get:127 http://ftpmaster.internal/ubuntu bionic/main ppc64el opencl-c-headers all 2.1-2017.07.18-gf039db6-1 [28.1 kB] Get:128 http://ftpmaster.internal/ubuntu bionic/main ppc64el ocl-icd-opencl-dev ppc64el 2.2.11-1ubuntu1 [2518 B] Get:129 http://ftpmaster.internal/ubuntu bionic/universe ppc64el pkg-kde-tools all 0.15.28ubuntu1 [95.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 142 MB in 6s (22.3 MB/s) (Reading database ... 12790 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 12781 files and directories currently installed.) Preparing to unpack .../00-liblocale-gettext-perl_1.07-3build2_ppc64el.deb ... Unpacking liblocale-gettext-perl (1.07-3build2) ... Selecting previously unselected package libpython3.6-minimal:ppc64el. Preparing to unpack .../01-libpython3.6-minimal_3.6.4-3_ppc64el.deb ... Unpacking libpython3.6-minimal:ppc64el (3.6.4-3) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../02-libexpat1_2.2.5-3_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.2.5-3) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../03-python3.6-minimal_3.6.4-3_ppc64el.deb ... Unpacking python3.6-minimal (3.6.4-3) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../04-python3-minimal_3.6.4-1_ppc64el.deb ... Unpacking python3-minimal (3.6.4-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../05-mime-support_3.60ubuntu1_all.deb ... Unpacking mime-support (3.60ubuntu1) ... Selecting previously unselected package libmpdec2:ppc64el. Preparing to unpack .../06-libmpdec2_2.4.2-1_ppc64el.deb ... Unpacking libmpdec2:ppc64el (2.4.2-1) ... Selecting previously unselected package libpython3.6-stdlib:ppc64el. Preparing to unpack .../07-libpython3.6-stdlib_3.6.4-3_ppc64el.deb ... Unpacking libpython3.6-stdlib:ppc64el (3.6.4-3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../08-python3-lib2to3_3.6.4-2_all.deb ... Unpacking python3-lib2to3 (3.6.4-2) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../09-python3-distutils_3.6.4-2_all.deb ... Unpacking python3-distutils (3.6.4-2) ... Selecting previously unselected package python3.6. Preparing to unpack .../10-python3.6_3.6.4-3_ppc64el.deb ... Unpacking python3.6 (3.6.4-3) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../11-libpython3-stdlib_3.6.4-1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.6.4-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../12-dh-python_2.20170125_all.deb ... Unpacking dh-python (2.20170125) ... Setting up libpython3.6-minimal:ppc64el (3.6.4-3) ... Setting up libexpat1:ppc64el (2.2.5-3) ... Setting up python3.6-minimal (3.6.4-3) ... Setting up python3-minimal (3.6.4-1) ... Selecting previously unselected package python3. (Reading database ... 13793 files and directories currently installed.) Preparing to unpack .../000-python3_3.6.4-1_ppc64el.deb ... Unpacking python3 (3.6.4-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../001-groff-base_1.22.3-9_ppc64el.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package libbsd0:ppc64el. Preparing to unpack .../002-libbsd0_0.8.7-1_ppc64el.deb ... Unpacking libbsd0:ppc64el (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../003-bsdmainutils_11.1.2ubuntu1_ppc64el.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../004-libpipeline1_1.5.0-1_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../005-man-db_2.7.6.1-4_ppc64el.deb ... Unpacking man-db (2.7.6.1-4) ... Selecting previously unselected package cmake-data. Preparing to unpack .../006-cmake-data_3.9.5-1_all.deb ... Unpacking cmake-data (3.9.5-1) ... Selecting previously unselected package liblzo2-2:ppc64el. Preparing to unpack .../007-liblzo2-2_2.08-1.2_ppc64el.deb ... Unpacking liblzo2-2:ppc64el (2.08-1.2) ... Selecting previously unselected package libfreetype6:ppc64el. Preparing to unpack .../008-libfreetype6_2.8.1-0.1ubuntu2_ppc64el.deb ... Unpacking libfreetype6:ppc64el (2.8.1-0.1ubuntu2) ... Selecting previously unselected package libglib2.0-0:ppc64el. Preparing to unpack .../009-libglib2.0-0_2.54.1-1ubuntu1_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.54.1-1ubuntu1) ... Selecting previously unselected package libgraphite2-3:ppc64el. Preparing to unpack .../010-libgraphite2-3_1.3.10-8_ppc64el.deb ... Unpacking libgraphite2-3:ppc64el (1.3.10-8) ... Selecting previously unselected package libharfbuzz0b:ppc64el. Preparing to unpack .../011-libharfbuzz0b_1.7.2-1_ppc64el.deb ... Unpacking libharfbuzz0b:ppc64el (1.7.2-1) ... Selecting previously unselected package libicu-le-hb0:ppc64el. Preparing to unpack .../012-libicu-le-hb0_1.0.3+git161113-4_ppc64el.deb ... Unpacking libicu-le-hb0:ppc64el (1.0.3+git161113-4) ... Selecting previously unselected package libicu60:ppc64el. Preparing to unpack .../013-libicu60_60.2-3ubuntu1_ppc64el.deb ... Unpacking libicu60:ppc64el (60.2-3ubuntu1) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../014-libxml2_2.9.4+dfsg1-6.1ubuntu1_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.4+dfsg1-6.1ubuntu1) ... Selecting previously unselected package libarchive13:ppc64el. Preparing to unpack .../015-libarchive13_3.2.2-3.1_ppc64el.deb ... Unpacking libarchive13:ppc64el (3.2.2-3.1) ... Selecting previously unselected package libcurl3:ppc64el. Preparing to unpack .../016-libcurl3_7.58.0-2ubuntu1_ppc64el.deb ... Unpacking libcurl3:ppc64el (7.58.0-2ubuntu1) ... Selecting previously unselected package libjsoncpp1:ppc64el. Preparing to unpack .../017-libjsoncpp1_1.7.4-3_ppc64el.deb ... Unpacking libjsoncpp1:ppc64el (1.7.4-3) ... Selecting previously unselected package librhash0. Preparing to unpack .../018-librhash0_1.3.4-3_ppc64el.deb ... Unpacking librhash0 (1.3.4-3) ... Selecting previously unselected package libuv1:ppc64el. Preparing to unpack .../019-libuv1_1.18.0-3_ppc64el.deb ... Unpacking libuv1:ppc64el (1.18.0-3) ... Selecting previously unselected package cmake. Preparing to unpack .../020-cmake_3.9.5-1_ppc64el.deb ... Unpacking cmake (3.9.5-1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../021-libmagic-mgc_1%3a5.32-1_ppc64el.deb ... Unpacking libmagic-mgc (1:5.32-1) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../022-libmagic1_1%3a5.32-1_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.32-1) ... Selecting previously unselected package file. Preparing to unpack .../023-file_1%3a5.32-1_ppc64el.deb ... Unpacking file (1:5.32-1) ... Selecting previously unselected package libyaml-0-2:ppc64el. Preparing to unpack .../024-libyaml-0-2_0.1.7-2ubuntu3_ppc64el.deb ... Unpacking libyaml-0-2:ppc64el (0.1.7-2ubuntu3) ... Selecting previously unselected package netbase. Preparing to unpack .../025-netbase_5.4_all.deb ... Unpacking netbase (5.4) ... Selecting previously unselected package ucf. Preparing to unpack .../026-ucf_3.0036_all.deb ... Moving old data out of the way Unpacking ucf (3.0036) ... Selecting previously unselected package gettext-base. Preparing to unpack .../027-gettext-base_0.19.8.1-4ubuntu2_ppc64el.deb ... Unpacking gettext-base (0.19.8.1-4ubuntu2) ... Selecting previously unselected package libedit2:ppc64el. Preparing to unpack .../028-libedit2_3.1-20170329-1_ppc64el.deb ... Unpacking libedit2:ppc64el (3.1-20170329-1) ... Selecting previously unselected package libnuma1:ppc64el. Preparing to unpack .../029-libnuma1_2.0.11-2.1_ppc64el.deb ... Unpacking libnuma1:ppc64el (2.0.11-2.1) ... Selecting previously unselected package libsigsegv2:ppc64el. Preparing to unpack .../030-libsigsegv2_2.11-1_ppc64el.deb ... Unpacking libsigsegv2:ppc64el (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../031-m4_1.4.18-1_ppc64el.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../032-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../033-autotools-dev_20171216.1_all.deb ... Unpacking autotools-dev (20171216.1) ... Selecting previously unselected package automake. Preparing to unpack .../034-automake_1%3a1.15.1-3ubuntu1_all.deb ... Unpacking automake (1:1.15.1-3ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../035-autopoint_0.19.8.1-4ubuntu2_all.deb ... Unpacking autopoint (0.19.8.1-4ubuntu2) ... Selecting previously unselected package binfmt-support. Preparing to unpack .../036-binfmt-support_2.1.8-1_ppc64el.deb ... Unpacking binfmt-support (2.1.8-1) ... Selecting previously unselected package libllvm4.0:ppc64el. Preparing to unpack .../037-libllvm4.0_1%3a4.0.1-8_ppc64el.deb ... Unpacking libllvm4.0:ppc64el (1:4.0.1-8) ... Selecting previously unselected package libclang1-4.0:ppc64el. Preparing to unpack .../038-libclang1-4.0_1%3a4.0.1-8_ppc64el.deb ... Unpacking libclang1-4.0:ppc64el (1:4.0.1-8) ... Selecting previously unselected package libgc1c2:ppc64el. Preparing to unpack .../039-libgc1c2_1%3a7.4.2-8ubuntu1_ppc64el.deb ... Unpacking libgc1c2:ppc64el (1:7.4.2-8ubuntu1) ... Selecting previously unselected package libobjc4:ppc64el. Preparing to unpack .../040-libobjc4_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libobjc4:ppc64el (7.3.0-1ubuntu1) ... Selecting previously unselected package libobjc-7-dev:ppc64el. Preparing to unpack .../041-libobjc-7-dev_7.3.0-1ubuntu1_ppc64el.deb ... Unpacking libobjc-7-dev:ppc64el (7.3.0-1ubuntu1) ... Selecting previously unselected package libclang-common-4.0-dev. Preparing to unpack .../042-libclang-common-4.0-dev_1%3a4.0.1-8_ppc64el.deb ... Unpacking libclang-common-4.0-dev (1:4.0.1-8) ... Selecting previously unselected package clang-4.0. Preparing to unpack .../043-clang-4.0_1%3a4.0.1-8_ppc64el.deb ... Unpacking clang-4.0 (1:4.0.1-8) ... Selecting previously unselected package libtool. Preparing to unpack .../044-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../045-dh-autoreconf_16_all.deb ... Unpacking dh-autoreconf (16) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../046-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../047-libfile-stripnondeterminism-perl_0.040-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.040-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../048-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../049-dh-strip-nondeterminism_0.040-1_all.deb ... Unpacking dh-strip-nondeterminism (0.040-1) ... Selecting previously unselected package libcroco3:ppc64el. Preparing to unpack .../050-libcroco3_0.6.12-2_ppc64el.deb ... Unpacking libcroco3:ppc64el (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../051-gettext_0.19.8.1-4ubuntu2_ppc64el.deb ... Unpacking gettext (0.19.8.1-4ubuntu2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../052-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../053-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../054-debhelper_11.1.3ubuntu1_all.deb ... Unpacking debhelper (11.1.3ubuntu1) ... Selecting previously unselected package diffstat. Preparing to unpack .../055-diffstat_1.61-1build1_ppc64el.deb ... Unpacking diffstat (1.61-1build1) ... Selecting previously unselected package libapt-pkg-perl. Preparing to unpack .../056-libapt-pkg-perl_0.1.33build1_ppc64el.deb ... Unpacking libapt-pkg-perl (0.1.33build1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../057-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../058-liburi-perl_1.73-1_all.deb ... Unpacking liburi-perl (1.73-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../059-libhtml-parser-perl_3.72-3build1_ppc64el.deb ... Unpacking libhtml-parser-perl (3.72-3build1) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../060-libcgi-pm-perl_4.38-1_all.deb ... Unpacking libcgi-pm-perl (4.38-1) ... Selecting previously unselected package libclang-4.0-dev. Preparing to unpack .../061-libclang-4.0-dev_1%3a4.0.1-8_ppc64el.deb ... Unpacking libclang-4.0-dev (1:4.0.1-8) ... Selecting previously unselected package libsub-name-perl. Preparing to unpack .../062-libsub-name-perl_0.21-1build1_ppc64el.deb ... Unpacking libsub-name-perl (0.21-1build1) ... Selecting previously unselected package libclass-accessor-perl. Preparing to unpack .../063-libclass-accessor-perl_0.51-1_all.deb ... Unpacking libclass-accessor-perl (0.51-1) ... Selecting previously unselected package libclone-perl. Preparing to unpack .../064-libclone-perl_0.39-1_ppc64el.deb ... Unpacking libclone-perl (0.39-1) ... Selecting previously unselected package libdigest-hmac-perl. Preparing to unpack .../065-libdigest-hmac-perl_1.03+dfsg-1_all.deb ... Unpacking libdigest-hmac-perl (1.03+dfsg-1) ... Selecting previously unselected package perl-openssl-defaults:ppc64el. Preparing to unpack .../066-perl-openssl-defaults_3_ppc64el.deb ... Unpacking perl-openssl-defaults:ppc64el (3) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../067-libnet-ssleay-perl_1.84-1_ppc64el.deb ... Unpacking libnet-ssleay-perl (1.84-1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../068-libio-socket-ssl-perl_2.052-1_all.deb ... Unpacking libio-socket-ssl-perl (2.052-1) ... Selecting previously unselected package libnet-smtp-ssl-perl. Preparing to unpack .../069-libnet-smtp-ssl-perl_1.04-1_all.deb ... Unpacking libnet-smtp-ssl-perl (1.04-1) ... Selecting previously unselected package libmailtools-perl. Preparing to unpack .../070-libmailtools-perl_2.18-1_all.deb ... Unpacking libmailtools-perl (2.18-1) ... Selecting previously unselected package libsocket6-perl. Preparing to unpack .../071-libsocket6-perl_0.27-1build2_ppc64el.deb ... Unpacking libsocket6-perl (0.27-1build2) ... Selecting previously unselected package libio-socket-inet6-perl. Preparing to unpack .../072-libio-socket-inet6-perl_2.72-2_all.deb ... Unpacking libio-socket-inet6-perl (2.72-2) ... Selecting previously unselected package libnet-ip-perl. Preparing to unpack .../073-libnet-ip-perl_1.26-1_all.deb ... Unpacking libnet-ip-perl (1.26-1) ... Selecting previously unselected package libnet-dns-perl. Preparing to unpack .../074-libnet-dns-perl_1.10-2_all.deb ... Unpacking libnet-dns-perl (1.10-2) ... Selecting previously unselected package libnet-domain-tld-perl. Preparing to unpack .../075-libnet-domain-tld-perl_1.75-1_all.deb ... Unpacking libnet-domain-tld-perl (1.75-1) ... Selecting previously unselected package libemail-valid-perl. Preparing to unpack .../076-libemail-valid-perl_1.202-1_all.deb ... Unpacking libemail-valid-perl (1.202-1) ... Selecting previously unselected package libexporter-tiny-perl. Preparing to unpack .../077-libexporter-tiny-perl_1.000000-2_all.deb ... Unpacking libexporter-tiny-perl (1.000000-2) ... Selecting previously unselected package libipc-system-simple-perl. Preparing to unpack .../078-libipc-system-simple-perl_1.25-3_all.deb ... Unpacking libipc-system-simple-perl (1.25-3) ... Selecting previously unselected package libfile-basedir-perl. Preparing to unpack .../079-libfile-basedir-perl_0.07-1_all.deb ... Unpacking libfile-basedir-perl (0.07-1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../080-libio-pty-perl_1%3a1.08-1.1build4_ppc64el.deb ... Unpacking libio-pty-perl (1:1.08-1.1build4) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../081-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../082-libipc-run-perl_0.96-1_all.deb ... Unpacking libipc-run-perl (0.96-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../083-libjs-jquery_3.2.1-1_all.deb ... Unpacking libjs-jquery (3.2.1-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../084-libjs-underscore_1.8.3~dfsg-1_all.deb ... Unpacking libjs-underscore (1.8.3~dfsg-1) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../085-libjs-sphinxdoc_1.6.6-2_all.deb ... Unpacking libjs-sphinxdoc (1.6.6-2) ... Selecting previously unselected package liblist-moreutils-perl. Preparing to unpack .../086-liblist-moreutils-perl_0.416-1build3_ppc64el.deb ... Unpacking liblist-moreutils-perl (0.416-1build3) ... Selecting previously unselected package libltdl7:ppc64el. Preparing to unpack .../087-libltdl7_2.4.6-2_ppc64el.deb ... Unpacking libltdl7:ppc64el (2.4.6-2) ... Selecting previously unselected package libltdl-dev:ppc64el. Preparing to unpack .../088-libltdl-dev_2.4.6-2_ppc64el.deb ... Unpacking libltdl-dev:ppc64el (2.4.6-2) ... Selecting previously unselected package libparse-debianchangelog-perl. Preparing to unpack .../089-libparse-debianchangelog-perl_1.2.0-12_all.deb ... Unpacking libparse-debianchangelog-perl (1.2.0-12) ... Selecting previously unselected package libtext-levenshtein-perl. Preparing to unpack .../090-libtext-levenshtein-perl_0.13-1_all.deb ... Unpacking libtext-levenshtein-perl (0.13-1) ... Selecting previously unselected package libtinfo-dev:ppc64el. Preparing to unpack .../091-libtinfo-dev_6.0+20171125-1ubuntu1_ppc64el.deb ... Unpacking libtinfo-dev:ppc64el (6.0+20171125-1ubuntu1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../092-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../093-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../094-libxml-sax-perl_0.99+dfsg-2ubuntu1_all.deb ... Unpacking libxml-sax-perl (0.99+dfsg-2ubuntu1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../095-libxml-libxml-perl_2.0128+dfsg-5_ppc64el.deb ... Unpacking libxml-libxml-perl (2.0128+dfsg-5) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../096-libxml-simple-perl_2.24-1_all.deb ... Unpacking libxml-simple-perl (2.24-1) ... Selecting previously unselected package libyaml-libyaml-perl. Preparing to unpack .../097-libyaml-libyaml-perl_0.69+repack-1_ppc64el.deb ... Unpacking libyaml-libyaml-perl (0.69+repack-1) ... Selecting previously unselected package patchutils. Preparing to unpack .../098-patchutils_0.3.4-2_ppc64el.deb ... Unpacking patchutils (0.3.4-2) ... Selecting previously unselected package t1utils. Preparing to unpack .../099-t1utils_1.41-2_ppc64el.deb ... Unpacking t1utils (1.41-2) ... Selecting previously unselected package lintian. Preparing to unpack .../100-lintian_2.5.71_all.deb ... Unpacking lintian (2.5.71) ... Selecting previously unselected package llvm-4.0-runtime. Preparing to unpack .../101-llvm-4.0-runtime_1%3a4.0.1-8_ppc64el.deb ... Unpacking llvm-4.0-runtime (1:4.0.1-8) ... Selecting previously unselected package llvm-4.0. Preparing to unpack .../102-llvm-4.0_1%3a4.0.1-8_ppc64el.deb ... Unpacking llvm-4.0 (1:4.0.1-8) ... Selecting previously unselected package libffi-dev:ppc64el. Preparing to unpack .../103-libffi-dev_3.2.1-8_ppc64el.deb ... Unpacking libffi-dev:ppc64el (3.2.1-8) ... Selecting previously unselected package llvm-4.0-dev. Preparing to unpack .../104-llvm-4.0-dev_1%3a4.0.1-8_ppc64el.deb ... Unpacking llvm-4.0-dev (1:4.0.1-8) ... Selecting previously unselected package pkg-config. Preparing to unpack .../105-pkg-config_0.29.1-0ubuntu2_ppc64el.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../106-sphinx-common_1.6.6-2_all.deb ... Unpacking sphinx-common (1.6.6-2) ... Selecting previously unselected package libhwloc5:ppc64el. Preparing to unpack .../107-libhwloc5_1.11.9-1_ppc64el.deb ... Unpacking libhwloc5:ppc64el (1.11.9-1) ... Selecting previously unselected package libnuma-dev:ppc64el. Preparing to unpack .../108-libnuma-dev_2.0.11-2.1_ppc64el.deb ... Unpacking libnuma-dev:ppc64el (2.0.11-2.1) ... Selecting previously unselected package libhwloc-dev:ppc64el. Preparing to unpack .../109-libhwloc-dev_1.11.9-1_ppc64el.deb ... Unpacking libhwloc-dev:ppc64el (1.11.9-1) ... Selecting previously unselected package ocl-icd-dev:ppc64el. Preparing to unpack .../110-ocl-icd-dev_2.2.11-1ubuntu1_ppc64el.deb ... Unpacking ocl-icd-dev:ppc64el (2.2.11-1ubuntu1) ... Selecting previously unselected package ocl-icd-libopencl1:ppc64el. Preparing to unpack .../111-ocl-icd-libopencl1_2.2.11-1ubuntu1_ppc64el.deb ... Unpacking ocl-icd-libopencl1:ppc64el (2.2.11-1ubuntu1) ... Selecting previously unselected package opencl-c-headers. Preparing to unpack .../112-opencl-c-headers_2.1-2017.07.18-gf039db6-1_all.deb ... Unpacking opencl-c-headers (2.1-2017.07.18-gf039db6-1) ... Selecting previously unselected package ocl-icd-opencl-dev:ppc64el. Preparing to unpack .../113-ocl-icd-opencl-dev_2.2.11-1ubuntu1_ppc64el.deb ... Unpacking ocl-icd-opencl-dev:ppc64el (2.2.11-1ubuntu1) ... Selecting previously unselected package pkg-kde-tools. Preparing to unpack .../114-pkg-kde-tools_0.15.28ubuntu1_all.deb ... Unpacking pkg-kde-tools (0.15.28ubuntu1) ... Selecting previously unselected package sbuild-build-depends-pocl-dummy. Preparing to unpack .../115-sbuild-build-depends-pocl-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-pocl-dummy (0.invalid.0) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up libedit2:ppc64el (3.1-20170329-1) ... Setting up libnet-domain-tld-perl (1.75-1) ... Setting up libjs-jquery (3.2.1-1) ... Setting up opencl-c-headers (2.1-2017.07.18-gf039db6-1) ... Setting up libapt-pkg-perl (0.1.33build1) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libjs-underscore (1.8.3~dfsg-1) ... Setting up mime-support (3.60ubuntu1) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up libio-pty-perl (1:1.08-1.1build4) ... Setting up libtext-levenshtein-perl (0.13-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libnet-ip-perl (1.26-1) ... Setting up libsigsegv2:ppc64el (2.11-1) ... Setting up libcurl3:ppc64el (7.58.0-2ubuntu1) ... Setting up libuv1:ppc64el (1.18.0-3) ... Setting up perl-openssl-defaults:ppc64el (3) ... Setting up libnuma1:ppc64el (2.0.11-2.1) ... Setting up libipc-system-simple-perl (1.25-3) ... Setting up libfile-basedir-perl (0.07-1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:ppc64el (2.54.1-1ubuntu1) ... No schema files found: doing nothing. Setting up libexporter-tiny-perl (1.000000-2) ... Setting up libtinfo-dev:ppc64el (6.0+20171125-1ubuntu1) ... Setting up libgc1c2:ppc64el (1:7.4.2-8ubuntu1) ... Setting up libjs-sphinxdoc (1.6.6-2) ... Setting up libffi-dev:ppc64el (3.2.1-8) ... Setting up gettext-base (0.19.8.1-4ubuntu2) ... Setting up cmake-data (3.9.5-1) ... Setting up libpipeline1:ppc64el (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:ppc64el (0.8.7-1) ... Setting up ucf (3.0036) ... Setting up libfreetype6:ppc64el (2.8.1-0.1ubuntu2) ... Setting up libmagic-mgc (1:5.32-1) ... Setting up libmagic1:ppc64el (1:5.32-1) ... Setting up libgraphite2-3:ppc64el (1.3.10-8) ... Setting up librhash0 (1.3.4-3) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libyaml-0-2:ppc64el (0.1.7-2ubuntu3) ... Setting up libllvm4.0:ppc64el (1:4.0.1-8) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... Setting up libsocket6-perl (0.27-1build2) ... Setting up patchutils (0.3.4-2) ... Setting up autotools-dev (20171216.1) ... Setting up libclang1-4.0:ppc64el (1:4.0.1-8) ... Setting up liburi-perl (1.73-1) ... Setting up t1utils (1.41-2) ... Processing triggers for systemd (235-3ubuntu3) ... Setting up libltdl7:ppc64el (2.4.6-2) ... Setting up libhtml-parser-perl (3.72-3build1) ... Setting up libipc-run-perl (0.96-1) ... Setting up sphinx-common (1.6.6-2) ... Setting up libcgi-pm-perl (4.38-1) ... Setting up libdigest-hmac-perl (1.03+dfsg-1) ... Setting up libio-string-perl (1.08-3) ... Setting up liblocale-gettext-perl (1.07-3build2) ... Setting up libclone-perl (0.39-1) ... Setting up libnuma-dev:ppc64el (2.0.11-2.1) ... Setting up ocl-icd-libopencl1:ppc64el (2.2.11-1ubuntu1) ... Setting up bsdmainutils (11.1.2ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up ocl-icd-dev:ppc64el (2.2.11-1ubuntu1) ... Setting up libsub-name-perl (0.21-1build1) ... Setting up libyaml-libyaml-perl (0.69+repack-1) ... Setting up diffstat (1.61-1build1) ... Setting up autopoint (0.19.8.1-4ubuntu2) ... Setting up libmpdec2:ppc64el (2.4.2-1) ... Setting up libclass-accessor-perl (0.51-1) ... Setting up liblzo2-2:ppc64el (2.08-1.2) ... Setting up netbase (5.4) ... Setting up libfile-stripnondeterminism-perl (0.040-1) ... Setting up libxml-sax-perl (0.99+dfsg-2ubuntu1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libjsoncpp1:ppc64el (1.7.4-3) ... Setting up liblist-moreutils-perl (0.416-1build3) ... Setting up libpython3.6-stdlib:ppc64el (3.6.4-3) ... Setting up binfmt-support (2.1.8-1) ... Created symlink /etc/systemd/system/multi-user.target.wants/binfmt-support.service → /lib/systemd/system/binfmt-support.service. Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libobjc4:ppc64el (7.3.0-1ubuntu1) ... Setting up libltdl-dev:ppc64el (2.4.6-2) ... Setting up libio-socket-inet6-perl (2.72-2) ... Setting up libclang-common-4.0-dev (1:4.0.1-8) ... Setting up libnet-ssleay-perl (1.84-1) ... Setting up ocl-icd-opencl-dev:ppc64el (2.2.11-1ubuntu1) ... Setting up libharfbuzz0b:ppc64el (1.7.2-1) ... Setting up autoconf (2.69-11) ... Setting up llvm-4.0-runtime (1:4.0.1-8) ... Setting up libnet-dns-perl (1.10-2) ... Setting up file (1:5.32-1) ... Setting up libhwloc5:ppc64el (1.11.9-1) ... Setting up libio-socket-ssl-perl (2.052-1) ... Setting up libobjc-7-dev:ppc64el (7.3.0-1ubuntu1) ... Setting up automake (1:1.15.1-3ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up libparse-debianchangelog-perl (1.2.0-12) ... Setting up man-db (2.7.6.1-4) ... Not building database; man-db/auto-update is not 'true'. Setting up libclang-4.0-dev (1:4.0.1-8) ... Setting up libtool (2.4.6-2) ... Setting up libpython3-stdlib:ppc64el (3.6.4-1) ... Setting up libnet-smtp-ssl-perl (1.04-1) ... Setting up libhwloc-dev:ppc64el (1.11.9-1) ... Setting up clang-4.0 (1:4.0.1-8) ... Setting up llvm-4.0 (1:4.0.1-8) ... Setting up libmailtools-perl (2.18-1) ... Setting up llvm-4.0-dev (1:4.0.1-8) ... Setting up libemail-valid-perl (1.202-1) ... Setting up libicu-le-hb0:ppc64el (1.0.3+git161113-4) ... Setting up libicu60:ppc64el (60.2-3ubuntu1) ... Setting up dh-autoreconf (16) ... Setting up python3 (3.6.4-1) ... Setting up libxml2:ppc64el (2.9.4+dfsg1-6.1ubuntu1) ... Setting up libcroco3:ppc64el (0.6.12-2) ... Setting up libxml-libxml-perl (2.0128+dfsg-5) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up python3-lib2to3 (3.6.4-2) ... Setting up dh-python (2.20170125) ... Setting up python3-distutils (3.6.4-2) ... Setting up python3.6 (3.6.4-3) ... Setting up gettext (0.19.8.1-4ubuntu2) ... Setting up libarchive13:ppc64el (3.2.2-3.1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libxml-simple-perl (2.24-1) ... Setting up lintian (2.5.71) ... Setting up cmake (3.9.5-1) ... Setting up pkg-kde-tools (0.15.28ubuntu1) ... Setting up po-debconf (1.0.20) ... Setting up debhelper (11.1.3ubuntu1) ... Setting up sbuild-build-depends-pocl-dummy (0.invalid.0) ... Setting up dh-strip-nondeterminism (0.040-1) ... (Reading database ... 22836 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... Processing triggers for systemd (235-3ubuntu3) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-112-generic ppc64el (ppc64le) Toolchain package versions: binutils_2.30-1ubuntu1 dpkg-dev_1.19.0.5ubuntu1 g++-7_7.3.0-1ubuntu1 gcc-7_7.3.0-1ubuntu1 libc6-dev_2.26-0ubuntu4 libstdc++-7-dev_7.3.0-1ubuntu1 libstdc++6_7.3.0-1ubuntu1 linux-libc-dev_4.13.0-32.35 Package versions: adduser_3.116ubuntu1 advancecomp_2.0-1 apt_1.6~alpha7 apt-transport-https_1.6~alpha7 autoconf_2.69-11 automake_1:1.15.1-3ubuntu1 autopoint_0.19.8.1-4ubuntu2 autotools-dev_20171216.1 base-files_10ubuntu1 base-passwd_3.5.44 bash_4.4-5ubuntu1 binfmt-support_2.1.8-1 binutils_2.30-1ubuntu1 binutils-common_2.30-1ubuntu1 binutils-powerpc64le-linux-gnu_2.30-1ubuntu1 bsdmainutils_11.1.2ubuntu1 bsdutils_1:2.30.2-0.1ubuntu1 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1 ca-certificates_20170717 clang-4.0_1:4.0.1-8 cmake_3.9.5-1 cmake-data_3.9.5-1 coreutils_8.28-1ubuntu1 cpp_4:7.2.0-1ubuntu1 cpp-7_7.3.0-1ubuntu1 dash_0.5.8-2.9ubuntu1 debconf_1.5.65 debhelper_11.1.3ubuntu1 debianutils_4.8.4 dh-autoreconf_16 dh-python_2.20170125 dh-strip-nondeterminism_0.040-1 diffstat_1.61-1build1 diffutils_1:3.6-1 dirmngr_2.2.4-1ubuntu1 dmsetup_2:1.02.145-4.1ubuntu2 dpkg_1.19.0.5ubuntu1 dpkg-dev_1.19.0.5ubuntu1 e2fslibs_1.43.8-2 e2fsprogs_1.43.8-2 fakeroot_1.22-2ubuntu1 fdisk_2.30.2-0.1ubuntu1 file_1:5.32-1 findutils_4.6.0+git+20170828-2 g++_4:7.2.0-1ubuntu1 g++-7_7.3.0-1ubuntu1 gcc_4:7.2.0-1ubuntu1 gcc-7_7.3.0-1ubuntu1 gcc-7-base_7.3.0-1ubuntu1 gettext_0.19.8.1-4ubuntu2 gettext-base_0.19.8.1-4ubuntu2 gnupg_2.2.4-1ubuntu1 gnupg-agent_2.2.4-1ubuntu1 gnupg-l10n_2.2.4-1ubuntu1 gnupg-utils_2.2.4-1ubuntu1 gpg_2.2.4-1ubuntu1 gpg-agent_2.2.4-1ubuntu1 gpg-wks-client_2.2.4-1ubuntu1 gpg-wks-server_2.2.4-1ubuntu1 gpgconf_2.2.4-1ubuntu1 gpgsm_2.2.4-1ubuntu1 gpgv_2.2.4-1ubuntu1 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hostname_3.19 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.11.0-2ubuntu19 libapt-pkg-perl_0.1.33build1 libapt-pkg5.0_1.6~alpha7 libarchive-zip-perl_1.60-1 libarchive13_3.2.2-3.1 libasan4_7.3.0-1ubuntu1 libasn1-8-heimdal_7.5.0+dfsg-1 libassuan0_2.5.1-1 libatomic1_7.3.0-1ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.7.7-1ubuntu2 libaudit1_1:2.7.7-1ubuntu2 libbinutils_2.30-1ubuntu1 libblkid1_2.30.2-0.1ubuntu1 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.26-0ubuntu4 libc-dev-bin_2.26-0ubuntu4 libc6_2.26-0ubuntu4 libc6-dev_2.26-0ubuntu4 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_7.3.0-1ubuntu1 libcgi-pm-perl_4.38-1 libclang-4.0-dev_1:4.0.1-8 libclang-common-4.0-dev_1:4.0.1-8 libclang1-4.0_1:4.0.1-8 libclass-accessor-perl_0.51-1 libclone-perl_0.39-1 libcomerr2_1.43.8-2 libcroco3_0.6.12-2 libcryptsetup4_2:1.7.3-4ubuntu1 libcurl3_7.58.0-2ubuntu1 libcurl3-gnutls_7.58.0-2ubuntu1 libdb5.3_5.3.28-13.1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu2 libdigest-hmac-perl_1.03+dfsg-1 libdpkg-perl_1.19.0.5ubuntu1 libedit2_3.1-20170329-1 libemail-valid-perl_1.202-1 libexpat1_2.2.5-3 libexporter-tiny-perl_1.000000-2 libfakeroot_1.22-2ubuntu1 libfdisk1_2.30.2-0.1ubuntu1 libffi-dev_3.2.1-8 libffi6_3.2.1-8 libfile-basedir-perl_0.07-1 libfile-stripnondeterminism-perl_0.040-1 libfreetype6_2.8.1-0.1ubuntu2 libgc1c2_1:7.4.2-8ubuntu1 libgcc-7-dev_7.3.0-1ubuntu1 libgcc1_1:7.3.0-1ubuntu1 libgcrypt20_1.8.1-4 libgdbm3_1.8.3-14 libglib2.0-0_2.54.1-1ubuntu1 libgmp10_2:6.1.2+dfsg-2 libgnutls30_3.5.17-1ubuntu1 libgomp1_7.3.0-1ubuntu1 libgpg-error0_1.27-5 libgraphite2-3_1.3.10-8 libgssapi-krb5-2_1.16-2 libgssapi3-heimdal_7.5.0+dfsg-1 libharfbuzz0b_1.7.2-1 libhcrypto4-heimdal_7.5.0+dfsg-1 libheimbase1-heimdal_7.5.0+dfsg-1 libheimntlm0-heimdal_7.5.0+dfsg-1 libhogweed4_3.4-1 libhtml-parser-perl_3.72-3build1 libhtml-tagset-perl_3.20-3 libhwloc-dev_1.11.9-1 libhwloc5_1.11.9-1 libhx509-5-heimdal_7.5.0+dfsg-1 libicu-le-hb0_1.0.3+git161113-4 libicu60_60.2-3ubuntu1 libidn11_1.33-2.1 libidn2-0_2.0.4-1 libio-pty-perl_1:1.08-1.1build4 libio-socket-inet6-perl_2.72-2 libio-socket-ssl-perl_2.052-1 libio-string-perl_1.08-3 libip4tc0_1.6.1-2ubuntu2 libipc-run-perl_0.96-1 libipc-system-simple-perl_1.25-3 libisl15_0.18-1 libitm1_7.3.0-1ubuntu1 libjs-jquery_3.2.1-1 libjs-sphinxdoc_1.6.6-2 libjs-underscore_1.8.3~dfsg-1 libjsoncpp1_1.7.4-3 libk5crypto3_1.16-2 libkeyutils1_1.5.9-9.2ubuntu1 libkmod2_24-1ubuntu3 libkrb5-26-heimdal_7.5.0+dfsg-1 libkrb5-3_1.16-2 libkrb5support0_1.16-2 libksba8_1.3.5-2 libldap-2.4-2_2.4.45+dfsg-1ubuntu1 libldap-common_2.4.45+dfsg-1ubuntu1 liblist-moreutils-perl_0.416-1build3 libllvm4.0_1:4.0.1-8 liblocale-gettext-perl_1.07-3build2 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblsan0_7.3.0-1ubuntu1 libltdl-dev_2.4.6-2 libltdl7_2.4.6-2 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.3 liblzo2-2_2.08-1.2 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmailtools-perl_2.18-1 libmount1_2.30.2-0.1ubuntu1 libmpc3_1.1.0-1 libmpdec2_2.4.2-1 libmpfr4_3.1.6-1 libmpfr6_4.0.0-7 libncurses5_6.0+20171125-1ubuntu1 libncursesw5_6.0+20171125-1ubuntu1 libnet-dns-perl_1.10-2 libnet-domain-tld-perl_1.75-1 libnet-ip-perl_1.26-1 libnet-smtp-ssl-perl_1.04-1 libnet-ssleay-perl_1.84-1 libnettle6_3.4-1 libnghttp2-14_1.29.0-1 libnpth0_1.5-3 libnuma-dev_2.0.11-2.1 libnuma1_2.0.11-2.1 libobjc-7-dev_7.3.0-1ubuntu1 libobjc4_7.3.0-1ubuntu1 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libparse-debianchangelog-perl_1.2.0-12 libpcre3_2:8.39-8 libperl5.26_5.26.1-4 libpipeline1_1.5.0-1 libpng16-16_1.6.34-1 libprocps6_2:3.3.12-3ubuntu1 libpsl5_0.19.1-4 libpython3-stdlib_3.6.4-1 libpython3.6-minimal_3.6.4-3 libpython3.6-stdlib_3.6.4-3 libreadline7_7.0-3 librhash0_1.3.4-3 libroken18-heimdal_7.5.0+dfsg-1 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu1 libseccomp2_2.3.1-2.1ubuntu3 libselinux1_2.7-2 libsemanage-common_2.7-2 libsemanage1_2.7-2 libsepol1_2.7-1 libsigsegv2_2.11-1 libslang2_2.3.1a-1ubuntu1 libsmartcols1_2.30.2-0.1ubuntu1 libsocket6-perl_0.27-1build2 libsqlite3-0_3.22.0-1 libss2_1.43.8-2 libssl1.0.0_1.0.2n-1ubuntu1 libstdc++-7-dev_7.3.0-1ubuntu1 libstdc++6_7.3.0-1ubuntu1 libsub-name-perl_0.21-1build1 libsystemd0_235-3ubuntu3 libtasn1-6_4.13-2 libtext-levenshtein-perl_0.13-1 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20171125-1ubuntu1 libtinfo5_6.0+20171125-1ubuntu1 libtool_2.4.6-2 libtsan0_7.3.0-1ubuntu1 libubsan0_7.3.0-1ubuntu1 libudev1_235-3ubuntu3 libunistring0_0.9.3-5.2ubuntu1 liburi-perl_1.73-1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.30.2-0.1ubuntu1 libuv1_1.18.0-3 libwind0-heimdal_7.5.0+dfsg-1 libxml-libxml-perl_2.0128+dfsg-5 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_0.99+dfsg-2ubuntu1 libxml-simple-perl_2.24-1 libxml2_2.9.4+dfsg1-6.1ubuntu1 libyaml-0-2_0.1.7-2ubuntu3 libyaml-libyaml-perl_0.69+repack-1 lintian_2.5.71 linux-libc-dev_4.13.0-32.35 llvm-4.0_1:4.0.1-8 llvm-4.0-dev_1:4.0.1-8 llvm-4.0-runtime_1:4.0.1-8 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-4 mawk_1.3.3-17ubuntu2 mime-support_3.60ubuntu1 mount_2.30.2-0.1ubuntu1 multiarch-support_2.26-0ubuntu4 ncurses-base_6.0+20171125-1ubuntu1 ncurses-bin_6.0+20171125-1ubuntu1 netbase_5.4 ocl-icd-dev_2.2.11-1ubuntu1 ocl-icd-libopencl1_2.2.11-1ubuntu1 ocl-icd-opencl-dev_2.2.11-1ubuntu1 opencl-c-headers_2.1-2017.07.18-gf039db6-1 openssl_1.0.2n-1ubuntu1 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.5-1build1 patchutils_0.3.4-2 perl_5.26.1-4 perl-base_5.26.1-4 perl-modules-5.26_5.26.1-4 perl-openssl-defaults_3 pinentry-curses_1.0.0-3 pkg-config_0.29.1-0ubuntu2 pkg-kde-tools_0.15.28ubuntu1 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1 python3_3.6.4-1 python3-distutils_3.6.4-2 python3-lib2to3_3.6.4-2 python3-minimal_3.6.4-1 python3.6_3.6.4-3 python3.6-minimal_3.6.4-3 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-pocl-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.11 sphinx-common_1.6.6-2 systemd_235-3ubuntu3 systemd-sysv_235-3ubuntu3 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu1 t1utils_1.41-2 tar_1.29b-2 tzdata_2018c-1 ubuntu-keyring_2016.10.27 ucf_3.0036 util-linux_2.30.2-0.1ubuntu1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Fri Jan 19 00:30:47 2018 UTC gpgv: using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08 gpgv: issuer "anbe@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pocl_1.0-2.dsc dpkg-source: info: extracting pocl in pocl-1.0 dpkg-source: info: unpacking pocl_1.0.orig.tar.gz dpkg-source: info: unpacking pocl_1.0-2.debian.tar.xz dpkg-source: info: applying os-compat.patch dpkg-source: info: applying typos.patch dpkg-source: info: applying set-POCL_DEVICE_ADDRESS_BITS-before-use.patch dpkg-source: info: applying consistent-newlines-in-POCL_ABORT.patch dpkg-source: info: applying do-not-export-clang-symbols.patch dpkg-source: info: applying cmake-no-fno-rtti.patch dpkg-source: info: applying FORCE_OCL_KERNEL_TARGET_CPU.patch dpkg-source: info: applying printf-passes-for-i686.patch dpkg-source: info: applying test_fabs-fails-for-i686.patch Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-14253344 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-14253344 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-14253344 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package pocl dpkg-buildpackage: info: source version 1.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build pocl-1.0 dpkg-buildpackage: info: host architecture ppc64el debian/rules clean dh clean --with pkgkde_symbolshelper --with sphinxdoc --buildsystem=cmake dh_auto_clean -O--buildsystem=cmake dh_clean -O--buildsystem=cmake debian/rules binary-arch dh binary-arch --with pkgkde_symbolshelper --with sphinxdoc --buildsystem=cmake dh_update_autotools_config -a -O--buildsystem=cmake dh_autoreconf -a -O--buildsystem=cmake debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' Using LLC_HOST_CPU=ppc64le /usr/lib/llvm-4.0/bin/llc -mattr=help Available CPUs for this target: 440 - Select the 440 processor. 450 - Select the 450 processor. 601 - Select the 601 processor. 602 - Select the 602 processor. 603 - Select the 603 processor. 603e - Select the 603e processor. 603ev - Select the 603ev processor. 604 - Select the 604 processor. 604e - Select the 604e processor. 620 - Select the 620 processor. 7400 - Select the 7400 processor. 7450 - Select the 7450 processor. 750 - Select the 750 processor. 970 - Select the 970 processor. a2 - Select the a2 processor. a2q - Select the a2q processor. e500mc - Select the e500mc processor. e5500 - Select the e5500 processor. g3 - Select the g3 processor. g4 - Select the g4 processor. g4+ - Select the g4+ processor. g5 - Select the g5 processor. generic - Select the generic processor. ppc - Select the ppc processor. ppc32 - Select the ppc32 processor. ppc64 - Select the ppc64 processor. ppc64le - Select the ppc64le processor. pwr3 - Select the pwr3 processor. pwr4 - Select the pwr4 processor. pwr5 - Select the pwr5 processor. pwr5x - Select the pwr5x processor. pwr6 - Select the pwr6 processor. pwr6x - Select the pwr6x processor. pwr7 - Select the pwr7 processor. pwr8 - Select the pwr8 processor. pwr9 - Select the pwr9 processor. Available features for this target: 64bit - Enable 64-bit instructions. 64bitregs - Enable 64-bit registers usage for ppc32 [beta]. altivec - Enable Altivec instructions. booke - Enable Book E instructions. bpermd - Enable the bpermd instruction. cmpb - Enable the cmpb instruction. crbits - Use condition-register bits individually. crypto - Enable POWER8 Crypto instructions. direct-move - Enable Power8 direct move instructions. e500 - Enable E500/E500mc instructions. extdiv - Enable extended divide instructions. fcpsgn - Enable the fcpsgn instruction. float128 - Enable the __float128 data type for IEEE-754R Binary128.. fpcvt - Enable fc[ft]* (unsigned and single-precision) and lfiwzx instructions. fprnd - Enable the fri[mnpz] instructions. fre - Enable the fre instruction. fres - Enable the fres instruction. frsqrte - Enable the frsqrte instruction. frsqrtes - Enable the frsqrtes instruction. fsqrt - Enable the fsqrt instruction. fusion - Target supports add/load integer fusion.. hard-float - Enable floating-point instructions. htm - Enable Hardware Transactional Memory instructions. icbt - Enable icbt instruction. invariant-function-descriptors - Assume function descriptors are invariant. isa-v30-instructions - Enable instructions added in ISA 3.0.. isel - Enable the isel instruction. ldbrx - Enable the ldbrx instruction. lfiwax - Enable the lfiwax instruction. longcall - Always use indirect calls. mfocrf - Enable the MFOCRF instruction. msync - Has only the msync instruction instead of sync. partword-atomics - Enable l[bh]arx and st[bh]cx.. popcntd - Enable the popcnt[dw] instructions. power8-altivec - Enable POWER8 Altivec instructions. power8-vector - Enable POWER8 vector instructions. power9-altivec - Enable POWER9 Altivec instructions. power9-vector - Enable POWER9 vector instructions. ppc4xx - Enable PPC 4xx instructions. ppc6xx - Enable PPC 6xx instructions. qpx - Enable QPX instructions. recipprec - Assume higher precision reciprocal estimates. slow-popcntd - Has slow popcnt[dw] instructions. spe - Enable SPE instructions. stfiwx - Enable the stfiwx instruction. vsx - Enable VSX instructions. Use +feature to enable a feature, or -feature to disable it. For example, llc -mcpu=mycpu -mattr=+feature1,-feature2 '+help' is not a recognized feature for this target (ignoring feature) Available CPUs for this target: 440 - Select the 440 processor. 450 - Select the 450 processor. 601 - Select the 601 processor. 602 - Select the 602 processor. 603 - Select the 603 processor. 603e - Select the 603e processor. 603ev - Select the 603ev processor. 604 - Select the 604 processor. 604e - Select the 604e processor. 620 - Select the 620 processor. 7400 - Select the 7400 processor. 7450 - Select the 7450 processor. 750 - Select the 750 processor. 970 - Select the 970 processor. a2 - Select the a2 processor. a2q - Select the a2q processor. e500mc - Select the e500mc processor. e5500 - Select the e5500 processor. g3 - Select the g3 processor. g4 - Select the g4 processor. g4+ - Select the g4+ processor. g5 - Select the g5 processor. generic - Select the generic processor. ppc - Select the ppc processor. ppc32 - Select the ppc32 processor. ppc64 - Select the ppc64 processor. ppc64le - Select the ppc64le processor. pwr3 - Select the pwr3 processor. pwr4 - Select the pwr4 processor. pwr5 - Select the pwr5 processor. pwr5x - Select the pwr5x processor. pwr6 - Select the pwr6 processor. pwr6x - Select the pwr6x processor. pwr7 - Select the pwr7 processor. pwr8 - Select the pwr8 processor. pwr9 - Select the pwr9 processor. Available features for this target: 64bit - Enable 64-bit instructions. 64bitregs - Enable 64-bit registers usage for ppc32 [beta]. altivec - Enable Altivec instructions. booke - Enable Book E instructions. bpermd - Enable the bpermd instruction. cmpb - Enable the cmpb instruction. crbits - Use condition-register bits individually. crypto - Enable POWER8 Crypto instructions. direct-move - Enable Power8 direct move instructions. e500 - Enable E500/E500mc instructions. extdiv - Enable extended divide instructions. fcpsgn - Enable the fcpsgn instruction. float128 - Enable the __float128 data type for IEEE-754R Binary128.. fpcvt - Enable fc[ft]* (unsigned and single-precision) and lfiwzx instructions. fprnd - Enable the fri[mnpz] instructions. fre - Enable the fre instruction. fres - Enable the fres instruction. frsqrte - Enable the frsqrte instruction. frsqrtes - Enable the frsqrtes instruction. fsqrt - Enable the fsqrt instruction. fusion - Target supports add/load integer fusion.. hard-float - Enable floating-point instructions. htm - Enable Hardware Transactional Memory instructions. icbt - Enable icbt instruction. invariant-function-descriptors - Assume function descriptors are invariant. isa-v30-instructions - Enable instructions added in ISA 3.0.. isel - Enable the isel instruction. ldbrx - Enable the ldbrx instruction. lfiwax - Enable the lfiwax instruction. longcall - Always use indirect calls. mfocrf - Enable the MFOCRF instruction. msync - Has only the msync instruction instead of sync. partword-atomics - Enable l[bh]arx and st[bh]cx.. popcntd - Enable the popcnt[dw] instructions. power8-altivec - Enable POWER8 Altivec instructions. power8-vector - Enable POWER8 vector instructions. power9-altivec - Enable POWER9 Altivec instructions. power9-vector - Enable POWER9 vector instructions. ppc4xx - Enable PPC 4xx instructions. ppc6xx - Enable PPC 6xx instructions. qpx - Enable QPX instructions. recipprec - Assume higher precision reciprocal estimates. slow-popcntd - Has slow popcnt[dw] instructions. spe - Enable SPE instructions. stfiwx - Enable the stfiwx instruction. vsx - Enable VSX instructions. Use +feature to enable a feature, or -feature to disable it. For example, llc -mcpu=mycpu -mattr=+feature1,-feature2 '+help' is not a recognized feature for this target (ignoring feature) Available CPUs for this target: 440 - Select the 440 processor. 450 - Select the 450 processor. 601 - Select the 601 processor. 602 - Select the 602 processor. 603 - Select the 603 processor. 603e - Select the 603e processor. 603ev - Select the 603ev processor. 604 - Select the 604 processor. 604e - Select the 604e processor. 620 - Select the 620 processor. 7400 - Select the 7400 processor. 7450 - Select the 7450 processor. 750 - Select the 750 processor. 970 - Select the 970 processor. a2 - Select the a2 processor. a2q - Select the a2q processor. e500mc - Select the e500mc processor. e5500 - Select the e5500 processor. g3 - Select the g3 processor. g4 - Select the g4 processor. g4+ - Select the g4+ processor. g5 - Select the g5 processor. generic - Select the generic processor. ppc - Select the ppc processor. ppc32 - Select the ppc32 processor. ppc64 - Select the ppc64 processor. ppc64le - Select the ppc64le processor. pwr3 - Select the pwr3 processor. pwr4 - Select the pwr4 processor. pwr5 - Select the pwr5 processor. pwr5x - Select the pwr5x processor. pwr6 - Select the pwr6 processor. pwr6x - Select the pwr6x processor. pwr7 - Select the pwr7 processor. pwr8 - Select the pwr8 processor. pwr9 - Select the pwr9 processor. Available features for this target: 64bit - Enable 64-bit instructions. 64bitregs - Enable 64-bit registers usage for ppc32 [beta]. altivec - Enable Altivec instructions. booke - Enable Book E instructions. bpermd - Enable the bpermd instruction. cmpb - Enable the cmpb instruction. crbits - Use condition-register bits individually. crypto - Enable POWER8 Crypto instructions. direct-move - Enable Power8 direct move instructions. e500 - Enable E500/E500mc instructions. extdiv - Enable extended divide instructions. fcpsgn - Enable the fcpsgn instruction. float128 - Enable the __float128 data type for IEEE-754R Binary128.. fpcvt - Enable fc[ft]* (unsigned and single-precision) and lfiwzx instructions. fprnd - Enable the fri[mnpz] instructions. fre - Enable the fre instruction. fres - Enable the fres instruction. frsqrte - Enable the frsqrte instruction. frsqrtes - Enable the frsqrtes instruction. fsqrt - Enable the fsqrt instruction. fusion - Target supports add/load integer fusion.. hard-float - Enable floating-point instructions. htm - Enable Hardware Transactional Memory instructions. icbt - Enable icbt instruction. invariant-function-descriptors - Assume function descriptors are invariant. isa-v30-instructions - Enable instructions added in ISA 3.0.. isel - Enable the isel instruction. ldbrx - Enable the ldbrx instruction. lfiwax - Enable the lfiwax instruction. longcall - Always use indirect calls. mfocrf - Enable the MFOCRF instruction. msync - Has only the msync instruction instead of sync. partword-atomics - Enable l[bh]arx and st[bh]cx.. popcntd - Enable the popcnt[dw] instructions. power8-altivec - Enable POWER8 Altivec instructions. power8-vector - Enable POWER8 vector instructions. power9-altivec - Enable POWER9 Altivec instructions. power9-vector - Enable POWER9 vector instructions. ppc4xx - Enable PPC 4xx instructions. ppc6xx - Enable PPC 6xx instructions. qpx - Enable QPX instructions. recipprec - Assume higher precision reciprocal estimates. slow-popcntd - Has slow popcnt[dw] instructions. spe - Enable SPE instructions. stfiwx - Enable the stfiwx instruction. vsx - Enable VSX instructions. Use +feature to enable a feature, or -feature to disable it. For example, llc -mcpu=mycpu -mattr=+feature1,-feature2 '+help' is not a recognized feature for this target (ignoring feature) dh_auto_configure -- -DENABLE_ICD=yes -DWITH_LLVM_CONFIG=/usr/bin/llvm-config-4.0 -DLLC_HOST_CPU=ppc64le -DPOCL_ICD_ABSOLUTE_PATH=OFF -DFORCE_OCL_KERNEL_TARGET_CPU=ON cd obj-powerpc64le-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DENABLE_ICD=yes -DWITH_LLVM_CONFIG=/usr/bin/llvm-config-4.0 -DLLC_HOST_CPU=ppc64le -DPOCL_ICD_ABSOLUTE_PATH=OFF -DFORCE_OCL_KERNEL_TARGET_CPU=ON -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Host CPU cores: 4 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'hwloc' -- Found hwloc, version 1.11.9 -- Found Hwloc: hwloc -- Found hwloc 1.11.9 in :hwloc -- Hwloc_VERSION 1.11.9 -- Hwloc_LDFLAGS -lhwloc -- Hwloc_CFLAGS CMake Warning at CMakeLists.txt:274 (message): Unable to detect cacheline size - assuming 64byte cacheline, override with -DHOST_CPU_CACHELINE_SIZE= (Note: this is merely used for optimization, at worst pocl will be slightly slower) -- Using llvm-config: /usr/bin/llvm-config-4.0 -- LLVM binaries suffix : -4.0 -- llvm-config's LLVM_PREFIX is: /usr/lib/llvm-4.0 -- llvm-config's LLVM_VERSION_FULL is: 4.0.1 -- LLVM_VERSION: 4.0 -- llvm-config's LLVM_CFLAGS is: -I/usr/lib/llvm-4.0/include -g -O3 -fdebug-prefix-map=/build/llvm-toolchain-4.0-4AofGK/llvm-toolchain-4.0-4.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/lib/llvm-4.0/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/lib/llvm-4.0/lib -- llvm-config's LLVM_BINDIR is: /usr/lib/llvm-4.0/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib/llvm-4.0/lib -- llvm-config's LLVM_INCLUDEDIR is: /usr/lib/llvm-4.0/include -- llvm-config's LLVM_LIBS is: -lLLVM-4.0 -- llvm-config's LLVM_SRC_ROOT is: /usr/lib/llvm-4.0/build/ -- llvm-config's LLVM_OBJ_ROOT is: /usr/lib/llvm-4.0/build/ -- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ X86 XCore -- llvm-config's LLVM_HOST_TARGET is: powerpc64le-unknown-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: RelWithDebInfo -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_SYSLIBS is: -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIB_IS_SHARED is: shared -- llvm-config's LLVM_LIBS is: -lLLVM-4.0 -- llvm-config's LLVM_SYSLIBS is: -- Found clang: /usr/bin/clang-4.0 -- Found clang++: /usr/bin/clang++-4.0 -- Found opt: /usr/bin/opt-4.0 -- Found llc: /usr/bin/llc-4.0 -- Found llvm-as: /usr/bin/llvm-as-4.0 -- Found llvm-link: /usr/bin/llvm-link-4.0 -- Found lli: /usr/bin/lli-4.0 -- Clang option used to specify the target : --target= -- Checking if clang++ works (required by vecmathlib) -- Clang++ works with : 1 -- Find out LLC target triple (for host powerpc64le-unknown-linux-gnu) -- LLC_TRIPLE : powerpc64le-unknown-linux-gnu -- LLVM link test OK -- LLVM link test result : TRUE -- Checking fp16 support -- fp16 disabled: 1 -- Clang is NOT patched for SPIR CC -- NOT using SPIR -- Performing Test HAVE_CLOCK_GETTIME -- Performing Test HAVE_CLOCK_GETTIME - Success -- Looking for fork -- Looking for fork - found -- Looking for vfork -- Looking for vfork - found -- Trying to link LLVM to the single big libLLVM -- .. OK, using /usr/lib/llvm-4.0/lib/libLLVM-4.0.so -- ltdl found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Checking for module 'lttng-ust>=2.7' -- No package 'lttng-ust' found -- Checking for module 'ocl-icd>=1.3' -- Found ocl-icd, version 2.2.11 -- Using an ICD loader (cached): 1 -- Run tests with ICD: 1 -- OpenCL.h found, NOT installing our headers -- Failed to find tcecc or tce-config, disabling TCE -- TCE support : 0 -- Building the following device drivers: basic pthreads -- Looking for posix_memalign -- Looking for posix_memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Align of float16 : 64 -- Align of double16 : 128 -- ppc64le SLEEF: 128bit vectors NOT available. -- ppc64le SLEEF: 256bit vectors NOT available. -- ppc64le SLEEF: 512bit vectors NOT available. -- ppc64le SLEEF bc list: /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefsp.c.bc;/<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefdp.c.bc;/<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleef_glue_auto.c.bc -- ppc64le SLEEF bc: /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/sleef.bc -- Host Kernel BC for "ppc64le": /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/kernel-powerpc64le-unknown-linux-gnu-ppc64le.bc -- OPENCL_LIBS: Threads::Threads;OpenCL -- OPENCL_CFLAGS: -- POCLU LINK OPTS: Threads::Threads;OpenCL;-lm;poclu -- -- *********************** SUMMARY *************************** -- -- ******* Directories: -- -- POCL_INSTALL_CMAKE_CONFIG_DIR: /usr/lib/powerpc64le-linux-gnu/pocl -- POCL_INSTALL_ICD_VENDORDIR: /etc/OpenCL/vendors -- POCL_INSTALL_OPENCL_HEADER_DIR: /usr/include/CL -- POCL_INSTALL_PKGCONFIG_DIR: /usr/lib/powerpc64le-linux-gnu/pkgconfig -- POCL_INSTALL_PRIVATE_DATADIR: /usr/share/pocl -- POCL_INSTALL_PRIVATE_HEADER_DIR: /usr/share/pocl/include -- POCL_INSTALL_PRIVATE_LIBDIR: /usr/lib/powerpc64le-linux-gnu/pocl -- POCL_INSTALL_PUBLIC_BINDIR: /usr/bin -- POCL_INSTALL_PUBLIC_HEADER_DIR: /usr/include -- POCL_INSTALL_PUBLIC_LIBDIR: /usr/lib/powerpc64le-linux-gnu -- -- -- ******* LLVM Programs: -- -- LLVM_CONFIG: /usr/bin/llvm-config-4.0 -- LLVM_OPT: /usr/bin/opt-4.0 -- LLVM_LLC: /usr/bin/llc-4.0 -- LLVM_AS: /usr/bin/llvm-as-4.0 -- LLVM_LINK: /usr/bin/llvm-link-4.0 -- LLVM_LLI: /usr/bin/lli-4.0 -- WITH_LLVM_CONFIG (User preferred llvm-config): /usr/bin/llvm-config-4.0 -- -- ******* Various Flags: -- -- CLANG_MARCH_FLAG: -march= -- CLANG_TARGET_OPTION: --target= -- CL_DISABLE_HALF: 1 -- CL_DISABLE_LONG: -- HAVE_CLOCK_GETTIME: 1 -- HAVE_GLEW: -- HAVE_LTTNG_UST: 0 -- HOST_AS_FLAGS: -- HOST_CLANG_FLAGS: --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -- HOST_LD_FLAGS: -shared -lm -- HOST_LLC_FLAGS: -relocation-model=pic -mtriple=powerpc64le-unknown-linux-gnu -- -- LIB_API_VERSION: 2 -- LIB_BUILD_VERSION: 2.0.0 -- ICD_LD_FLAGS: -Wl,-Bsymbolic -- EXTRA_KERNEL_FLAGS: -- EXTRA_KERNEL_CXX_FLAGS: -- EXTRA_KERNEL_CL_FLAGS: -- EXTRA_KERNEL_C_FLAGS: -- final KERNEL_CXX_FLAGS: -xc++ -std=c++11 -fno-stack-protector -fno-PIC -- final KERNEL_CL_FLAGS: -x cl -fno-stack-protector -fno-PIC -- final KERNEL_C_FLAGS: -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -- -- LLVM_VERSION: 4.0 -- LLVM_LIB_IS_SHARED: shared -- LLVM_HAS_RTTI: YES -- LLVM_LIB_MODE: --link-shared -- LLVM_ASSERTS_BUILD: OFF -- LLVM_BUILD_MODE: RelWithDebInfo -- LLVM_CFLAGS: -I/usr/lib/llvm-4.0/include -g -O3 -fdebug-prefix-map=/build/llvm-toolchain-4.0-4AofGK/llvm-toolchain-4.0-4.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -Werror=date-time -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CXXFLAGS: -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CPPFLAGS: -I/usr/lib/llvm-4.0/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LDFLAGS: -L/usr/lib/llvm-4.0/lib -Wl,--exclude-libs,libclangFrontendTool -Wl,--exclude-libs,libclangFrontend -Wl,--exclude-libs,libclangDriver -Wl,--exclude-libs,libclangSerialization -Wl,--exclude-libs,libclangCodeGen -Wl,--exclude-libs,libclangParse -Wl,--exclude-libs,libclangSema -Wl,--exclude-libs,libclangRewrite -Wl,--exclude-libs,libclangRewriteFrontend -Wl,--exclude-libs,libclangStaticAnalyzerFrontend -Wl,--exclude-libs,libclangStaticAnalyzerCheckers -Wl,--exclude-libs,libclangStaticAnalyzerCore -Wl,--exclude-libs,libclangAnalysis -Wl,--exclude-libs,libclangEdit -Wl,--exclude-libs,libclangAST -Wl,--exclude-libs,libclangLex -Wl,--exclude-libs,libclangBasic -- LLVM_LIBDIR: /usr/lib/llvm-4.0/lib -- LLVM_INCLUDEDIR: /usr/lib/llvm-4.0/include -- LLVM_SRC_ROOT: /usr/lib/llvm-4.0/build/ -- LLVM_OBJ_ROOT: /usr/lib/llvm-4.0/build/ -- LLVM_INCLUDE_DIRS: -- LLVM_ALL_TARGETS: AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ X86 XCore -- LLVM_HOST_TARGET: powerpc64le-unknown-linux-gnu -- LLC_TRIPLE: powerpc64le-unknown-linux-gnu -- LLC_HOST_CPU: ppc64le -- MAX_EXTENDED_ALIGNMENT: 128 -- OCL_KERNEL_TARGET: powerpc64le-unknown-linux-gnu -- OCL_KERNEL_TARGET_CPU: ppc64le -- FORCE_OCL_KERNEL_TARGET_CPU: ON -- POCL_DEVICE_ADDRESS_BITS: 64 -- -- ----------- -------------------------------- -------- -- llvm libs libpocl will be linked to (POCL_LLVM_LIBS): -- /usr/lib/llvm-4.0/lib/libLLVM-4.0.so -- ----------- -------------------------------- -------- -- clang libs libpocl will be linked to (CLANG_LIBFILES): -- /usr/lib/llvm-4.0/lib/libclangFrontendTool.a;/usr/lib/llvm-4.0/lib/libclangFrontend.a;/usr/lib/llvm-4.0/lib/libclangDriver.a;/usr/lib/llvm-4.0/lib/libclangSerialization.a;/usr/lib/llvm-4.0/lib/libclangCodeGen.a;/usr/lib/llvm-4.0/lib/libclangParse.a;/usr/lib/llvm-4.0/lib/libclangSema.a;/usr/lib/llvm-4.0/lib/libclangRewrite.a;/usr/lib/llvm-4.0/lib/libclangRewriteFrontend.a;/usr/lib/llvm-4.0/lib/libclangStaticAnalyzerFrontend.a;/usr/lib/llvm-4.0/lib/libclangStaticAnalyzerCheckers.a;/usr/lib/llvm-4.0/lib/libclangStaticAnalyzerCore.a;/usr/lib/llvm-4.0/lib/libclangAnalysis.a;/usr/lib/llvm-4.0/lib/libclangEdit.a;/usr/lib/llvm-4.0/lib/libclangAST.a;/usr/lib/llvm-4.0/lib/libclangLex.a;/usr/lib/llvm-4.0/lib/libclangBasic.a -- ----------- -------------------------------- -------- -- system libs libpocl will be linked to (LLVM_SYSLIBS): -- -- ----------- -------------------------------- -------- -- ******* Enabled features: -- -- CLANG_SPIR: 0 -- DEVELOPER_MODE: OFF -- ENABLE_CONFORMANCE: ON -- ENABLE_ICD: yes -- ENABLE_TCE: 0 -- ENABLE_TCEMC: 0 -- ENABLE_HSA: OFF -- ENABLE_CUDA: OFF -- ENABLE_ASAN (address sanitizer): OFF -- ENABLE_LSAN (leak sanitizer): OFF -- ENABLE_TSAN (thread sanitizer): OFF -- ENABLE_UBSAN (UB sanitizer): OFF -- ENABLE_VECMATHLIB: OFF -- ENABLE_SLEEF: ON -- ENABLE_POCL_BUILDING: ON -- INSTALL_OPENCL_HEADERS (Install our headers): 0 -- OCL_DRIVERS (Drivers built): basic pthreads -- OCL_TARGETS (Targets built): host -- OCS_AVAILABLE: ON -- POCL_ICD_ABSOLUTE_PATH: OFF -- SINGLE_LLVM_LIB: ON -- TESTS_USE_ICD: 1 -- Available testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;VexCL;ViennaCL -- Enabled testsuites: -- Disabled testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;VexCL;ViennaCL -- Testsuites are built from git master: OFF -- Kernel caching: ON -- Kernel library CPU variants: native -- Kernel library distro build: 0 -- Use fake address space IDs: 0 -- Use pocl custom memory allocator: OFF -- L1d cacheline size: 64 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /<>/obj-powerpc64le-linux-gnu make[1]: Leaving directory '/<>' dh_auto_build -a -O--buildsystem=cmake cd obj-powerpc64le-linux-gnu && make -j4 make[1]: Entering directory '/<>/obj-powerpc64le-linux-gnu' /usr/bin/cmake -H/<> -B/<>/obj-powerpc64le-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<>/obj-powerpc64le-linux-gnu/CMakeFiles /<>/obj-powerpc64le-linux-gnu/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<>/obj-powerpc64le-linux-gnu' make -f include/CL/CMakeFiles/patched_cl_hpp.dir/build.make include/CL/CMakeFiles/patched_cl_hpp.dir/depend make -f lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/depend make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/depend make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/depend make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/include/CL /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/include/CL /<>/obj-powerpc64le-linux-gnu/include/CL/CMakeFiles/patched_cl_hpp.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/llvmopencl /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/llvmopencl /<>/obj-powerpc64le-linux-gnu/lib/llvmopencl/CMakeFiles/llvmpasses.dir/DependInfo.cmake --color= Scanning dependencies of target patched_cl_hpp make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/CL /<>/obj-powerpc64le-linux-gnu/lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f include/CL/CMakeFiles/patched_cl_hpp.dir/build.make include/CL/CMakeFiles/patched_cl_hpp.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel/host /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/kernel/host /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/DependInfo.cmake --color= Scanning dependencies of target kernel_host_ppc64le make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/build [ 0%] Generating ../../../include/CL/cl.hpp cd /<>/obj-powerpc64le-linux-gnu/include/CL && /usr/bin/patch -i /<>/tools/patches/khronos_cl.hpp.patch -o /<>/include/CL/cl.hpp.patched /<>/include/CL/cl.hpp.in patching file /<>/include/CL/cl.hpp.patched (read from /<>/include/CL/cl.hpp.in) Hunk #2 succeeded at 214 with fuzz 2. Scanning dependencies of target llvmpasses cd /<>/obj-powerpc64le-linux-gnu/include/CL && /usr/bin/cmake -E copy_if_different /<>/include/CL/cl.hpp.patched /<>/include/CL/cl.hpp make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' [ 0%] Building SLEEF to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleef_glue_auto.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -include /<>/obj-powerpc64le-linux-gnu/sleef_config_temp_ppc64le.h -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleef_glue_auto.c.bc -c /<>/lib/kernel/sleef/libm/sleef_glue_auto.c [ 0%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o cd /<>/obj-powerpc64le-linux-gnu/lib/llvmopencl && /usr/bin/c++ -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -o CMakeFiles/llvmpasses.dir/Kernel.cc.o -c /<>/lib/llvmopencl/Kernel.cc [ 0%] Patching cl.hpp make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 0%] Built target patched_cl_hpp make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/depend make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/topology /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/topology /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/DependInfo.cmake --color= Scanning dependencies of target pocl-devices-topology make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' [ 1%] Building SLEEF to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefsp.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -DDORENAME -DPURE_C -I/<>/lib/kernel/sleef/include -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefsp.c.bc -c /<>/lib/kernel/sleef/libm/sleefsp.c [ 1%] Building C object lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/topology && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o -c /<>/lib/CL/devices/topology/pocl_topology.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] Scanning dependencies of target libpocl_unlinked_objs make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' [ 1%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o -c /<>/lib/CL/clCreateContextFromType.c make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' [ 1%] Built target pocl-devices-topology [ 2%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o -c /<>/lib/CL/clReleaseContext.c [ 2%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o -c /<>/lib/CL/clRetainContext.c [ 2%] Building SLEEF to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefdp.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -DDORENAME -DPURE_C -I/<>/lib/kernel/sleef/include -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/c_sleefdp.c.bc -c /<>/lib/kernel/sleef/libm/sleefdp.c [ 2%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o -c /<>/lib/CL/clGetContextInfo.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/depend make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/CL/devices /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/CMakeFiles/pocl-devices.dir/DependInfo.cmake --color= Scanning dependencies of target pocl-devices make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' [ 3%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/devices.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices.dir/devices.c.o -c /<>/lib/CL/devices/devices.c In file included from /usr/lib/llvm-4.0/include/llvm/Support/DataTypes.h:33:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:48, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(float)’: /usr/include/c++/7/cmath:570:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:570:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(float)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(double)’: /usr/include/c++/7/cmath:574:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:574:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(double)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(long double)’: /usr/include/c++/7/cmath:578:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:578:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(long double)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(float)’: /usr/include/c++/7/cmath:592:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:592:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(float)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(double)’: /usr/include/c++/7/cmath:600:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:600:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(double)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(long double)’: /usr/include/c++/7/cmath:605:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:605:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(long double)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(float)’: /usr/include/c++/7/cmath:619:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:619:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(float)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(double)’: /usr/include/c++/7/cmath:627:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:627:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(double)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(long double)’: /usr/include/c++/7/cmath:632:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:632:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(long double)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(float)’: /usr/include/c++/7/cmath:646:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:646:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(float)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(double)’: /usr/include/c++/7/cmath:650:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:650:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(double)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(long double)’: /usr/include/c++/7/cmath:654:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:654:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(long double)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(float)’: /usr/include/c++/7/cmath:669:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:669:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(float)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(double)’: /usr/include/c++/7/cmath:673:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:673:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(double)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(long double)’: /usr/include/c++/7/cmath:677:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:677:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(long double)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(float, float)’: /usr/include/c++/7/cmath:691:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:691:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(float, float)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(double, double)’: /usr/include/c++/7/cmath:695:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:695:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(double, double)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(long double, long double)’: /usr/include/c++/7/cmath:699:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:699:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(long double, long double)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(float, float)’: /usr/include/c++/7/cmath:717:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:717:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(float, float)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(double, double)’: /usr/include/c++/7/cmath:721:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:721:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(double, double)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(long double, long double)’: /usr/include/c++/7/cmath:725:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:725:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(long double, long double)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(float, float)’: /usr/include/c++/7/cmath:743:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:743:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(float, float)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(double, double)’: /usr/include/c++/7/cmath:747:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:747:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(double, double)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(long double, long double)’: /usr/include/c++/7/cmath:751:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:751:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(long double, long double)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(float, float)’: /usr/include/c++/7/cmath:769:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:769:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(float, float)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(double, double)’: /usr/include/c++/7/cmath:773:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:773:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(double, double)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(long double, long double)’: /usr/include/c++/7/cmath:777:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:777:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(long double, long double)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(float, float)’: /usr/include/c++/7/cmath:795:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:795:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(float, float)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(double, double)’: /usr/include/c++/7/cmath:799:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:799:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(double, double)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(long double, long double)’: /usr/include/c++/7/cmath:803:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:803:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(long double, long double)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(float, float)’: /usr/include/c++/7/cmath:821:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:821:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(float, float)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(double, double)’: /usr/include/c++/7/cmath:825:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:825:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(double, double)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(long double, long double)’: /usr/include/c++/7/cmath:829:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:829:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(long double, long double)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ [ 3%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o -c /<>/lib/CL/clCreateCommandQueue.c In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits: At global scope: /usr/include/c++/7/limits:206:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = false; ^~~~~ /usr/include/c++/7/limits:223:52: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:226:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; ^~~~~ /usr/include/c++/7/limits:231:51: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = false; ^~~~~ /usr/include/c++/7/limits:255:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:259:56: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:263:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:270:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:274:52: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:279:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = false; ^~~~~ /usr/include/c++/7/limits:288:52: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ /usr/include/c++/7/limits:291:48: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = false; ^~~~~ /usr/include/c++/7/limits:294:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:385:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:402:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:403:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:404:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:418:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:419:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:420:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:423:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:437:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:438:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:439:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:444:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:445:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::min()’: /usr/include/c++/7/limits:388:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:388:51: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::min()’ not a return-statement min() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::max()’: /usr/include/c++/7/limits:391:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~~ /usr/include/c++/7/limits:391:50: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::max()’ not a return-statement max() _GLIBCXX_USE_NOEXCEPT { return true; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::epsilon()’: /usr/include/c++/7/limits:408:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return epsilon() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:408:55: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::epsilon()’ not a return-statement epsilon() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::round_error()’: /usr/include/c++/7/limits:411:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return round_error() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:411:59: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::round_error()’ not a return-statement round_error() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::infinity()’: /usr/include/c++/7/limits:426:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return infinity() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:426:56: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::infinity()’ not a return-statement infinity() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::quiet_NaN()’: /usr/include/c++/7/limits:429:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return quiet_NaN() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:429:57: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::quiet_NaN()’ not a return-statement quiet_NaN() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::signaling_NaN()’: /usr/include/c++/7/limits:432:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return signaling_NaN() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:432:61: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::signaling_NaN()’ not a return-statement signaling_NaN() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: In static member function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::denorm_min()’: /usr/include/c++/7/limits:435:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return denorm_min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~ /usr/include/c++/7/limits:435:58: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::numeric_limits<__vector(4) __bool int>::denorm_min()’ not a return-statement denorm_min() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/7/limits: At global scope: /usr/include/c++/7/limits:454:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:472:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = __glibcxx_signed (char); ^ /usr/include/c++/7/limits:473:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:474:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:488:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:489:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:490:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:493:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:507:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:508:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:511:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:512:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:521:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:540:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:541:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:542:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:556:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:557:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:558:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:561:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:577:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:578:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:579:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:581:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:582:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:591:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:611:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:612:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:613:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:627:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:628:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:629:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:632:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:650:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:651:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:652:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:654:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:655:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:664:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:683:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = __glibcxx_signed (wchar_t); ^ /usr/include/c++/7/limits:684:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:685:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:699:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:700:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:701:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:704:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:718:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:719:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:722:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:723:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:733:46: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:747:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_signed = __glibcxx_signed (char16_t); ^ /usr/include/c++/7/limits:748:42: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_integer = true; ^~~~ /usr/include/c++/7/limits:749:40: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_exact = true; ^~~~ /usr/include/c++/7/limits:763:44: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:764:45: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:765:49: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:767:47: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:781:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:782:42: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_bounded = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:785:37: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:786:47: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:794:46: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:808:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_signed = __glibcxx_signed (char32_t); ^ /usr/include/c++/7/limits:809:42: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_integer = true; ^~~~ /usr/include/c++/7/limits:810:40: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_exact = true; ^~~~ /usr/include/c++/7/limits:824:44: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:825:45: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:826:49: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:828:47: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:842:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:843:42: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_bounded = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:846:37: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:847:47: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:856:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:874:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:875:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:876:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:890:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:891:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:892:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:895:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:909:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:910:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:911:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:913:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:914:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:923:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:943:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:944:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:945:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:959:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:960:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:961:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:964:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:982:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:983:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:984:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:986:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:987:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:996:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1014:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1015:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1016:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1030:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1031:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1032:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1035:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1049:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1050:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1051:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1053:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1054:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1063:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1083:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:1084:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1085:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1099:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1100:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1101:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1104:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1121:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1122:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1123:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1125:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1126:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1135:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1153:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1154:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1155:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1169:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1170:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1171:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1174:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1188:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1189:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1190:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1192:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1193:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1202:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1222:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:1223:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1224:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1238:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1239:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1240:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1243:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1261:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1262:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1263:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1265:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1266:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1275:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1295:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1296:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1297:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1311:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1312:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1313:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1316:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1331:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1332:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1333:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1335:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1336:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1345:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1365:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = false; ^~~~~ /usr/include/c++/7/limits:1366:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = true; ^~~~ /usr/include/c++/7/limits:1367:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = true; ^~~~ /usr/include/c++/7/limits:1381:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = false; ^~~~~ /usr/include/c++/7/limits:1382:58: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = false; ^~~~~ /usr/include/c++/7/limits:1383:62: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_signaling_NaN = false; ^~~~~ /usr/include/c++/7/limits:1386:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_denorm_loss = false; ^~~~~ /usr/include/c++/7/limits:1404:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_iec559 = false; ^~~~~ /usr/include/c++/7/limits:1405:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1406:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = true; ^~~~ In file included from /usr/include/powerpc64le-linux-gnu/c++/7/bits/c++config.h:536:0, from /usr/include/c++/7/iostream:38, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/limits:1408:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_integral_traps; ^ In file included from /usr/include/c++/7/bits/uniform_int_dist.h:35:0, from /usr/include/c++/7/bits/stl_algo.h:66, from /usr/include/c++/7/algorithm:62, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/limits:1409:60: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool tinyness_before = false; ^~~~~ /usr/include/c++/7/limits:1596:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1615:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1616:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; ^~~~~ /usr/include/c++/7/limits:1617:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = false; ^~~~~ /usr/include/c++/7/limits:1631:57: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = __FLT_HAS_INFINITY__; ^ /usr/include/c++/7/limits:1632:58: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = __FLT_HAS_QUIET_NAN__; ^ /usr/include/c++/7/limits:1635:4: error: expected primary-expression before ‘__attribute__’ = bool(__FLT_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1635:2: error: expected ‘;’ at end of member declaration = bool(__FLT_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1635:9: error: expected unqualified-id before numeric constant = bool(__FLT_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1635:9: error: expected ‘)’ before numeric constant /usr/include/c++/7/limits:1637:10: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization = __glibcxx_float_has_denorm_loss; ^ /usr/include/c++/7/limits:1653:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1654:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ /usr/include/c++/7/limits:1656:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_float_traps; ^ /usr/include/c++/7/limits:1658:10: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization = __glibcxx_float_tinyness_before; ^ /usr/include/c++/7/limits:1671:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1690:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1691:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; ^~~~~ /usr/include/c++/7/limits:1692:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = false; ^~~~~ /usr/include/c++/7/limits:1706:57: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = __DBL_HAS_INFINITY__; ^ /usr/include/c++/7/limits:1707:58: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = __DBL_HAS_QUIET_NAN__; ^ /usr/include/c++/7/limits:1710:4: error: expected primary-expression before ‘__attribute__’ = bool(__DBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1710:2: error: expected ‘;’ at end of member declaration = bool(__DBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1710:9: error: expected unqualified-id before numeric constant = bool(__DBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1710:9: error: expected ‘)’ before numeric constant /usr/include/c++/7/limits:1712:11: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization = __glibcxx_double_has_denorm_loss; ^ /usr/include/c++/7/limits:1728:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1729:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ /usr/include/c++/7/limits:1731:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_double_traps; ^ /usr/include/c++/7/limits:1733:10: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization = __glibcxx_double_tinyness_before; ^ /usr/include/c++/7/limits:1746:59: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = true; ^~~~ /usr/include/c++/7/limits:1765:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_signed = true; ^~~~ /usr/include/c++/7/limits:1766:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_integer = false; ^~~~~ /usr/include/c++/7/limits:1767:53: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_exact = false; ^~~~~ /usr/include/c++/7/limits:1781:57: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_infinity = __LDBL_HAS_INFINITY__; ^ /usr/include/c++/7/limits:1782:58: error: cannot convert ‘int’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool has_quiet_NaN = __LDBL_HAS_QUIET_NAN__; ^ /usr/include/c++/7/limits:1785:4: error: expected primary-expression before ‘__attribute__’ = bool(__LDBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1785:2: error: expected ‘;’ at end of member declaration = bool(__LDBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1785:9: error: expected unqualified-id before numeric constant = bool(__LDBL_HAS_DENORM__) ? denorm_present : denorm_absent; ^ /usr/include/c++/7/limits:1785:9: error: expected ‘)’ before numeric constant /usr/include/c++/7/limits:1787:4: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization = __glibcxx_long_double_has_denorm_loss; ^ /usr/include/c++/7/limits:1803:55: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_bounded = true; ^~~~ /usr/include/c++/7/limits:1804:54: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_modulo = false; ^~~~~ /usr/include/c++/7/limits:1806:50: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool traps = __glibcxx_long_double_traps; ^ /usr/include/c++/7/limits:1808:7: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization __glibcxx_long_double_tinyness_before; ^ /usr/include/c++/7/bits/stl_algo.h: In function ‘_BidirectionalIterator std::__partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate, std::bidirectional_iterator_tag)’: /usr/include/c++/7/bits/stl_algo.h:1529:16: error: expected primary-expression before ‘__attribute__’ else if (!bool(__pred(*__last))) ^ /usr/include/c++/7/bits/stl_algo.h:1529:16: error: expected ‘)’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_algo.h: In function ‘unsigned int std::binary_search(_FIter, _FIter, const _Tp&, _Compare)’: /usr/include/c++/7/bits/stl_algo.h:2295:32: error: expected primary-expression before ‘__attribute__’ return __i != __last && !bool(__comp(__val, *__i)); ^ /usr/include/c++/7/bits/stl_algo.h:2295:32: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/tuple: In static member function ‘static constexpr unsigned int std::__tuple_compare<_Tp, _Up, __i, __size>::__eq(const _Tp&, const _Up&)’: /usr/include/c++/7/tuple:1372:9: error: expected primary-expression before ‘__attribute__’ return bool(std::get<__i>(__t) == std::get<__i>(__u)) ^ /usr/include/c++/7/tuple:1372:9: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/tuple: In static member function ‘static constexpr unsigned int std::__tuple_compare<_Tp, _Up, __i, __size>::__less(const _Tp&, const _Up&)’: /usr/include/c++/7/tuple:1379:9: error: expected primary-expression before ‘__attribute__’ return bool(std::get<__i>(__t) < std::get<__i>(__u)) ^ /usr/include/c++/7/tuple:1379:9: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/tuple:1380:9: error: expected primary-expression before ‘__attribute__’ || (!bool(std::get<__i>(__u) < std::get<__i>(__t)) ^ /usr/include/c++/7/tuple:1380:9: error: expected ‘)’ before ‘__attribute__’ In file included from /usr/include/c++/7/functional:58:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/std_function.h: At global scope: /usr/include/c++/7/bits/std_function.h:160:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::_Function_base::_Base_manager<_Functor>::__stored_locally’ of non-integral type [-fpermissive] static const bool __stored_locally = ^~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:166:50: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter typedef integral_constant _Local_storage; ^ /usr/include/c++/7/bits/std_function.h: In static member function ‘static __vector(4) __bool int std::_Function_base::_Base_manager<_Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation)’: /usr/include/c++/7/bits/std_function.h:227:51: error: no matching function for call to ‘std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::_Function_base::_Base_manager<_Functor>::_Local_storage)’ _M_clone(__dest, __source, _Local_storage()); ^ /usr/include/c++/7/bits/std_function.h:181:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::true_type) _M_clone(_Any_data& __dest, const _Any_data& __source, true_type) ^~~~~~~~ /usr/include/c++/7/bits/std_function.h:181:2: note: no known conversion for argument 3 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::true_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:189:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::false_type) _M_clone(_Any_data& __dest, const _Any_data& __source, false_type) ^~~~~~~~ /usr/include/c++/7/bits/std_function.h:189:2: note: no known conversion for argument 3 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::false_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:231:43: error: no matching function for call to ‘std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::_Function_base::_Base_manager<_Functor>::_Local_storage)’ _M_destroy(__dest, _Local_storage()); ^ /usr/include/c++/7/bits/std_function.h:198:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::true_type) _M_destroy(_Any_data& __victim, true_type) ^~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:198:2: note: no known conversion for argument 2 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::true_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:205:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::false_type) _M_destroy(_Any_data& __victim, false_type) ^~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:205:2: note: no known conversion for argument 2 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::false_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h: In member function ‘__vector(4) __bool int std::_Function_base::_M_empty() const’: /usr/include/c++/7/bits/std_function.h:279:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool _M_empty() const { return !_M_manager; } ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/functional: At global scope: /usr/include/c++/7/functional:518:60: error: template argument 1 is invalid enable_if::value+1), _Functor>::type; ^ /usr/include/c++/7/functional:518:4: error: expected nested-name-specifier enable_if::value+1), _Functor>::type; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/functional:522:24: error: ‘__dependent’ was not declared in this scope typename __cv_quals<__dependent<_CallArgs>>::type, ^~~~~~~~~~~ [ 4%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o -c /<>/lib/CL/clCreateCommandQueueWithProperties.c /usr/include/c++/7/functional:522:36: error: template argument 1 is invalid typename __cv_quals<__dependent<_CallArgs>>::type, ^~~~~~~~~ /usr/include/c++/7/functional:522:45: error: wrong number of template arguments (1, should be at least 2) typename __cv_quals<__dependent<_CallArgs>>::type, ^~ /usr/include/c++/7/functional:511:72: note: provided for ‘template template using _Res_type_impl = typename std::result_of<_Fn&(std::_Bind<_Functor(_Bound_args ...)>::_Mu_type<_BArgs, _CallArgs>&& ...)>::type’ = typename result_of< _Fn&(_Mu_type<_BArgs, _CallArgs>&&...) >::type; ^ /usr/include/c++/7/functional:556:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_const>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:556:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_const>> ^ /usr/include/c++/7/functional:573:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_volatile>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:573:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_volatile>> ^ /usr/include/c++/7/functional:585:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_cv>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:585:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_cv>> ^ [ 5%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/abs.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/abs.cl.bc -c /<>/lib/kernel/abs.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/c++/7/memory:65:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator)’: /usr/include/c++/7/bits/stl_uninitialized.h:133:27: error: could not convert template argument ‘((__is_trivial(typename std::iterator_traits<_Iter>::_ValueType1) && __is_trivial(typename std::iterator_traits<_II>::_ValueType2)) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&)’: /usr/include/c++/7/bits/stl_uninitialized.h:193:73: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ std::__uninitialized_fill<__is_trivial(_ValueType) && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h:194:36: error: expression list treated as compound expression in initializer [-fpermissive] __uninit_fill(__first, __last, __x); ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&)’: /usr/include/c++/7/bits/stl_uninitialized.h:254:77: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ return __uninitialized_fill_n<__is_trivial(_ValueType) && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘void std::__uninitialized_default(_ForwardIterator, _ForwardIterator)’: /usr/include/c++/7/bits/stl_uninitialized.h:566:25: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h:567:34: error: expression list treated as compound expression in initializer [-fpermissive] __uninit_default(__first, __last); ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size)’: /usr/include/c++/7/bits/stl_uninitialized.h:582:27: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ In file included from /usr/include/c++/7/bits/shared_ptr.h:52:0, from /usr/include/c++/7/memory:81, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/shared_ptr_base.h: At global scope: /usr/include/c++/7/bits/shared_ptr_base.h:257:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)0>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_single>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/include/c++/7/bits/shared_ptr_base.h:258:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ /usr/include/c++/7/bits/shared_ptr_base.h:268:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_mutex>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/shared_ptr_base.h:269:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ /usr/include/c++/7/bits/shared_ptr_base.h:282:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_atomic>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/shared_ptr_base.h:283:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ In file included from /usr/include/c++/7/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/7/memory:82, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/atomic_base.h: In member function ‘__vector(4) __bool int std::atomic_flag::test_and_set(std::memory_order)’: /usr/include/c++/7/bits/atomic_base.h:176:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __atomic_test_and_set (&_M_i, __m); ^ /usr/include/c++/7/bits/atomic_base.h: In member function ‘__vector(4) __bool int std::atomic_flag::test_and_set(std::memory_order) volatile’: /usr/include/c++/7/bits/atomic_base.h:182:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __atomic_test_and_set (&_M_i, __m); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:150:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:34:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:73:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:75:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:77:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:79:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:230:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::has_rbegin_impl::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:634:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_one_of::value’ of non-integral type [-fpermissive] static const bool value = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:639:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_one_of::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:220:70: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ unsigned edit_distance(StringRef Other, bool AllowReplacements = true, ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:757:33: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool KeepEmpty = true) const; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:774:33: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool KeepEmpty = true) const; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:130:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return Length == 0; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::equals(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:168:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(Data, RHS.Data, RHS.Length) == 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::equals_lower(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:174:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Length == RHS.Length && compare_lower(RHS) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::startswith(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:266:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(Data, Prefix.Data, Prefix.Length) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::endswith(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:278:77: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘size_t llvm::StringRef::find_if(llvm::function_ref<__vector(4) __bool int(char)>, size_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:320:14: error: could not convert ‘((S.llvm::StringRef::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ while (!S.empty()) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:321:14: error: could not convert ‘F.llvm::function_ref<__vector(4) __bool int(char)>::operator()(S.llvm::StringRef::front())’ from ‘__vector(4) __bool int’ to ‘bool’ if (F(S.front())) ~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:445:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains(StringRef Other) const { return find(Other) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains(char) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:451:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains(char C) const { return find_first_of(C) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains_lower(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:458:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return find_lower(Other) != npos; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains_lower(char) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:465:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains_lower(char C) const { return find_lower(C) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::consume_front(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:668:11: error: could not convert ‘((((llvm::StringRef*)this)->llvm::StringRef::startswith(Prefix) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!startswith(Prefix)) ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:669:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:672:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::consume_back(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:679:11: error: could not convert ‘((((llvm::StringRef*)this)->llvm::StringRef::endswith(Suffix) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!endswith(Suffix)) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:680:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:683:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator<(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:873:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) == -1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator<=(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:877:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) != 1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator>(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:881:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) == 1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator>=(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:885:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) != -1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:900:63: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] template <> struct isPodLike { static const bool value = true; }; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:900:71: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization template <> struct isPodLike { static const bool value = true; }; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:20:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:268:35: error: template-id ‘isInt<8>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<8>(int64_t x) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:271:35: error: template-id ‘isInt<16>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<16>(int64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:274:35: error: template-id ‘isInt<32>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<32>(int64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:309:35: error: template-id ‘isUInt<8>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<8>(uint64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:312:35: error: template-id ‘isUInt<16>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<16>(uint64_t x) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:315:35: error: template-id ‘isUInt<32>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<32>(uint64_t x) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘__vector(4) __bool int llvm::isUIntN(unsigned int, uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:361:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return N >= 64 || x <= maxUIntN(N); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘__vector(4) __bool int llvm::isIntN(unsigned int, int64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:367:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N)); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isMask_32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:374:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && ((Value + 1) & Value) == 0; ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:375:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isMask_32(uint32_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isMask_64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:381:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && ((Value + 1) & Value) == 0; ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:382:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isMask_64(uint64_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:400:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && !(Value & (Value - 1)); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:401:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_32(uint32_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:406:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && !(Value & (Value - int64_t(1L))); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:407:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ not a return-statement } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value && isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘__vector(4) __bool int llvm::SmallVectorBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:60:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return LLVM_NODISCARD bool empty() const { return BeginX == EndX; } ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:212:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(T&&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:219:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:307:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorImpl::emplace_back(ArgTypes&& ...)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:636:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value && isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:49: required from ‘const __vector(4) __bool int llvm::isPodLike >::value’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike >::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: the value of ‘llvm::isPodLike::value’ is not usable in a constant expression static const bool value = isPodLike::value && isPodLike::value; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:338:59: error: expected ‘)’ before ‘,’ token void DeallocateSlabs(SmallVectorImpl::iterator I, ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:49: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ SmallVectorImpl::iterator E) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:49: error: expected ‘;’ at end of member declaration [ 5%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:58: error: ‘E’ does not name a type SmallVectorImpl::iterator E) { ^ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o -c /<>/lib/CL/clReleaseCommandQueue.c /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:168:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:168:42: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:173:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:173:42: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:197:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ if (Slabs.empty()) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:202:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ CurPtr = (char *)Slabs.front(); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:206:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:206:53: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:49: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t)’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:241:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘push_back’; did you mean ‘emplace_back’? CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:273:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:273:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:277:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:277:56: error: ‘E’ was not declared in this scope for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:278:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:287:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:325:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:332:11: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Slabs.push_back(NewSlab); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:392:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:392:76: error: ‘E’ was not declared in this scope for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:395:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ std::distance(Allocator.Slabs.begin(), I)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:397:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In member function ‘__vector(4) __bool int llvm::StringMapImpl::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:113:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return NumItems == 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Host.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Host.h:37:39: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static const bool IsBigEndianHost = false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘__vector(4) __bool int llvm::operator==(const llvm::hash_code&, const llvm::hash_code&)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:87:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return lhs.value == rhs.value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘__vector(4) __bool int llvm::operator!=(const llvm::hash_code&, const llvm::hash_code&)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:90:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return lhs.value != rhs.value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘uint64_t llvm::hashing::detail::fetch64(const char*)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:148:27: error: could not convert ‘llvm::sys::IsBigEndianHost’ from ‘const __vector(4) __bool int’ to ‘bool’ if (sys::IsBigEndianHost) ^ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘uint32_t llvm::hashing::detail::fetch32(const char*)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:156:27: error: could not convert ‘llvm::sys::IsBigEndianHost’ from ‘const __vector(4) __bool int’ to ‘bool’ if (sys::IsBigEndianHost) ^ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:350:55: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter 64 % sizeof(T) == 0)> {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:360:60: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter sizeof(std::pair))> {}; ^ [ 5%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/bufalloc.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices.dir/bufalloc.c.o -c /<>/lib/CL/devices/bufalloc.c /usr/include/c++/7/bits/stl_vector.h:216:11: error: template class without a name class vector : protected _Vector_base<_Tp, _Alloc> ^ In file included from /usr/include/c++/7/vector:64:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/stl_vector.h:1596:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1596:78: error: ‘unsigned int std::operator==(__vector(4) int)’ must have an argument of class or enumerated type operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1613:27: error: expected ‘,’ or ‘...’ before ‘<’ token operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1613:77: error: ‘unsigned int std::operator<(__vector(4) int)’ must have an argument of class or enumerated type operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1620:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1620:78: error: ‘unsigned int std::operator!=(__vector(4) int)’ must have an argument of class or enumerated type operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1626:27: error: expected ‘,’ or ‘...’ before ‘<’ token operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1626:77: error: ‘unsigned int std::operator>(__vector(4) int)’ must have an argument of class or enumerated type operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1632:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1632:78: error: ‘unsigned int std::operator<=(__vector(4) int)’ must have an argument of class or enumerated type operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1638:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1638:78: error: ‘unsigned int std::operator>=(__vector(4) int)’ must have an argument of class or enumerated type operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:10: error: variable or field ‘swap’ declared void swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:10: error: expected primary-expression before ‘__attribute__’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:28: error: expected primary-expression before ‘>’ token swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:31: error: ‘__x’ was not declared in this scope swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ /usr/include/c++/7/bits/stl_vector.h:1644:31: note: suggested alternative: ‘__N’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ __N /usr/include/c++/7/bits/stl_vector.h:1644:36: error: expected primary-expression before ‘__attribute__’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:54: error: expected primary-expression before ‘>’ token swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:57: error: ‘__y’ was not declared in this scope swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ /usr/include/c++/7/bits/stl_vector.h:1644:57: note: suggested alternative: ‘__yn’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ __yn In file included from /usr/include/c++/7/vector:65:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference::operator __vector(4) __bool int() const’: /usr/include/c++/7/bits/stl_bvector.h:81:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !!(*_M_p & _M_mask); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference& std::_Bit_reference::operator=(__vector(4) __bool int)’: /usr/include/c++/7/bits/stl_bvector.h:86:14: error: could not convert ‘__x’ from ‘__vector(4) __bool int’ to ‘bool’ if (__x) ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference& std::_Bit_reference::operator=(const std::_Bit_reference&)’: /usr/include/c++/7/bits/stl_bvector.h:95:22: error: expected primary-expression before ‘__attribute__’ { return *this = bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:95:22: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:95:30: error: declaration of ‘__vector(4) __bool int __x’ shadows a parameter { return *this = bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_reference::operator==(const std::_Bit_reference&) const’: /usr/include/c++/7/bits/stl_bvector.h:99:14: error: expected primary-expression before ‘__attribute__’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:99:14: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:99:24: error: invalid cast from type ‘const std::_Bit_reference’ to type ‘unsigned int’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:99:29: error: expected primary-expression before ‘__attribute__’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_reference::operator<(const std::_Bit_reference&) const’: /usr/include/c++/7/bits/stl_bvector.h:103:15: error: expected primary-expression before ‘__attribute__’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:103:15: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:103:25: error: invalid cast from type ‘const std::_Bit_reference’ to type ‘unsigned int’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:103:30: error: expected primary-expression before ‘__attribute__’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_iterator_base::operator==(const std::_Bit_iterator_base&) const’: /usr/include/c++/7/bits/stl_bvector.h:181:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_p == __i._M_p && _M_offset == __i._M_offset; } ^~~~~~~~~ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_iterator_base::operator<(const std::_Bit_iterator_base&) const’: /usr/include/c++/7/bits/stl_bvector.h:187:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return || (_M_p == __i._M_p && _M_offset < __i._M_offset); ^ /usr/include/c++/7/bits/stl_bvector.h: In function ‘void std::__fill_bvector(std::_Bit_iterator, std::_Bit_iterator, __vector(4) __bool int)’: /usr/include/c++/7/bits/stl_bvector.h:393:20: error: could not convert ‘__first.std::_Bit_iterator::.std::_Bit_iterator_base::operator!=(__last.std::_Bit_iterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (; __first != __last; ++__first) ~~~~~~~~^~~~~~~~~ /usr/include/c++/7/bits/stl_bvector.h: At global scope: /usr/include/c++/7/bits/stl_bvector.h:543:15: error: expected identifier before ‘<’ token class vector : protected _Bvector_base<_Alloc> ^ /usr/include/c++/7/bits/stl_bvector.h:543:15: error: expected unqualified-id before ‘<’ token /usr/include/c++/7/bits/stl_bvector.h:1282:52: error: template argument 1 is invalid struct hash<_GLIBCXX_STD_C::vector> ^~ /usr/include/c++/7/bits/stl_bvector.h:1283:69: error: template argument 2 is invalid : public __hash_base> ^~ In file included from /usr/include/c++/7/vector:69:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/vector.tcc:65:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:95:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:113:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:113:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:152:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:152:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:164:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:164:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:178:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>& ^ /usr/include/c++/7/bits/vector.tcc:237:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:260:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:278:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:313:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:335:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:364:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:394:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:458:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:554:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:604:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:616:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:630:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:713:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:727:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:759:13: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:793:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:820:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:820:20: error: expected unqualified-id before ‘<’ token typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:831:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:831:20: error: expected unqualified-id before ‘<’ token typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:843:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:869:45: error: template argument 1 is invalid hash<_GLIBCXX_STD_C::vector>:: ^~ In file included from /usr/include/c++/7/iostream:38:0, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/vector.tcc:870:22: error: expected ‘)’ operator()(const _GLIBCXX_STD_C::vector& __b) const noexcept ^ /usr/include/c++/7/bits/vector.tcc:870:22: error: expected initializer In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:80:33: error: expected ‘)’ /*implicit*/ ArrayRef(const std::vector &Vec) ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:80:33: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:120:20: error: expected ‘)’ ArrayRef(const std::vector &Vec, ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:120:20: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:256:10: error: expected unqualified-id before ‘__attribute__’ std::vector vec() const { ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:263:14: error: expected type-specifier operator std::vector() const { ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:310:39: error: expected unqualified-id before ‘__attribute__’ /*implicit*/ MutableArrayRef(std::vector &Vec) ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:310:39: error: expected ‘)’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:470:34: error: expected ‘)’ ArrayRef makeArrayRef(const std::vector &Vec) { ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:470:34: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:509:23: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:21:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isNull() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:188:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() == NullKind; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isEmpty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:193:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() == EmptyKind; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isBinary() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:208:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() != NullKind && getRHSKind() != EmptyKind; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isValid() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:215:23: error: could not convert ‘(((((const llvm::Twine*)this)->llvm::Twine::isNullary() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((int)((const llvm::Twine*)this)->llvm::Twine::getRHSKind()) != 1) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isNullary() && getRHSKind() != EmptyKind) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:216:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:220:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:224:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:227:37: error: could not convert ‘((((int)((const llvm::Twine*)this)->llvm::Twine::getLHSKind()) == 2) ? ((((((const llvm::Twine*)((const llvm::Twine*)this)->llvm::Twine::LHS.llvm::Twine::Child::twine)->llvm::Twine::isBinary() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (getLHSKind() == TwineKind && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !LHS.twine->isBinary()) ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:229:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:230:37: error: could not convert ‘((((int)((const llvm::Twine*)this)->llvm::Twine::getRHSKind()) == 2) ? ((((((const llvm::Twine*)((const llvm::Twine*)this)->llvm::Twine::RHS.llvm::Twine::Child::twine)->llvm::Twine::isBinary() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (getRHSKind() == TwineKind && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !RHS.twine->isBinary()) ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:232:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:234:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:21:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isSingleStringRef() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:415:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (getRHSKind() != EmptyKind) return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:423:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:425:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::getSingleStringRef() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:456:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ return StringRef(LHS.smallString->data(), LHS.smallString->size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:456:68: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ return StringRef(LHS.smallString->data(), LHS.smallString->size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:464:28: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isSingleStringRef()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleStringRef()) ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:467:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ return StringRef(Out.data(), Out.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:467:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ return StringRef(Out.data(), Out.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::Twine llvm::Twine::concat(const llvm::Twine&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:498:18: error: could not convert ‘(((((const llvm::Twine*)this)->llvm::Twine::isNull() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | (((& Suffix)->llvm::Twine::isNull() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isNull() || Suffix.isNull()) ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:502:16: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isEmpty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isEmpty()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:504:23: error: could not convert ‘(& Suffix)->llvm::Twine::isEmpty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Suffix.isEmpty()) ~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:513:16: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isUnary()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isUnary()) { ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:517:23: error: could not convert ‘(& Suffix)->llvm::Twine::isUnary()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Suffix.isUnary()) { ~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:177:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h: In member function ‘__vector(4) __bool int llvm::ilist_node_base<0>::isKnownSentinel() const’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:32:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isKnownSentinel() const { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h: In member function ‘__vector(4) __bool int llvm::ilist_node_base<1>::isSentinel() const’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:46:59: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isSentinel() const { return PrevAndSentinel.getInt(); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness::is_explicit’ of non-integral type [-fpermissive] static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:66:58: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : std::integral_constant, is_explicit {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::explicitness<1>’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:66:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<1>::is_explicit’ of non-integral type [-fpermissive] static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::explicitness<0>’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:74:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<0>::is_explicit’ of non-integral type [-fpermissive] /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:102:72: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter check_options::value> {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:116:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::node_options::enable_sentinel_tracking’ of non-integral type [-fpermissive] static const bool enable_sentinel_tracking = EnableSentinelTracking; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:117:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::node_options::is_sentinel_tracking_explicit’ of non-integral type [-fpermissive] static const bool is_sentinel_tracking_explicit = IsSentinelTrackingExplicit; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:119:51: error: could not convert template argument ‘enable_sentinel_tracking’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef ilist_node_base node_base_type; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:120:46: error: could not convert template argument ‘enable_sentinel_tracking’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef ilist_base list_base_type; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:122:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasGetNext::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:136:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasCreateSentinel::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:152:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasCreateNode::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:156:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasObsoleteCustomization::value’ of non-integral type [-fpermissive] static const bool value = HasGetNext::value || ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const char&, const char&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:59:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const unsigned int&, const unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:69:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ [ 5%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long unsigned int&, const long unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:81:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long long unsigned int&, const long long unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:94:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const int&, const int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:104:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o -c /<>/lib/CL/clRetainCommandQueue.c /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long int&, const long int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:118:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long long int&, const long long int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:131:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘class llvm::is_integral_or_enum’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:633:1: required by substitution of ‘template typename std::enable_if::value, llvm::hash_code>::type llvm::hash_value(T) [with T = llvm::StringRef]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:183:37: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:633:1: required by substitution of ‘template typename std::enable_if::value, llvm::hash_code>::type llvm::hash_value(T) [with T = llvm::StringRef]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:183:37: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:187:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.data() == getEmptyKey().data(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:189:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.data() == getTombstoneKey().data(); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/EpochTracker.h: In member function ‘__vector(4) __bool int llvm::DebugEpochBase::HandleBase::isHandleInSync() const’: /usr/lib/llvm-4.0/include/llvm/ADT/EpochTracker.h:91:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isHandleInSync() const { return true; } ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In member function ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:483:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:487:16: note: in expansion of macro ‘LLVM_UNLIKELY’ } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <= ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In member function ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:178:62: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:534:11: note: in expansion of macro ‘LLVM_LIKELY’ if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) { ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:178:62: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:541:11: note: in expansion of macro ‘LLVM_LIKELY’ if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) { ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Use.h:111:59: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static void zap(Use *Start, const Use *Stop, bool del = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:211:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &O, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:213:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:223:56: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void printAsOperand(raw_ostream &O, bool PrintType = true, ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasName() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:236:33: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasName() const { return HasName; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::use_empty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:301:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return UseList == nullptr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::user_empty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:337:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return UseList == nullptr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasOneUse() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:11: error: could not convert ‘I.llvm::Value::use_iterator_impl::operator==(E)’ from ‘__vector(4) __bool int’ to ‘bool’ if (I == E) return false; ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (I == E) return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasSameSubclassOptionalData(const llvm::Value*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:452:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData == V->SubclassOptionalData; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasValueHandle() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:456:40: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasValueHandle() const { return HasValueHandle; } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::isUsedByMetadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:459:42: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isUsedByMetadata() const { return IsUsedByMD; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:620:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Value::print(llvm::raw_ostream&, __vector(4) __bool int) const’ V.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:713:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantLastVal; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:720:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantDataLastVal; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:727:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantAggregateLastVal; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:733:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::ArgumentVal; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:739:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::InlineAsmVal; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:745:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() >= Value::InstructionVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:751:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::BasicBlockVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:757:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::FunctionVal; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:763:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:769:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalAliasVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:775:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/User.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void allocHungoffUses(unsigned N, bool IsPhi = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/User.h:94:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void growHungoffUses(unsigned N, bool IsPhi = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Constant.h: In static member function ‘static __vector(4) __bool int llvm::Constant::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:123:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantLastVal; ^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Constant; Y = llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:156:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Constant; Y = llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:156:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:25:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In destructor ‘llvm::SmallPtrSetImplBase::~SmallPtrSetImplBase()’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:89:9: error: could not convert ‘((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSmall()) ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:98:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return LLVM_NODISCARD bool empty() const { return size() == 0; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘void llvm::SmallPtrSetImplBase::clear()’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:104:9: error: could not convert ‘((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSmall()) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘const void** llvm::SmallPtrSetImplBase::EndPointer() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:125:22: error: inferred scalar type ‘const void**’ is not an integer or floating point type of the same size as ‘__bool int’ return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘std::pair llvm::SmallPtrSetImplBase::insert_imp(const void*)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:132:16: error: could not convert ‘((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSmall()) { ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:139:32: error: could not convert ‘std::make_pair(APtr, false)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(APtr, false); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:148:30: error: could not convert ‘std::make_pair(LastTombstone, true)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(LastTombstone, true); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:154:30: error: could not convert ‘std::make_pair((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::SmallArray + ((sizetype)(((long unsigned int)(((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::NumNonEmpty - 1)) * 8))), true)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(SmallArray + (NumNonEmpty - 1), true); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::erase_imp(const void*)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:168:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:174:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘const void* const* llvm::SmallPtrSetImplBase::find_imp(const void*) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:181:16: error: could not convert ‘((const llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSmall()) { ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::isSmall() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:198:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSmall() const { return CurArray == SmallArray; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetIteratorImpl::operator==(const llvm::SmallPtrSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:243:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Bucket == RHS.Bucket; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetIteratorImpl::operator!=(const llvm::SmallPtrSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:246:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Bucket != RHS.Bucket; ^~~~~~ [ 5%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/abs_diff.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/abs_diff.cl.bc -c /<>/lib/kernel/abs_diff.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:32:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/ManagedStatic.h: In member function ‘__vector(4) __bool int llvm::ManagedStaticBase::isConstructed() const’: /usr/lib/llvm-4.0/include/llvm/Support/ManagedStatic.h:52:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isConstructed() const { return Ptr != nullptr; } ^~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:55:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IgnoreErrors = false); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:351:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MultiArg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isPositional() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:285:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPositional() const { return getFormattingFlag() == cl::Positional; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isSink() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:286:53: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isSink() const { return getMiscFlags() & cl::Sink; } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isConsumeAfter() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:289:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOccurrencesFlag() == cl::ConsumeAfter; ^~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:318:78: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization AdditionalVals(0), Category(&GeneralCategory), FullyInitialized(false) { ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue::OptionValue(const llvm::cl::boolOrDefault&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValue(const cl::boolOrDefault &V) { this->setValue(V); } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = llvm::cl::boolOrDefault]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:488:3: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValueCopy() = default; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue::OptionValue(const llvm::cl::boolOrDefault&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:43: note: synthesized method ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = llvm::cl::boolOrDefault]’ first required here OptionValue(const cl::boolOrDefault &V) { this->setValue(V); } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue >::OptionValue(const string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValue(const std::string &V) { this->setValue(V); } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = std::__cxx11::basic_string]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:488:3: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValueCopy() = default; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue >::OptionValue(const string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:37: note: synthesized method ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = std::__cxx11::basic_string]’ first required here OptionValue(const std::string &V) { this->setValue(V); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::ValuesClass::apply(Opt&) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available [-fpermissive] for (auto Value : Values) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: error: there are no arguments to ‘end’ that depend on a template parameter, so a declaration of ‘end’ must be available [-fpermissive] /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::generic_parser_base::getExtraOptionNames(llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:689:9: error: could not convert ‘(((&((llvm::cl::generic_parser_base*)this)->llvm::cl::generic_parser_base::Owner)->llvm::cl::Option::hasArgStr() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Owner.hasArgStr()) ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:691:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ [ 5%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o -c /<>/lib/CL/clGetCommandQueueInfo.c In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:691:21: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? OptionNames.push_back(getOption(i)); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘llvm::cl::ValueExpected llvm::cl::generic_parser_base::getValueExpectedFlagDefault() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:706:24: error: could not convert ‘(&((const llvm::cl::generic_parser_base*)this)->llvm::cl::generic_parser_base::Owner)->llvm::cl::Option::hasArgStr()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Owner.hasArgStr()) ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::parser >::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, std::__cxx11::string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1020:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::parser::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, char&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1045:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1378:8: error: expected unqualified-id before ‘__attribute__’ std::vector Storage; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1381:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1381:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1383:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator begin() { return Storage.begin(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1384:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator end() { return Storage.end(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1386:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator const_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1386:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator const_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1387:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return Storage.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1388:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end() const { return Storage.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1390:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::size_type size_type; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1390:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::size_type size_type; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1391:3: error: ‘size_type’ does not name a type; did you mean ‘size_t’? size_type size() const { return Storage.size(); } ^~~~~~~~~ size_t /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1398:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::reference reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1398:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::reference reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1399:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reference const_reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1399:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reference const_reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1400:3: error: ‘reference’ does not name a type; did you mean ‘reverse’? reference operator[](size_type pos) { return Storage[pos]; } ^~~~~~~~~ reverse /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1401:3: error: ‘const_reference’ does not name a type const_reference operator[](size_type pos) const { return Storage[pos]; } ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1403:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(const_iterator pos) { return Storage.erase(pos); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1404:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(const_iterator first, const_iterator last) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1408:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(iterator pos) { return Storage.erase(pos); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1409:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(iterator first, iterator last) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1413:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(const_iterator pos, const DataType &value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1416:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(const_iterator pos, DataType &&value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1420:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(iterator pos, const DataType &value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1423:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(iterator pos, DataType &&value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1427:3: error: ‘reference’ does not name a type; did you mean ‘reverse’? reference front() { return Storage.front(); } ^~~~~~~~~ reverse [ 5%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/common.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices.dir/common.c.o -c /<>/lib/CL/devices/common.c /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1428:3: error: ‘const_reference’ does not name a type const_reference front() const { return Storage.front(); } ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1430:12: error: expected type-specifier operator std::vector&() { return Storage; } ^~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1432:8: error: expected unqualified-id before ‘__attribute__’ std::vector *operator&() { return &Storage; } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1433:14: error: expected unqualified-id before ‘__attribute__’ const std::vector *operator&() const { return &Storage; } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list_storage::empty() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1393:31: error: ‘Storage’ was not declared in this scope bool empty() const { return Storage.empty(); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::push_back(const DataType&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1395:43: error: ‘Storage’ was not declared in this scope void push_back(const DataType &value) { Storage.push_back(value); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::push_back(DataType&&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1396:38: error: ‘Storage’ was not declared in this scope void push_back(DataType &&value) { Storage.push_back(value); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘llvm::cl::list_storage::operator llvm::ArrayRef()’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1431:42: error: ‘Storage’ was not declared in this scope operator ArrayRef() { return Storage; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::addValue(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1435:50: error: ‘Storage’ was not declared in this scope template void addValue(const T &V) { Storage.push_back(V); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1444:8: error: expected unqualified-id before ‘__attribute__’ std::vector Positions; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1462:5: error: ‘Positions’ was not declared in this scope Positions.push_back(pos); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1462:5: note: suggested alternative: ‘Position’ Positions.push_back(pos); ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list::getPosition(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1492:12: error: ‘Positions’ was not declared in this scope return Positions[optnum]; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1492:12: note: suggested alternative: ‘Position’ return Positions[optnum]; ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1583:8: error: expected unqualified-id before ‘__attribute__’ std::vector Positions; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::bits::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1601:5: error: ‘Positions’ was not declared in this scope Positions.push_back(pos); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1601:5: note: suggested alternative: ‘Position’ Positions.push_back(pos); ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::bits::getPosition(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1631:12: error: ‘Positions’ was not declared in this scope return Positions[optnum]; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1631:12: note: suggested alternative: ‘Position’ return Positions[optnum]; ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1655:38: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MultiArg = false) override { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::alias::done()’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1672:9: error: could not convert ‘((((llvm::cl::alias*)this)->llvm::cl::alias::.llvm::cl::Option::hasArgStr() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasArgStr()) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1727:68: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void PrintHelpMessage(bool Hidden = false, bool Categorized = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1727:68: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1802:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1817:54: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1843:75: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false, bool RelativeNames = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1843:75: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ [ 5%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:176:51: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool RespectFilters = false); ^~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o -c /<>/lib/CL/clCreateBuffer.c In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:118:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:120:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:76:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(MDString) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:78:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(ConstantAsMetadata) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:79:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(LocalAsMetadata) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:80:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(DistinctMDOperandPlaceholder) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:53:45: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:1: note: in expansion of macro ‘HANDLE_MDNODE_LEAF_UNIQUABLE’ HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:150:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Metadata::print(llvm::raw_ostream&, const llvm::Module*, __vector(4) __bool int) const’ MD.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MetadataAsValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:179:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == MetadataAsValueVal; ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap, long unsigned int>, 4>’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:273:58: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:43: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void resolveAllUses(bool ResolveUsers = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘void llvm::ValueAsMetadata::dropUsers()’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:333:69: error: no matching function for call to ‘llvm::ValueAsMetadata::resolveAllUses(bool)’ ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:8: note: candidate: void llvm::ReplaceableMetadataImpl::resolveAllUses(__vector(4) __bool int) void resolveAllUses(bool ResolveUsers = true); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::ConstantAsMetadata; Y = llvm::ValueAsMetadata*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:347:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::ConstantAsMetadata; Y = llvm::ValueAsMetadata*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:347:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::ValueAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:381:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return MD->getMetadataID() == ConstantAsMetadataKind; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:405:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == ConstantAsMetadataKind; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::LocalAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:427:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == LocalAsMetadataKind; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:493:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::HasDereference::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:497:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::IsValidPointer::value’ of non-integral type [-fpermissive] static const bool value = std::is_base_of::value && ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:501:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::IsValidReference::value’ of non-integral type [-fpermissive] static const bool value = std::is_base_of::value && ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDString::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:619:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == MDStringKind; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::AAMDNodes::operator==(const llvm::AAMDNodes&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:631:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return TBAA == A.TBAA && Scope == A.Scope && NoAlias == A.NoAlias; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::AAMDNodes::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:636:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return explicit operator bool() const { return TBAA || Scope || NoAlias; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::ContextAndReplaceableUses::hasReplaceableUses() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return Ptr.is(); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::LLVMContext& llvm::ContextAndReplaceableUses::getContext() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:762:27: error: could not convert ‘((const llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::ReplaceableMetadataImpl* llvm::ContextAndReplaceableUses::getReplaceableUses() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:768:27: error: could not convert ‘((const llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::ReplaceableMetadataImpl* llvm::ContextAndReplaceableUses::getOrCreateReplaceableUses()’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:775:9: error: could not convert ‘((((llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasReplaceableUses()) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isUniqued() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:907:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isUniqued() const { return Storage == Uniqued; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isDistinct() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:908:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDistinct() const { return Storage == Distinct; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isTemporary() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:909:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isTemporary() const { return Storage == Temporary; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘void llvm::MDNode::replaceAllUsesWith(llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:916:35: error: could not convert ‘((llvm::MDNode*)this)->llvm::MDNode::Context.llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Context.hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDNode::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1046:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:53:45: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:1: note: in expansion of macro ‘HANDLE_MDNODE_LEAF_UNIQUABLE’ HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1088:68: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ StorageType Storage, bool ShouldCreate = true); ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::TempMDTuple llvm::MDTuple::cloneImpl() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:73: error: no matching function for call to ‘llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::SmallVector) const’ SmallVector(op_begin(), op_end())); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1119:22: note: candidate: static llvm::TempMDTuple llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::ArrayRef) static TempMDTuple getTemporary(LLVMContext &Context, ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1119:22: note: no known conversion for argument 2 from ‘llvm::SmallVector’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::get(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1100:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return getImpl(Context, MDs, Uniqued); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::getIfExists(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1104:67: error: no matching function for call to ‘llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef&, llvm::Metadata::StorageType, bool)’ return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1087:19: note: candidate: static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int) static MDTuple *getImpl(LLVMContext &Context, ArrayRef MDs, ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1087:19: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::getDistinct(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1111:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return getImpl(Context, MDs, Distinct); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::TempMDTuple llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:55: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return TempMDTuple(getImpl(Context, MDs, Temporary)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDTuple::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1128:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == MDTupleKind; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<0>::is_explicit’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: required from ‘struct llvm::ilist_detail::compute_node_options’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1282:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: cannot convert ‘unsigned int’ to ‘const __vector(4) __bool int’ in initialization static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1282:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1356:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &ROS, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1358:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18:0, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h: In member function ‘__vector(4) __bool int llvm::TrackingMDRef::operator==(const llvm::TrackingMDRef&) const’: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:75:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const TrackingMDRef &X) const { return MD == X.MD; } ^~ /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h: In member function ‘__vector(4) __bool int llvm::TrackingMDRef::operator!=(const llvm::TrackingMDRef&) const’: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:76:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator!=(const TrackingMDRef &X) const { return MD != X.MD; } ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h: In member function ‘llvm::DebugLoc::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:67:45: error: cannot convert ‘const TrackingMDNodeRef {aka const llvm::TypedTrackingMDRef}’ to ‘__vector(4) __bool int’ in return explicit operator bool() const { return Loc; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:243:7: required from ‘class llvm::ilist_node_with_parent’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:40:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:87:31: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:207:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void getAAMetadata(AAMDNodes &N, bool Merge = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:38: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setHasNoUnsignedWrap(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:36: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setHasNoSignedWrap(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:28: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setIsExact(bool b = true); ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:59:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:59:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:60:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:60:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isTerminator(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:123:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isBinaryOp(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:127:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Opcode >= BinaryOpsBegin && Opcode < BinaryOpsEnd; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isShift(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:132:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Opcode >= Shl && Opcode <= AShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isLogicalShift() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:137:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == Shl || getOpcode() == LShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isArithmeticShift() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:142:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == AShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isBitwiseLogicOp() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:147:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == And || getOpcode() == Or || getOpcode() == Xor; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isCast(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:152:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= CastOpsBegin && OpCode < CastOpsEnd; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isFuncletPad(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:157:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= FuncletPadOpsBegin && OpCode < FuncletPadOpsEnd; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::hasMetadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: error: no match for ‘operator||’ (operand types are ‘const llvm::DebugLoc’ and ‘__vector(4) __bool int’) bool hasMetadata() const { return DbgLoc || hasMetadataHashEntry(); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: note: candidate: operator||(bool, bool) /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘llvm::MDNode* llvm::Instruction::getMetadata(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:176:9: error: could not convert ‘((((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasMetadata()) return nullptr; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘llvm::MDNode* llvm::Instruction::getMetadata(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:183:9: error: could not convert ‘((((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasMetadata()) return nullptr; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::getAllMetadata(llvm::SmallVectorImpl >&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:192:20: error: could not convert ‘((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasMetadata()) ~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::getAllMetadataOtherThanDebugLoc(llvm::SmallVectorImpl >&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:200:37: error: could not convert ‘((const llvm::Instruction*)this)->llvm::Instruction::hasMetadataOtherThanDebugLoc()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasMetadataOtherThanDebugLoc()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::hasMetadataHashEntry() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:351:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromValue() & HasMetadataBit) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isFenceLike() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:432:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:440:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isEHPad() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:459:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:461:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:510:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() >= Value::InstructionVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::setHasMetadataHashEntry(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:573:50: error: no matching function for call to ‘llvm::Instruction::setValueSubclassData(__vector(4) int)’ (V ? HasMetadataBit : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:563:8: note: candidate: void llvm::Instruction::setValueSubclassData(short unsigned int) void setValueSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:563:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:243:7: required from ‘class llvm::ilist_node_with_parent’ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:52:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:160:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator getFirstInsertionPt(); ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:161:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator getFirstInsertionPt() const { ^~~~~~~~~~~~~~ concat_iterator In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:171:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:228:10: error: ‘iterator’ does not name a type; did you mean ‘operator+’? inline iterator begin() { return InstList.begin(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:229:10: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? inline const_iterator begin() const { return InstList.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:230:10: error: ‘iterator’ does not name a type; did you mean ‘operator+’? inline iterator end () { return InstList.end(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:231:10: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? inline const_iterator end () const { return InstList.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:233:10: error: ‘reverse_iterator’ does not name a type; did you mean ‘use_iterator’? inline reverse_iterator rbegin() { return InstList.rbegin(); } ^~~~~~~~~~~~~~~~ use_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:234:10: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘const_use_iterator’? inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } ^~~~~~~~~~~~~~~~~~~~~~ const_use_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:235:10: error: ‘reverse_iterator’ does not name a type; did you mean ‘use_iterator’? inline reverse_iterator rend () { return InstList.rend(); } ^~~~~~~~~~~~~~~~ use_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:236:10: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘const_use_iterator’? inline const_reverse_iterator rend () const { return InstList.rend(); } ^~~~~~~~~~~~~~~~~~~~~~ const_use_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:15: error: expected ‘;’ at end of member declaration BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:40: error: expected ‘)’ before ‘I’ BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:304:3: error: ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock(llvm::Instruction*, const llvm::Twine&)’ conflicts with a previous declaration } ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:31: note: previous declaration ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock’ BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:281:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void removePredecessor(BasicBlock *Pred, bool DontDeleteUselessPHIs = false); ^~~~~ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘const llvm::Instruction& llvm::BasicBlock::front() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:240:66: error: ‘const InstListType {aka const class llvm::SymbolTableList}’ has no member named ‘front’ inline const Instruction &front() const { return InstList.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::Instruction& llvm::BasicBlock::front()’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:241:66: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘front’ inline Instruction &front() { return InstList.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘const llvm::Instruction& llvm::BasicBlock::back() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:242:66: error: ‘const InstListType {aka const class llvm::SymbolTableList}’ has no member named ‘back’ inline const Instruction &back() const { return InstList.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::Instruction& llvm::BasicBlock::back()’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:243:66: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘back’ inline Instruction &back() { return InstList.back(); } ^~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o -c /<>/lib/CL/clCreateSubBuffer.c /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In static member function ‘static __vector(4) __bool int llvm::BasicBlock::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:262:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::BasicBlockVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock(llvm::Instruction*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:303:31: error: ‘class llvm::Instruction’ has no member named ‘getIterator’; did you mean ‘op_iterator’? return splitBasicBlock(I->getIterator(), BBName); ^~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘__vector(4) __bool int llvm::BasicBlock::hasAddressTaken() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:308:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasAddressTaken() const { return getSubclassDataFromValue() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:240:57: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ APInt(unsigned numBits, uint64_t val, bool isSigned = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1411:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool formatAsCLiteral = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isSingleWord() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:107:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::clearUnusedBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:151:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘uint64_t llvm::APInt::getWord(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:161:27: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In constructor ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:243:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In copy constructor ‘llvm::APInt::APInt(const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:284:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In destructor ‘llvm::APInt::~APInt()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:297:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::needsCleanup()’ from ‘__vector(4) __bool int’ to ‘bool’ if (needsCleanup()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isAllOnesValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:343:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:344:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == ~integerPart(0) >> (APINT_BITS_PER_WORD - BitWidth); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:345:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return countPopulationSlowCase() == BitWidth; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isIntN(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:379:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() <= N; ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isSignedIntN(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:385:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getMinSignedBits() <= N; ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isPowerOf2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:392:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:394:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return countPopulationSlowCase() == 1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getMinValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:438:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ static APInt getMinValue(unsigned numBits) { return APInt(numBits, 0); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getSignedMinValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:442:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt API(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getAllOnesValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:459:43: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] return APInt(numBits, UINT64_MAX, true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:82:18: note: initializing argument 1 of ‘llvm::StringRef::StringRef(const char*)’ /*implicit*/ StringRef(const char *Str) ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getNullValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:465:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ static APInt getNullValue(unsigned numBits) { return APInt(numBits, 0); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getOneBitSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:485:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt Res(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getHighBitsSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:522:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:526:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, ~0ULL << shiftAmt); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getLowBitsSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:540:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:542:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, UINT64_MAX); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:545:76: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, UINT64_MAX >> (APINT_BITS_PER_WORD - loBitsSet)); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘const uint64_t* llvm::APInt::getRawData() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:579:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator!() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:633:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:634:15: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !VAL; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:638:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:639:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator=(const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:651:24: error: could not convert ‘(((((llvm::APInt*)this)->llvm::APInt::isSingleWord() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & (((& RHS)->llvm::APInt::isSingleWord() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isSingleWord() && RHS.isSingleWord()) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator=(llvm::APInt&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:662:9: error: could not convert ‘((((llvm::APInt*)this)->llvm::APInt::isSingleWord() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSingleWord()) { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator|=(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:715:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator&(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:776:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:777:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(getBitWidth(), VAL & RHS.VAL); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator|(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:789:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:790:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(getBitWidth(), VAL | RHS.VAL); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator^(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:809:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:810:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, VAL ^ RHS.VAL); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::shl(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:852:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:854:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, 0); // avoid undefined shift results ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:855:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, VAL << shiftAmt); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator[](unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:946:29: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) != ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator==(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:960:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:961:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == RHS.VAL; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator==(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:972:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:973:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == Val; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::ult(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1024:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() > 64 ? false : getZExtValue() < RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::slt(int64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1042:36: error: operands to ?: have different types ‘__vector(4) __bool int’ and ‘bool’ return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::ugt(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1092:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() > 64 ? true : getZExtValue() > RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::sgt(int64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1110:36: error: operands to ?: have different types ‘__vector(4) int’ and ‘bool’ return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::setAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1204:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::clearAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1222:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::flipAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1235:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::getMinSignedBits() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1299:19: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isNegative()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isNegative()) ~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘uint64_t llvm::APInt::getZExtValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1310:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘int64_t llvm::APInt::getSExtValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1322:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countLeadingZeros() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1344:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::getNumSignBits() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1364:66: error: cannot convert ‘__vector(4) unsigned int’ to ‘unsigned int’ in return return isNegative() ? countLeadingOnes() : countLeadingZeros(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countTrailingOnes() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1386:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countPopulation() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1398:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::toStringUnsigned(llvm::SmallVectorImpl&, unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1416:38: error: no matching function for call to ‘llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int&, bool, bool) const’ toString(Str, Radix, false, false); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: candidate: void llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int, __vector(4) __bool int, __vector(4) __bool int) const void toString(SmallVectorImpl &Str, unsigned Radix, bool Signed, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate: std::__cxx11::string llvm::APInt::toString(unsigned int, __vector(4) __bool int) const std::string toString(unsigned Radix, bool Signed) const; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate expects 2 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::toStringSigned(llvm::SmallVectorImpl&, unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1422:37: error: no matching function for call to ‘llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int&, bool, bool) const’ toString(Str, Radix, true, false); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: candidate: void llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int, __vector(4) __bool int, __vector(4) __bool int) const void toString(SmallVectorImpl &Str, unsigned Radix, bool Signed, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate: std::__cxx11::string llvm::APInt::toString(unsigned int, __vector(4) __bool int) const std::string toString(unsigned Radix, bool Signed) const; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate expects 2 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::roundToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:60: error: no matching function for call to ‘llvm::APInt::roundToDouble(bool) const’ double roundToDouble() const { return roundToDouble(false); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: candidate: double llvm::APInt::roundToDouble(__vector(4) __bool int) const double roundToDouble(bool isSigned) const; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate: double llvm::APInt::roundToDouble() const double roundToDouble() const { return roundToDouble(false); } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate expects 0 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::signedRoundToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1446:65: error: no matching function for call to ‘llvm::APInt::roundToDouble(bool) const’ double signedRoundToDouble() const { return roundToDouble(true); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: candidate: double llvm::APInt::roundToDouble(__vector(4) __bool int) const double roundToDouble(bool isSigned) const; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate: double llvm::APInt::roundToDouble() const double roundToDouble() const { return roundToDouble(false); } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate expects 0 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::bitsToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1458:27: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ T.I = (isSingleWord() ? VAL : pVal[0]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘float llvm::APInt::bitsToFloat() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1472:36: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ T.I = unsigned((isSingleWord() ? VAL : pVal[0])); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::doubleToBits(double)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1486:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(sizeof T * CHAR_BIT, T.I); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::floatToBits(float)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1499:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(sizeof T * CHAR_BIT, T.I); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1533:9: error: could not convert ‘((((const llvm::APInt*)this)->llvm::APInt::getBoolValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!getBoolValue()) ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1542:41: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size return lg + unsigned((*this)[lg - 1]); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘int32_t llvm::APInt::exactLogBase2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1548:9: error: could not convert ‘((((const llvm::APInt*)this)->llvm::APInt::isPowerOf2() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isPowerOf2()) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::abs() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1560:19: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isNegative()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isNegative()) ~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1727:19: error: no matching function for call to ‘llvm::APInt::print(llvm::raw_ostream&, bool) const’ I.print(OS, true); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1406:8: note: candidate: void llvm::APInt::print(llvm::raw_ostream&, __vector(4) __bool int) const void print(raw_ostream &OS, bool isSigned) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1406:8: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::smin(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1784:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.slt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::smax(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1789:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.sgt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::umin(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1794:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.ult(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::umax(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1799:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.ugt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘__vector(4) __bool int llvm::APIntOps::isShiftedMask(unsigned int, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1827:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return isMask(numBits, (APIVal - APInt(numBits, 1)) | APIVal); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:467:31: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeLargest(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:468:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeSmallest(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:469:28: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeNaN(bool SNaN = false, bool Neg = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:469:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeNaN(bool SNaN = false, bool Neg = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:471:27: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeInf(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:472:28: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeZero(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:479:47: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeSmallestNormalized(bool Negative = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::needsCleanup() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:231:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool needsCleanup() const { return partCount() > 1; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNegative() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:352:36: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isNegative() const { return sign; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:367:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isZero() const { return category == fcZero; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isInfinity() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:374:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isInfinity() const { return category == fcInfinity; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNaN() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:377:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNaN() const { return category == fcNaN; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNonZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:389:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNonZero() const { return category != fcZero; } ^~~~~~ [ 6%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/add_sat.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/add_sat.cl.bc -c /<>/lib/kernel/add_sat.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:841:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getZero(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:850:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getInf(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:861:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:872:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getQNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:880:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getSNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:890:70: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getLargest(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:900:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getSmallest(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:911:56: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:921:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In destructor ‘llvm::APFloat::Storage::~Storage()’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:684:32: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:688:36: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In copy constructor ‘llvm::APFloat::Storage::Storage(const llvm::APFloat::Storage&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:696:32: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:700:36: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In constructor ‘llvm::APFloat::Storage::Storage(llvm::APFloat::Storage&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:708:32: error: could not convert ‘llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:712:36: error: could not convert ‘llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::Storage& llvm::APFloat::Storage::operator=(const llvm::APFloat::Storage&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:720:45: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:723:56: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ } else if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::Storage& llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:734:45: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:737:56: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ } else if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::IEEEFloat& llvm::APFloat::getIEEE()’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:758:30: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:760:34: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘const IEEEFloat& llvm::APFloat::getIEEE() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:766:30: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)((const llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:768:34: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)((const llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘void llvm::APFloat::makeInf(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:776:30: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:778:34: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::cmpResult llvm::APFloat::compareAbsoluteValue(const llvm::APFloat&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:808:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:810:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::needsCleanup() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:831:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:833:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getNaN(const llvm::fltSemantics&, __vector(4) __bool int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:864:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt fill(64, type); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getQNaN(const llvm::fltSemantics&, __vector(4) __bool int, const llvm::APInt*)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:875:41: error: no matching function for call to ‘llvm::APFloat::makeNaN(bool, __vector(4) __bool int&, const llvm::APInt*&)’ Val.makeNaN(false, Negative, payload); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: candidate: void llvm::APFloat::makeNaN(__vector(4) __bool int, __vector(4) __bool int, const llvm::APInt*) void makeNaN(bool SNaN, bool Neg, const APInt *fill) { ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getSNaN(const llvm::fltSemantics&, __vector(4) __bool int, const llvm::APInt*)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:883:40: error: no matching function for call to ‘llvm::APFloat::makeNaN(bool, __vector(4) __bool int&, const llvm::APInt*&)’ Val.makeNaN(true, Negative, payload); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: candidate: void llvm::APFloat::makeNaN(__vector(4) __bool int, __vector(4) __bool int, const llvm::APInt*) void makeNaN(bool SNaN, bool Neg, const APInt *fill) { ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::opStatus llvm::APFloat::add(const llvm::APFloat&, llvm::APFloatBase::roundingMode)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:926:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:928:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::opStatus llvm::APFloat::subtract(const llvm::APFloat&, llvm::APFloatBase::roundingMode)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:933:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:935:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1031:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isZero() const { return getCategory() == fcZero; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isInfinity() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1032:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isInfinity() const { return getCategory() == fcInfinity; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isNaN() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1033:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNaN() const { return getCategory() == fcNaN; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In function ‘llvm::APFloat llvm::minnum(const llvm::APFloat&, const llvm::APFloat&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1108:14: error: could not convert ‘(& A)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (A.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1110:14: error: could not convert ‘(& B)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (B.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In function ‘llvm::APFloat llvm::maxnum(const llvm::APFloat&, const llvm::APFloat&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1119:14: error: could not convert ‘(& A)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (A.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1121:14: error: could not convert ‘(& B)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (B.isNaN()) ~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:23:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Type.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:123:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &O, bool IsForDebug = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:124:31: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool NoDetails = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In static member function ‘static __vector(4) __bool int llvm::Type::isSequentialType(llvm::Type::TypeID)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:113:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return TyID == ArrayTyID || TyID == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isVoidTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:139:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVoidTy() const { return getTypeID() == VoidTyID; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isHalfTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:142:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isHalfTy() const { return getTypeID() == HalfTyID; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFloatTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:145:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFloatTy() const { return getTypeID() == FloatTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isDoubleTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:148:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDoubleTy() const { return getTypeID() == DoubleTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isX86_FP80Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:151:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFP128Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:154:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFP128Ty() const { return getTypeID() == FP128TyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isPPC_FP128Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:157:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFloatingPointTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:164:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getTypeID() == PPC_FP128TyID; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isX86_MMXTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:180:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isX86_MMXTy() const { return getTypeID() == X86_MMXTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isLabelTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:186:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isLabelTy() const { return getTypeID() == LabelTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isMetadataTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:189:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isMetadataTy() const { return getTypeID() == MetadataTyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isTokenTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:192:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isTokenTy() const { return getTypeID() == TokenTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isIntegerTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:195:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isIntegerTy() const { return getTypeID() == IntegerTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFunctionTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:204:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFunctionTy() const { return getTypeID() == FunctionTyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isStructTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:207:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isStructTy() const { return getTypeID() == StructTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isArrayTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:210:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isArrayTy() const { return getTypeID() == ArrayTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isPointerTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:213:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPointerTy() const { return getTypeID() == PointerTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isVectorTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:219:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVectorTy() const { return getTypeID() == VectorTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFirstClassType() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:234:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTypeID() != FunctionTyID && getTypeID() != VoidTyID; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isAggregateType() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:248:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTypeID() == StructTyID || getTypeID() == ArrayTyID; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isSized(llvm::SmallPtrSetImpl*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:257:36: error: could not convert ‘((((((((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 11) ? (__vector(4) int){-1, -1, -1, -1} : ((((const llvm::Type*)this)->llvm::Type::isFloatingPointTy() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | ((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 15) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | ((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 9) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (getTypeID() == IntegerTyID || isFloatingPointTy() || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getTypeID() == PointerTyID || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ getTypeID() == X86_MMXTyID) ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:259:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:264:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::Type&)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:427:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Type::print(llvm::raw_ostream&, __vector(4) __bool int, __vector(4) __bool int) const’ T.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:427:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Type::print(llvm::raw_ostream&, __vector(4) __bool int, __vector(4) __bool int) const’ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Type&)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:434:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ty.getTypeID() == Type::PointerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::IntegerType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:92:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == IntegerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::IntegerType; Y = const llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:97:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::IntegerType; Y = const llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:97:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::FunctionType::isVarArg() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:122:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVarArg() const { return getSubclassData()!=0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::FunctionType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:141:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == FunctionTyID; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::CompositeType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:175:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:226:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:229:61: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ StringRef Name, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:235:42: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:238:64: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static StructType *get(LLVMContext &Context, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:271:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void setBody(ArrayRef Elements, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isPacked() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:245:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPacked() const { return (getSubclassData() & SCDB_Packed) != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isLiteral() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:249:75: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isLiteral() const { return (getSubclassData() & SCDB_IsLiteral) != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isOpaque() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:253:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isOpaque() const { return (getSubclassData() & SCDB_HasBody) == 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::hasName() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:259:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasName() const { return SymbolTableEntry != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::StructType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:297:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == StructTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::SequentialType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:340:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == ArrayTyID || T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::ArrayType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:360:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == ArrayTyID; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::VectorType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:434:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::PointerType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:475:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == PointerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PointerType; Y = llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:480:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PointerType; Y = llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:480:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantData::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:80:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantDataLastVal; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:117:43: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isSigned = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::isMaxValue(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:224:17: error: could not convert ‘isSigned’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSigned) ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::isMinValue(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:236:17: error: could not convert ‘isSigned’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSigned) ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::uge(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:248:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantInt::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:262:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantIntVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:294:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNaN(Type *Ty, bool Negative = false, unsigned type = 0); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:296:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getInfinity(Type *Ty, bool Negative = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantFP::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:331:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantFPVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAggregateZero::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:372:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantAggregateZeroVal; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAggregate::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:398:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantAggregateLastVal; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantArray::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:436:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantArrayVal; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:459:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getAnon(ArrayRef V, bool Packed = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:463:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ ArrayRef V, bool Packed = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:470:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Packed = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:474:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Packed = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantStruct::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:483:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantStructVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantVector::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:522:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantVectorVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantPointerNull::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:551:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantPointerNullVal; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataSequential::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:663:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == ConstantDataVectorVal; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:719:45: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool AddNull = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataArray::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:729:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantDataArrayVal; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataVector::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:793:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantDataVectorVal; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantTokenNone::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:816:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantTokenNoneVal; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::BlockAddress::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:855:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == BlockAddressVal; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:54: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:917:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:917:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:920:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:920:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:923:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:923:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:935:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:935:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:938:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:939:72: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:940:72: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:942:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:944:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:945:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:946:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:947:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:948:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:950:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:952:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:954:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:956:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1030:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1111:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1117:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1119:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1128:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1136:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1147:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1216:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWNeg(llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:958:73: error: no matching function for call to ‘llvm::ConstantExpr::getNeg(llvm::Constant*&, bool, bool)’ static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getNeg(llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWNeg(llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:959:73: error: no matching function for call to ‘llvm::ConstantExpr::getNeg(llvm::Constant*&, bool, bool)’ static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getNeg(llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWAdd(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:962:38: error: no matching function for call to ‘llvm::ConstantExpr::getAdd(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getAdd(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAdd(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getAdd(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWAdd(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:966:38: error: no matching function for call to ‘llvm::ConstantExpr::getAdd(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getAdd(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAdd(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getAdd(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWSub(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:970:38: error: no matching function for call to ‘llvm::ConstantExpr::getSub(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getSub(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSub(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getSub(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWSub(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:974:38: error: no matching function for call to ‘llvm::ConstantExpr::getSub(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getSub(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSub(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getSub(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWMul(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:978:38: error: no matching function for call to ‘llvm::ConstantExpr::getMul(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getMul(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getMul(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getMul(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWMul(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:982:38: error: no matching function for call to ‘llvm::ConstantExpr::getMul(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getMul(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getMul(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getMul(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWShl(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:986:38: error: no matching function for call to ‘llvm::ConstantExpr::getShl(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getShl(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getShl(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getShl(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWShl(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:990:38: error: no matching function for call to ‘llvm::ConstantExpr::getShl(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getShl(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getShl(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getShl(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactSDiv(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:994:32: error: no matching function for call to ‘llvm::ConstantExpr::getSDiv(llvm::Constant*&, llvm::Constant*&, bool)’ return getSDiv(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSDiv(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactUDiv(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:998:32: error: no matching function for call to ‘llvm::ConstantExpr::getUDiv(llvm::Constant*&, llvm::Constant*&, bool)’ return getUDiv(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getUDiv(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactAShr(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1002:32: error: no matching function for call to ‘llvm::ConstantExpr::getAShr(llvm::Constant*&, llvm::Constant*&, bool)’ return getAShr(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAShr(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactLShr(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1006:32: error: no matching function for call to ‘llvm::ConstantExpr::getLShr(llvm::Constant*&, llvm::Constant*&, bool)’ return getLShr(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getLShr(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Value; Y = llvm::Constant*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1142:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Value; Y = llvm::Constant*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1142:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1155:49: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::ArrayRef&, bool)’ return getGetElementPtr(Ty, C, IdxList, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::Constant*’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1162:45: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::Constant*&, bool)’ return getGetElementPtr(Ty, C, Idx, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1166:49: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::ArrayRef&, bool)’ return getGetElementPtr(Ty, C, IdxList, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::Constant*’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘llvm::Constant* llvm::ConstantExpr::getWithOperands(llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1203:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::Constant* llvm::ConstantExpr::getWithOperands(llvm::ArrayRef, llvm::Type*, __vector(4) __bool int, llvm::Type*) const’ return getWithOperands(Ops, getType()); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantExpr::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1230:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantExprVal; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::UndefValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1291:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == UndefValueVal; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetImpl::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:186:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return NumNodes == 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘void llvm::FoldingSetNodeID::AddBoolean(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:336:51: error: no matching function for call to ‘llvm::FoldingSetNodeID::AddInteger(__vector(4) unsigned int)’ void AddBoolean(bool B) { AddInteger(B ? 1U : 0U); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:330:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(int) void AddInteger(signed I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:330:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:331:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(unsigned int) void AddInteger(unsigned I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:331:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:332:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long int) void AddInteger(long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:332:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:333:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long unsigned int) void AddInteger(unsigned long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:333:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:334:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long long int) void AddInteger(long long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:334:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long long int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:335:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long long unsigned int) void AddInteger(unsigned long long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:335:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long long unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetIteratorImpl::operator==(const llvm::FoldingSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:643:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return NodePtr == RHS.NodePtr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetIteratorImpl::operator!=(const llvm::FoldingSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:646:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return NodePtr != RHS.NodePtr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetBucketIteratorImpl::operator==(const llvm::FoldingSetBucketIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:693:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr == RHS.Ptr; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetBucketIteratorImpl::operator!=(const llvm::FoldingSetBucketIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:696:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr != RHS.Ptr; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<1>::_M_is_equal(const std::_Base_bitset<1>&) const’: /usr/include/c++/7/bitset:461:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_w == __x._M_w; } ^~~~ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<1>::_M_is_any() const’: /usr/include/c++/7/bitset:471:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_w != 0; } ^ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<0>::_M_is_equal(const std::_Base_bitset<0>&) const’: /usr/include/c++/7/bitset:608:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return true; } ^~~~ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<0>::_M_is_any() const’: /usr/include/c++/7/bitset:617:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return false; } ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:161:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ std::string getAsString(bool InAttrGrp = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::Attribute::operator==(llvm::Attribute) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:164:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(Attribute A) const { return pImpl == A.pImpl; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::Attribute::operator!=(llvm::Attribute) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:165:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator!=(Attribute A) const { return pImpl != A.pImpl; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:375:60: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ std::string getAsString(unsigned Index, bool InAttrGrp = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::operator==(const llvm::AttributeSet&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:384:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return pImpl == RHS.pImpl; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::operator!=(const llvm::AttributeSet&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:387:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return pImpl != RHS.pImpl; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::isEmpty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:401:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumSlots() == 0; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:93:62: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:93:62: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::TerminatorInst::isExceptional() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:104:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:106:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::TerminatorInst::succ_iterator llvm::TerminatorInst::succ_end()’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:274:68: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(llvm::TerminatorInst*, bool)’ inline succ_iterator succ_end() { return succ_iterator(this, true); } ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::TerminatorInst::succ_const_iterator llvm::TerminatorInst::succ_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:276:42: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst*, bool)’ return succ_const_iterator(this, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::UnaryInstruction::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:324:74: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return (I->getOpcode() >= CastOpsBegin && I->getOpcode() < CastOpsEnd); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:528:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static bool isFNeg(const Value *V, bool IgnoreZeroSign=false); ^~~~~ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o -c /<>/lib/CL/clEnqueueFillImage.c /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:415:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:421:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:427:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:434:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:440:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:446:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:453:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:459:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:465:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::isFPPredicate(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:968:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P >= FIRST_FCMP_PREDICATE && P <= LAST_FCMP_PREDICATE; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::isIntPredicate(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:972:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P >= FIRST_ICMP_PREDICATE && P <= LAST_ICMP_PREDICATE; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1105:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return I->getOpcode() == Instruction::FCmp; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::operandHasAttr(unsigned int, llvm::Attribute::AttrKind) const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1216:29: error: could not convert ‘((const llvm::OperandBundleUse*)this)->llvm::OperandBundleUse::isDeoptOperandBundle()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isDeoptOperandBundle()) ~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1221:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::isDeoptOperandBundle() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1240:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTagID() == LLVMContext::OB_deopt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::isFuncletOperandBundle() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1245:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTagID() == LLVMContext::OB_funclet; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1261:8: error: expected unqualified-id before ‘__attribute__’ std::vector Inputs; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1264:52: error: expected identifier before ‘__attribute__’ explicit OperandBundleDefT(std::string Tag, std::vector Inputs) ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1264:58: error: expected ‘,’ or ‘...’ before ‘<’ token explicit OperandBundleDefT(std::string Tag, std::vector Inputs) ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1276:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator input_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1276:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator input_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1278:3: error: ‘input_iterator’ does not name a type; did you mean ‘ilist_iterator’? input_iterator input_begin() const { return Inputs.begin(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1279:3: error: ‘input_iterator’ does not name a type; did you mean ‘ilist_iterator’? input_iterator input_end() const { return Inputs.end(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(std::__cxx11::string, __vector(4) int)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:30: error: class ‘llvm::OperandBundleDefT’ does not have any field named ‘Inputs’ : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:47: error: ‘Inputs’ was not declared in this scope : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:47: note: suggested alternative: ‘inputs’ : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(std::__cxx11::string, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1267:30: error: class ‘llvm::OperandBundleDefT’ does not have any field named ‘Inputs’ : Tag(std::move(Tag)), Inputs(Inputs) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(const llvm::OperandBundleUse&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1271:5: error: ‘Inputs’ was not declared in this scope Inputs.insert(Inputs.end(), OBU.Inputs.begin(), OBU.Inputs.end()); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1271:5: note: suggested alternative: ‘inputs’ Inputs.insert(Inputs.end(), OBU.Inputs.begin(), OBU.Inputs.end()); ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::ArrayRef llvm::OperandBundleDefT::inputs() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1274:45: error: ‘Inputs’ was not declared in this scope ArrayRef inputs() const { return Inputs; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1274:45: note: suggested alternative: ‘inputs’ ArrayRef inputs() const { return Inputs; } ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘size_t llvm::OperandBundleDefT::input_size() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1277:38: error: ‘Inputs’ was not declared in this scope size_t input_size() const { return Inputs.size(); } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1277:38: note: suggested alternative: ‘inputs’ size_t input_size() const { return Inputs.size(); } ^~~~~~ inputs In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike >::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘OpIteratorTy llvm::OperandBundleUser::populateBundleOperandInfos(llvm::ArrayRef >, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1627:24: error: ‘const class llvm::OperandBundleDefT’ has no member named ‘input_begin’; did you mean ‘input_size’? It = std::copy(B.input_begin(), B.input_end(), It); ^~~~~~~~~~~ input_size /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1627:41: error: ‘const class llvm::OperandBundleDefT’ has no member named ‘input_end’; did you mean ‘inputs’? It = std::copy(B.input_begin(), B.input_end(), It); ^~~~~~~~~ inputs In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:37:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:37:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:46:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:46:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:55:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:55:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:64:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:69:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:90:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:90:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:95:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:100:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:126:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:126:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, IdxList); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:151:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, Idx); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:156:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, IdxList); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateCast(llvm::Instruction::CastOps, llvm::Constant*, llvm::Type*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:183:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCast(unsigned int, llvm::Constant*, llvm::Type*, __vector(4) __bool int)’ return ConstantExpr::getCast(Op, C, DestTy); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateICmp(llvm::CmpInst::Predicate, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:234:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCompare(short unsigned int, llvm::Constant*, llvm::Constant*, __vector(4) __bool int)’ return ConstantExpr::getCompare(P, LHS, RHS); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateFCmp(llvm::CmpInst::Predicate, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:239:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCompare(short unsigned int, llvm::Constant*, llvm::Constant*, __vector(4) __bool int)’ return ConstantExpr::getCompare(P, LHS, RHS); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::Pass::doInitialization(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:110:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool doInitialization(Module &) { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::Pass::doFinalization(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:115:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool doFinalization(Module &) { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::ImmutablePass::runOnModule(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:280:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool runOnModule(Module &) override { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:44:8: error: expected unqualified-id before ‘__attribute__’ std::vector ItfImpl; // Interfaces implemented by this pass ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h:134:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getInterfacesImplemented() const { ^ In file included from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:26:0, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In constructor ‘llvm::PassInfo::PassInfo(llvm::StringRef, llvm::StringRef, const void*, llvm::PassInfo::NormalCtor_t, __vector(4) __bool int, __vector(4) __bool int, llvm::PassInfo::TargetMachineCtor_t)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:57:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization TargetMachineCtor(machine) {} ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In constructor ‘llvm::PassInfo::PassInfo(llvm::StringRef, const void*)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization TargetMachineCtor(nullptr) {} ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In member function ‘__vector(4) __bool int llvm::PassInfo::isPassID(const void*) const’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:81:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPassID(const void *IDPtr) const { return PassID == IDPtr; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In member function ‘void llvm::PassInfo::addInterfaceImplemented(const llvm::PassInfo*)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:128:5: error: ‘ItfImpl’ was not declared in this scope ItfImpl.push_back(ItfPI); ^~~~~~~ In file included from /usr/include/c++/7/chrono:38:0, from /usr/include/c++/7/mutex:39, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/ratio: At global scope: /usr/include/c++/7/ratio:116:48: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter || (__hi1 == __hi2 && __lo1 < __lo2))> ^ /usr/include/c++/7/ratio:341:75: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant ^ /usr/include/c++/7/ratio:347:60: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:356:46: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter _Right::__hi, _Right::__lo>::value> ^ /usr/include/c++/7/ratio:371:50: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant ^ /usr/include/c++/7/ratio:389:59: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:395:58: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:401:59: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ In file included from /usr/include/c++/7/mutex:39:0, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/chrono: In instantiation of ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’: /usr/include/c++/7/chrono:820:7: required from here /usr/include/c++/7/chrono:559:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __ct(__lhs).count() < __ct(__rhs).count(); ^ /usr/include/c++/7/chrono:560:7: error: body of constexpr function ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ not a return-statement } ^ /usr/include/c++/7/chrono:819:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ^~~~~~~~~~~~~ /usr/include/c++/7/chrono:820:7: error: ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ called in a constant expression static_assert(system_clock::duration::min() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < system_clock::duration::zero(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/chrono:553:7: note: ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ is not usable as a constexpr function because: operator<(const duration<_Rep1, _Period1>& __lhs, ^~~~~~~~ /usr/include/c++/7/chrono:823:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_steady = false; ^~~~~ /usr/include/c++/7/chrono:858:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_steady = true; ^~~~ In file included from /usr/include/c++/7/mutex:43:0, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/std_mutex.h: In member function ‘__vector(4) __bool int std::mutex::try_lock()’: /usr/include/c++/7/bits/std_mutex.h:114:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_mutex_trylock(&_M_mutex); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34:0, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_mutex::try_lock()’: /usr/include/c++/7/mutex:118:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_recursive_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::timed_mutex::try_lock()’: /usr/include/c++/7/mutex:203:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::timed_mutex::_M_timedlock(const __gthread_time_t&)’: /usr/include/c++/7/mutex:232:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !__gthread_mutex_timedlock(&_M_mutex, &__ts); } ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_timed_mutex::try_lock()’: /usr/include/c++/7/mutex:263:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_recursive_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_timed_mutex::_M_timedlock(const __gthread_time_t&)’: /usr/include/c++/7/mutex:292:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !__gthread_recursive_mutex_timedlock(&_M_mutex, &__ts); } ^ /usr/include/c++/7/mutex: In static member function ‘static void std::__try_lock_impl<_Idx, _Continue>::__do_try_lock(std::tuple<_Lock& ...>&, int&)’: /usr/include/c++/7/mutex:484:61: error: could not convert template argument ‘__cont’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ using __try_locker = __try_lock_impl<_Idx + 1, __cont>; ^ /usr/include/c++/7/mutex:485:8: error: ‘__try_locker’ has not been declared __try_locker::__do_try_lock(__locks, __idx); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:50:8: error: expected unqualified-id before ‘__attribute__’ std::vector> ToFree; ^ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:51:8: error: expected unqualified-id before ‘__attribute__’ std::vector Listeners; ^ In file included from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27:0, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:72:59: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void registerPass(const PassInfo &PI, bool ShouldFree = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:79:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldFree = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Pass.h:387:0, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/PassSupport.h:135:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ const void *PassID = nullptr, bool isDefault = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Pass.h:388:0, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In constructor ‘llvm::AnalysisUsage::AnalysisUsage()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:53:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization AnalysisUsage() : PreservesAll(false) {} ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreservedID(const void*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:74:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreservedID(char&)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:78:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(&ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreserved()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:84:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(&PassClass::ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailableID(const void*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:93:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailableID(char&)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:97:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(&ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailable()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:103:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(&PassClass::ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisUsage::setPreservesAll()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:115:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment void setPreservesAll() { PreservesAll = true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:186:8: error: expected unqualified-id before ‘__attribute__’ std::vector > AnalysisImpls; ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::Pass* llvm::AnalysisResolver::findImplPass(llvm::AnalysisID)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:156:37: error: ‘AnalysisImpls’ was not declared in this scope for (const auto &AnalysisImpl : AnalysisImpls) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:156:37: note: suggested alternative: ‘AnalysisImpl’ for (const auto &AnalysisImpl : AnalysisImpls) { ^~~~~~~~~~~~~ AnalysisImpl /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisResolver::addAnalysisImplsPair(llvm::AnalysisID, llvm::Pass*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:172:5: error: ‘AnalysisImpls’ was not declared in this scope AnalysisImpls.push_back(pir); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:172:5: note: suggested alternative: ‘AnalysisID’ AnalysisImpls.push_back(pir); ^~~~~~~~~~~~~ AnalysisID /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisResolver::clearAnalysisImpls()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:177:5: error: ‘AnalysisImpls’ was not declared in this scope AnalysisImpls.clear(); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:177:5: note: suggested alternative: ‘AnalysisID’ AnalysisImpls.clear(); ^~~~~~~~~~~~~ AnalysisID /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘AnalysisType* llvm::Pass::getAnalysisIfAvailable() const’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:206:63: error: no matching function for call to ‘llvm::AnalysisResolver::getAnalysisIfAvailable(const void*&, bool)’ Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:181:9: note: candidate: llvm::Pass* llvm::AnalysisResolver::getAnalysisIfAvailable(llvm::AnalysisID, __vector(4) __bool int) const Pass *getAnalysisIfAvailable(AnalysisID ID, bool Direction) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:181:9: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::validAlignment(const llvm::LayoutAlignElem&) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:167:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &align != &InvalidAlignmentElem; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::validPointer(const llvm::PointerAlignElem&) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:175:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &align != &InvalidPointerElem; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isDefault() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:233:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDefault() const { return StringRepresentation.empty(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isLegalInteger(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: error: ‘begin’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: error: ‘end’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:245:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:246:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::exceedsNaturalStackAlignment(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:253:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (StackNaturalAlign != 0) && (Align > StackNaturalAlign); ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::hasMicrosoftFastStdCallMangling() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:259:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return ManglingMode == MM_WinCOFFX86; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::hasLinkerPrivateGlobalPrefix() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:262:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasLinkerPrivateGlobalPrefix() const { return ManglingMode == MM_MachO; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::fitsInLegalInteger(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: error: ‘begin’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: error: ‘end’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:310:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:311:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘llvm::ArrayRef llvm::DataLayout::getNonIntegralAddressSpaces() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:332:12: error: could not convert ‘((const llvm::DataLayout*)this)->llvm::DataLayout::NonIntegralAddressSpaces’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return NonIntegralAddressSpaces; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isNonIntegralPointerType(llvm::PointerType*) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:338:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return NonIntegralSpaces.end(); ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::StructLayout::hasPadding() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:511:36: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasPadding() const { return IsPadded; } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Argument.h:34:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Argument.h: In static member function ‘static __vector(4) __bool int llvm::Argument::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Argument.h:146:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ArgumentVal; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::assign(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:66:39: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:66:52: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::append(size_t, char)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:80:49: error: no matching function for call to ‘llvm::SmallVectorImpl::append(size_t&, char&)’ SmallVectorImpl::append(NumInputs, Elt); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:392:8: note: candidate: template void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = in_iter; T = char] void append(in_iter in_start, in_iter in_end) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:392:8: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:80:49: note: deduced conflicting types for parameter ‘in_iter’ (‘long unsigned int’ and ‘char’) SmallVectorImpl::append(NumInputs, Elt); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:414:8: note: candidate: void llvm::SmallVectorImpl::append(std::initializer_list<_Tp>) [with T = char] void append(std::initializer_list IL) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:414:8: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::append(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:90:39: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:90:52: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~ append In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::mayBeDerefined() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:124:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasGlobalUnnamedAddr() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:188:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getUnnamedAddr() == UnnamedAddr::Global; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasAtLeastLocalUnnamedAddr() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:197:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getUnnamedAddr() != UnnamedAddr::None; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasComdat() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:213:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasComdat() const { return getComdat() != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDefaultVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:220:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasDefaultVisibility() const { return Visibility == DefaultVisibility; } ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasHiddenVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:221:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasHiddenVisibility() const { return Visibility == HiddenVisibility; } ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasProtectedVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:223:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Visibility == ProtectedVisibility; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::isThreadLocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:232:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isThreadLocal() const { return getThreadLocalMode() != NotThreadLocal; } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocal(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:234:69: error: no matching function for call to ‘llvm::GlobalValue::setThreadLocalMode(__vector(4) llvm::GlobalValue::ThreadLocalMode)’ setThreadLocalMode(Val ? GeneralDynamicTLSModel : NotThreadLocal); ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:236:8: note: candidate: void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode) void setThreadLocalMode(ThreadLocalMode Val) { ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:236:8: note: no known conversion for argument 1 from ‘__vector(4) llvm::GlobalValue::ThreadLocalMode’ to ‘llvm::GlobalValue::ThreadLocalMode’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDLLImportStorageClass() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:248:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return DllStorageClass == DLLImportStorageClass; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDLLExportStorageClass() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:251:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return DllStorageClass == DLLExportStorageClass; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::GlobalValue::LinkageTypes llvm::GlobalValue::getLinkOnceLinkage(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:264:39: error: cannot convert ‘__vector(4) llvm::GlobalValue::LinkageTypes’ to ‘llvm::GlobalValue::LinkageTypes’ in return return ODR ? LinkOnceODRLinkage : LinkOnceAnyLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::GlobalValue::LinkageTypes llvm::GlobalValue::getWeakLinkage(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:267:35: error: cannot convert ‘__vector(4) llvm::GlobalValue::LinkageTypes’ to ‘llvm::GlobalValue::LinkageTypes’ in return return ODR ? WeakODRLinkage : WeakAnyLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isExternalLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:271:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == ExternalLinkage; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isAvailableExternallyLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:274:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == AvailableExternallyLinkage; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isLinkOnceODRLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:277:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == LinkOnceODRLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isLinkOnceLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:280:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == LinkOnceAnyLinkage || Linkage == LinkOnceODRLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakAnyLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:283:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == WeakAnyLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakODRLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:286:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == WeakODRLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isAppendingLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:292:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == AppendingLinkage; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isInternalLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:295:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == InternalLinkage; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isPrivateLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:298:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == PrivateLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isExternalWeakLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:304:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == ExternalWeakLinkage; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isCommonLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:307:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == CommonLinkage; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isInterposableLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:322:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:333:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakForLinker(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:352:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Linkage == CommonLinkage || Linkage == ExternalWeakLinkage; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:425:23: error: could not convert ‘llvm::GlobalValue::isLocalLinkage(LT)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isLocalLinkage(LT)) ~~~~~~~~~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::StringRef llvm::GlobalValue::getRealLinkageName(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:445:23: error: could not convert ‘(((((Name.llvm::StringRef::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((int)Name.llvm::StringRef::operator[](0)) == 1) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!Name.empty() && Name[0] == '\1') ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::isDeclarationForLinker() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:497:38: error: could not convert ‘((const llvm::GlobalValue*)this)->llvm::GlobalValue::hasAvailableExternallyLinkage()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasAvailableExternallyLinkage()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:498:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:545:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasSection() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:74:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getGlobalValueSubClassData() & (1 << HasSectionHashEntryBit); ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘llvm::StringRef llvm::GlobalObject::getSection() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:82:25: error: inferred scalar type ‘llvm::StringRef’ is not an integer or floating point type of the same size as ‘__bool int’ return hasSection() ? getSectionImpl() : StringRef(); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasComdat() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:91:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasComdat() const { return getComdat() != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In static member function ‘static __vector(4) __bool int llvm::GlobalObject::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:149:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘void llvm::GlobalObject::setGlobalObjectFlag(unsigned int, __vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:158:49: error: no matching function for call to ‘llvm::GlobalObject::setGlobalValueSubClassData(__vector(4) unsigned int)’ (Val ? Mask : 0u)); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:152:8: note: candidate: void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int) void setGlobalValueSubClassData(unsigned V) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:152:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasMetadataHashEntry() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:162:72: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getGlobalValueSubClassData() & (1 << HasMetadataHashEntryBit); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:48:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:57:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o -c /<>/lib/CL/clEnqueueFillBuffer.c In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Function.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:535:3: error: ‘iterator’ does not name a type; did you mean ‘op_iterator’? iterator begin() { return BasicBlocks.begin(); } ^~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:536:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return BasicBlocks.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:537:3: error: ‘iterator’ does not name a type; did you mean ‘op_iterator’? iterator end () { return BasicBlocks.end(); } ^~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:538:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end () const { return BasicBlocks.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:550:3: error: ‘arg_iterator’ does not name a type; did you mean ‘op_iterator’? arg_iterator arg_begin() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:554:3: error: ‘const_arg_iterator’ does not name a type; did you mean ‘const_op_iterator’? const_arg_iterator arg_begin() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:559:3: error: ‘arg_iterator’ does not name a type; did you mean ‘op_iterator’? arg_iterator arg_end() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:563:3: error: ‘const_arg_iterator’ does not name a type; did you mean ‘const_op_iterator’? const_arg_iterator arg_end() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:18: error: ‘arg_iterator’ was not declared in this scope iterator_range args() { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:18: note: suggested alternative: ‘op_iterator’ iterator_range args() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:30: error: template argument 1 is invalid iterator_range args() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:18: error: ‘const_arg_iterator’ was not declared in this scope iterator_range args() const { ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:18: note: suggested alternative: ‘const_op_iterator’ iterator_range args() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:36: error: template argument 1 is invalid iterator_range args() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:610:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldPreserveUseListOrder = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:611:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasLazyArguments() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:94:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<0); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘void llvm::Function::CheckLazyArguments() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:99:25: error: could not convert ‘((const llvm::Function*)this)->llvm::Function::hasLazyArguments()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasLazyArguments()) ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::isIntrinsic() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:151:37: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isIntrinsic() const { return HasLLVMReservedName; } ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:243:9: error: could not convert ‘((((const llvm::Function*)this)->llvm::Function::hasFnAttribute((llvm::Attribute::AttrKind)43) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasFnAttribute(Attribute::StackAlignment)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasGC() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:251:47: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<14); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘const llvm::BasicBlock& llvm::Function::front() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:542:62: error: ‘const BasicBlockListType {aka const class llvm::SymbolTableList}’ has no member named ‘front’ const BasicBlock &front() const { return BasicBlocks.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘llvm::BasicBlock& llvm::Function::front()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:543:62: error: ‘llvm::Function::BasicBlockListType {aka class llvm::SymbolTableList}’ has no member named ‘front’ BasicBlock &front() { return BasicBlocks.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘const llvm::BasicBlock& llvm::Function::back() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:544:62: error: ‘const BasicBlockListType {aka const class llvm::SymbolTableList}’ has no member named ‘back’ const BasicBlock &back() const { return BasicBlocks.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘llvm::BasicBlock& llvm::Function::back()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:545:62: error: ‘llvm::Function::BasicBlockListType {aka class llvm::SymbolTableList}’ has no member named ‘back’ BasicBlock &back() { return BasicBlocks.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘int llvm::Function::args()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:23: error: ‘arg_begin’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:23: note: suggested alternative: ‘op_begin’ return make_range(arg_begin(), arg_end()); ^~~~~~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:36: error: ‘arg_end’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:36: note: suggested alternative: ‘op_end’ return make_range(arg_begin(), arg_end()); ^~~~~~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘int llvm::Function::args() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:23: error: ‘arg_begin’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:23: note: suggested alternative: ‘op_begin’ return make_range(arg_begin(), arg_end()); ^~~~~~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:36: error: ‘arg_end’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:36: note: suggested alternative: ‘op_end’ return make_range(arg_begin(), arg_end()); ^~~~~~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPersonalityFn() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:582:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<3); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPrefixData() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:591:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<1); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPrologueData() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:600:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<2); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In static member function ‘static __vector(4) __bool int llvm::Function::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:630:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::FunctionVal; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:41:52: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:30:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:44:27: error: bit-field ‘__vector(4) __bool int llvm::GlobalVariable::isConstantGlobal’ with non-integral type bool isConstantGlobal : 1; // Is this a global constant? ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:45:42: error: bit-field ‘__vector(4) __bool int llvm::GlobalVariable::isExternallyInitializedConstant’ with non-integral type bool isExternallyInitializedConstant : 1; // Is this a global whose value ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:56:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExternallyInitialized = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:63:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExternallyInitialized = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h: In static member function ‘static __vector(4) __bool int llvm::GlobalVariable::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:183:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AllocaInst::isUsedWithInAlloca() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:122:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 32; ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AllocaInst::setUsedWithInAlloca(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:128:44: error: no matching function for call to ‘llvm::AllocaInst::setInstructionSubclassData(__vector(4) int)’ (V ? 32 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: candidate: void llvm::AllocaInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AllocaInst::isSwiftError() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:133:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 64; ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AllocaInst::setSwiftError(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:139:44: error: no matching function for call to ‘llvm::AllocaInst::setInstructionSubclassData(__vector(4) int)’ (V ? 64 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: candidate: void llvm::AllocaInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AllocaInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:144:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Alloca); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:176:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:178:64: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:208:30: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, Instruction *InsertBefore = nullptr); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:210:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::LoadInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:218:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::LoadInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:223:43: error: no matching function for call to ‘llvm::LoadInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:290:8: note: candidate: void llvm::LoadInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:290:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::LoadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:281:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Load; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:312:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ StoreInst(Value *Val, Value *Ptr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::StoreInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:336:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::StoreInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:341:43: error: no matching function for call to ‘llvm::StoreInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:414:8: note: candidate: void llvm::StoreInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:414:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::StoreInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:405:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Store; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FenceInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:482:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Fence; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicCmpXchgInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:538:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicCmpXchgInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:545:43: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size (unsigned)V); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicCmpXchgInst::isWeak() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:550:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 0x100; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicCmpXchgInst::setWeak(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:555:45: error: no matching function for call to ‘llvm::AtomicCmpXchgInst::setInstructionSubclassData(__vector(4) __bool int)’ (IsWeak << 8)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:649:8: note: candidate: void llvm::AtomicCmpXchgInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:649:8: note: no known conversion for argument 1 from ‘__vector(4) __bool int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AtomicCmpXchgInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:640:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::AtomicCmpXchg; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicRMWInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:737:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicRMWInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:744:43: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size (unsigned)V); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AtomicRMWInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:791:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::AtomicRMW; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:31: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setIsInBounds(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::GetElementPtrInst* llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:904:28: error: no matching function for call to ‘llvm::GetElementPtrInst::setIsInBounds(bool)’ GEP->setIsInBounds(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: candidate: void llvm::GetElementPtrInst::setIsInBounds(__vector(4) __bool int) void setIsInBounds(bool b = true); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::GetElementPtrInst* llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:921:28: error: no matching function for call to ‘llvm::GetElementPtrInst::setIsInBounds(bool)’ GEP->setIsInBounds(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: candidate: void llvm::GetElementPtrInst::setIsInBounds(__vector(4) __bool int) void setIsInBounds(bool b = true); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::Type* llvm::GetElementPtrInst::getGEPReturnType(llvm::Type*, llvm::Value*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:994:35: error: could not convert ‘Ptr->llvm::Value::getType()->llvm::Type::isVectorTy()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Ptr->getType()->isVectorTy()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:999:39: error: could not convert ‘Index->llvm::Value::getType()->llvm::Type::isVectorTy()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Index->getType()->isVectorTy()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::GetElementPtrInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1012:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOperands() > 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::GetElementPtrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1044:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::GetElementPtr); ^ [ 6%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/all.cl.bc /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ICmpInst::isEquality(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1187:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P == ICMP_EQ || P == ICMP_NE; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ICmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1224:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ICmp; ^~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/all.cl.bc -c /<>/lib/kernel/all.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FCmpInst::isEquality(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1307:20: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Pred == FCMP_UNE; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FCmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1340:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::FCmp; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1550:32: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setTailCall(bool isTC = true) { ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::hasDescriptor() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1400:39: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasDescriptor() const { return HasDescriptor; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1539:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Kind == TCK_Tail || Kind == TCK_MustTail; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isMustTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1543:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromInstruction() & 3) == TCK_MustTail; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isNoTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1547:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromInstruction() & 3) == TCK_NoTail; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::CallInst::setTailCall(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1552:67: error: can’t convert a vector of type ‘__vector(4) llvm::CallInst::TailCallKind’ to type ‘unsigned int’ which has different size unsigned(isTC ? TCK_Tail : TCK_None)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::hasStructRetAttr() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1810:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Function; Y = llvm::Use]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Function; Y = llvm::Use]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CallInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1853:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Call; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SelectInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1990:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Select; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::VAArgInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2036:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == VAArg; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ExtractElementInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2093:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ExtractElement; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InsertElementInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2156:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::InsertElement; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ShuffleVectorInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2242:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ShuffleVector; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::ExtractValueInst::idx_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2313:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ inline idx_iterator idx_begin() const { return Indices.begin(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::ExtractValueInst::idx_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2314:58: error: ‘const class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? inline idx_iterator idx_end() const { return Indices.end(); } ^~~ append /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ArrayRef llvm::ExtractValueInst::getIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2330:12: error: could not convert ‘((const llvm::ExtractValueInst*)this)->llvm::ExtractValueInst::Indices’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return Indices; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::ExtractValueInst::getNumIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2334:30: error: ‘const class llvm::SmallVector’ has no member named ‘size’ return (unsigned)Indices.size(); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::ExtractValueInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2338:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ExtractValueInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2343:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ExtractValue; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::InsertValueInst::idx_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2435:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ inline idx_iterator idx_begin() const { return Indices.begin(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::InsertValueInst::idx_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2436:58: error: ‘const class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? inline idx_iterator idx_end() const { return Indices.end(); } ^~~ append /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ArrayRef llvm::InsertValueInst::getIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2462:12: error: could not convert ‘((const llvm::InsertValueInst*)this)->llvm::InsertValueInst::Indices’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return Indices; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::InsertValueInst::getNumIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2466:30: error: ‘const class llvm::SmallVector’ has no member named ‘size’ return (unsigned)Indices.size(); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InsertValueInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2470:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InsertValueInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2475:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::InsertValue; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2687:68: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Value *removeIncomingValue(unsigned Idx, bool DeletePHIIfEmpty = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2689:74: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Value *removeIncomingValue(const BasicBlock *BB, bool DeletePHIIfEmpty=true) { ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::PHINode::allocHungoffUses(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2560:47: error: no matching function for call to ‘llvm::PHINode::allocHungoffUses(unsigned int&, bool)’ User::allocHungoffUses(N, /* IsPhi */ true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:8: note: candidate: void llvm::User::allocHungoffUses(unsigned int, __vector(4) __bool int) void allocHungoffUses(unsigned N, bool IsPhi = false); ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:8: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::PHINode::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2722:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::PHI; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::LandingPadInst::isCleanup() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2797:70: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isCleanup() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::LandingPadInst::setCleanup(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2802:43: error: no matching function for call to ‘llvm::LandingPadInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:583:8: note: candidate: void llvm::Instruction::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:583:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::LandingPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2833:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::LandingPad; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2909:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Ret); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::BranchInst::isUnconditional() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2985:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isUnconditional() const { return getNumOperands() == 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::BranchInst::isConditional() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2986:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isConditional() const { return getNumOperands() == 3; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::BranchInst::getNumSuccessors() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2998:62: error: cannot convert ‘__vector(4) __bool int’ to ‘unsigned int’ in return unsigned getNumSuccessors() const { return 1+isConditional(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::BranchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3019:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Br); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::SwitchInst::CaseIt llvm::SwitchInst::findCaseValue(const llvm::ConstantInt*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3281:53: error: could not convert ‘i.llvm::SwitchInst::CaseIt::.llvm::SwitchInst::CaseIteratorT::operator!=(e.llvm::SwitchInst::CaseIt::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (CaseIt i = case_begin(), e = case_end(); i != e; ++i) ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::SwitchInst::ConstCaseIt llvm::SwitchInst::findCaseValue(const llvm::ConstantInt*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3287:58: error: could not convert ‘i.llvm::SwitchInst::CaseIteratorT::operator!=(e)’ from ‘__vector(4) __bool int’ to ‘bool’ for (ConstCaseIt i = case_begin(), e = case_end(); i != e; ++i) ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ConstantInt* llvm::SwitchInst::findCaseDest(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3299:53: error: could not convert ‘i.llvm::SwitchInst::CaseIt::.llvm::SwitchInst::CaseIteratorT::operator!=(e.llvm::SwitchInst::CaseIt::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (CaseIt i = case_begin(), e = case_end(); i != e; ++i) { ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SwitchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3334:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Switch; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::IndirectBrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3439:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::IndirectBr; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InvokeInst::hasDescriptor() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3497:39: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasDescriptor() const { return HasDescriptor; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InvokeInst::hasStructRetAttr() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3841:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InvokeInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3909:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Invoke); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ResumeInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4007:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Resume; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CatchSwitchInst::hasUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4093:74: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool hasUnwindDest() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::CatchSwitchInst::getUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4096:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::CatchSwitchInst::getNumHandlers() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4109:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::CatchSwitchInst::handler_iterator llvm::CatchSwitchInst::handler_begin()’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4132:22: error: could not convert ‘((llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::CatchSwitchInst::const_handler_iterator llvm::CatchSwitchInst::handler_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4141:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchSwitchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4190:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CatchSwitch; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CleanupPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4241:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CleanupPad; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4291:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CatchPad; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4355:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::CatchRet); ^ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CleanupReturnInst::hasUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4418:74: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool hasUnwindDest() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::CleanupReturnInst::getNumSuccessors() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4430:68: error: cannot convert ‘__vector(4) int’ to ‘unsigned int’ in return unsigned getNumSuccessors() const { return hasUnwindDest() ? 1 : 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::CleanupReturnInst::getUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4433:28: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::BasicBlock*}’ is not an integer or floating point type of the same size as ‘__bool int’ return hasUnwindDest() ? cast(Op<1>()) : nullptr; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CleanupReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4443:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::CleanupRet); ^ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o -c /<>/lib/CL/clEnqueueReadBuffer.c /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::UnreachableInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4498:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Unreachable; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::TruncInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4542:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Trunc; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ZExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4581:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == ZExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4620:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == SExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPTruncInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4659:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPTrunc; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4698:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPExt; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::UIToFPInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4737:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == UIToFP; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SIToFPInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4776:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == SIToFP; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPToUIInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4815:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPToUI; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPToSIInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4854:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPToSI; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::IntToPtrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4897:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == IntToPtr; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::PtrToIntInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4948:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == PtrToInt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::BitCastInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4987:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == BitCast; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AddrSpaceCastInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:5027:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == AddrSpaceCast; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Operator*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Operator*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:36:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::Operator::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:65:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static inline bool classof(const Instruction *) { return true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::Operator::classof(const llvm::ConstantExpr*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:66:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static inline bool classof(const ConstantExpr *) { return true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:88:53: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::OverflowingBinaryOperator::’) (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); ~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:92:51: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::OverflowingBinaryOperator::’) (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); ~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::OverflowingBinaryOperator::hasNoUnsignedWrap() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:99:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & NoUnsignedWrap; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::OverflowingBinaryOperator::hasNoSignedWrap() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:105:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & NoSignedWrap) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::OverflowingBinaryOperator::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:112:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return I->getOpcode() == Instruction::Shl; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::OverflowingBinaryOperator::classof(const llvm::ConstantExpr*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:118:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return CE->getOpcode() == Instruction::Shl; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:139:67: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::PossiblyExactOperator::’) SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); ~~^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::PossiblyExactOperator::isExact() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:145:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & IsExact; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::PossiblyExactOperator::isPossiblyExactOpcode(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:152:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return OpC == Instruction::LShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::any() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:188:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool any() const { return Flags != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noNaNs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:194:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noNaNs() const { return 0 != (Flags & NoNaNs); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noInfs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:195:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noInfs() const { return 0 != (Flags & NoInfs); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noSignedZeros() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:196:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noSignedZeros() const { return 0 != (Flags & NoSignedZeros); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::allowReciprocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:197:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::unsafeAlgebra() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:198:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool unsafeAlgebra() const { return 0 != (Flags & UnsafeAlgebra); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasUnsafeAlgebra(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:227:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::UnsafeAlgebra); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:230:10: error: could not convert ‘B’ from ‘__vector(4) __bool int’ to ‘bool’ if (B) { ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:231:24: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoNaNs(bool)’ setHasNoNaNs(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:238:8: note: candidate: void llvm::FPMathOperator::setHasNoNaNs(__vector(4) __bool int) void setHasNoNaNs(bool B) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:238:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:232:24: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoInfs(bool)’ setHasNoInfs(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:244:8: note: candidate: void llvm::FPMathOperator::setHasNoInfs(__vector(4) __bool int) void setHasNoInfs(bool B) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:244:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:233:31: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoSignedZeros(bool)’ setHasNoSignedZeros(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:250:8: note: candidate: void llvm::FPMathOperator::setHasNoSignedZeros(__vector(4) __bool int) void setHasNoSignedZeros(bool B) { ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:250:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:234:33: error: no matching function for call to ‘llvm::FPMathOperator::setHasAllowReciprocal(bool)’ setHasAllowReciprocal(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:256:8: note: candidate: void llvm::FPMathOperator::setHasAllowReciprocal(__vector(4) __bool int) void setHasAllowReciprocal(bool B) { ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:256:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:241:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoNaNs); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:247:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoInfs); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:253:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoSignedZeros); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:259:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::AllowReciprocal); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasUnsafeAlgebra() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:278:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::UnsafeAlgebra) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoNaNs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:284:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoNaNs) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoInfs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:290:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoInfs) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoSignedZeros() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:296:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoSignedZeros) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasAllowReciprocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:302:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:380:49: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::GEPOperator::’) (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); ~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::isInBounds() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:386:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & IsInBounds; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:429:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOperands() > 1; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::ConstantInt; Y = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::ConstantInt; Y = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:36:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasAllZeroIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:438:22: error: could not convert ‘C->llvm::ConstantInt::isZero()’ from ‘__vector(4) __bool int’ to ‘bool’ if (C->isZero()) ~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:440:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:442:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasAllConstantIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:450:11: error: could not convert ‘((llvm::isa(I) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isa(I)) ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:451:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:453:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:39:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In constructor ‘llvm::ValueHandleBase::ValueHandleBase(llvm::ValueHandleBase::HandleBaseKind, const llvm::ValueHandleBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:49:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In constructor ‘llvm::ValueHandleBase::ValueHandleBase(llvm::ValueHandleBase::HandleBaseKind, llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:64:16: error: could not convert ‘llvm::ValueHandleBase::isValid(V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In destructor ‘llvm::ValueHandleBase::~ValueHandleBase()’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:69:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In member function ‘llvm::Value* llvm::ValueHandleBase::operator=(llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:75:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) RemoveFromUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:77:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) AddToUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In member function ‘llvm::Value* llvm::ValueHandleBase::operator=(const llvm::ValueHandleBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:83:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) RemoveFromUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:85:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) AddToExistingUseList(RHS.getPrevPtr()); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In static member function ‘static __vector(4) __bool int llvm::ValueHandleBase::isValid(llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:98:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V != DenseMapInfo::getTombstoneKey(); ^ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:256:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ In file included from /<>/lib/llvmopencl/Kernel.cc:31:0: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:65:49: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock *BB, BasicBlock::iterator InsertPt) const { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderDefaultInserter::InsertHelper(llvm::Instruction*, const llvm::Twine&, llvm::BasicBlock*, int) const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:66:31: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘insert’; did you mean ‘sort’? if (BB) BB->getInstList().insert(InsertPt, I); ^~~~~~ sort /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:82:49: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock *BB, BasicBlock::iterator InsertPt) const { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:94:15: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator InsertPt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:122:15: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator GetInsertPoint() const { return InsertPt; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:143:54: error: ‘llvm::BasicBlock::iterator’ has not been declared void SetInsertPoint(BasicBlock *TheBB, BasicBlock::iterator IP) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:170:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator Point; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:177:54: error: ‘llvm::BasicBlock::iterator’ has not been declared InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:184:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator getPoint() const { return Point; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:231:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator Point; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:405:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:413:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:423:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:432:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:444:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:452:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::ClearInsertionPoint()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:5: error: ‘InsertPt’ was not declared in this scope InsertPt = BasicBlock::iterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:5: note: suggested alternative: ‘InsertPoint’ InsertPt = BasicBlock::iterator(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:28: error: ‘iterator’ is not a member of ‘llvm::BasicBlock’ InsertPt = BasicBlock::iterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:5: error: ‘InsertPt’ was not declared in this scope InsertPt = BB->end(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:5: note: suggested alternative: ‘InsertPoint’ InsertPt = BB->end(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:20: error: ‘class llvm::BasicBlock’ has no member named ‘end’ InsertPt = BB->end(); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:5: error: ‘InsertPt’ was not declared in this scope InsertPt = I->getIterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:5: note: suggested alternative: ‘InsertPoint’ InsertPt = I->getIterator(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:19: error: ‘class llvm::Instruction’ has no member named ‘getIterator’; did you mean ‘op_iterator’? InsertPt = I->getIterator(); ^~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::BasicBlock*, int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:145:5: error: ‘InsertPt’ was not declared in this scope InsertPt = IP; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:145:5: note: suggested alternative: ‘InsertPoint’ InsertPt = IP; ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:146:22: error: ‘class llvm::BasicBlock’ has no member named ‘end’ if (IP != TheBB->end()) ^~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:147:33: error: base operand of ‘->’ is not a pointer SetCurrentDebugLocation(IP->getDebugLoc()); ^~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In constructor ‘llvm::IRBuilderBase::InsertPoint::InsertPoint(llvm::BasicBlock*, int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:178:29: error: class ‘llvm::IRBuilderBase::InsertPoint’ does not have any field named ‘Point’ : Block(InsertBlock), Point(InsertPoint) {} ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘__vector(4) __bool int llvm::IRBuilderBase::InsertPoint::isSet() const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:181:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSet() const { return (Block != nullptr); } ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::IRBuilderBase::InsertPoint llvm::IRBuilderBase::saveIP() const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:189:42: error: ‘GetInsertPoint’ was not declared in this scope return InsertPoint(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:189:42: note: suggested alternative: ‘SetInsertPoint’ return InsertPoint(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::IRBuilderBase::InsertPoint llvm::IRBuilderBase::saveAndClearIP()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:194:38: error: ‘GetInsertPoint’ was not declared in this scope InsertPoint IP(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:194:38: note: suggested alternative: ‘SetInsertPoint’ InsertPoint IP(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::restoreIP(llvm::IRBuilderBase::InsertPoint)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:201:17: error: could not convert ‘IP.llvm::IRBuilderBase::InsertPoint::isSet()’ from ‘__vector(4) __bool int’ to ‘bool’ if (IP.isSet()) ~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:202:40: error: ‘class llvm::IRBuilderBase::InsertPoint’ has no member named ‘getPoint’; did you mean ‘InsertPoint’? SetInsertPoint(IP.getBlock(), IP.getPoint()); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In constructor ‘llvm::IRBuilderBase::InsertPointGuard::InsertPointGuard(llvm::IRBuilderBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:236:50: error: class ‘llvm::IRBuilderBase::InsertPointGuard’ does not have any field named ‘Point’ : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:236:58: error: ‘class llvm::IRBuilderBase’ has no member named ‘GetInsertPoint’; did you mean ‘SetInsertPoint’? : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In destructor ‘llvm::IRBuilderBase::InsertPointGuard::~InsertPointGuard()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:243:44: error: ‘Point’ was not declared in this scope Builder.restoreIP(InsertPoint(Block, Point)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:243:44: note: suggested alternative: ‘count’ Builder.restoreIP(InsertPoint(Block, Point)); ^~~~~ count /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt1(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:283:43: error: no matching function for call to ‘llvm::ConstantInt::get(llvm::IntegerType*, __vector(4) __bool int&)’ return ConstantInt::get(getInt1Ty(), V); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:20: note: candidate: static llvm::Constant* llvm::ConstantInt::get(llvm::Type*, uint64_t, __vector(4) __bool int) static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:20: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘uint64_t {aka long unsigned int}’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:116:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int) static ConstantInt *get(IntegerType *Ty, uint64_t V, ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:116:23: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘uint64_t {aka long unsigned int}’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:129:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::LLVMContext&, const llvm::APInt&) static ConstantInt *get(LLVMContext &Context, const APInt &V); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:129:23: note: no known conversion for argument 1 from ‘llvm::IntegerType*’ to ‘llvm::LLVMContext&’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:133:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, llvm::StringRef, uint8_t) static ConstantInt *get(IntegerType *Ty, StringRef Str, ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:133:23: note: candidate expects 3 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:138:20: note: candidate: static llvm::Constant* llvm::ConstantInt::get(llvm::Type*, const llvm::APInt&) static Constant *get(Type* Ty, const APInt& V); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:138:20: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘const llvm::APInt&’ In file included from /<>/lib/llvmopencl/Kernel.cc:31:0: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt8(uint8_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:298:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt8Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt16(uint16_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:303:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt16Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:308:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt32Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:313:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt64Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getIntN(unsigned int, uint64_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:319:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getIntNTy(N), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:620:44: error: ‘llvm::BasicBlock::iterator’ has not been declared IRBuilder(BasicBlock *TheBB, BasicBlock::iterator IP, const T &F, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:627:44: error: ‘llvm::BasicBlock::iterator’ has not been declared IRBuilder(BasicBlock *TheBB, BasicBlock::iterator IP, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘InstTy* llvm::IRBuilder::Insert(InstTy*, const llvm::Twine&) const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:640:37: error: ‘InsertPt’ was not declared in this scope this->InsertHelper(I, Name, BB, InsertPt); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:640:37: note: suggested alternative: ‘Insert’ this->InsertHelper(I, Name, BB, InsertPt); ^~~~~~~~ Insert /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:98:16: error: expected unqualified-id before ‘__attribute__’ typedef std::vector ConstraintCodeVector; ^ In file included from /<>/lib/llvmopencl/Kernel.cc:32:0: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:108:5: error: ‘ConstraintCodeVector’ does not name a type; did you mean ‘ConstantDataVector’? ConstraintCodeVector Codes; ^~~~~~~~~~~~~~~~~~~~ ConstantDataVector /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:113:16: error: expected unqualified-id before ‘__attribute__’ typedef std::vector SubConstraintInfoVector; ^ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:115:16: error: expected unqualified-id before ‘__attribute__’ typedef std::vector ConstraintInfoVector; ^ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:148:5: error: ‘ConstraintCodeVector’ does not name a type; did you mean ‘ConstantDataVector’? ConstraintCodeVector Codes; ^~~~~~~~~~~~~~~~~~~~ ConstantDataVector /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:155:5: error: ‘SubConstraintInfoVector’ does not name a type; did you mean ‘SubConstraintInfo’? SubConstraintInfoVector multipleAlternatives; ^~~~~~~~~~~~~~~~~~~~~~~ SubConstraintInfo /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:166:31: error: ‘ConstraintInfoVector’ has not been declared bool Parse(StringRef Str, ConstraintInfoVector &ConstraintsSoFar); ^~~~~~~~~~~~~~~~~~~~ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o -c /<>/lib/CL/clEnqueueReadBufferRect.c /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:176:10: error: ‘ConstraintInfoVector’ does not name a type; did you mean ‘ConstraintInfo’? static ConstraintInfoVector ParseConstraints(StringRef ConstraintString); ^~~~~~~~~~~~~~~~~~~~ ConstraintInfo /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:180:3: error: ‘ConstraintInfoVector’ does not name a type; did you mean ‘ConstraintInfo’? ConstraintInfoVector ParseConstraints() const { ^~~~~~~~~~~~~~~~~~~~ ConstraintInfo /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:65:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isAlignStack = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In member function ‘__vector(4) __bool int llvm::InlineAsm::ConstraintInfo::hasMatchingInput() const’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:134:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasMatchingInput() const { return MatchingInput != -1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:186:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::InlineAsmVal; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isRegDefKind(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:274:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isRegDefKind(unsigned Flag){ return getKind(Flag) == Kind_RegDef;} ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isImmKind(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:275:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isImmKind(unsigned Flag) { return getKind(Flag) == Kind_Imm; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isMemKind(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:276:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isMemKind(unsigned Flag) { return getKind(Flag) == Kind_Mem; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isRegDefEarlyClobberKind(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:278:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getKind(Flag) == Kind_RegDefEarlyClobber; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isClobberKind(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:281:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getKind(Flag) == Kind_Clobber; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::isUseOperandTiedToDef(unsigned int, unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:343:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:345:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h: In static member function ‘static __vector(4) __bool int llvm::InlineAsm::hasRegClassConstraint(unsigned int, unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:352:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:357:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InlineAsm.h:359:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:44:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::pred_iterator llvm::pred_end(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:103:78: error: no matching function for call to ‘llvm::PredIterator >::PredIterator(llvm::BasicBlock*&, bool)’ inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: candidate: llvm::PredIterator::PredIterator(Ptr*, __vector(4) __bool int) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate: llvm::PredIterator::PredIterator(Ptr*) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate: llvm::PredIterator::PredIterator() [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] PredIterator() = default; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate: constexpr llvm::PredIterator >::PredIterator(const llvm::PredIterator >&) class PredIterator : public std::iterator >::PredIterator(llvm::PredIterator >&&) /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::const_pred_iterator llvm::pred_end(const llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:105:38: error: no matching function for call to ‘llvm::PredIterator >::PredIterator(const llvm::BasicBlock*&, bool)’ return const_pred_iterator(BB, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: candidate: llvm::PredIterator::PredIterator(Ptr*, __vector(4) __bool int) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate: llvm::PredIterator::PredIterator(Ptr*) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate: llvm::PredIterator::PredIterator() [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] PredIterator() = default; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate: constexpr llvm::PredIterator >::PredIterator(const llvm::PredIterator >&) class PredIterator : public std::iterator >::PredIterator(llvm::PredIterator >&&) /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::succ_iterator llvm::succ_end(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:135:49: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(llvm::TerminatorInst*, bool)’ return succ_iterator(BB->getTerminator(), true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:44:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::succ_const_iterator llvm::succ_end(const llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:138:55: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst*, bool)’ return succ_const_iterator(BB->getTerminator(), true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:44:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:152:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:38: error: ‘iterator’ is not a member of ‘llvm::Function’ typedef pointer_iterator nodes_iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:38: error: ‘iterator’ is not a member of ‘llvm::Function’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:46: error: template argument 1 is invalid typedef pointer_iterator nodes_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:46: error: template argument 2 is invalid /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_begin(llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:217:30: error: ‘class llvm::Function’ has no member named ‘begin’; did you mean ‘op_begin’? return nodes_iterator(F->begin()); ^~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_end(llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:221:30: error: ‘class llvm::Function’ has no member named ‘end’; did you mean ‘op_end’? return nodes_iterator(F->end()); ^~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:38: error: ‘const_iterator’ is not a member of ‘llvm::Function’ typedef pointer_iterator nodes_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:38: error: ‘const_iterator’ is not a member of ‘llvm::Function’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:52: error: template argument 1 is invalid typedef pointer_iterator nodes_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:52: error: template argument 2 is invalid /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_begin(const llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:234:30: error: ‘const class llvm::Function’ has no member named ‘begin’; did you mean ‘op_begin’? return nodes_iterator(F->begin()); ^~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_end(const llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:238:30: error: ‘const class llvm::Function’ has no member named ‘end’; did you mean ‘op_end’? return nodes_iterator(F->end()); ^~~ op_end In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h:45:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &OS, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Comdat&)’: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h:59:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Comdat::print(llvm::raw_ostream&, __vector(4) __bool int) const’ C.print(OS); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h: In static member function ‘static __vector(4) __bool int llvm::GlobalIndirectSymbol::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h:76:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:29:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h: In static member function ‘static __vector(4) __bool int llvm::GlobalAlias::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:88:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalAliasVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h:34:34: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:23:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h: In static member function ‘static __vector(4) __bool int llvm::GlobalIFunc::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h:70:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:70:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:75:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:85:24: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:90:24: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::ilist_traits >’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:403:7: required from ‘class llvm::iplist’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:95:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:298:8: error: expected unqualified-id before ‘__attribute__’ std::vector getIdentifiedStructTypes() const; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:518:3: error: ‘global_iterator’ does not name a type; did you mean ‘ilist_iterator’? global_iterator global_begin() { return GlobalList.begin(); } ^~~~~~~~~~~~~~~ ilist_iterator [ 6%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/any.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/any.cl.bc -c /<>/lib/kernel/any.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/IR/Module.h:519:3: error: ‘const_global_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_global_iterator global_begin() const { return GlobalList.begin(); } ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/IR/Module.h:520:3: error: ‘global_iterator’ does not name a type; did you mean ‘ilist_iterator’? global_iterator global_end () { return GlobalList.end(); } ^~~~~~~~~~~~~~~ ilist_iterator [ 6%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/cpuinfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices.dir/cpuinfo.c.o -c /<>/lib/CL/devices/cpuinfo.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:521:3: error: ‘const_global_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_global_iterator global_end () const { return GlobalList.end(); } ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:18: error: ‘global_iterator’ was not declared in this scope iterator_range globals() { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:18: note: suggested alternative: ‘ilist_iterator’ iterator_range globals() { ^~~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:33: error: template argument 1 is invalid iterator_range globals() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:18: error: ‘const_global_iterator’ was not declared in this scope iterator_range globals() const { ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range globals() const { ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:39: error: template argument 1 is invalid iterator_range globals() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:535:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() { return FunctionList.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:536:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return FunctionList.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:537:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end () { return FunctionList.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:538:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end () const { return FunctionList.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:539:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() { return FunctionList.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator [ 7%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o -c /<>/lib/CL/clEnqueueMapBuffer.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:540:3: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? const_reverse_iterator rbegin() const{ return FunctionList.rbegin(); } ^~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:541:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() { return FunctionList.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:542:3: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? const_reverse_iterator rend() const { return FunctionList.rend(); } ^~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:18: error: ‘iterator’ was not declared in this scope iterator_range functions() { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:18: note: suggested alternatives: In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0, from /usr/include/c++/7/bits/char_traits.h:39, from /usr/include/c++/7/ios:40, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ struct iterator ^~~~~~~~ /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:26: error: template argument 1 is invalid iterator_range functions() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:18: error: ‘const_iterator’ was not declared in this scope iterator_range functions() const { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:18: note: suggested alternative: ‘concat_iterator’ iterator_range functions() const { ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:32: error: template argument 1 is invalid iterator_range functions() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:557:3: error: ‘alias_iterator’ does not name a type; did you mean ‘ilist_iterator’? alias_iterator alias_begin() { return AliasList.begin(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:558:3: error: ‘const_alias_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_alias_iterator alias_begin() const { return AliasList.begin(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:559:3: error: ‘alias_iterator’ does not name a type; did you mean ‘ilist_iterator’? alias_iterator alias_end () { return AliasList.end(); } ^~~~~~~~~~~~~~ ilist_iterator make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' /usr/lib/llvm-4.0/include/llvm/IR/Module.h:560:3: error: ‘const_alias_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_alias_iterator alias_end () const { return AliasList.end(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:18: error: ‘alias_iterator’ was not declared in this scope iterator_range aliases() { ^~~~~~~~~~~~~~ [ 7%] Built target pocl-devices /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:18: note: suggested alternative: ‘ilist_iterator’ iterator_range aliases() { ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:32: error: template argument 1 is invalid iterator_range aliases() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:18: error: ‘const_alias_iterator’ was not declared in this scope iterator_range aliases() const { ^~~~~~~~~~~~~~~~~~~~ [ 8%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/as_type.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/as_type.cl.bc -c /<>/lib/kernel/as_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range aliases() const { ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:38: error: template argument 1 is invalid iterator_range aliases() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:575:3: error: ‘ifunc_iterator’ does not name a type; did you mean ‘succ_iterator’? ifunc_iterator ifunc_begin() { return IFuncList.begin(); } ^~~~~~~~~~~~~~ succ_iterator clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/IR/Module.h:576:3: error: ‘const_ifunc_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_ifunc_iterator ifunc_begin() const { return IFuncList.begin(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:577:3: error: ‘ifunc_iterator’ does not name a type; did you mean ‘succ_iterator’? ifunc_iterator ifunc_end () { return IFuncList.end(); } ^~~~~~~~~~~~~~ succ_iterator [ 8%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o cd /<>/obj-powerpc64le-linux-gnu/lib/llvmopencl && /usr/bin/c++ -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -o CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o -c /<>/lib/llvmopencl/ParallelRegion.cc /usr/lib/llvm-4.0/include/llvm/IR/Module.h:578:3: error: ‘const_ifunc_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_ifunc_iterator ifunc_end () const { return IFuncList.end(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:18: error: ‘ifunc_iterator’ was not declared in this scope iterator_range ifuncs() { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:18: note: suggested alternative: ‘succ_iterator’ iterator_range ifuncs() { ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:32: error: template argument 1 is invalid iterator_range ifuncs() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:18: error: ‘const_ifunc_iterator’ was not declared in this scope iterator_range ifuncs() const { ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range ifuncs() const { ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:38: error: template argument 1 is invalid iterator_range ifuncs() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:41: error: ‘iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:41: note: suggested alternatives: In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0, from /usr/include/c++/7/bits/char_traits.h:39, from /usr/include/c++/7/ios:40, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ struct iterator ^~~~~~~~ /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:51: error: ‘global_iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~~~~~~~~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o -c /<>/lib/CL/clEnqueueUnmapMemObject.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:51: note: suggested alternative: ‘ilist_iterator’ typedef concat_iterator ^~~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:66: error: template argument 2 is invalid typedef concat_iterator ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:66: error: template argument 3 is invalid /usr/lib/llvm-4.0/include/llvm/IR/Module.h:595:47: error: ‘const_iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:27: note: suggested alternative: ‘const_pred_iterator’ const_global_iterator> ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:48: error: template argument 2 is invalid const_global_iterator> ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:48: error: template argument 3 is invalid /usr/lib/llvm-4.0/include/llvm/IR/Module.h:622:3: error: ‘named_metadata_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? named_metadata_iterator named_metadata_begin() { return NamedMDList.begin(); } ^~~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:623:3: error: ‘const_named_metadata_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_named_metadata_iterator named_metadata_begin() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:627:3: error: ‘named_metadata_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? named_metadata_iterator named_metadata_end() { return NamedMDList.end(); } ^~~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o -c /<>/lib/CL/clEnqueueMarkerWithWaitList.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:628:3: error: ‘const_named_metadata_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_named_metadata_iterator named_metadata_end() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:18: error: ‘named_metadata_iterator’ was not declared in this scope iterator_range named_metadata() { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:18: note: suggested alternative: ‘named_metadata_empty’ iterator_range named_metadata() { ^~~~~~~~~~~~~~~~~~~~~~~ named_metadata_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:41: error: template argument 1 is invalid iterator_range named_metadata() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:18: error: ‘const_named_metadata_iterator’ was not declared in this scope iterator_range named_metadata() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:18: note: suggested alternative: ‘named_metadata_empty’ iterator_range named_metadata() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ named_metadata_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:47: error: template argument 1 is invalid iterator_range named_metadata() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:711:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldPreserveUseListOrder = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:712:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:345:41: error: no matching function for call to ‘llvm::Module::getGlobalVariable(llvm::StringRef&, bool) const’ return getGlobalVariable(Name, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const GlobalVariable *getGlobalVariable(StringRef Name) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) const GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘llvm::GlobalVariable* llvm::Module::getNamedGlobal(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:358:40: error: no matching function for call to ‘llvm::Module::getGlobalVariable(llvm::StringRef&, bool)’ return getGlobalVariable(Name, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const GlobalVariable *getGlobalVariable(StringRef Name) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) const GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::isMaterialized() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:455:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isMaterialized() const { return !getMaterializer(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::globals()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:23: error: ‘global_begin’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:23: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:39: error: ‘global_end’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:39: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::globals() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:23: error: ‘global_begin’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:23: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:39: error: ‘global_end’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:39: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::functions()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:23: error: ‘begin’ was not declared in this scope return make_range(begin(), end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:23: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:32: error: ‘end’ was not declared in this scope return make_range(begin(), end()); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:32: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::functions() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:23: error: ‘begin’ was not declared in this scope return make_range(begin(), end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:23: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:32: error: ‘end’ was not declared in this scope return make_range(begin(), end()); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:32: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::aliases()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:23: error: ‘alias_begin’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:23: note: suggested alternative: ‘has_rbegin’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ has_rbegin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:38: error: ‘alias_end’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:38: note: suggested alternative: ‘aliases’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~ aliases /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::aliases() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:23: error: ‘alias_begin’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:23: note: suggested alternative: ‘has_rbegin’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ has_rbegin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:38: error: ‘alias_end’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o -c /<>/lib/CL/clEnqueueBarrierWithWaitList.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:38: note: suggested alternative: ‘aliases’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~ aliases /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::ifuncs()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:23: error: ‘ifunc_begin’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:23: note: suggested alternative: ‘succ_begin’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ succ_begin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:38: error: ‘ifunc_end’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:38: note: suggested alternative: ‘succ_end’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ succ_end /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::ifuncs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:23: error: ‘ifunc_begin’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:23: note: suggested alternative: ‘succ_begin’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ succ_begin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:38: error: ‘ifunc_end’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:38: note: suggested alternative: ‘succ_end’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ succ_end In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: error: no matching function for call to ‘begin(int&)’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘int’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘const int’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘_Tp [_Nm]’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: error: no matching function for call to ‘begin(int&)’ In file included from /usr/include/c++/7/bits/range_access.h:36:0, from /usr/include/c++/7/string:51, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘int’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘const int’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘_Tp [_Nm]’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::named_metadata()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:23: error: ‘named_metadata_begin’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:23: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:47: error: ‘named_metadata_end’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:47: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::named_metadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:23: error: ‘named_metadata_begin’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:23: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:47: error: ‘named_metadata_end’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:47: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::debug_compile_units_iterator::operator==(const llvm::Module::debug_compile_units_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:664:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Idx == I.Idx; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::debug_compile_units_iterator::operator!=(const llvm::Module::debug_compile_units_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:667:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Idx != I.Idx; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:784:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, __vector(4) __bool int, __vector(4) __bool int) const’ M.print(O, nullptr); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:784:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘void llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, __vector(4) __bool int, __vector(4) __bool int) const’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:50:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:86:42: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ explicit raw_ostream(bool unbuffered = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:218:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_ostream &write_escaped(StringRef Str, bool UseHexEscapes = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:249:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Bold = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:250:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool BG = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_ostream::raw_ostream(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:87:60: error: cannot convert ‘__vector(4) llvm::raw_ostream::BufferKind’ to ‘llvm::raw_ostream::BufferKind’ in initialization : BufferMode(unbuffered ? Unbuffered : InternalBuffer) { ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:194:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ return write(Str.data(), Str.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:194:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ return write(Str.data(), Str.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘virtual __vector(4) __bool int llvm::raw_ostream::is_displayed() const’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:267:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool is_displayed() const { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:337:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ explicit raw_pwrite_stream(bool Unbuffered = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:400:60: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:414:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_ostream &changeColor(enum Colors colors, bool bold=false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:415:36: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool bg=false) override; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘void llvm::raw_fd_ostream::error_detected()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:382:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment void error_detected() { Error = true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘void llvm::raw_fd_ostream::clear_error()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:442:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment Error = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_string_ostream::raw_string_ostream(std::__cxx11::string&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:474:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘1’ to ‘llvm::raw_ostream::raw_ostream(__vector(4) __bool int)’ explicit raw_string_ostream(std::string &O) : OS(O) {} ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:506:64: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘1’ to ‘llvm::raw_pwrite_stream::raw_pwrite_stream(__vector(4) __bool int)’ explicit raw_svector_ostream(SmallVectorImpl &O) : OS(O) { ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:515:41: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ StringRef str() { return StringRef(OS.data(), OS.size()); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:515:52: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ StringRef str() { return StringRef(OS.data(), OS.size()); } ^~~~ In file included from /usr/include/c++/7/list:63:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:52, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/include/c++/7/bits/stl_list.h: In member function ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(std::__cxx11::list<_Tp, _Alloc>&&)’: /usr/include/c++/7/bits/stl_list.h:765:63: error: could not convert template argument ‘__move_storage’ from ‘const __vector(4) __bool int’ to ‘bool’ _M_move_assign(std::move(__x), __bool_constant<__move_storage>()); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::preserve(llvm::AnalysisKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:130:9: error: could not convert ‘((((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!areAllPreserved()) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::preserveSet(llvm::AnalysisSetKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:142:9: error: could not convert ‘((((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!areAllPreserved()) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::intersect(const llvm::PreservedAnalyses&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:172:28: error: could not convert ‘(& Arg)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Arg.areAllPreserved()) ~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:174:24: error: could not convert ‘((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (areAllPreserved()) { ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:180:24: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : Arg.NotPreservedAnalysisIDs) { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:184:20: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : PreservedIDs) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::intersect(llvm::PreservedAnalyses&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:194:28: error: could not convert ‘(& Arg)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Arg.areAllPreserved()) ~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:196:24: error: could not convert ‘((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (areAllPreserved()) { ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:202:24: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : Arg.NotPreservedAnalysisIDs) { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:206:20: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : PreservedIDs) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In constructor ‘llvm::PreservedAnalyses::PreservedAnalysisChecker::PreservedAnalysisChecker(const llvm::PreservedAnalyses&, llvm::AnalysisKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:224:75: error: cannot convert ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ to ‘const __vector(4) __bool int’ in initialization : PA(PA), ID(ID), IsAbandoned(PA.NotPreservedAnalysisIDs.count(ID)) {} ^ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:465:8: error: expected unqualified-id before ‘__attribute__’ std::vector> Passes; ^ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In constructor ‘llvm::PassManager::PassManager(llvm::PassManager&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:402:9: error: class ‘llvm::PassManager’ does not have any field named ‘Passes’ : Passes(std::move(Arg.Passes)), ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘llvm::PassManager& llvm::PassManager::operator=(llvm::PassManager&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:406:5: error: ‘Passes’ was not declared in this scope Passes = std::move(RHS.Passes); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:406:5: note: suggested alternative: ‘Pass’ Passes = std::move(RHS.Passes); ^~~~~~ Pass /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘llvm::PreservedAnalyses llvm::PassManager::run(IRUnitT&, AnalysisManagerT&, ExtraArgTs ...)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:420:35: error: ‘Passes’ was not declared in this scope for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:420:35: note: suggested alternative: ‘Pass’ for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) { ^~~~~~ Pass /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PassManager::addPass(PassT)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:458:5: error: ‘Passes’ was not declared in this scope Passes.emplace_back(new PassModelT(std::move(Pass))); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:458:5: note: suggested alternative: ‘PassT’ Passes.emplace_back(new PassModelT(std::move(Pass))); ^~~~~~ PassT [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:569:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o -c /<>/lib/CL/clReleaseMemObject.c In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:989:6: error: template-id ‘invalidate<>’ for ‘unsigned int llvm::InnerAnalysisManagerProxy, llvm::Module>::Result::invalidate(llvm::Module&, const llvm::PreservedAnalyses&, llvm::AnalysisManager::Invalidator&)’ does not match any template declaration bool FunctionAnalysisManagerModuleProxy::Result::invalidate( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:991:44: note: saw 1 ‘template<>’, need 2 for specializing a member function template ModuleAnalysisManager::Invalidator &Inv); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap, 2>’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:44:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:47, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h: In instantiation of ‘class llvm::TinyPtrVector’: /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: error: no type named ‘value_type’ in ‘class llvm::SmallVector’ typedef typename VecTy::value_type value_type; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:71:8: error: expected unqualified-id before ‘__attribute__’ std::vector SubLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:74:8: error: expected unqualified-id before ‘__attribute__’ std::vector Blocks; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:127:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getSubLoops() const { return SubLoops; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:128:8: error: expected unqualified-id before ‘__attribute__’ std::vector &getSubLoopsVector() { return SubLoops; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:129:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator iterator; ^ In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:129:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:130:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:130:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:132:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() const { return SubLoops.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:133:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() const { return SubLoops.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:134:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() const { return SubLoops.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator [ 8%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/async_work_group_copy.cl.bc /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:135:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() const { return SubLoops.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:139:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getBlocks() const { return Blocks; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:140:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator block_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:140:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator block_iterator; ^ cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/async_work_group_copy.cl.bc -c /<>/lib/kernel/async_work_group_copy.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:141:3: error: ‘block_iterator’ does not name a type; did you mean ‘succ_iterator’? block_iterator block_begin() const { return Blocks.begin(); } ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:142:3: error: ‘block_iterator’ does not name a type; did you mean ‘succ_iterator’? block_iterator block_end() const { return Blocks.end(); } ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:25: error: ‘block_iterator’ was not declared in this scope inline iterator_range blocks() const { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:25: note: suggested alternative: ‘succ_iterator’ inline iterator_range blocks() const { ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:39: error: template argument 1 is invalid inline iterator_range blocks() const { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:287:10: error: expected ‘;’ at end of member declaration LoopT *removeChildLoop(iterator I) { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:287:35: error: expected ‘)’ before ‘I’ LoopT *removeChildLoop(iterator I) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In destructor ‘llvm::LoopBase::~LoopBase()’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:88:28: error: ‘SubLoops’ was not declared in this scope for (size_t i = 0, e = SubLoops.size(); i != e; ++i) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:88:28: note: suggested alternative: ‘LoopT’ for (size_t i = 0, e = SubLoops.size(); i != e; ++i) ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘BlockT* llvm::LoopBase::getHeader() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:102:38: error: ‘Blocks’ was not declared in this scope BlockT *getHeader() const { return Blocks.front(); } ^~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:102:38: note: suggested alternative: ‘blocks’ BlockT *getHeader() const { return Blocks.front(); } ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:136:31: error: ‘SubLoops’ was not declared in this scope bool empty() const { return SubLoops.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:136:31: note: suggested alternative: ‘LoopT’ bool empty() const { return SubLoops.empty(); } ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘int llvm::LoopBase::blocks() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:144:23: error: there are no arguments to ‘block_begin’ that depend on a template parameter, so a declaration of ‘block_begin’ must be available [-fpermissive] return make_range(block_begin(), block_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:144:38: error: there are no arguments to ‘block_end’ that depend on a template parameter, so a declaration of ‘block_end’ must be available [-fpermissive] return make_range(block_begin(), block_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopBase::getNumBlocks() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:149:12: error: ‘Blocks’ was not declared in this scope return Blocks.size(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:149:12: note: suggested alternative: ‘blocks’ return Blocks.size(); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::addChildLoop(LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:282:5: error: ‘SubLoops’ was not declared in this scope SubLoops.push_back(NewChild); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:282:5: note: suggested alternative: ‘LoopT’ SubLoops.push_back(NewChild); ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::addBlockEntry(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:300:5: error: ‘Blocks’ was not declared in this scope Blocks.push_back(BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:300:5: note: suggested alternative: ‘blocks’ Blocks.push_back(BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::reverseBlock(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:306:18: error: ‘Blocks’ was not declared in this scope std::reverse(Blocks.begin() + from, Blocks.end()); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:306:18: note: suggested alternative: ‘blocks’ std::reverse(Blocks.begin() + from, Blocks.end()); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::reserveBlocks(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:311:5: error: ‘Blocks’ was not declared in this scope Blocks.reserve(size); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:311:5: note: suggested alternative: ‘blocks’ Blocks.reserve(size); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::moveToHeader(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:317:9: error: ‘Blocks’ was not declared in this scope if (Blocks[0] == BB) return; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:317:9: note: suggested alternative: ‘blocks’ if (Blocks[0] == BB) return; ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:320:11: error: ‘Blocks’ was not declared in this scope if (Blocks[i] == BB) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:320:11: note: suggested alternative: ‘blocks’ if (Blocks[i] == BB) { ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::removeBlockFromLoop(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:332:19: error: ‘Blocks’ was not declared in this scope auto I = find(Blocks, BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:332:19: note: suggested alternative: ‘blocks’ auto I = find(Blocks, BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In constructor ‘llvm::LoopBase::LoopBase(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:351:5: error: ‘Blocks’ was not declared in this scope Blocks.push_back(BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:351:5: note: suggested alternative: ‘blocks’ Blocks.push_back(BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::Loop::LocRange::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:387:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Start && End; ^~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::StringRef llvm::Loop::getName() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:503:26: error: could not convert ‘Header->llvm::BasicBlock::.llvm::Value::hasName()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Header->hasName()) ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:522:8: error: expected unqualified-id before ‘__attribute__’ std::vector TopLevelLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:523:8: error: expected unqualified-id before ‘__attribute__’ std::vector RemovedLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:564:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:564:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:565:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:565:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:567:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() const { return TopLevelLoops.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:568:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() const { return TopLevelLoops.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:569:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() const { return TopLevelLoops.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator In file included from /usr/lib/llvm-4.0/include/llvm/Support/DataTypes.h:33:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:48, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(float)’: /usr/include/c++/7/cmath:570:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:570:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(float)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(double)’: /usr/include/c++/7/cmath:574:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:574:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(double)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isfinite(long double)’: /usr/include/c++/7/cmath:578:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath:578:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isfinite(long double)’ not a return-statement { return __builtin_isfinite(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(float)’: /usr/include/c++/7/cmath:592:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:592:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(float)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(double)’: /usr/include/c++/7/cmath:600:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:600:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(double)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isinf(long double)’: /usr/include/c++/7/cmath:605:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath:605:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isinf(long double)’ not a return-statement { return __builtin_isinf(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(float)’: /usr/include/c++/7/cmath:619:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:619:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(float)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(double)’: /usr/include/c++/7/cmath:627:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:627:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(double)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnan(long double)’: /usr/include/c++/7/cmath:632:31: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath:632:34: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnan(long double)’ not a return-statement { return __builtin_isnan(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(float)’: /usr/include/c++/7/cmath:646:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:646:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(float)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(double)’: /usr/include/c++/7/cmath:650:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:650:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(double)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isnormal(long double)’: /usr/include/c++/7/cmath:654:34: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath:654:37: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isnormal(long double)’ not a return-statement { return __builtin_isnormal(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(float)’: /usr/include/c++/7/cmath:669:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:669:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(float)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(double)’: /usr/include/c++/7/cmath:673:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:673:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(double)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::signbit(long double)’: /usr/include/c++/7/cmath:677:33: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath:677:36: error: body of constexpr function ‘constexpr __vector(4) __bool int std::signbit(long double)’ not a return-statement { return __builtin_signbit(__x); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(float, float)’: /usr/include/c++/7/cmath:691:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:691:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(float, float)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(double, double)’: /usr/include/c++/7/cmath:695:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:695:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(double, double)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreater(long double, long double)’: /usr/include/c++/7/cmath:699:40: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath:699:43: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreater(long double, long double)’ not a return-statement { return __builtin_isgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(float, float)’: /usr/include/c++/7/cmath:717:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:717:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(float, float)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(double, double)’: /usr/include/c++/7/cmath:721:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:721:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(double, double)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isgreaterequal(long double, long double)’: /usr/include/c++/7/cmath:725:45: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath:725:48: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isgreaterequal(long double, long double)’ not a return-statement { return __builtin_isgreaterequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(float, float)’: /usr/include/c++/7/cmath:743:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:743:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(float, float)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(double, double)’: /usr/include/c++/7/cmath:747:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:747:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(double, double)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isless(long double, long double)’: /usr/include/c++/7/cmath:751:37: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath:751:40: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isless(long double, long double)’ not a return-statement { return __builtin_isless(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(float, float)’: /usr/include/c++/7/cmath:769:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:769:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(float, float)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(double, double)’: /usr/include/c++/7/cmath:773:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:773:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(double, double)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessequal(long double, long double)’: /usr/include/c++/7/cmath:777:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath:777:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessequal(long double, long double)’ not a return-statement { return __builtin_islessequal(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(float, float)’: /usr/include/c++/7/cmath:795:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:795:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(float, float)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(double, double)’: /usr/include/c++/7/cmath:799:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:799:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(double, double)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::islessgreater(long double, long double)’: /usr/include/c++/7/cmath:803:44: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath:803:47: error: body of constexpr function ‘constexpr __vector(4) __bool int std::islessgreater(long double, long double)’ not a return-statement { return __builtin_islessgreater(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(float, float)’: /usr/include/c++/7/cmath:821:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:821:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(float, float)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(double, double)’: /usr/include/c++/7/cmath:825:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:825:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(double, double)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath: In function ‘constexpr __vector(4) __bool int std::isunordered(long double, long double)’: /usr/include/c++/7/cmath:829:42: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return { return __builtin_isunordered(__x, __y); } ^ /usr/include/c++/7/cmath:829:45: error: body of constexpr function ‘constexpr __vector(4) __bool int std::isunordered(long double, long double)’ not a return-statement { return __builtin_isunordered(__x, __y); } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:570:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() const { return TopLevelLoops.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:598:10: error: expected ‘;’ at end of member declaration LoopT *removeLoop(iterator I) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:598:30: error: expected ‘)’ before ‘I’ LoopT *removeLoop(iterator I) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In constructor ‘llvm::LoopInfoBase::LoopInfoBase(llvm::LoopInfoBase&&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:536:9: error: class ‘llvm::LoopInfoBase’ does not have any field named ‘TopLevelLoops’ TopLevelLoops(std::move(Arg.TopLevelLoops)) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::LoopInfoBase& llvm::LoopInfoBase::operator=(llvm::LoopInfoBase&&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:543:20: error: ‘TopLevelLoops’ was not declared in this scope for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ In file included from /usr/include/c++/7/functional:58:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/std_function.h: At global scope: /usr/include/c++/7/bits/std_function.h:160:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::_Function_base::_Base_manager<_Functor>::__stored_locally’ of non-integral type [-fpermissive] static const bool __stored_locally = ^~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:166:50: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter typedef integral_constant _Local_storage; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:543:20: note: suggested alternative: ‘addTopLevelLoop’ for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops = std::move(RHS.TopLevelLoops); ^~~~~~~~~~~~~ /usr/include/c++/7/bits/std_function.h: In static member function ‘static __vector(4) __bool int std::_Function_base::_Base_manager<_Functor>::_M_manager(std::_Any_data&, const std::_Any_data&, std::_Manager_operation)’: /usr/include/c++/7/bits/std_function.h:227:51: error: no matching function for call to ‘std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::_Function_base::_Base_manager<_Functor>::_Local_storage)’ _M_clone(__dest, __source, _Local_storage()); ^ /usr/include/c++/7/bits/std_function.h:181:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::true_type) _M_clone(_Any_data& __dest, const _Any_data& __source, true_type) ^~~~~~~~ /usr/include/c++/7/bits/std_function.h:181:2: note: no known conversion for argument 3 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::true_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:189:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_clone(std::_Any_data&, const std::_Any_data&, std::false_type) _M_clone(_Any_data& __dest, const _Any_data& __source, false_type) ^~~~~~~~ /usr/include/c++/7/bits/std_function.h:189:2: note: no known conversion for argument 3 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::false_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:231:43: error: no matching function for call to ‘std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::_Function_base::_Base_manager<_Functor>::_Local_storage)’ _M_destroy(__dest, _Local_storage()); ^ /usr/include/c++/7/bits/std_function.h:198:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::true_type) _M_destroy(_Any_data& __victim, true_type) ^~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:198:2: note: no known conversion for argument 2 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::true_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h:205:2: note: candidate: static void std::_Function_base::_Base_manager<_Functor>::_M_destroy(std::_Any_data&, std::false_type) _M_destroy(_Any_data& __victim, false_type) ^~~~~~~~~~ /usr/include/c++/7/bits/std_function.h:205:2: note: no known conversion for argument 2 from ‘std::_Function_base::_Base_manager<_Functor>::_Local_storage {aka int}’ to ‘std::false_type {aka std::integral_constant}’ /usr/include/c++/7/bits/std_function.h: In member function ‘__vector(4) __bool int std::_Function_base::_M_empty() const’: /usr/include/c++/7/bits/std_function.h:279:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool _M_empty() const { return !_M_manager; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops = std::move(RHS.TopLevelLoops); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::releaseMemory()’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:553:20: error: ‘TopLevelLoops’ was not declared in this scope for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:553:20: note: suggested alternative: ‘addTopLevelLoop’ for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:555:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops.clear(); ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/functional: At global scope: /usr/include/c++/7/functional:518:60: error: template argument 1 is invalid enable_if::value+1), _Functor>::type; ^ /usr/include/c++/7/functional:518:4: error: expected nested-name-specifier enable_if::value+1), _Functor>::type; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/functional:522:24: error: ‘__dependent’ was not declared in this scope typename __cv_quals<__dependent<_CallArgs>>::type, ^~~~~~~~~~~ [ 9%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:555:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops.clear(); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:556:20: error: ‘RemovedLoops’ was not declared in this scope for (auto *L : RemovedLoops) ^~~~~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o -c /<>/lib/CL/clRetainMemObject.c /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:556:20: note: suggested alternative: ‘removeLoop’ for (auto *L : RemovedLoops) ^~~~~~~~~~~~ removeLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:558:5: error: ‘RemovedLoops’ was not declared in this scope RemovedLoops.clear(); ^~~~~~~~~~~~ /usr/include/c++/7/functional:522:36: error: template argument 1 is invalid typename __cv_quals<__dependent<_CallArgs>>::type, ^~~~~~~~~ /usr/include/c++/7/functional:522:45: error: wrong number of template arguments (1, should be at least 2) typename __cv_quals<__dependent<_CallArgs>>::type, ^~ /usr/include/c++/7/functional:511:72: note: provided for ‘template template using _Res_type_impl = typename std::result_of<_Fn&(std::_Bind<_Functor(_Bound_args ...)>::_Mu_type<_BArgs, _CallArgs>&& ...)>::type’ = typename result_of< _Fn&(_Mu_type<_BArgs, _CallArgs>&&...) >::type; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:558:5: note: suggested alternative: ‘removeLoop’ RemovedLoops.clear(); ^~~~~~~~~~~~ removeLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopInfoBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:571:31: error: ‘TopLevelLoops’ was not declared in this scope bool empty() const { return TopLevelLoops.empty(); } ^~~~~~~~~~~~~ /usr/include/c++/7/functional:556:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_const>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:556:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_const>> ^ /usr/include/c++/7/functional:573:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_volatile>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:573:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_volatile>> ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:571:31: note: suggested alternative: ‘addTopLevelLoop’ bool empty() const { return TopLevelLoops.empty(); } ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::changeTopLevelLoop(LoopT*, LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:621:19: error: ‘TopLevelLoops’ was not declared in this scope auto I = find(TopLevelLoops, OldLoop); ^~~~~~~~~~~~~ /usr/include/c++/7/functional:585:28: error: ‘_Res_type_cv’ does not name a type; did you mean ‘_Res_type’? typename _Result = _Res_type_cv, add_cv>> ^~~~~~~~~~~~ _Res_type /usr/include/c++/7/functional:585:40: error: expected ‘>’ before ‘<’ token typename _Result = _Res_type_cv, add_cv>> ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:621:19: note: suggested alternative: ‘addTopLevelLoop’ auto I = find(TopLevelLoops, OldLoop); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::addTopLevelLoop(LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:631:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops.push_back(New); ^~~~~~~~~~~~~ In file included from /usr/include/c++/7/memory:65:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator)’: /usr/include/c++/7/bits/stl_uninitialized.h:133:27: error: could not convert template argument ‘((__is_trivial(typename std::iterator_traits<_Iter>::_ValueType1) && __is_trivial(typename std::iterator_traits<_II>::_ValueType2)) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&)’: /usr/include/c++/7/bits/stl_uninitialized.h:193:73: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ std::__uninitialized_fill<__is_trivial(_ValueType) && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h:194:36: error: expression list treated as compound expression in initializer [-fpermissive] __uninit_fill(__first, __last, __x); ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&)’: /usr/include/c++/7/bits/stl_uninitialized.h:254:77: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ return __uninitialized_fill_n<__is_trivial(_ValueType) && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘void std::__uninitialized_default(_ForwardIterator, _ForwardIterator)’: /usr/include/c++/7/bits/stl_uninitialized.h:566:25: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ /usr/include/c++/7/bits/stl_uninitialized.h:567:34: error: expression list treated as compound expression in initializer [-fpermissive] __uninit_default(__first, __last); ^ /usr/include/c++/7/bits/stl_uninitialized.h: In function ‘_ForwardIterator std::__uninitialized_default_n(_ForwardIterator, _Size)’: /usr/include/c++/7/bits/stl_uninitialized.h:582:27: error: could not convert template argument ‘(__is_trivial(typename std::iterator_traits<_Iter>::_ValueType) && __assignable)’ from ‘__vector(4) int’ to ‘unsigned int’ && __assignable>:: ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:631:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops.push_back(New); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘__vector(4) __bool int llvm::LoopInfo::replacementPreservesLCSSAForm(llvm::Instruction*, llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:699:20: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!I) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:703:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:707:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!ToLoop) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘__vector(4) __bool int llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:729:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:735:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:750:9: error: could not convert ‘((Contains.llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)::(((const llvm::Loop*)NewLoop), ((const llvm::Loop*)OldLoop)) == (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Contains(NewLoop, OldLoop)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:751:32: error: could not convert ‘__for_begin.llvm::Value::use_iterator_impl::operator!=(__for_end)’ from ‘__vector(4) __bool int’ to ‘bool’ for (Use &U : Inst->uses()) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PHINode; Y = llvm::Instruction*]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:753:56: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PHINode; Y = llvm::Instruction*]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:753:56: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:753:38: error: inferred scalar type ‘llvm::BasicBlock*’ is not an integer or floating point type of the same size as ‘__bool int’ auto *UBB = isa(UI) ? cast(UI)->getIncomingBlock(U) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : UI->getParent(); ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:756:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:763:9: error: could not convert ‘((Contains.llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)::(((const llvm::Loop*)OldLoop), ((const llvm::Loop*)NewLoop)) == (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Contains(OldLoop, NewLoop)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:765:23: error: could not convert ‘llvm::isa(Inst)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isa(Inst)) ~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:766:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:771:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:778:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:782:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:789:21: error: ‘iterator’ in ‘class llvm::LoopInfo’ does not name a type typedef LoopInfo::iterator ChildIteratorType; ^~~~~~~~ In file included from /usr/include/c++/7/bits/shared_ptr.h:52:0, from /usr/include/c++/7/memory:81, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/shared_ptr_base.h: At global scope: /usr/include/c++/7/bits/shared_ptr_base.h:257:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)0>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_single>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/shared_ptr_base.h:258:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ /usr/include/c++/7/bits/shared_ptr_base.h:268:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)1>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_mutex>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/shared_ptr_base.h:269:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ /usr/include/c++/7/bits/shared_ptr_base.h:282:5: error: template-id ‘_M_add_ref_lock_nothrow<>’ for ‘unsigned int std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_lock_nothrow()’ does not match any template declaration _Sp_counted_base<_S_atomic>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/shared_ptr_base.h:283:29: note: saw 1 ‘template<>’, need 2 for specializing a member function template _M_add_ref_lock_nothrow() ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:792:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_begin(NodeRef N) { return N->begin(); } ^~~~~~~~~~~~~~~~~ PredIterator In file included from /usr/include/c++/7/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/7/memory:82, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/atomic_base.h: In member function ‘__vector(4) __bool int std::atomic_flag::test_and_set(std::memory_order)’: /usr/include/c++/7/bits/atomic_base.h:176:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __atomic_test_and_set (&_M_i, __m); ^ /usr/include/c++/7/bits/atomic_base.h: In member function ‘__vector(4) __bool int std::atomic_flag::test_and_set(std::memory_order) volatile’: /usr/include/c++/7/bits/atomic_base.h:182:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __atomic_test_and_set (&_M_i, __m); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:150:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:34:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:73:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:75:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:77:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ /usr/lib/llvm-4.0/include/llvm/Support/ErrorHandling.h:79:75: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool gen_crash_diag = true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:230:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::has_rbegin_impl::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:793:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_end(NodeRef N) { return N->end(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:798:21: error: ‘iterator’ in ‘class llvm::LoopInfo’ does not name a type typedef LoopInfo::iterator ChildIteratorType; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:634:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_one_of::value’ of non-integral type [-fpermissive] static const bool value = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:639:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_one_of::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:220:70: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ unsigned edit_distance(StringRef Other, bool AllowReplacements = true, ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:757:33: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool KeepEmpty = true) const; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:774:33: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool KeepEmpty = true) const; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:130:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return Length == 0; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::equals(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:168:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(Data, RHS.Data, RHS.Length) == 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::equals_lower(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:174:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Length == RHS.Length && compare_lower(RHS) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::startswith(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:266:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(Data, Prefix.Data, Prefix.Length) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::endswith(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:278:77: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘size_t llvm::StringRef::find_if(llvm::function_ref<__vector(4) __bool int(char)>, size_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:320:14: error: could not convert ‘((S.llvm::StringRef::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ while (!S.empty()) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:321:14: error: could not convert ‘F.llvm::function_ref<__vector(4) __bool int(char)>::operator()(S.llvm::StringRef::front())’ from ‘__vector(4) __bool int’ to ‘bool’ if (F(S.front())) ~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:445:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains(StringRef Other) const { return find(Other) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains(char) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:451:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains(char C) const { return find_first_of(C) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains_lower(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:458:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return find_lower(Other) != npos; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::contains_lower(char) const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:465:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool contains_lower(char C) const { return find_lower(C) != npos; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::consume_front(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:668:11: error: could not convert ‘((((llvm::StringRef*)this)->llvm::StringRef::startswith(Prefix) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!startswith(Prefix)) ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:669:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:672:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In member function ‘__vector(4) __bool int llvm::StringRef::consume_back(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:679:11: error: could not convert ‘((((llvm::StringRef*)this)->llvm::StringRef::endswith(Suffix) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!endswith(Suffix)) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:680:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:683:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:801:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_begin(NodeRef N) { return N->begin(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator<(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:873:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) == -1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator<=(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:877:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) != 1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator>(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:881:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) == 1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: In function ‘__vector(4) __bool int llvm::operator>=(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:885:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.compare(RHS) != -1; ^ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:900:63: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] template <> struct isPodLike { static const bool value = true; }; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:900:71: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization template <> struct isPodLike { static const bool value = true; }; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:20:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:268:35: error: template-id ‘isInt<8>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<8>(int64_t x) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:271:35: error: template-id ‘isInt<16>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<16>(int64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:274:35: error: template-id ‘isInt<32>’ for ‘constexpr unsigned int llvm::isInt(int64_t)’ does not match any template declaration template <> constexpr inline bool isInt<32>(int64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:264:45: note: candidate is: template constexpr __vector(4) __bool int llvm::isInt(int64_t) template constexpr inline bool isInt(int64_t x) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:309:35: error: template-id ‘isUInt<8>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<8>(uint64_t x) { ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:312:35: error: template-id ‘isUInt<16>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<16>(uint64_t x) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:315:35: error: template-id ‘isUInt<32>’ for ‘constexpr unsigned int llvm::isUInt(uint64_t)’ does not match any template declaration template <> constexpr inline bool isUInt<32>(uint64_t x) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:304:1: note: candidates are: template constexpr typename std::enable_if<(N >= 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:298:1: note: template constexpr typename std::enable_if<(N < 64), __vector(4) __bool int>::type llvm::isUInt(uint64_t) isUInt(uint64_t X) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘__vector(4) __bool int llvm::isUIntN(unsigned int, uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:361:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return N >= 64 || x <= maxUIntN(N); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘__vector(4) __bool int llvm::isIntN(unsigned int, int64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:367:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N)); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isMask_32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:374:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && ((Value + 1) & Value) == 0; ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:375:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isMask_32(uint32_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isMask_64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:381:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && ((Value + 1) & Value) == 0; ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:382:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isMask_64(uint64_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:400:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && !(Value & (Value - 1)); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:401:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_32(uint32_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:406:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value && !(Value & (Value - int64_t(1L))); ^ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:407:1: error: body of constexpr function ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:802:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_end(NodeRef N) { return N->end(); } ^~~~~~~~~~~~~~~~~ PredIterator In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value && isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘__vector(4) __bool int llvm::SmallVectorBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:60:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return LLVM_NODISCARD bool empty() const { return BeginX == EndX; } ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:212:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(T&&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:219:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorTemplateBase::push_back(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:307:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In member function ‘void llvm::SmallVectorImpl::emplace_back(ArgTypes&& ...)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:636:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(this->EndX >= this->CapacityX)) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:99:8: error: expected unqualified-id before ‘__attribute__’ std::vector VisitStack; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In constructor ‘llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:104:5: error: ‘VisitStack’ was not declared in this scope VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:301:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value && isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:49: required from ‘const __vector(4) __bool int llvm::isPodLike >::value’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike >::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:55:21: error: the value of ‘llvm::isPodLike::value’ is not usable in a constant expression static const bool value = isPodLike::value && isPodLike::value; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector, 0>’ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:304:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:338:59: error: expected ‘)’ before ‘,’ token void DeallocateSlabs(SmallVectorImpl::iterator I, ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:49: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ SmallVectorImpl::iterator E) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:49: error: expected ‘;’ at end of member declaration /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:339:58: error: ‘E’ does not name a type SmallVectorImpl::iterator E) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:104:5: note: suggested alternative: ‘PMStack’ VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:168:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:168:42: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In constructor ‘llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:110:7: error: ‘VisitStack’ was not declared in this scope VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:173:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:173:42: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(Slabs.begin(), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:197:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ if (Slabs.empty()) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:202:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ CurPtr = (char *)Slabs.front(); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:206:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:206:53: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:207:49: error: ‘class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? Slabs.erase(std::next(Slabs.begin()), Slabs.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t)’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:241:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘push_back’; did you mean ‘emplace_back’? CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize)); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:273:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:273:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:277:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:277:56: error: ‘E’ was not declared in this scope for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:278:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:110:7: note: suggested alternative: ‘PMStack’ VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘void llvm::df_iterator::toNext()’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:119:22: error: ‘VisitStack’ was not declared in this scope NodeRef Node = VisitStack.back().first; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:119:22: note: suggested alternative: ‘PMStack’ NodeRef Node = VisitStack.back().first; ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:141:15: error: ‘VisitStack’ was not declared in this scope } while (!VisitStack.empty()); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:279:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:287:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:325:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:332:11: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Slabs.push_back(NewSlab); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:349:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:392:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:392:76: error: ‘E’ was not declared in this scope for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; ^ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:395:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ std::distance(Allocator.Slabs.begin(), I)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:397:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:78:54: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(const _Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: required from here /usr/include/c++/7/bits/range_access.h:68:48: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’; did you mean ‘append’? end(_Container& __cont) -> decltype(__cont.end()) ~~~~~~~^~~ append In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:403:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:141:15: note: suggested alternative: ‘PMStack’ } while (!VisitStack.empty()); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘unsigned int llvm::df_iterator::operator==(const llvm::df_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:160:12: error: ‘VisitStack’ was not declared in this scope return VisitStack == x.VisitStack; ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In member function ‘__vector(4) __bool int llvm::StringMapImpl::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:113:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return NumItems == 0; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:160:12: note: suggested alternative: ‘PMStack’ return VisitStack == x.VisitStack; ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘const NodeRef& llvm::df_iterator::operator*() const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:164:45: error: ‘VisitStack’ was not declared in this scope const NodeRef &operator*() const { return VisitStack.back().first; } ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Host.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Host.h:37:39: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static const bool IsBigEndianHost = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:164:45: note: suggested alternative: ‘PMStack’ const NodeRef &operator*() const { return VisitStack.back().first; } ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘llvm::df_iterator& llvm::df_iterator::skipChildren()’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:182:5: error: ‘VisitStack’ was not declared in this scope VisitStack.pop_back(); ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘__vector(4) __bool int llvm::operator==(const llvm::hash_code&, const llvm::hash_code&)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:87:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return lhs.value == rhs.value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘__vector(4) __bool int llvm::operator!=(const llvm::hash_code&, const llvm::hash_code&)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:90:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return lhs.value != rhs.value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘uint64_t llvm::hashing::detail::fetch64(const char*)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:148:27: error: could not convert ‘llvm::sys::IsBigEndianHost’ from ‘const __vector(4) __bool int’ to ‘bool’ if (sys::IsBigEndianHost) ^ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In function ‘uint32_t llvm::hashing::detail::fetch32(const char*)’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:156:27: error: could not convert ‘llvm::sys::IsBigEndianHost’ from ‘const __vector(4) __bool int’ to ‘bool’ if (sys::IsBigEndianHost) ^ [ 9%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:350:55: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter 64 % sizeof(T) == 0)> {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:360:60: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter sizeof(std::pair))> {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:182:5: note: suggested alternative: ‘PMStack’ VisitStack.pop_back(); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘unsigned int llvm::df_iterator::getPathLength() const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:204:43: error: ‘VisitStack’ was not declared in this scope unsigned getPathLength() const { return VisitStack.size(); } ^~~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o -c /<>/lib/CL/clGetMemObjectInfo.c /usr/include/c++/7/bits/stl_vector.h:216:11: error: template class without a name class vector : protected _Vector_base<_Tp, _Alloc> ^ In file included from /usr/include/c++/7/vector:64:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/stl_vector.h:1596:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1596:78: error: ‘unsigned int std::operator==(__vector(4) int)’ must have an argument of class or enumerated type operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1613:27: error: expected ‘,’ or ‘...’ before ‘<’ token operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1613:77: error: ‘unsigned int std::operator<(__vector(4) int)’ must have an argument of class or enumerated type operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1620:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1620:78: error: ‘unsigned int std::operator!=(__vector(4) int)’ must have an argument of class or enumerated type operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1626:27: error: expected ‘,’ or ‘...’ before ‘<’ token operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1626:77: error: ‘unsigned int std::operator>(__vector(4) int)’ must have an argument of class or enumerated type operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1632:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1632:78: error: ‘unsigned int std::operator<=(__vector(4) int)’ must have an argument of class or enumerated type operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1638:28: error: expected ‘,’ or ‘...’ before ‘<’ token operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1638:78: error: ‘unsigned int std::operator>=(__vector(4) int)’ must have an argument of class or enumerated type operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:10: error: variable or field ‘swap’ declared void swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:10: error: expected primary-expression before ‘__attribute__’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:28: error: expected primary-expression before ‘>’ token swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:31: error: ‘__x’ was not declared in this scope swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:204:43: note: suggested alternative: ‘PMStack’ unsigned getPathLength() const { return VisitStack.size(); } ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:208:46: error: ‘VisitStack’ was not declared in this scope NodeRef getPath(unsigned n) const { return VisitStack[n].first; } ^~~~~~~~~~ /usr/include/c++/7/bits/stl_vector.h:1644:31: note: suggested alternative: ‘__N’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ __N /usr/include/c++/7/bits/stl_vector.h:1644:36: error: expected primary-expression before ‘__attribute__’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:54: error: expected primary-expression before ‘>’ token swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^ /usr/include/c++/7/bits/stl_vector.h:1644:57: error: ‘__y’ was not declared in this scope swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ /usr/include/c++/7/bits/stl_vector.h:1644:57: note: suggested alternative: ‘__yn’ swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y) ^~~ __yn In file included from /usr/include/c++/7/vector:65:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference::operator __vector(4) __bool int() const’: /usr/include/c++/7/bits/stl_bvector.h:81:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !!(*_M_p & _M_mask); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference& std::_Bit_reference::operator=(__vector(4) __bool int)’: /usr/include/c++/7/bits/stl_bvector.h:86:14: error: could not convert ‘__x’ from ‘__vector(4) __bool int’ to ‘bool’ if (__x) ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘std::_Bit_reference& std::_Bit_reference::operator=(const std::_Bit_reference&)’: /usr/include/c++/7/bits/stl_bvector.h:95:22: error: expected primary-expression before ‘__attribute__’ { return *this = bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:95:22: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:95:30: error: declaration of ‘__vector(4) __bool int __x’ shadows a parameter { return *this = bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_reference::operator==(const std::_Bit_reference&) const’: /usr/include/c++/7/bits/stl_bvector.h:99:14: error: expected primary-expression before ‘__attribute__’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:99:14: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:99:24: error: invalid cast from type ‘const std::_Bit_reference’ to type ‘unsigned int’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:99:29: error: expected primary-expression before ‘__attribute__’ { return bool(*this) == bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_reference::operator<(const std::_Bit_reference&) const’: /usr/include/c++/7/bits/stl_bvector.h:103:15: error: expected primary-expression before ‘__attribute__’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:103:15: error: expected ‘;’ before ‘__attribute__’ /usr/include/c++/7/bits/stl_bvector.h:103:25: error: invalid cast from type ‘const std::_Bit_reference’ to type ‘unsigned int’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h:103:30: error: expected primary-expression before ‘__attribute__’ { return !bool(*this) && bool(__x); } ^ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_iterator_base::operator==(const std::_Bit_iterator_base&) const’: /usr/include/c++/7/bits/stl_bvector.h:181:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_p == __i._M_p && _M_offset == __i._M_offset; } ^~~~~~~~~ /usr/include/c++/7/bits/stl_bvector.h: In member function ‘__vector(4) __bool int std::_Bit_iterator_base::operator<(const std::_Bit_iterator_base&) const’: /usr/include/c++/7/bits/stl_bvector.h:187:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return || (_M_p == __i._M_p && _M_offset < __i._M_offset); ^ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:208:46: note: suggested alternative: ‘PMStack’ NodeRef getPath(unsigned n) const { return VisitStack[n].first; } ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:60:8: error: expected unqualified-id before ‘__attribute__’ std::vector Roots; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:81:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getRoots() const { return Roots; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorBase::DominatorBase(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:63:9: error: class ‘llvm::DominatorBase’ does not have any field named ‘Roots’ : Roots(), IsPostDominators(isPostDom) {} ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorBase::DominatorBase(llvm::DominatorBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:65:9: error: class ‘llvm::DominatorBase’ does not have any field named ‘Roots’ : Roots(std::move(Arg.Roots)), ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘llvm::DominatorBase& llvm::DominatorBase::operator=(llvm::DominatorBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:70:5: error: ‘Roots’ was not declared in this scope Roots = std::move(RHS.Roots); ^~~~~ /usr/include/c++/7/bits/stl_bvector.h: In function ‘void std::__fill_bvector(std::_Bit_iterator, std::_Bit_iterator, __vector(4) __bool int)’: /usr/include/c++/7/bits/stl_bvector.h:393:20: error: could not convert ‘__first.std::_Bit_iterator::.std::_Bit_iterator_base::operator!=(__last.std::_Bit_iterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (; __first != __last; ++__first) ~~~~~~~~^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:70:5: note: suggested alternative: ‘outs’ Roots = std::move(RHS.Roots); ^~~~~ outs /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:94:8: error: expected unqualified-id before ‘__attribute__’ std::vector *> Children; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:101:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector *>::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:101:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector *>::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:102:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector *>::const_iterator ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:102:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector *>::const_iterator ^ /usr/include/c++/7/bits/stl_bvector.h: At global scope: /usr/include/c++/7/bits/stl_bvector.h:543:15: error: expected identifier before ‘<’ token class vector : protected _Bvector_base<_Alloc> ^ /usr/include/c++/7/bits/stl_bvector.h:543:15: error: expected unqualified-id before ‘<’ token /usr/include/c++/7/bits/stl_bvector.h:1282:52: error: template argument 1 is invalid struct hash<_GLIBCXX_STD_C::vector> ^~ /usr/include/c++/7/bits/stl_bvector.h:1283:69: error: template argument 2 is invalid : public __hash_base> ^~ In file included from /usr/include/c++/7/vector:69:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/vector.tcc:65:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:95:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:113:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:113:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:152:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:152:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:164:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:164:20: error: expected unqualified-id before ‘<’ token typename vector<_Tp, _Alloc>::iterator ^ /usr/include/c++/7/bits/vector.tcc:178:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>& ^ /usr/include/c++/7/bits/vector.tcc:237:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:260:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:278:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:313:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:335:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:364:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:394:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:458:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:554:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:604:11: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:616:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:630:13: error: expected unqualified-id before ‘<’ token vector<_Tp, _Alloc>:: ^ /usr/include/c++/7/bits/vector.tcc:713:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:727:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:759:13: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:793:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:820:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:820:20: error: expected unqualified-id before ‘<’ token typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:831:14: error: expected nested-name-specifier before ‘__attribute__’ typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:831:20: error: expected unqualified-id before ‘<’ token typename vector::iterator ^ /usr/include/c++/7/bits/vector.tcc:843:11: error: expected unqualified-id before ‘<’ token vector:: ^ /usr/include/c++/7/bits/vector.tcc:869:45: error: template argument 1 is invalid hash<_GLIBCXX_STD_C::vector>:: ^~ In file included from /usr/include/c++/7/bits/stl_algobase.h:59:0, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/set:60, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/vector.tcc:870:22: error: expected ‘)’ operator()(const _GLIBCXX_STD_C::vector& __b) const noexcept ^ /usr/include/c++/7/bits/vector.tcc:870:22: error: expected initializer In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:80:33: error: expected ‘)’ /*implicit*/ ArrayRef(const std::vector &Vec) ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:80:33: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:120:20: error: expected ‘)’ ArrayRef(const std::vector &Vec, ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:120:20: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:256:10: error: expected unqualified-id before ‘__attribute__’ std::vector vec() const { ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:263:14: error: expected type-specifier operator std::vector() const { ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:310:39: error: expected unqualified-id before ‘__attribute__’ /*implicit*/ MutableArrayRef(std::vector &Vec) ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:310:39: error: expected ‘)’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:105:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() { return Children.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:470:34: error: expected ‘)’ ArrayRef makeArrayRef(const std::vector &Vec) { ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:470:34: error: expected initializer /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:509:23: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:106:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() { return Children.end(); } ^~~~~~~~ Operator In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:21:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isNull() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:188:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() == NullKind; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isEmpty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:193:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() == EmptyKind; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isBinary() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:208:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getLHSKind() != NullKind && getRHSKind() != EmptyKind; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isValid() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:215:23: error: could not convert ‘(((((const llvm::Twine*)this)->llvm::Twine::isNullary() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((int)((const llvm::Twine*)this)->llvm::Twine::getRHSKind()) != 1) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isNullary() && getRHSKind() != EmptyKind) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:216:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:220:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:224:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:227:37: error: could not convert ‘((((int)((const llvm::Twine*)this)->llvm::Twine::getLHSKind()) == 2) ? ((((((const llvm::Twine*)((const llvm::Twine*)this)->llvm::Twine::LHS.llvm::Twine::Child::twine)->llvm::Twine::isBinary() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (getLHSKind() == TwineKind && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !LHS.twine->isBinary()) ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:229:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:230:37: error: could not convert ‘((((int)((const llvm::Twine*)this)->llvm::Twine::getRHSKind()) == 2) ? ((((((const llvm::Twine*)((const llvm::Twine*)this)->llvm::Twine::RHS.llvm::Twine::Child::twine)->llvm::Twine::isBinary() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (getRHSKind() == TwineKind && ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !RHS.twine->isBinary()) ~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:232:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:234:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:294:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:21:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘__vector(4) __bool int llvm::Twine::isSingleStringRef() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:415:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (getRHSKind() != EmptyKind) return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:423:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:425:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:107:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return Children.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::getSingleStringRef() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:456:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ return StringRef(LHS.smallString->data(), LHS.smallString->size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:456:68: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ return StringRef(LHS.smallString->data(), LHS.smallString->size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:464:28: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isSingleStringRef()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleStringRef()) ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:467:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ return StringRef(Out.data(), Out.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:467:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ return StringRef(Out.data(), Out.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h: In member function ‘llvm::Twine llvm::Twine::concat(const llvm::Twine&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:498:18: error: could not convert ‘(((((const llvm::Twine*)this)->llvm::Twine::isNull() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | (((& Suffix)->llvm::Twine::isNull() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isNull() || Suffix.isNull()) ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:502:16: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isEmpty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isEmpty()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:504:23: error: could not convert ‘(& Suffix)->llvm::Twine::isEmpty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Suffix.isEmpty()) ~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:513:16: error: could not convert ‘((const llvm::Twine*)this)->llvm::Twine::isUnary()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isUnary()) { ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/Twine.h:517:23: error: could not convert ‘(& Suffix)->llvm::Twine::isUnary()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Suffix.isUnary()) { ~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:177:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h: In member function ‘__vector(4) __bool int llvm::ilist_node_base<0>::isKnownSentinel() const’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:32:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isKnownSentinel() const { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:108:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end() const { return Children.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h: In member function ‘__vector(4) __bool int llvm::ilist_node_base<1>::isSentinel() const’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:46:59: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isSentinel() const { return PrevAndSentinel.getInt(); } ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:112:14: error: expected unqualified-id before ‘__attribute__’ const std::vector *> &getChildren() const { ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘std::unique_ptr > llvm::DomTreeNodeBase::addChild(std::unique_ptr >)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:121:5: error: ‘Children’ was not declared in this scope Children.push_back(C.get()); ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness::is_explicit’ of non-integral type [-fpermissive] static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:66:58: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : std::integral_constant, is_explicit {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::explicitness<1>’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:66:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<1>::is_explicit’ of non-integral type [-fpermissive] static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::explicitness<0>’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:74:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<0>::is_explicit’ of non-integral type [-fpermissive] /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:102:72: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter check_options::value> {}; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:116:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::node_options::enable_sentinel_tracking’ of non-integral type [-fpermissive] static const bool enable_sentinel_tracking = EnableSentinelTracking; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:117:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::node_options::is_sentinel_tracking_explicit’ of non-integral type [-fpermissive] static const bool is_sentinel_tracking_explicit = IsSentinelTrackingExplicit; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:119:51: error: could not convert template argument ‘enable_sentinel_tracking’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef ilist_node_base node_base_type; ^ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:120:46: error: could not convert template argument ‘enable_sentinel_tracking’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef ilist_base list_base_type; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘size_t llvm::DomTreeNodeBase::getNumChildren() const’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:125:42: error: ‘Children’ was not declared in this scope size_t getNumChildren() const { return Children.size(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:122:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasGetNext::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:136:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasCreateSentinel::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:152:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasCreateNode::value’ of non-integral type [-fpermissive] static const bool value = sizeof(test(nullptr)) == sizeof(Yes); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:156:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::ilist_detail::HasObsoleteCustomization::value’ of non-integral type [-fpermissive] static const bool value = HasGetNext::value || ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DomTreeNodeBase::clearAllChildren()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:127:29: error: ‘Children’ was not declared in this scope void clearAllChildren() { Children.clear(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const char&, const char&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:59:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const unsigned int&, const unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:69:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long unsigned int&, const long unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:81:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long long unsigned int&, const long long unsigned int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:94:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const int&, const int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:104:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long int&, const long int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:118:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(const long long int&, const long long int&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:131:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS == RHS; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘class llvm::is_integral_or_enum’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:633:1: required by substitution of ‘template typename std::enable_if::value, llvm::hash_code>::type llvm::hash_value(T) [with T = llvm::StringRef]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:183:37: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::is_integral_or_enum::value’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:633:1: required by substitution of ‘template typename std::enable_if::value, llvm::hash_code>::type llvm::hash_value(T) [with T = llvm::StringRef]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:183:37: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:69:21: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static __vector(4) __bool int llvm::DenseMapInfo::isEqual(llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:187:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.data() == getEmptyKey().data(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:189:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS.data() == getTombstoneKey().data(); ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DomTreeNodeBase::setIDom(llvm::DomTreeNodeBase*)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:150:21: error: expected identifier before ‘__attribute__’ typename std::vector *>::iterator I = ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:150:21: error: expected ‘(’ before ‘__attribute__’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:18:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/EpochTracker.h: In member function ‘__vector(4) __bool int llvm::DebugEpochBase::HandleBase::isHandleInSync() const’: /usr/lib/llvm-4.0/include/llvm/ADT/EpochTracker.h:91:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isHandleInSync() const { return true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:155:28: error: ‘I’ was not declared in this scope IDom->Children.erase(I); ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:257:8: error: expected unqualified-id before ‘__attribute__’ std::vector Vertex; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::wipe()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:231:5: error: ‘Vertex’ was not declared in this scope Vertex.clear(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:231:5: note: suggested alternative: ‘deref’ Vertex.clear(); ^~~~~~ deref /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::reset()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:266:5: error: ‘Vertex’ was not declared in this scope Vertex.clear(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:266:5: note: suggested alternative: ‘deref’ Vertex.clear(); ^~~~~~ deref /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::Split(llvm::DominatorTreeBaseByGraphTraits&, typename GraphT::NodeRef)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:282:10: error: expected unqualified-id before ‘__attribute__’ std::vector PredBlocks; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:288:7: error: ‘PredBlocks’ was not declared in this scope PredBlocks.push_back(*PI); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:288:7: note: suggested alternative: ‘realloc’ PredBlocks.push_back(*PI); ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:309:21: error: ‘PredBlocks’ was not declared in this scope for (i = 0; i < PredBlocks.size(); ++i) ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In member function ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*)’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:483:9: note: in expansion of macro ‘LLVM_UNLIKELY’ if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:179:65: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:487:16: note: in expansion of macro ‘LLVM_UNLIKELY’ } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <= ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In member function ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const’: /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:178:62: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:534:11: note: in expansion of macro ‘LLVM_LIKELY’ if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) { ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Compiler.h:178:62: error: cannot convert ‘__vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ #define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true) ^ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:541:11: note: in expansion of macro ‘LLVM_LIKELY’ if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) { ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:309:21: note: suggested alternative: ‘realloc’ for (i = 0; i < PredBlocks.size(); ++i) ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:321:25: error: ‘PredBlocks’ was not declared in this scope for (i = i + 1; i < PredBlocks.size(); ++i) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:321:25: note: suggested alternative: ‘realloc’ for (i = i + 1; i < PredBlocks.size(); ++i) { ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:348:9: error: class ‘llvm::DominatorTreeBase’ does not have any field named ‘Vertex’ Vertex(std::move(Arg.Vertex)), Info(std::move(Arg.Info)) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘llvm::DominatorTreeBase& llvm::DominatorTreeBase::operator=(llvm::DominatorTreeBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:359:5: error: ‘Vertex’ was not declared in this scope Vertex = std::move(RHS.Vertex); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:359:5: note: suggested alternative: ‘deref’ Vertex = std::move(RHS.Vertex); ^~~~~~ deref In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::eraseNode(NodeT*)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:642:21: error: expected identifier before ‘__attribute__’ typename std::vector *>::iterator I = ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:642:21: error: expected ‘(’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:647:28: error: ‘I’ was not declared in this scope IDom->Children.erase(I); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Use.h:111:59: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static void zap(Use *Start, const Use *Stop, bool del = false); ^~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In constructor ‘llvm::DominatorTree::DominatorTree()’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:100:56: error: no matching function for call to ‘llvm::DominatorTreeBase::DominatorTreeBase(bool)’ DominatorTree() : DominatorTreeBase(false) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&) [with NodeT = llvm::BasicBlock] DominatorTreeBase(DominatorTreeBase &&Arg) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: no known conversion for argument 1 from ‘bool’ to ‘llvm::DominatorTreeBase&&’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(__vector(4) __bool int) [with NodeT = llvm::BasicBlock] explicit DominatorTreeBase(bool isPostDom) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In constructor ‘llvm::DominatorTree::DominatorTree(llvm::Function&)’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:101:76: error: no matching function for call to ‘llvm::DominatorTreeBase::DominatorTreeBase(bool)’ explicit DominatorTree(Function &F) : DominatorTreeBase(false) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&) [with NodeT = llvm::BasicBlock] DominatorTreeBase(DominatorTreeBase &&Arg) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: no known conversion for argument 1 from ‘bool’ to ‘llvm::DominatorTreeBase&&’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(__vector(4) __bool int) [with NodeT = llvm::BasicBlock] explicit DominatorTreeBase(bool isPostDom) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In member function ‘__vector(4) __bool int llvm::DominatorTree::compare(const llvm::DominatorTree&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:112:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:114:22: error: could not convert ‘((const llvm::DominatorTree*)this)->llvm::DominatorTree::.llvm::DominatorTreeBase::compare((& Other)->llvm::DominatorTree::)’ from ‘__vector(4) __bool int’ to ‘bool’ if (Base::compare(Other)) ~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:115:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:117:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:63: error: ‘iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ : public DomTreeGraphTraitsBase {}; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:63: error: ‘iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:71: error: template argument 2 is invalid : public DomTreeGraphTraitsBase {}; ^ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:50: error: ‘const_iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ DomTreeNode::const_iterator> {}; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:50: error: ‘const_iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:64: error: template argument 2 is invalid DomTreeNode::const_iterator> {}; ^ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:177:10: error: ‘NodeRef’ does not name a type; did you mean ‘deref’? static NodeRef getEntryNode(DominatorTree *DT) { return DT->getRootNode(); } ^~~~~~~ deref In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:211:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &O, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:213:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:223:56: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void printAsOperand(raw_ostream &O, bool PrintType = true, ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasName() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:236:33: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasName() const { return HasName; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::use_empty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:301:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return UseList == nullptr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::user_empty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:337:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return UseList == nullptr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasOneUse() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:11: error: could not convert ‘I.llvm::Value::use_iterator_impl::operator==(E)’ from ‘__vector(4) __bool int’ to ‘bool’ if (I == E) return false; ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (I == E) return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasSameSubclassOptionalData(const llvm::Value*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:452:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData == V->SubclassOptionalData; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::hasValueHandle() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:456:40: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasValueHandle() const { return HasValueHandle; } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In member function ‘__vector(4) __bool int llvm::Value::isUsedByMetadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:459:42: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isUsedByMetadata() const { return IsUsedByMD; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:179:10: error: ‘nodes_iterator’ does not name a type; did you mean ‘idf_iterator’? static nodes_iterator nodes_begin(DominatorTree *N) { ^~~~~~~~~~~~~~ idf_iterator /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:620:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Value::print(llvm::raw_ostream&, __vector(4) __bool int) const’ V.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:713:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantLastVal; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:720:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantDataLastVal; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:727:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Val.getValueID() <= Value::ConstantAggregateLastVal; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:733:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::ArgumentVal; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:739:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::InlineAsmVal; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:745:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() >= Value::InstructionVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:751:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::BasicBlockVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:757:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::FunctionVal; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:763:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:769:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalAliasVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Value&)’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:775:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/User.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void allocHungoffUses(unsigned N, bool IsPhi = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/User.h:94:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void growHungoffUses(unsigned N, bool IsPhi = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:183:10: error: ‘nodes_iterator’ does not name a type; did you mean ‘idf_iterator’? static nodes_iterator nodes_end(DominatorTree *N) { ^~~~~~~~~~~~~~ idf_iterator In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Constant.h: In static member function ‘static __vector(4) __bool int llvm::Constant::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:123:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantLastVal; ^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Constant; Y = llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:156:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Constant; Y = llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:156:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:25:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In destructor ‘llvm::SmallPtrSetImplBase::~SmallPtrSetImplBase()’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:89:9: error: could not convert ‘((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSmall()) ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:98:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return LLVM_NODISCARD bool empty() const { return size() == 0; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘void llvm::SmallPtrSetImplBase::clear()’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:104:9: error: could not convert ‘((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSmall()) { ^~~~~~~~~~ In file included from /usr/include/c++/7/sstream:826:0, from /<>/lib/llvmopencl/ParallelRegion.h:28, from /<>/lib/llvmopencl/Kernel.h:30, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/include/c++/7/bits/sstream.tcc: In member function ‘virtual std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type)’: /usr/include/c++/7/bits/sstream.tcc:83:45: error: cannot convert ‘__vector(4) int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ if (__builtin_expect(!__testout, false)) ^ /usr/include/c++/7/bits/sstream.tcc:87:44: error: cannot convert ‘const __vector(4) __bool int’ to ‘long int’ for argument ‘1’ to ‘long int __builtin_expect(long int, long int)’ if (__builtin_expect(__testeof, false)) ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:36:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/ValueMapper.h:18, from /<>/lib/llvmopencl/ParallelRegion.h:35, from /<>/lib/llvmopencl/Kernel.h:30, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/Mutex.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Mutex.h:37:43: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ explicit MutexImpl(bool recursive = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘const void** llvm::SmallPtrSetImplBase::EndPointer() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:125:22: error: inferred scalar type ‘const void**’ is not an integer or floating point type of the same size as ‘__bool int’ return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘unsigned int llvm::ValueMap::hasMD() const’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:113:31: error: expected primary-expression before ‘__attribute__’ bool hasMD() const { return bool(MDMap); } ^ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:113:31: error: expected ‘;’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘std::pair llvm::SmallPtrSetImplBase::insert_imp(const void*)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:132:16: error: could not convert ‘((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSmall()) { ~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/ValueMapper.h:18:0, from /<>/lib/llvmopencl/ParallelRegion.h:35, from /<>/lib/llvmopencl/Kernel.h:30, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘llvm::ValueMap::MDMapT& llvm::ValueMap::MD()’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: error: no match for ‘operator!’ (operand type is ‘llvm::Optional >’) if (!MDMap) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: note: candidate: operator!(bool) /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: note: no known conversion for argument 1 from ‘llvm::Optional >’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘llvm::Optional llvm::ValueMap::getMappedMD(const llvm::Metadata*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: error: no match for ‘operator!’ (operand type is ‘const llvm::Optional >’) if (!MDMap) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: note: candidate: operator!(bool) /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: note: no known conversion for argument 1 from ‘const llvm::Optional >’ to ‘bool’ /<>/lib/llvmopencl/ParallelRegion.h: At global scope: /<>/lib/llvmopencl/ParallelRegion.h:50:38: error: expected class-name before ‘__attribute__’ class ParallelRegion : public std::vector { ^ /<>/lib/llvmopencl/ParallelRegion.h:50:38: error: expected ‘{’ before ‘__attribute__’ In file included from /<>/lib/llvmopencl/Kernel.h:30:0, from /<>/lib/llvmopencl/Kernel.cc:34: /<>/lib/llvmopencl/ParallelRegion.h:50:44: error: expected unqualified-id before ‘<’ token class ParallelRegion : public std::vector { ^ In file included from /<>/lib/llvmopencl/Kernel.cc:34:0: /<>/lib/llvmopencl/Kernel.h:39:21: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::ParallelRegionVector* ^~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:30:0, from /<>/lib/llvmopencl/Kernel.cc:34: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.cc:34:0: /<>/lib/llvmopencl/Kernel.h: In static member function ‘static __vector(4) __bool int pocl::Kernel::classof(const pocl::Kernel*)’: /<>/lib/llvmopencl/Kernel.h:46:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const Kernel *) { return true; } ^~~~ /<>/lib/llvmopencl/Kernel.h: In static member function ‘static __vector(4) __bool int pocl::Kernel::classof(const llvm::Function*)’: /<>/lib/llvmopencl/Kernel.h:50:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const llvm::Function *) { return true; } ^~~~ In file included from /<>/lib/llvmopencl/Kernel.cc:35:0: /<>/lib/llvmopencl/Barrier.h: In static member function ‘static void pocl::Barrier::GetBarriers(llvm::SmallVectorImpl&, llvm::Module&)’: /<>/lib/llvmopencl/Barrier.h:47:16: error: could not convert ‘i.llvm::Value::use_iterator_impl::operator!=(e)’ from ‘__vector(4) __bool int’ to ‘bool’ i != e; ++i) ~~^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.cc:35:0: /<>/lib/llvmopencl/Barrier.h:48:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? B.push_back(llvm::cast(*i)); ^~~~~~~~~ emplace_back /<>/lib/llvmopencl/Barrier.h: In static member function ‘static pocl::Barrier* pocl::Barrier::Create(llvm::Instruction*)’: /<>/lib/llvmopencl/Barrier.h:59:63: error: could not convert ‘((InsertBefore != (& InsertBefore->llvm::Instruction::getParent()->llvm::BasicBlock::front())) ? ((llvm::isa(((llvm::ilist_node_with_parent*)InsertBefore)->llvm::ilist_node_with_parent::getPrevNode()) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (InsertBefore != &InsertBefore->getParent()->front() && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ llvm::isa(InsertBefore->getPrevNode())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::CallInst*]’ /<>/lib/llvmopencl/Barrier.h:75:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::CallInst*]’ /<>/lib/llvmopencl/Barrier.h:75:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /<>/lib/llvmopencl/Kernel.cc:35:0: /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::classof(const pocl::Barrier*)’: /<>/lib/llvmopencl/Barrier.h:77:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const Barrier *) { return true; }; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::CallInst; Y = const llvm::Instruction*]’ /<>/lib/llvmopencl/Barrier.h:84:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::CallInst; Y = const llvm::Instruction*]’ /<>/lib/llvmopencl/Barrier.h:84:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /<>/lib/llvmopencl/Kernel.cc:35:0: /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::hasBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:103:30: error: ‘const_iterator’ is not a member of ‘llvm::BasicBlock’ for (llvm::BasicBlock::const_iterator i = bb->begin(), e = bb->end(); ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Barrier.h:104:12: error: ‘i’ was not declared in this scope i != e; ++i) ^ /<>/lib/llvmopencl/Barrier.h:104:17: error: ‘e’ was not declared in this scope i != e; ++i) ^ /<>/lib/llvmopencl/Barrier.h:106:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (llvm::isa(i)) return true; ^~~~ /<>/lib/llvmopencl/Barrier.h:108:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::startsWithBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:116:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::endsWithBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:125:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /<>/lib/llvmopencl/Kernel.cc:36:0: /<>/lib/llvmopencl/DebugHelpers.h: At global scope: /<>/lib/llvmopencl/DebugHelpers.h:41:32: error: ‘pocl::ParallelRegion::ParallelRegionVector’ has not been declared ParallelRegion::ParallelRegionVector* regions=NULL, ^~~~~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::getExitBlocks(llvm::SmallVectorImpl&)’: /<>/lib/llvmopencl/Kernel.cc:50:8: error: ‘iterator’ was not declared in this scope for (iterator i = begin(), e = end(); i != e; ++i) { ^~~~~~~~ /<>/lib/llvmopencl/Kernel.cc:50:8: note: suggested alternatives: In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0, from /usr/include/c++/7/bits/char_traits.h:39, from /usr/include/c++/7/ios:40, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ struct iterator ^~~~~~~~ /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ /<>/lib/llvmopencl/Kernel.cc:50:41: error: ‘i’ was not declared in this scope for (iterator i = begin(), e = end(); i != e; ++i) { ^ /<>/lib/llvmopencl/Kernel.cc:50:46: error: ‘e’ was not declared in this scope for (iterator i = begin(), e = end(); i != e; ++i) { ^ /<>/lib/llvmopencl/Kernel.cc:55:11: error: could not convert ‘((pocl::Barrier::hasBarrier(((const llvm::BasicBlock*)BB)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Barrier::hasBarrier(BB)) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Kernel.cc:57:8: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:139:32: error: could not convert ‘std::make_pair(APtr, false)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(APtr, false); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Kernel.cc:57:8: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /<>/lib/llvmopencl/Kernel.cc:57:8: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:148:30: error: could not convert ‘std::make_pair(LastTombstone, true)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(LastTombstone, true); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:154:30: error: could not convert ‘std::make_pair((((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::SmallArray + ((sizetype)(((long unsigned int)(((llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::NumNonEmpty - 1)) * 8))), true)’ from ‘std::pair’ to ‘std::pair’ return std::make_pair(SmallArray + (NumNonEmpty - 1), true); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc:57:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? B.push_back(BB); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::erase_imp(const void*)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:168:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:174:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘const void* const* llvm::SmallPtrSetImplBase::find_imp(const void*) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:181:16: error: could not convert ‘((const llvm::SmallPtrSetImplBase*)this)->llvm::SmallPtrSetImplBase::isSmall()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSmall()) { ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetImplBase::isSmall() const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:198:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSmall() const { return CurArray == SmallArray; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetIteratorImpl::operator==(const llvm::SmallPtrSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:243:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Bucket == RHS.Bucket; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In member function ‘__vector(4) __bool int llvm::SmallPtrSetIteratorImpl::operator!=(const llvm::SmallPtrSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:246:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Bucket != RHS.Bucket; ^~~~~~ /<>/lib/llvmopencl/Kernel.cc: In member function ‘pocl::ParallelRegion* pocl::Kernel::createParallelRegionBefore(llvm::BasicBlock*)’: /<>/lib/llvmopencl/Kernel.cc:76:26: error: ‘class llvm::SmallVector’ has no member named ‘empty’ while (!pending_blocks.empty()) { ^~~~~ /<>/lib/llvmopencl/Kernel.cc:77:42: error: ‘class llvm::SmallVector’ has no member named ‘back’ BasicBlock *current = pending_blocks.back(); ^~~~ /<>/lib/llvmopencl/Kernel.cc:78:20: error: ‘class llvm::SmallVector’ has no member named ‘pop_back’; did you mean ‘pop_back_val’? pending_blocks.pop_back(); ^~~~~~~~ pop_back_val /<>/lib/llvmopencl/Kernel.cc:95:32: error: could not convert ‘pocl::Barrier::hasOnlyBarrier(((const llvm::BasicBlock*)current))’ from ‘__vector(4) __bool int’ to ‘bool’ if (Barrier::hasOnlyBarrier(current)) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc:105:9: error: could not convert ‘((verify_no_barriers(((const llvm::BasicBlock*)current)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!verify_no_barriers(current)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc:121:29: error: could not convert ‘blocks_in_region.llvm::SmallPtrSet::.llvm::SmallPtrSetImpl::.llvm::SmallPtrSetImplBase::empty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (blocks_in_region.empty()) ~~~~~~~~~~~~~~~~~~~~~~^~ /<>/lib/llvmopencl/Kernel.cc:139:26: error: incomplete type ‘pocl::ParallelRegion’ used in nested name specifier return ParallelRegion::Create(blocks_in_region, entry, exit); ^~~~~~ /<>/lib/llvmopencl/Kernel.cc: In function ‘void add_predecessors(llvm::SmallVectorImpl&, llvm::BasicBlock*)’: /<>/lib/llvmopencl/Kernel.cc:146:10: error: could not convert ‘i.llvm::PredIterator >::operator!=(e)’ from ‘__vector(4) __bool int’ to ‘bool’ i != e; ++i) { ~~^~~~ /<>/lib/llvmopencl/Kernel.cc:147:7: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? v.push_back(*i); ^~~~~~~~~ emplace_back /<>/lib/llvmopencl/Kernel.cc: In function ‘__vector(4) __bool int verify_no_barriers(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Kernel.cc:154:20: error: ‘const_iterator’ is not a member of ‘llvm::BasicBlock’ for (BasicBlock::const_iterator i = B->begin(), e = B->end(); i != e; ++i) { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc:154:65: error: ‘i’ was not declared in this scope for (BasicBlock::const_iterator i = B->begin(), e = B->end(); i != e; ++i) { ^ /<>/lib/llvmopencl/Kernel.cc:154:70: error: ‘e’ was not declared in this scope for (BasicBlock::const_iterator i = B->begin(), e = B->end(); i != e; ++i) { ^ /<>/lib/llvmopencl/Kernel.cc:156:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/llvmopencl/Kernel.cc:159:10: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /<>/lib/llvmopencl/Kernel.cc: At global scope: /<>/lib/llvmopencl/Kernel.cc:167:17: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::ParallelRegionVector * ^~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:30:0, from /<>/lib/llvmopencl/Kernel.cc:34: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::addLocalSizeInitCode(size_t, size_t, size_t)’: /<>/lib/llvmopencl/Kernel.cc:292:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int)’ gv = M->getGlobalVariable("_local_size_x"); ^ /<>/lib/llvmopencl/Kernel.cc:297:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ LocalSizeX), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’: /<>/lib/llvmopencl/Kernel.cc:297:24: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LocalSizeX), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::addLocalSizeInitCode(size_t, size_t, size_t)’: /<>/lib/llvmopencl/Kernel.cc:297:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’ /<>/lib/llvmopencl/Kernel.cc:298:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int)’ gv = M->getGlobalVariable("_local_size_y"); ^ /<>/lib/llvmopencl/Kernel.cc:304:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ LocalSizeY), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’: /<>/lib/llvmopencl/Kernel.cc:304:24: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LocalSizeY), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::addLocalSizeInitCode(size_t, size_t, size_t)’: /<>/lib/llvmopencl/Kernel.cc:304:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’ /<>/lib/llvmopencl/Kernel.cc:305:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int)’ gv = M->getGlobalVariable("_local_size_z"); ^ /<>/lib/llvmopencl/Kernel.cc:311:19: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ LocalSizeZ), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’: /<>/lib/llvmopencl/Kernel.cc:311:24: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LocalSizeZ), gv); ^ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::addLocalSizeInitCode(size_t, size_t, size_t)’: /<>/lib/llvmopencl/Kernel.cc:311:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::StoreInst* llvm::IRBuilder::CreateStore(llvm::Value*, llvm::Value*, __vector(4) __bool int) [with T = llvm::ConstantFolder; Inserter = llvm::IRBuilderDefaultInserter]’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:20:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In instantiation of ‘std::size_t llvm::countLeadingZeros(T, llvm::ZeroBehavior) [with T = unsigned int; std::size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:514:38: required from here /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:181:3: error: non-constant condition for static assertion static_assert(std::numeric_limits::is_integer && ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In instantiation of ‘std::size_t llvm::countLeadingZeros(T, llvm::ZeroBehavior) [with T = long unsigned int; std::size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:520:38: required from here /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:181:3: error: non-constant condition for static assertion In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In instantiation of ‘unsigned int llvm::Value::use_iterator_impl::operator==(const llvm::Value::use_iterator_impl&) const [with UseT = const llvm::Use]’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:14: required from here /usr/lib/llvm-4.0/include/llvm/IR/Value.h:130:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const use_iterator_impl &x) const { return U == x.U; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:32:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/ManagedStatic.h: In member function ‘__vector(4) __bool int llvm::ManagedStaticBase::isConstructed() const’: /usr/lib/llvm-4.0/include/llvm/Support/ManagedStatic.h:52:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isConstructed() const { return Ptr != nullptr; } ^~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:55:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IgnoreErrors = false); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:209:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ In file included from /usr/include/c++/7/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/7/memory:82, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:86:27: required from here /usr/include/c++/7/bits/atomic_base.h:396:24: error: operand type ‘const __int_type* {aka const __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_load_n’ return __atomic_load_n(&_M_i, __m); ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:89:27: required from here /usr/include/c++/7/bits/atomic_base.h:406:24: error: operand type ‘const volatile __int_type* {aka const volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_load_n’ return __atomic_load_n(&_M_i, __m); ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::is_lock_free() const [with _ITp = __vector(4) __bool int]’: /usr/include/c++/7/atomic:92:65: required from here /usr/include/c++/7/bits/atomic_base.h:355:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return reinterpret_cast(-__alignof(_M_i))); ^ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::is_lock_free() const volatile [with _ITp = __vector(4) __bool int]’: /usr/include/c++/7/atomic:95:74: required from here /usr/include/c++/7/bits/atomic_base.h:363:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return reinterpret_cast(-__alignof(_M_i))); ^ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘void std::__atomic_base<_IntTp>::store(std::__atomic_base<_IntTp>::__int_type, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:103:29: required from here /usr/include/c++/7/bits/atomic_base.h:374:18: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_store_n’ __atomic_store_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘void std::__atomic_base<_IntTp>::store(std::__atomic_base<_IntTp>::__int_type, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:107:29: required from here /usr/include/c++/7/bits/atomic_base.h:386:18: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_store_n’ __atomic_store_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::exchange(std::__atomic_base<_IntTp>::__int_type, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:119:39: required from here /usr/include/c++/7/bits/atomic_base.h:413:28: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_exchange_n’ return __atomic_exchange_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::exchange(std::__atomic_base<_IntTp>::__int_type, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:124:39: required from here /usr/include/c++/7/bits/atomic_base.h:421:28: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_exchange_n’ return __atomic_exchange_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_weak(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:129:66: required from here /usr/include/c++/7/bits/atomic_base.h:434:36: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_weak(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:134:66: required from here /usr/include/c++/7/bits/atomic_base.h:448:36: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_strong(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:149:68: required from here /usr/include/c++/7/bits/atomic_base.h:477:36: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 0, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_strong(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:154:68: required from here /usr/include/c++/7/bits/atomic_base.h:492:36: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 0, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::cl::Option*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = llvm::cl::Option*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:197:44: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘void llvm::cl::OptionValueCopy::setValue(const DataType&) [with DataType = llvm::cl::boolOrDefault]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:61: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:498:11: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment Valid = true; ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘void llvm::cl::OptionValueCopy::setValue(const DataType&) [with DataType = std::__cxx11::basic_string]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:55: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:498:11: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:351:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MultiArg = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘llvm::PointerUnion::PointerUnion(PT2) [with PT1 = llvm::MetadataAsValue*; PT2 = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:207:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:111:14: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(void*, int)’ 1) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘llvm::PointerUnion::PointerUnion(PT2) [with PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:743:38: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:111:14: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(void*, int)’ 1) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘int llvm::PointerUnion::is() const [with T = llvm::ReplaceableMetadataImpl*; PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:129:12: error: invalid static_cast from type ‘__vector(4) __bool int’ to type ‘int’ return static_cast(Val.getInt()) == TyNo; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isPositional() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:285:65: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPositional() const { return getFormattingFlag() == cl::Positional; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isSink() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:286:53: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isSink() const { return getMiscFlags() & cl::Sink; } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::Option::isConsumeAfter() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:289:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOccurrencesFlag() == cl::ConsumeAfter; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’: /usr/include/c++/7/tuple:991:50: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple >::tuple(const std::tuple<_T1, _T2>&) [with _U1 = llvm::ReplaceableMetadataImpl*; _U2 = std::default_delete; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:776:79: required from here /usr/include/c++/7/tuple:473:73: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:474:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’: /usr/include/c++/7/tuple:1009:54: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple >::tuple(std::tuple<_T1, _T2>&&) [with _U1 = llvm::ReplaceableMetadataImpl*; _U2 = std::default_delete; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:776:79: required from here /usr/include/c++/7/tuple:485:68: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:486:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’ not a return-statement } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘const llvm::PointerUnion& llvm::PointerUnion::operator=(const PT2&) [with PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:790:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:178:5: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::setPointerAndInt(void*, int)’ Val.setPointerAndInt( ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:74:8: note: candidate: void llvm::PointerIntPair::setPointerAndInt(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:74:8: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:318:78: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization AdditionalVals(0), Category(&GeneralCategory), FullyInitialized(false) { ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue::OptionValue(const llvm::cl::boolOrDefault&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValue(const cl::boolOrDefault &V) { this->setValue(V); } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:991:50: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(const std::tuple<_T1, _T2>&) [with _U1 = llvm::MDTuple*; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:202:12: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Up = llvm::TempMDNodeDeleter; = void; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::unique_ptr<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:473:73: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:474:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = llvm::cl::boolOrDefault]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:488:3: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValueCopy() = default; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue::OptionValue(const llvm::cl::boolOrDefault&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:43: note: synthesized method ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = llvm::cl::boolOrDefault]’ first required here OptionValue(const cl::boolOrDefault &V) { this->setValue(V); } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue >::OptionValue(const string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValue(const std::string &V) { this->setValue(V); } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = std::__cxx11::basic_string]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:488:3: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization OptionValueCopy() = default; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::OptionValue >::OptionValue(const string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:37: note: synthesized method ‘llvm::cl::OptionValueCopy::OptionValueCopy() [with DataType = std::__cxx11::basic_string]’ first required here OptionValue(const std::string &V) { this->setValue(V); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:600:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:1009:54: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(std::tuple<_T1, _T2>&&) [with _U1 = llvm::MDTuple*; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:202:12: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Up = llvm::TempMDNodeDeleter; = void; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::unique_ptr<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:485:68: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:486:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::ValuesClass::apply(Opt&) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available [-fpermissive] for (auto Value : Values) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:607:23: error: there are no arguments to ‘end’ that depend on a template parameter, so a declaration of ‘end’ must be available [-fpermissive] In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::Instruction; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:238:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::Instruction; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:239:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::generic_parser_base::getExtraOptionNames(llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:689:9: error: could not convert ‘(((&((llvm::cl::generic_parser_base*)this)->llvm::cl::generic_parser_base::Owner)->llvm::cl::Option::hasArgStr() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Owner.hasArgStr()) ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:691:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:20:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In instantiation of ‘std::size_t llvm::countTrailingOnes(T, llvm::ZeroBehavior) [with T = long unsigned int; std::size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1387:41: required from here /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:453:3: error: non-constant condition for static assertion static_assert(std::numeric_limits::is_integer && ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h: In instantiation of ‘unsigned int llvm::countPopulation(T) [with T = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1399:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/MathExtras.h:495:3: error: non-constant condition for static assertion static_assert(std::numeric_limits::is_integer && ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:691:21: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? OptionNames.push_back(getOption(i)); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘llvm::cl::ValueExpected llvm::cl::generic_parser_base::getValueExpectedFlagDefault() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:706:24: error: could not convert ‘(&((const llvm::cl::generic_parser_base*)this)->llvm::cl::generic_parser_base::Owner)->llvm::cl::Option::hasArgStr()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Owner.hasArgStr()) ~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘static __vector(4) __bool int llvm::APFloat::usesLayout(const llvm::fltSemantics&) [with T = llvm::detail::IEEEFloat]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:684:43: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:752:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics == &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:754:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics != &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘static __vector(4) __bool int llvm::APFloat::usesLayout(const llvm::fltSemantics&) [with T = llvm::detail::DoubleAPFloat]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:688:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:752:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics == &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:754:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics != &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:798:29: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {long unsigned int&}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:818:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {llvm::APFloatBase::uninitializedTag}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:821:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {const llvm::APInt&}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:822:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(const llvm::Optional&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1133:48: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:41:9: error: could not convert ‘((llvm::Optional*)this)->llvm::Optional::hasVal’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasVal) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::parser >::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, std::__cxx11::string&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1020:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘__vector(4) __bool int llvm::cl::parser::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, char&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1045:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:345:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = unsigned int; unsigned int N = 32]’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:316:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:872:14: error: ‘const class llvm::SmallVector’ has no member named ‘empty’ if (!RHS.empty()) ~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bitset: In instantiation of ‘constexpr unsigned int std::bitset<_Nb>::_Unchecked_test(std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’: /usr/include/c++/7/bitset:1160:31: required from ‘constexpr unsigned int std::bitset<_Nb>::operator[](std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:498:19: required from here /usr/include/c++/7/bitset:1059:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return != static_cast<_WordT>(0)); } ^ /usr/include/c++/7/bitset:1059:31: error: body of constexpr function ‘constexpr unsigned int std::bitset<_Nb>::_Unchecked_test(std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’ not a return-statement != static_cast<_WordT>(0)); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::VectorType; Y = llvm::Type; typename llvm::cast_retty::ret_type = llvm::VectorType*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1113:56: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::VectorType*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(llvm::NoneType) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:35:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization Optional(NoneType) : hasVal(false) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(llvm::Optional&&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:49:5: error: could not convert ‘O’ from ‘llvm::Optional’ to ‘bool’ if (O) { ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1378:8: error: expected unqualified-id before ‘__attribute__’ std::vector Storage; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1381:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1381:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::iterator iterator; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = const llvm::PassInfo*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = const void*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1383:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator begin() { return Storage.begin(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1384:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator end() { return Storage.end(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1386:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator const_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1386:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator const_iterator; ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1387:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return Storage.begin(); } ^~~~~~~~~~~~~~ concat_iterator In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::PointerType; Y = llvm::Type; typename llvm::cast_retty::ret_type = llvm::PointerType*]’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:342:41: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::PointerType*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::BasicBlock; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:540:67: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::BasicBlock; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:541:68: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1388:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end() const { return Storage.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1390:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::size_type size_type; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1390:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::size_type size_type; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:5: error: could not convert ‘((((const llvm::OperandBundleUser*)this)->llvm::OperandBundleUser::hasOperandBundles() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasOperandBundles()) ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::CallInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::Attribute::AttrKind]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1665:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1861:5: error: could not convert ‘((const llvm::CallInst*)this)->llvm::CallInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1862:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1866:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::CallInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1867:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1871:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::CallInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::StringRef]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1670:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1861:5: error: could not convert ‘((const llvm::CallInst*)this)->llvm::CallInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1862:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1866:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::CallInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1867:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1871:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y&) [with X = llvm::Function; Y = const llvm::Use; typename llvm::cast_retty::ret_type = llvm::Function*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:293:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::Function*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = int; unsigned int N = 16]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2237:12: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:882:14: error: ‘class llvm::SmallVector’ has no member named ‘empty’ if (!RHS.empty()) ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1391:3: error: ‘size_type’ does not name a type; did you mean ‘size_t’? size_type size() const { return Storage.size(); } ^~~~~~~~~ size_t /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1398:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::reference reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1398:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::reference reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1399:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reference const_reference; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1399:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reference const_reference; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseIteratorT::operator!=(const Self&) const [with SwitchInstTy = llvm::SwitchInst; ConstantIntTy = llvm::ConstantInt; BasicBlockTy = llvm::BasicBlock; llvm::SwitchInst::CaseIteratorT::Self = llvm::SwitchInst::CaseIteratorT]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3281:56: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3169:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return RHS.Index != Index; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseIteratorT::operator!=(const Self&) const [with SwitchInstTy = const llvm::SwitchInst; ConstantIntTy = const llvm::ConstantInt; BasicBlockTy = const llvm::BasicBlock; llvm::SwitchInst::CaseIteratorT::Self = llvm::SwitchInst::CaseIteratorT]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3287:61: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3169:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:5: error: could not convert ‘((((const llvm::OperandBundleUser*)this)->llvm::OperandBundleUser::hasOperandBundles() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasOperandBundles()) ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::InvokeInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::Attribute::AttrKind]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3701:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3921:5: error: could not convert ‘((const llvm::InvokeInst*)this)->llvm::InvokeInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3922:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3926:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::InvokeInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3927:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3931:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::InvokeInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::StringRef]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3706:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3921:5: error: could not convert ‘((const llvm::InvokeInst*)this)->llvm::InvokeInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3922:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1400:3: error: ‘reference’ does not name a type; did you mean ‘reverse’? reference operator[](size_type pos) { return Storage[pos]; } ^~~~~~~~~ reverse /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3926:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::InvokeInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3927:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3931:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = const llvm::Operator; typename llvm::cast_retty::ret_type = const llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = const llvm::Value; typename llvm::cast_retty::ret_type = const llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:58:55: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::ConstantExpr; Y = const llvm::Value; typename llvm::cast_retty::ret_type = const llvm::ConstantExpr*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:60:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::ConstantExpr*}’ is not an integer or floating point type of the same size as ‘__bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(T&&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:393:42: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:45:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization Optional(T &&y) : hasVal(true) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::ConstantInt; Y = const llvm::Use; typename llvm::cast_retty::ret_type = llvm::ConstantInt*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::ConstantInt*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/functional:58:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/std_function.h: In instantiation of ‘std::function<_Res(_ArgTypes ...)>::function(const std::function<_Res(_ArgTypes ...)>&) [with _Res = void; _ArgTypes = {llvm::Instruction*}]’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:78:26: required from here /usr/include/c++/7/bits/std_function.h:675:11: error: could not convert ‘(& __x)->std::function::operator __vector(4) __bool int()’ from ‘__vector(4) __bool int’ to ‘bool’ if (static_cast(__x)) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/std_function.h: In instantiation of ‘_Res std::function<_Res(_ArgTypes ...)>::operator()(_ArgTypes ...) const [with _Res = void; _ArgTypes = {llvm::Instruction*}]’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:84:15: required from here /usr/include/c++/7/bits/std_function.h:704:19: error: could not convert ‘((const std::function*)this)->std::function::.std::_Function_base::_M_empty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (_M_empty()) ~~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::TerminatorInst::SuccIterator::operator==(const Self&) const [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock; llvm::TerminatorInst::SuccIterator::Self = llvm::TerminatorInst::SuccIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:141:39: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:176:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return inline bool operator==(const Self &x) const { return idx == x.idx; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::GlobalObject; Y = llvm::Value; typename llvm::cast_retty::ret_type = llvm::GlobalObject*]’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h:61:78: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::GlobalObject*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalVariable; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:522:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::Function; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:543:68: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1401:3: error: ‘const_reference’ does not name a type const_reference operator[](size_type pos) const { return Storage[pos]; } ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::Function; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:544:69: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::GlobalAlias; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:561:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalAlias; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:562:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::GlobalIFunc; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:579:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1403:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(const_iterator pos) { return Storage.erase(pos); } ^~~~~~~~ operator+ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalIFunc; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:580:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1404:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(const_iterator first, const_iterator last) { ^~~~~~~~ operator+ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’: /usr/include/c++/7/tuple:991:50: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(const std::tuple<_T1, _T2>&) [with _U1 = int; _U2 = int; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:580:18: required from ‘llvm::detail::concat_range llvm::concat(RangeTs&& ...) [with ValueT = llvm::GlobalObject; RangeTs = {int, int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/tuple:473:73: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:474:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ConstructibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’: /usr/include/c++/7/tuple:1009:54: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(std::tuple<_T1, _T2>&&) [with _U1 = int; _U2 = int; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:580:18: required from ‘llvm::detail::concat_range llvm::concat(RangeTs&& ...) [with ValueT = llvm::GlobalObject; RangeTs = {int, int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/tuple:485:68: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:486:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’ not a return-statement } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1408:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(iterator pos) { return Storage.erase(pos); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1409:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator erase(iterator first, iterator last) { ^~~~~~~~ operator+ [ 9%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o -c /<>/lib/CL/clSetMemObjectDestructorCallback.c /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1413:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(const_iterator pos, const DataType &value) { ^~~~~~~~ operator+ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:32:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h: In instantiation of ‘llvm::iterator_range::iterator_range(Container&&) [with Container = llvm::detail::concat_range; IteratorT = int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:26: error: ‘class llvm::detail::concat_range’ has no member named ‘begin’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:51: error: ‘class llvm::detail::concat_range’ has no member named ‘end’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1416:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(const_iterator pos, DataType &&value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h: In instantiation of ‘llvm::iterator_range::iterator_range(Container&&) [with Container = llvm::detail::concat_range; IteratorT = int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:26: error: ‘class llvm::detail::concat_range’ has no member named ‘begin’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:51: error: ‘class llvm::detail::concat_range’ has no member named ‘end’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::NamedMDNode; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:632:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: ‘begin’ was not declared in this scope return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: ‘end’ was not declared in this scope return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: suggested alternative: In file included from /usr/include/c++/7/string:51:0, from /usr/include/c++/7/bits/locale_classes.h:40, from /usr/include/c++/7/bits/ios_base.h:41, from /usr/include/c++/7/ios:42, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::NamedMDNode; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:633:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1420:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(iterator pos, const DataType &value) { ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1423:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator insert(iterator pos, DataType &&value) { ^~~~~~~~ operator+ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:25:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In instantiation of ‘llvm::SmallPtrSetImplBase::size_type llvm::SmallPtrSetImpl::count(PtrType) const [with PtrType = void*; llvm::SmallPtrSetImplBase::size_type = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:185:37: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:381:40: error: cannot convert ‘__vector(4) int’ to ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ in return return find(Ptr) != endPtr() ? 1 : 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In instantiation of ‘llvm::SmallPtrSetImplBase::size_type llvm::SmallPtrSetImpl::count(PtrType) const [with PtrType = llvm::AnalysisKey*; llvm::SmallPtrSetImplBase::size_type = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:224:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:381:40: error: cannot convert ‘__vector(4) int’ to ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ in return In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopBase::LoopBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:391:10: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:86:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization LoopBase() : ParentLoop(nullptr) {} ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopBase::LoopBase(BlockT*) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:510:64: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:350:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1427:3: error: ‘reference’ does not name a type; did you mean ‘reverse’? reference front() { return Storage.front(); } ^~~~~~~~~ reverse /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopInfoBase::LoopInfoBase(llvm::LoopInfoBase&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:679:72: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:538:9: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? Arg.TopLevelLoops.clear(); ~~~~^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopInfoBase& llvm::LoopInfoBase::operator=(llvm::LoopInfoBase&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:681:58: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:35: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? TopLevelLoops = std::move(RHS.TopLevelLoops); ~~~~^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:546:9: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? RHS.TopLevelLoops.clear(); ~~~~^~~~~~~~~~~~~ addTopLevelLoop In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = llvm::Value; typename llvm::cast_retty::ret_type = llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:698:46: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘unsigned int llvm::LoopBase::contains(const LoopT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:711:58: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:110:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (L == this) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:111:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!L) return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = const llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:73:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1428:3: error: ‘const_reference’ does not name a type const_reference front() const { return Storage.front(); } ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1430:12: error: expected type-specifier operator std::vector&() { return Storage; } ^~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1432:8: error: expected unqualified-id before ‘__attribute__’ std::vector *operator&() { return &Storage; } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1433:14: error: expected unqualified-id before ‘__attribute__’ const std::vector *operator&() const { return &Storage; } ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list_storage::empty() const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1393:31: error: ‘Storage’ was not declared in this scope bool empty() const { return Storage.empty(); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::push_back(const DataType&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1395:43: error: ‘Storage’ was not declared in this scope void push_back(const DataType &value) { Storage.push_back(value); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::push_back(DataType&&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1396:38: error: ‘Storage’ was not declared in this scope void push_back(DataType &&value) { Storage.push_back(value); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘llvm::cl::list_storage::operator llvm::ArrayRef()’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1431:42: error: ‘Storage’ was not declared in this scope operator ArrayRef() { return Storage; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::list_storage::addValue(const T&)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1435:50: error: ‘Storage’ was not declared in this scope template void addValue(const T &V) { Storage.push_back(V); } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1444:8: error: expected unqualified-id before ‘__attribute__’ std::vector Positions; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1462:5: error: ‘Positions’ was not declared in this scope Positions.push_back(pos); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1462:5: note: suggested alternative: ‘Position’ Positions.push_back(pos); ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::list::getPosition(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1492:12: error: ‘Positions’ was not declared in this scope return Positions[optnum]; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1492:12: note: suggested alternative: ‘Position’ return Positions[optnum]; ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1583:8: error: expected unqualified-id before ‘__attribute__’ std::vector Positions; ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::bits::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1601:5: error: ‘Positions’ was not declared in this scope Positions.push_back(pos); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1601:5: note: suggested alternative: ‘Position’ Positions.push_back(pos); ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘unsigned int llvm::cl::bits::getPosition(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1631:12: error: ‘Positions’ was not declared in this scope return Positions[optnum]; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:771:11: error: ‘class llvm::DominatorTreeBase’ has no member named ‘Vertex’ this->Vertex.push_back(nullptr); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:773:5: error: could not convert ‘((((llvm::DominatorTreeBase*)this)->llvm::DominatorTreeBase::.llvm::DominatorBase::IsPostDominators == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!this->IsPostDominators) { ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1631:12: note: suggested alternative: ‘Position’ return Positions[optnum]; ^~~~~~~~~ Position /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:784:35: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) if (TraitsTy::child_begin(*I) == TraitsTy::child_end(*I)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:784:62: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) if (TraitsTy::child_begin(*I) == TraitsTy::child_end(*I)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1655:38: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MultiArg = false) override { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:785:19: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) addRoot(*I); ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::alias::done()’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1672:9: error: could not convert ‘((((llvm::cl::alias*)this)->llvm::cl::alias::.llvm::cl::Option::hasArgStr() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasArgStr()) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘unsigned int llvm::DominatorTreeBase::compare(const llvm::DominatorTreeBase&) const [with NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:114:15: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:371:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1727:68: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void PrintHelpMessage(bool Hidden = false, bool Categorized = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1727:68: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1802:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1817:54: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1843:75: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool MarkEOLs = false, bool RelativeNames = false); ^ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:1843:75: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:373:5: error: could not convert ‘__for_begin.llvm::DenseMapIterator, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > >, 1>::operator!=(__for_end)’ from ‘__vector(4) __bool int’ to ‘bool’ for (const auto &DomTreeNode : this->DomTreeNodes) { ^~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:377:14: error: could not convert ‘OI.llvm::DenseMapIterator, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > >, 1>::operator==(((const llvm::DenseMapBase, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >, llvm::BasicBlock*, std::unique_ptr, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >*)(& OtherDomTreeNodes))->llvm::DenseMapBase, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >, llvm::BasicBlock*, std::unique_ptr, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >::end())’ from ‘__vector(4) __bool int’ to ‘bool’ if (OI == OtherDomTreeNodes.end()) /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:378:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:383:7: error: could not convert ‘(& MyNd)->llvm::DomTreeNodeBase::compare(((const llvm::DomTreeNodeBase*)(& OtherNd)))’ from ‘__vector(4) __bool int’ to ‘bool’ if (MyNd.compare(&OtherNd)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:384:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:387:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:59:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:176:51: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool RespectFilters = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:118:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:120:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:76:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(MDString) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:78:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(ConstantAsMetadata) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:79:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(LocalAsMetadata) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:80:22: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_METADATA_LEAF(DistinctMDOperandPlaceholder) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:53:45: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:1: note: in expansion of macro ‘HANDLE_MDNODE_LEAF_UNIQUABLE’ HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:144:46: note: in definition of macro ‘HANDLE_METADATA_LEAF’ return MD.getMetadataID() == Metadata::CLASS##Kind; \ ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Metadata&)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:150:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Metadata::print(llvm::raw_ostream&, const llvm::Module*, __vector(4) __bool int) const’ MD.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MetadataAsValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:179:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == MetadataAsValueVal; ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap, long unsigned int>, 4>’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:273:58: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:331:12: error: could not convert ‘it.llvm::StringMapConstIterator::operator!=(((const llvm::StringMap*)this)->llvm::StringMap::end())’ from ‘__vector(4) __bool int’ to ‘bool’ if (it != end()) ~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::iterator llvm::StringMap::begin() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::iterator = llvm::StringMapIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:89:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:303:12: error: no matching function for call to ‘llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**&, bool)’ return iterator(TheTable, NumBuckets == 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: candidate: llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator() [with ValueTy = llvm::Value*] StringMapIterator() = default; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(const llvm::StringMapIterator&) class StringMapIterator : public StringMapConstIterator { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(llvm::StringMapIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::begin() const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:92:59: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:309:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase** const&, bool)’ return const_iterator(TheTable, NumBuckets == 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::iterator llvm::StringMap::end() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::iterator = llvm::StringMapIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:95:43: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:306:12: error: no matching function for call to ‘llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, bool)’ return iterator(TheTable+NumBuckets, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: candidate: llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator() [with ValueTy = llvm::Value*] StringMapIterator() = default; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(const llvm::StringMapIterator&) class StringMapIterator : public StringMapConstIterator { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(llvm::StringMapIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::end() const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:98:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:312:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, bool)’ return const_iterator(TheTable+NumBuckets, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h: In instantiation of ‘NodeTy* llvm::ilist_node_with_parent::getPrevNode() [with NodeTy = llvm::Instruction; ParentTy = llvm::BasicBlock; Options = {}]’: /<>/lib/llvmopencl/Barrier.h:60:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:266:17: error: ‘const class llvm::SymbolTableList’ has no member named ‘getPrevNode’; did you mean ‘deleteNode’? return List.getPrevNode(*static_cast(this)); ~~~~~^~~~~~~~~~~ deleteNode In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::BasicBlock*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:25:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In instantiation of ‘llvm::SmallPtrSetImplBase::size_type llvm::SmallPtrSetImpl::count(PtrType) const [with PtrType = llvm::BasicBlock*; llvm::SmallPtrSetImplBase::size_type = unsigned int]’: /<>/lib/llvmopencl/Kernel.cc:85:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:381:40: error: cannot convert ‘__vector(4) int’ to ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ in return return find(Ptr) != endPtr() ? 1 : 0; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:43: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void resolveAllUses(bool ResolveUsers = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘void llvm::ValueAsMetadata::dropUsers()’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:333:69: error: no matching function for call to ‘llvm::ValueAsMetadata::resolveAllUses(bool)’ ReplaceableMetadataImpl::resolveAllUses(/* ResolveUsers */ false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:8: note: candidate: void llvm::ReplaceableMetadataImpl::resolveAllUses(__vector(4) __bool int) void resolveAllUses(bool ResolveUsers = true); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:295:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::ConstantAsMetadata; Y = llvm::ValueAsMetadata*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:347:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::ConstantAsMetadata; Y = llvm::ValueAsMetadata*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:347:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::ValueAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:381:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return MD->getMetadataID() == ConstantAsMetadataKind; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:405:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == ConstantAsMetadataKind; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::LocalAsMetadata::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:427:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == LocalAsMetadataKind; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:493:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::HasDereference::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:497:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::IsValidPointer::value’ of non-integral type [-fpermissive] static const bool value = std::is_base_of::value && ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:501:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::mdconst::detail::IsValidReference::value’ of non-integral type [-fpermissive] static const bool value = std::is_base_of::value && ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDString::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:619:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == MDStringKind; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::AAMDNodes::operator==(const llvm::AAMDNodes&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:631:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return TBAA == A.TBAA && Scope == A.Scope && NoAlias == A.NoAlias; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::AAMDNodes::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:636:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return explicit operator bool() const { return TBAA || Scope || NoAlias; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::ContextAndReplaceableUses::hasReplaceableUses() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return Ptr.is(); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::LLVMContext& llvm::ContextAndReplaceableUses::getContext() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:762:27: error: could not convert ‘((const llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::ReplaceableMetadataImpl* llvm::ContextAndReplaceableUses::getReplaceableUses() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:768:27: error: could not convert ‘((const llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::ReplaceableMetadataImpl* llvm::ContextAndReplaceableUses::getOrCreateReplaceableUses()’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:775:9: error: could not convert ‘((((llvm::ContextAndReplaceableUses*)this)->llvm::ContextAndReplaceableUses::hasReplaceableUses() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasReplaceableUses()) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isUniqued() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:907:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isUniqued() const { return Storage == Uniqued; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isDistinct() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:908:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDistinct() const { return Storage == Distinct; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘__vector(4) __bool int llvm::MDNode::isTemporary() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:909:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isTemporary() const { return Storage == Temporary; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘void llvm::MDNode::replaceAllUsesWith(llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:916:35: error: could not convert ‘((llvm::MDNode*)this)->llvm::MDNode::Context.llvm::ContextAndReplaceableUses::hasReplaceableUses()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Context.hasReplaceableUses()) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDNode::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1046:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:53:45: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:82:1: note: in expansion of macro ‘HANDLE_MDNODE_LEAF_UNIQUABLE’ HANDLE_MDNODE_LEAF_UNIQUABLE(MDTuple) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:83:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocation) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:84:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:85:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariableExpression) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:87:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(GenericDINode) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:88:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:89:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIEnumerator) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:92:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIBasicType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:93:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:94:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:95:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubroutineType) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:96:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:97:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(DICompileUnit) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:99:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubprogram) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:101:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlock) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:102:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILexicalBlockFile) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:103:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DINamespace) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:104:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIModule) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:106:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateTypeParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:107:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DITemplateValueParameter) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:109:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIGlobalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:110:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:111:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIObjCProperty) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:112:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:114:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacro) ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1049:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:68:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’ #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:47:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’ HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.def:115:1: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE’ HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIMacroFile) ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1088:68: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ StorageType Storage, bool ShouldCreate = true); ^~~~ In file included from /usr/include/c++/7/bits/char_traits.h:39:0, from /usr/include/c++/7/ios:40, from /usr/include/c++/7/ostream:38, from /usr/include/c++/7/iostream:39, from /<>/lib/llvmopencl/Kernel.cc:24: /usr/include/c++/7/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long unsigned int*; _Tp = __vector(4) int; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/7/bits/stl_algobase.h:731:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long unsigned int*; _Tp = __vector(4) int]’ /usr/include/c++/7/bits/stl_bvector.h:402:55: required from here /usr/include/c++/7/bits/stl_algobase.h:685:11: error: cannot convert ‘const __vector(4) int’ to ‘long unsigned int’ in assignment *__first = __value; ~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::cl::Option*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::cl::Option*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:197:44: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In member function ‘llvm::TempMDTuple llvm::MDTuple::cloneImpl() const’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:73: error: no matching function for call to ‘llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::SmallVector) const’ SmallVector(op_begin(), op_end())); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1119:22: note: candidate: static llvm::TempMDTuple llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::ArrayRef) static TempMDTuple getTemporary(LLVMContext &Context, ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1119:22: note: no known conversion for argument 2 from ‘llvm::SmallVector’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::get(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1100:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return getImpl(Context, MDs, Uniqued); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::getIfExists(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1104:67: error: no matching function for call to ‘llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef&, llvm::Metadata::StorageType, bool)’ return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1087:19: note: candidate: static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int) static MDTuple *getImpl(LLVMContext &Context, ArrayRef MDs, ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1087:19: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::MDTuple* llvm::MDTuple::getDistinct(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1111:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return getImpl(Context, MDs, Distinct); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static llvm::TempMDTuple llvm::MDTuple::getTemporary(llvm::LLVMContext&, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:55: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::MDTuple* llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef, llvm::Metadata::StorageType, __vector(4) __bool int)’ return TempMDTuple(getImpl(Context, MDs, Temporary)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: In static member function ‘static __vector(4) __bool int llvm::MDTuple::classof(const llvm::Metadata*)’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1128:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return MD->getMetadataID() == MDTupleKind; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:867:66: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap*)this)->llvm::DenseMap::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair::getFirst()), ((const void*)((void*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair::getFirst()), ((const void*)((void*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘const __vector(4) __bool int llvm::ilist_detail::explicitness<0>::is_explicit’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: required from ‘struct llvm::ilist_detail::compute_node_options’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1282:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:40:21: error: cannot convert ‘unsigned int’ to ‘const __vector(4) __bool int’ in initialization static const bool is_explicit = IsExplicit; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1282:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1356:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &ROS, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1358:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18:0, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h: In member function ‘__vector(4) __bool int llvm::TrackingMDRef::operator==(const llvm::TrackingMDRef&) const’: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:75:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const TrackingMDRef &X) const { return MD == X.MD; } ^~ /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h: In member function ‘__vector(4) __bool int llvm::TrackingMDRef::operator!=(const llvm::TrackingMDRef&) const’: /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:76:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator!=(const TrackingMDRef &X) const { return MD != X.MD; } ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h: In member function ‘llvm::DebugLoc::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:67:45: error: cannot convert ‘const TrackingMDNodeRef {aka const llvm::TypedTrackingMDRef}’ to ‘__vector(4) __bool int’ in return explicit operator bool() const { return Loc; } ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:783:5: required from ‘llvm::SmallDenseMap::~SmallDenseMap() [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:277:38: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair, long unsigned int> >::getFirst()), ((const void*)((void*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair, long unsigned int> >::getFirst()), ((const void*)((void*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:243:7: required from ‘class llvm::ilist_node_with_parent’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:40:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:87:31: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘IntType llvm::PointerIntPair::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >]’: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:129:12: required from ‘int llvm::PointerUnion::is() const [with T = llvm::ReplaceableMetadataImpl*; PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:59:12: error: can’t convert a value of type ‘intptr_t {aka long int}’ to vector type ‘__vector(4) __bool int’ which has different size return (IntType)Info::getInt(Value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:207:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void getAAMetadata(AAMDNodes &N, bool Merge = false) const; ^~~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’: /usr/include/c++/7/tuple:993:58: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple >::tuple(const std::tuple<_T1, _T2>&) [with _U1 = llvm::ReplaceableMetadataImpl*; _U2 = std::default_delete; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:776:79: required from here /usr/include/c++/7/tuple:479:71: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:38: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setHasNoUnsignedWrap(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:36: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setHasNoSignedWrap(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:28: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setIsExact(bool b = true); ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:59:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:59:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization /usr/include/c++/7/tuple:480:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’: /usr/include/c++/7/tuple:1011:62: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple >::tuple(std::tuple<_T1, _T2>&&) [with _U1 = llvm::ReplaceableMetadataImpl*; _U2 = std::default_delete; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:776:79: required from here /usr/include/c++/7/tuple:491:66: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:492:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::ReplaceableMetadataImpl*, std::default_delete}; unsigned int = 1; _Elements = {llvm::ReplaceableMetadataImpl*, std::default_delete}]’ not a return-statement } ^ In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘std::__uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::ReplaceableMetadataImpl*]’: /usr/include/c++/7/bits/unique_ptr.h:202:12: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Up = std::default_delete; = void; _Tp = llvm::ReplaceableMetadataImpl; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::ReplaceableMetadataImpl*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:799:29: required from here /usr/include/c++/7/bits/unique_ptr.h:140:43: error: no matching function for call to ‘std::tuple >::tuple()’ __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1203:18: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1203:18: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1193:9: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1193:9: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1183:18: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1183:18: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1173:9: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1173:9: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:60:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::User*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:60:80: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isTerminator(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:123:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= TermOpsBegin && OpCode < TermOpsEnd; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isBinaryOp(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:127:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Opcode >= BinaryOpsBegin && Opcode < BinaryOpsEnd; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isShift(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:132:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Opcode >= Shl && Opcode <= AShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isLogicalShift() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:137:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == Shl || getOpcode() == LShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isArithmeticShift() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:142:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == AShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isBitwiseLogicOp() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:147:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOpcode() == And || getOpcode() == Or || getOpcode() == Xor; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isCast(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:152:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= CastOpsBegin && OpCode < CastOpsEnd; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::isFuncletPad(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:157:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return OpCode >= FuncletPadOpsBegin && OpCode < FuncletPadOpsEnd; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::hasMetadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: error: no match for ‘operator||’ (operand types are ‘const llvm::DebugLoc’ and ‘__vector(4) __bool int’) bool hasMetadata() const { return DbgLoc || hasMetadataHashEntry(); } ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: note: candidate: operator||(bool, bool) /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:165:44: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘llvm::MDNode* llvm::Instruction::getMetadata(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:176:9: error: could not convert ‘((((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasMetadata()) return nullptr; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘llvm::MDNode* llvm::Instruction::getMetadata(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:183:9: error: could not convert ‘((((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasMetadata()) return nullptr; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::getAllMetadata(llvm::SmallVectorImpl >&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:192:20: error: could not convert ‘((const llvm::Instruction*)this)->llvm::Instruction::hasMetadata()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasMetadata()) ~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::getAllMetadataOtherThanDebugLoc(llvm::SmallVectorImpl >&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:200:37: error: could not convert ‘((const llvm::Instruction*)this)->llvm::Instruction::hasMetadataOtherThanDebugLoc()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasMetadataOtherThanDebugLoc()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1162:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1162:11: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::hasMetadataHashEntry() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:351:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromValue() & HasMetadataBit) != 0; ^ In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isFenceLike() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:432:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1152:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1152:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:440:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1140:11: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1140:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1128:2: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1128:2: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘__vector(4) __bool int llvm::Instruction::isEHPad() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:459:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:461:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1119:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) ^~~~~ /usr/include/c++/7/tuple:1119:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In static member function ‘static __vector(4) __bool int llvm::Instruction::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:510:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() >= Value::InstructionVal; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1115:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) ^~~~~ /usr/include/c++/7/tuple:1115:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 3 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1109:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1109:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 4 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1099:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:1099:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h: In member function ‘void llvm::Instruction::setHasMetadataHashEntry(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:573:50: error: no matching function for call to ‘llvm::Instruction::setValueSubclassData(__vector(4) int)’ (V ? HasMetadataBit : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:563:8: note: candidate: void llvm::Instruction::setValueSubclassData(short unsigned int) void setValueSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 4 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:563:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1089:11: note: candidate: template::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ConstructibleTuple >() && (! std::_TC::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ImplicitlyConvertibleTuple >())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1089:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 4 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1077:2: note: candidate: template::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ConstructibleTuple >() && std::_TC::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ImplicitlyConvertibleTuple >()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1077:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 4 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1066:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&) tuple(allocator_arg_t __tag, const _Alloc& __a) ^~~~~ /usr/include/c++/7/tuple:1066:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 2 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1059:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) explicit constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:243:7: required from ‘class llvm::ilist_node_with_parent’ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:52:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ /usr/include/c++/7/tuple:1059:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1049:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1049:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1040:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) explicit constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1040:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1031:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1031:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1022:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) explicit constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1022:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1013:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1013:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1004:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) explicit constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1004:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:995:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:995:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 1 argument, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:987:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_T1, _T2>&&) [with _T1 = llvm::ReplaceableMetadataImpl*; _T2 = std::default_delete] constexpr tuple(tuple&&) = default; ^~~~~ /usr/include/c++/7/tuple:987:17: note: candidate expects 1 argument, 0 provided /usr/include/c++/7/tuple:985:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_T1, _T2>&) [with _T1 = llvm::ReplaceableMetadataImpl*; _T2 = std::default_delete] constexpr tuple(const tuple&) = default; ^~~~~ /usr/include/c++/7/tuple:985:17: note: candidate expects 1 argument, 0 provided /usr/include/c++/7/tuple:982:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) explicit constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:982:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 2 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:971:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:971:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 2 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:956:28: note: candidate: template::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ConstructibleTuple >() && (! std::_TC::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ImplicitlyConvertibleTuple >())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) explicit constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:956:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 2 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:947:19: note: candidate: template::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ConstructibleTuple >() && std::_TC::value, llvm::ReplaceableMetadataImpl*, std::default_delete >::_ImplicitlyConvertibleTuple >()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:947:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:140:43: note: candidate expects 2 arguments, 0 provided __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:933:26: note: candidate: template, std::is_default_constructible<_Dp>, std::__not_, std::__is_implicitly_default_constructible<_U2> > > >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() explicit constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:933:26: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:931:42: error: no type named ‘type’ in ‘struct std::enable_if’ ::value, bool>::type = false> ^~~~~ /usr/include/c++/7/tuple:931:42: note: invalid template non-type parameter /usr/include/c++/7/tuple:919:17: note: candidate: template, std::__is_implicitly_default_constructible<_U2> >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:919:17: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:917:59: error: ‘std::enable_if::type {aka __vector(4) __bool int}’ is not a valid type for a template non-type parameter ::value, bool>::type = true> ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:857:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const llvm::MDOperand*; T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:858:5: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:993:58: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(const std::tuple<_T1, _T2>&) [with _U1 = llvm::MDTuple*; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:202:12: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Up = llvm::TempMDNodeDeleter; = void; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::unique_ptr<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:479:71: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:480:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:1011:62: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(std::tuple<_T1, _T2>&&) [with _U1 = llvm::MDTuple*; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:202:12: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Up = llvm::TempMDNodeDeleter; = void; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::unique_ptr<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:491:66: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:492:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:160:3: error: ‘iterator’ does not name a type; did you mean ‘operator+’? iterator getFirstInsertionPt(); ^~~~~~~~ operator+ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::MDTuple*&, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:965:54: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple::tuple(_U1&&, _U2&&) [with _U1 = llvm::MDTuple*&; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<((_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:144:37: required from ‘std::__uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl(std::__uniq_ptr_impl<_Tp, _Dp>::pointer, _Del&&) [with _Del = llvm::TempMDNodeDeleter; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:485:68: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:486:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_MoveConstructibleTuple() [with _UElements = {llvm::MDTuple*&, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::MDTuple*&, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’: /usr/include/c++/7/tuple:967:62: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple::tuple(_U1&&, _U2&&) [with _U1 = llvm::MDTuple*&; _U2 = llvm::TempMDNodeDeleter; typename std::enable_if<((_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type = ]’ /usr/include/c++/7/bits/unique_ptr.h:144:37: required from ‘std::__uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl(std::__uniq_ptr_impl<_Tp, _Dp>::pointer, _Del&&) [with _Del = llvm::TempMDNodeDeleter; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::MDTuple*]’ /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/tuple:491:66: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:492:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {llvm::MDTuple*&, llvm::TempMDNodeDeleter}; unsigned int = 1; _Elements = {llvm::MDTuple*, llvm::TempMDNodeDeleter}]’ not a return-statement } ^ In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘std::__uniq_ptr_impl<_Tp, _Dp>::__uniq_ptr_impl(std::__uniq_ptr_impl<_Tp, _Dp>::pointer, _Del&&) [with _Del = llvm::TempMDNodeDeleter; _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::MDTuple*]’: /usr/include/c++/7/bits/unique_ptr.h:239:74: required from ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::MDTuple; _Dp = llvm::TempMDNodeDeleter]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1121:56: required from here /usr/include/c++/7/bits/unique_ptr.h:144:37: error: no matching function for call to ‘std::tuple::tuple(llvm::MDTuple*&, llvm::TempMDNodeDeleter)’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1203:18: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1203:18: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1193:9: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1193:9: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1183:18: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1183:18: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1173:9: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1173:9: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1162:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1162:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1152:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1152:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1140:11: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1140:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1128:2: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1128:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1119:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) ^~~~~ /usr/include/c++/7/tuple:1119:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1115:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) ^~~~~ /usr/include/c++/7/tuple:1115:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 3 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1109:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1109:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 4 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1099:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:1099:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 4 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1089:11: note: candidate: template::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() && (! std::_TC::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1089:11: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 4 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:161:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator getFirstInsertionPt() const { ^~~~~~~~~~~~~~ concat_iterator In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:171:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:228:10: error: ‘iterator’ does not name a type; did you mean ‘operator+’? inline iterator begin() { return InstList.begin(); } ^~~~~~~~ operator+ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:229:10: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? inline const_iterator begin() const { return InstList.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:230:10: error: ‘iterator’ does not name a type; did you mean ‘operator+’? inline iterator end () { return InstList.end(); } ^~~~~~~~ operator+ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1077:2: note: candidate: template::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() && std::_TC::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1077:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 4 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1066:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&) tuple(allocator_arg_t __tag, const _Alloc& __a) ^~~~~ /usr/include/c++/7/tuple:1066:2: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: cannot convert ‘__p’ (type ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’) to type ‘std::allocator_arg_t’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1059:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) explicit constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1059:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1049:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1049:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1040:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) explicit constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1040:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1031:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1031:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1022:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) explicit constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1022:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘std::tuple<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1013:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1013:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘std::tuple<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1004:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) explicit constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1004:28: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘const std::tuple<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:995:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:995:19: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: mismatched types ‘const std::tuple<_T1, _T2>’ and ‘std::__uniq_ptr_impl::pointer {aka llvm::MDTuple*}’ : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:987:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_T1, _T2>&&) [with _T1 = llvm::MDTuple*; _T2 = llvm::TempMDNodeDeleter] constexpr tuple(tuple&&) = default; ^~~~~ /usr/include/c++/7/tuple:987:17: note: candidate expects 1 argument, 2 provided /usr/include/c++/7/tuple:985:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_T1, _T2>&) [with _T1 = llvm::MDTuple*; _T2 = llvm::TempMDNodeDeleter] constexpr tuple(const tuple&) = default; ^~~~~ /usr/include/c++/7/tuple:985:17: note: candidate expects 1 argument, 2 provided /usr/include/c++/7/tuple:982:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) explicit constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:982:28: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:981:16: error: could not convert template argument ‘((((((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_MoveConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyMoveConvertibleTuple() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & (true ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = false> ^~~~~ /usr/include/c++/7/tuple:981:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:971:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:971:19: note: substitution of deduced template arguments resulted in errors seen above /usr/include/c++/7/tuple:956:28: note: candidate: template::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() && (! std::_TC::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) explicit constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:956:28: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:955:16: error: could not convert template argument ‘(((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = false> ^~~~~ /usr/include/c++/7/tuple:955:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:947:19: note: candidate: template::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() && std::_TC::value, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:947:19: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:946:16: error: could not convert template argument ‘(((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((std::_TC<1, llvm::MDTuple*, llvm::TempMDNodeDeleter>::_ImplicitlyConvertibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = true> ^~~~ /usr/include/c++/7/tuple:946:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:933:26: note: candidate: template, std::is_default_constructible<_Dp>, std::__not_, std::__is_implicitly_default_constructible<_U2> > > >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() explicit constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:933:26: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 0 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:919:17: note: candidate: template, std::__is_implicitly_default_constructible<_U2> >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:919:17: note: template argument deduction/substitution failed: In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/unique_ptr.h:144:37: note: candidate expects 0 arguments, 2 provided : _M_t(__p, std::forward<_Del>(__d)) { } ^ /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘std::unique_ptr<_Tp [], _Dp>::operator __vector(4) __bool int() const [with _Tp = llvm::APFloat; _Dp = std::default_delete]’: /usr/include/c++/7/bits/unique_ptr.h:707:14: required from ‘unsigned int std::operator!=(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t) [with _Tp = llvm::APFloat []; _Dp = std::default_delete; std::nullptr_t = std::nullptr_t]’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:630:48: required from here /usr/include/c++/7/bits/unique_ptr.h:602:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return get() == pointer() ? false : true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:231:10: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? inline const_iterator end () const { return InstList.end(); } ^~~~~~~~~~~~~~ concat_iterator In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘void llvm::Optional::reset() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:116:10: required from ‘llvm::Optional::~Optional() [with T = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1133:48: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:109:9: error: could not convert ‘((llvm::Optional*)this)->llvm::Optional::hasVal’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasVal) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:111:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment hasVal = false; ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:857:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const unsigned int*; T = unsigned int; unsigned int N = 32]’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:325:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const unsigned int*; T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:858:5: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const unsigned int*; T = unsigned int; unsigned int N = 32]’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:325:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append In file included from /usr/include/c++/7/map:60:0, from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/stl_tree.h: In instantiation of ‘unsigned int std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::empty() const [with _Key = std::__cxx11::basic_string; _Val = std::pair, std::__cxx11::basic_string >; _KeyOfValue = std::_Select1st, std::__cxx11::basic_string > >; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’: /usr/include/c++/7/bits/stl_map.h:458:27: required from ‘unsigned int std::map<_Key, _Tp, _Compare, _Alloc>::empty() const [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = std::less >; _Alloc = std::allocator, std::__cxx11::basic_string > >]’ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:579:68: required from here /usr/include/c++/7/bits/stl_tree.h:993:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_impl._M_node_count == 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap*)this)->llvm::DenseMap::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const void*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const void*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = const void*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = const void*; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:53:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = unsigned char; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::PointerAlignElem; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = unsigned char; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:204:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:205:21: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = llvm::PointerAlignElem; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:206:19: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:233:10: error: ‘reverse_iterator’ does not name a type; did you mean ‘use_iterator’? inline reverse_iterator rbegin() { return InstList.rbegin(); } ^~~~~~~~~~~~~~~~ use_iterator In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:33:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:82:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (endian != native && sys::IsBigEndianHost != (endian == big)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasOperandBundles() const { return getNumOperandBundles() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = int; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2235:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasOperandBundles() const { return getNumOperandBundles() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:44:0, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In instantiation of ‘void llvm::PredIterator::advancePastNonTerminators() [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:57:30: required from ‘llvm::PredIterator::PredIterator(Ptr*) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:99:74: required from here /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:47:24: error: could not convert ‘(((((((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::atEnd() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::isa(((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::operator*()) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ while (!It.atEnd() && !isa(*It)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In instantiation of ‘void llvm::PredIterator::advancePastNonTerminators() [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:57:30: required from ‘llvm::PredIterator::PredIterator(Ptr*) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:101:32: required from here /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:47:24: error: could not convert ‘(((((((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::atEnd() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::isa(((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::operator*()) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’: /usr/include/c++/7/tuple:993:58: required by substitution of ‘template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(const std::tuple<_T1, _T2>&) [with _U1 = int; _U2 = int; typename std::enable_if<(_ConstructibleTuple<_U1, _U2>() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:580:18: required from ‘llvm::detail::concat_range llvm::concat(RangeTs&& ...) [with ValueT = llvm::GlobalObject; RangeTs = {int, int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/tuple:479:71: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:480:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyConvertibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’ not a return-statement } ^ /usr/include/c++/7/tuple: In instantiation of ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’: /usr/include/c++/7/tuple:1011:62: required by substitution of ‘template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple::tuple(std::tuple<_T1, _T2>&&) [with _U1 = int; _U2 = int; typename std::enable_if<(_MoveConstructibleTuple<_U1, _U2>() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type = ]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:580:18: required from ‘llvm::detail::concat_range llvm::concat(RangeTs&& ...) [with ValueT = llvm::GlobalObject; RangeTs = {int, int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/tuple:491:66: error: cannot convert ‘const bool’ to ‘__vector(4) __bool int’ in return return __and_...>::value; ^~~~~ /usr/include/c++/7/tuple:492:5: error: body of constexpr function ‘static constexpr __vector(4) __bool int std::_TC<, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {int, int}; unsigned int = 1; _Elements = {int, int}]’ not a return-statement } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘llvm::detail::concat_range::concat_range(RangeTs&& ...) [with ValueT = const llvm::GlobalObject; RangeTs = {int, int}]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:580:18: required from ‘llvm::detail::concat_range llvm::concat(RangeTs&& ...) [with ValueT = const llvm::GlobalObject; RangeTs = {int, int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: error: no matching function for call to ‘std::tuple::tuple(int, int)’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1203:18: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1203:18: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1193:9: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::pair<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1193:9: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1183:18: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1183:18: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1173:9: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::pair<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1173:9: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1162:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1162:11: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1152:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_U1, _U2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1152:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1140:11: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1140:11: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1128:2: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_U1, _U2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1128:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1119:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, std::tuple<_T1, _T2>&&) tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) ^~~~~ /usr/include/c++/7/tuple:1119:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1115:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const std::tuple<_T1, _T2>&) tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) ^~~~~ /usr/include/c++/7/tuple:1115:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 3 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1109:11: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1109:11: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 4 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1099:2: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, _U1&&, _U2&&) tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:1099:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 4 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1089:11: note: candidate: template::value, int, int>::_ConstructibleTuple() && (! std::_TC::value, int, int>::_ImplicitlyConvertibleTuple())), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) explicit tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1089:11: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 4 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1077:2: note: candidate: template::value, int, int>::_ConstructibleTuple() && std::_TC::value, int, int>::_ImplicitlyConvertibleTuple()), __vector(4) __bool int>::type > std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&, const _T1&, const _T2&) tuple(allocator_arg_t __tag, const _Alloc& __a, ^~~~~ /usr/include/c++/7/tuple:1077:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 4 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1066:2: note: candidate: template std::tuple<_T1, _T2>::tuple(std::allocator_arg_t, const _Alloc&) tuple(allocator_arg_t __tag, const _Alloc& __a) ^~~~~ /usr/include/c++/7/tuple:1066:2: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: cannot convert ‘std::forward((* & Ranges#0))’ (type ‘int’) to type ‘std::allocator_arg_t’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1059:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) explicit constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1059:28: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1049:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::pair<_U1, _U2>&&) constexpr tuple(pair<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1049:19: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘std::pair<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1040:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) explicit constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1040:28: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1031:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::pair<_U1, _U2>&) constexpr tuple(const pair<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1031:19: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘const std::pair<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1022:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) explicit constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1022:28: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘std::tuple<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1013:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_U1, _U2>&&) constexpr tuple(tuple<_U1, _U2>&& __in) ^~~~~ /usr/include/c++/7/tuple:1013:19: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘std::tuple<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:1004:28: note: candidate: template() && (! _ImplicitlyConvertibleTuple<_U1, _U2>())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) explicit constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:1004:28: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘const std::tuple<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:995:19: note: candidate: template() && _ImplicitlyConvertibleTuple<_U1, _U2>()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_U1, _U2>&) constexpr tuple(const tuple<_U1, _U2>& __in) ^~~~~ /usr/include/c++/7/tuple:995:19: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: mismatched types ‘const std::tuple<_T1, _T2>’ and ‘int’ : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:987:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(std::tuple<_T1, _T2>&&) [with _T1 = int; _T2 = int] constexpr tuple(tuple&&) = default; ^~~~~ /usr/include/c++/7/tuple:987:17: note: candidate expects 1 argument, 2 provided /usr/include/c++/7/tuple:985:17: note: candidate: constexpr std::tuple<_T1, _T2>::tuple(const std::tuple<_T1, _T2>&) [with _T1 = int; _T2 = int] constexpr tuple(const tuple&) = default; ^~~~~ /usr/include/c++/7/tuple:985:17: note: candidate expects 1 argument, 2 provided /usr/include/c++/7/tuple:982:28: note: candidate: template() && (! _ImplicitlyMoveConvertibleTuple<_U1, _U2>())) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) explicit constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:982:28: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:981:16: error: could not convert template argument ‘((((((std::_TC<1, int, int>::_MoveConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((std::_TC<1, int, int>::_ImplicitlyMoveConvertibleTuple() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & (true ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = false> ^~~~~ /usr/include/c++/7/tuple:981:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:971:19: note: candidate: template() && _ImplicitlyMoveConvertibleTuple<_U1, _U2>()) && (! std::is_same::type, std::allocator_arg_t>::value)), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) constexpr tuple(_U1&& __a1, _U2&& __a2) ^~~~~ /usr/include/c++/7/tuple:971:19: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:970:16: error: could not convert template argument ‘((((((std::_TC<1, int, int>::_MoveConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((std::_TC<1, int, int>::_ImplicitlyMoveConvertibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & (true ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = true> ^~~~ /usr/include/c++/7/tuple:970:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:956:28: note: candidate: template::value, int, int>::_ConstructibleTuple() && (! std::_TC::value, int, int>::_ImplicitlyConvertibleTuple())), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) explicit constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:956:28: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:955:16: error: could not convert template argument ‘(((std::_TC<1, int, int>::_ConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((std::_TC<1, int, int>::_ImplicitlyConvertibleTuple() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = false> ^~~~~ /usr/include/c++/7/tuple:955:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:947:19: note: candidate: template::value, int, int>::_ConstructibleTuple() && std::_TC::value, int, int>::_ImplicitlyConvertibleTuple()), __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple(const _T1&, const _T2&) constexpr tuple(const _T1& __a1, const _T2& __a2) ^~~~~ /usr/include/c++/7/tuple:947:19: note: template argument deduction/substitution failed: /usr/include/c++/7/tuple:946:16: error: could not convert template argument ‘(((std::_TC<1, int, int>::_ConstructibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((std::_TC<1, int, int>::_ImplicitlyConvertibleTuple() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ bool>::type = true> ^~~~ /usr/include/c++/7/tuple:946:16: note: invalid template non-type parameter /usr/include/c++/7/tuple:933:26: note: candidate: template, std::is_default_constructible<_Dp>, std::__not_, std::__is_implicitly_default_constructible<_U2> > > >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() explicit constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:933:26: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 0 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/include/c++/7/functional:54:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/tuple:919:17: note: candidate: template, std::__is_implicitly_default_constructible<_U2> >::value, __vector(4) __bool int>::type > constexpr std::tuple<_T1, _T2>::tuple() constexpr tuple() ^~~~~ /usr/include/c++/7/tuple:919:17: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:569:48: note: candidate expects 0 arguments, 2 provided : Ranges(std::forward(Ranges)...) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = char; unsigned int N = 0]’ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:538:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘ValueT llvm::DenseMapBase::lookup(const KeyT&) const [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:575:69: required from ‘LoopT* llvm::LoopInfoBase::getLoopFor(const BlockT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:706:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:164:24: error: could not convert ‘((const llvm::DenseMapBase, llvm::detail::DenseMapPair >, const llvm::BasicBlock*, llvm::Loop*, llvm::DenseMapInfo, llvm::detail::DenseMapPair >*)this)->llvm::DenseMapBase, llvm::detail::DenseMapPair >, const llvm::BasicBlock*, llvm::Loop*, llvm::DenseMapInfo, llvm::detail::DenseMapPair >::LookupBucketFor((* & Val), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Val, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In instantiation of ‘unsigned int llvm::Value::use_iterator_impl::operator==(const llvm::Value::use_iterator_impl&) const [with UseT = llvm::Use]’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:131:75: required from ‘unsigned int llvm::Value::use_iterator_impl::operator!=(const llvm::Value::use_iterator_impl&) const [with UseT = llvm::Use]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:751:32: required from here /usr/lib/llvm-4.0/include/llvm/IR/Value.h:130:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const use_iterator_impl &x) const { return U == x.U; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:551:5: required from ‘void llvm::LoopInfoBase::releaseMemory() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:849:52: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:234:10: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘const_use_iterator’? inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } ^~~~~~~~~~~~~~~~~~~~~~ const_use_iterator In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In instantiation of ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: error: no matching function for call to ‘get_hashable_data(const unsigned int&)’ buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg)); ~~~~~~~~~~~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: note: candidate: template typename std::enable_if::value, T>::type llvm::hashing::detail::get_hashable_data(const T&) get_hashable_data(const T &value) { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In substitution of ‘template typename std::enable_if::value, T>::type llvm::hashing::detail::get_hashable_data(const T&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: required from ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: error: ‘value’ is not a member of ‘llvm::hashing::detail::is_hashable_data’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In instantiation of ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:374:1: note: candidate: template typename std::enable_if<(! llvm::hashing::detail::is_hashable_data::value), long unsigned int>::type llvm::hashing::detail::get_hashable_data(const T&) get_hashable_data(const T &value) { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:374:1: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In substitution of ‘template typename std::enable_if<(! llvm::hashing::detail::is_hashable_data::value), long unsigned int>::type llvm::hashing::detail::get_hashable_data(const T&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: required from ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:373:25: error: ‘value’ is not a member of ‘llvm::hashing::detail::is_hashable_data’ typename std::enable_if::value, size_t>::type ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap::InfoRec, llvm::DenseMapInfo, llvm::detail::DenseMapPair::InfoRec> >; KeyT = llvm::BasicBlock*; ValueT = llvm::DominatorTreeBase::InfoRec; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair::InfoRec>]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = llvm::DominatorTreeBase::InfoRec; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair::InfoRec>]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::InfoRec>::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::InfoRec>::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:34: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:265:11: error: ‘class llvm::DominatorTreeBase’ has no member named ‘Roots’ this->Roots.clear(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:268:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment DFSInfoValid = false; ~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::find(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:330:29: required from ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’ /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:324:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, bool)’ return const_iterator(TheTable+Bucket, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘unsigned int llvm::StringMapConstIterator::operator!=(const llvm::StringMapConstIterator&) const [with ValueTy = llvm::Value*]’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:331:12: required from ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’ /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:473:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr != RHS.Ptr; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::BasicBlock*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::BasicBlock*; unsigned int N = 4]’ /<>/lib/llvmopencl/Kernel.cc:65:32: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:235:10: error: ‘reverse_iterator’ does not name a type; did you mean ‘use_iterator’? inline reverse_iterator rend () { return InstList.rend(); } ^~~~~~~~~~~~~~~~ use_iterator /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:427:10: required from ‘void llvm::SmallVectorImpl::assign(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:868:5: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = void]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = const void]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::detail::DenseMapPair >*)this)->llvm::DenseMap, llvm::detail::DenseMapPair >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = const llvm::BasicBlock*; DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:164:24: required from ‘ValueT llvm::DenseMapBase::lookup(const KeyT&) const [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:575:69: required from ‘LoopT* llvm::LoopInfoBase::getLoopFor(const BlockT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:706:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:518:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:536:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:545:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:550:67: error: could not convert ‘(((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)ThisBucket->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)TombstoneKey)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((FoundTombstone == 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !FoundTombstone) ~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:236:10: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘const_use_iterator’? inline const_reverse_iterator rend () const { return InstList.rend(); } ^~~~~~~~~~~~~~~~~~~~~~ const_use_iterator /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:15: error: expected ‘;’ at end of member declaration BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:40: error: expected ‘)’ before ‘I’ BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:304:3: error: ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock(llvm::Instruction*, const llvm::Twine&)’ conflicts with a previous declaration } ^ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:301:31: note: previous declaration ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock’ BasicBlock *splitBasicBlock(iterator I, const Twine &BBName = ""); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:281:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void removePredecessor(BasicBlock *Pred, bool DontDeleteUselessPHIs = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘const llvm::Instruction& llvm::BasicBlock::front() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:240:66: error: ‘const InstListType {aka const class llvm::SymbolTableList}’ has no member named ‘front’ inline const Instruction &front() const { return InstList.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::Instruction& llvm::BasicBlock::front()’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:241:66: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘front’ inline Instruction &front() { return InstList.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘const llvm::Instruction& llvm::BasicBlock::back() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:242:66: error: ‘const InstListType {aka const class llvm::SymbolTableList}’ has no member named ‘back’ inline const Instruction &back() const { return InstList.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::Instruction& llvm::BasicBlock::back()’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:243:66: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘back’ inline Instruction &back() { return InstList.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In static member function ‘static __vector(4) __bool int llvm::BasicBlock::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:262:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::BasicBlockVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘llvm::BasicBlock* llvm::BasicBlock::splitBasicBlock(llvm::Instruction*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:303:31: error: ‘class llvm::Instruction’ has no member named ‘getIterator’; did you mean ‘op_iterator’? return splitBasicBlock(I->getIterator(), BBName); ^~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h: In member function ‘__vector(4) __bool int llvm::BasicBlock::hasAddressTaken() const’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:308:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasAddressTaken() const { return getSubclassDataFromValue() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const llvm::cl::OptionEnumValue*; T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:415:11: required from ‘void llvm::SmallVectorImpl::append(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:428:11: required from ‘void llvm::SmallVectorImpl::assign(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:868:5: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append [ 9%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o In file included from /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:240:57: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ APInt(unsigned numBits, uint64_t val, bool isSigned = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1411:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool formatAsCLiteral = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isSingleWord() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:107:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::clearUnusedBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:151:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘uint64_t llvm::APInt::getWord(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:161:27: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In constructor ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:243:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In copy constructor ‘llvm::APInt::APInt(const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:284:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In destructor ‘llvm::APInt::~APInt()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:297:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::needsCleanup()’ from ‘__vector(4) __bool int’ to ‘bool’ if (needsCleanup()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isAllOnesValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:343:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:344:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == ~integerPart(0) >> (APINT_BITS_PER_WORD - BitWidth); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:345:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return countPopulationSlowCase() == BitWidth; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isIntN(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:379:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() <= N; ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isSignedIntN(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:385:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getMinSignedBits() <= N; ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::isPowerOf2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:392:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:394:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return countPopulationSlowCase() == 1; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getMinValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:438:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ static APInt getMinValue(unsigned numBits) { return APInt(numBits, 0); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getSignedMinValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:442:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt API(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getAllOnesValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:459:43: error: invalid conversion from ‘long unsigned int’ to ‘const char*’ [-fpermissive] return APInt(numBits, UINT64_MAX, true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:82:18: note: initializing argument 1 of ‘llvm::StringRef::StringRef(const char*)’ /*implicit*/ StringRef(const char *Str) ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getNullValue(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:465:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ static APInt getNullValue(unsigned numBits) { return APInt(numBits, 0); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getOneBitSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:485:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt Res(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getHighBitsSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:522:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:526:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, ~0ULL << shiftAmt); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::getLowBitsSet(unsigned int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:540:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, 0); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:542:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, UINT64_MAX); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:545:76: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(numBits, UINT64_MAX >> (APINT_BITS_PER_WORD - loBitsSet)); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘const uint64_t* llvm::APInt::getRawData() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:579:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o -c /<>/lib/CL/clCreateProgramWithSource.c /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator!() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:633:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:634:15: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !VAL; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:638:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:639:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator=(const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:651:24: error: could not convert ‘(((((llvm::APInt*)this)->llvm::APInt::isSingleWord() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & (((& RHS)->llvm::APInt::isSingleWord() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (isSingleWord() && RHS.isSingleWord()) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator=(llvm::APInt&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:662:9: error: could not convert ‘((((llvm::APInt*)this)->llvm::APInt::isSingleWord() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isSingleWord()) { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt& llvm::APInt::operator|=(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:715:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator&(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:776:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:777:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(getBitWidth(), VAL & RHS.VAL); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator|(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:789:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:790:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(getBitWidth(), VAL | RHS.VAL); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::operator^(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:809:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:810:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, VAL ^ RHS.VAL); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:33:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = short unsigned int; llvm::support::endianness E = (llvm::support::endianness)1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:308:27: required from ‘uint16_t llvm::support::endian::read16(const void*) [with llvm::support::endianness E = (llvm::support::endianness)1; uint16_t = short unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:317:66: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (endian != native && sys::IsBigEndianHost != (endian == big)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::shl(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:852:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:854:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, 0); // avoid undefined shift results ^ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = unsigned int; llvm::support::endianness E = (llvm::support::endianness)1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:311:27: required from ‘uint32_t llvm::support::endian::read32(const void*) [with llvm::support::endianness E = (llvm::support::endianness)1; uint32_t = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:318:66: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:855:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(BitWidth, VAL << shiftAmt); ^ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = short unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:308:27: required from ‘uint16_t llvm::support::endian::read16(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint16_t = short unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:320:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator[](unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:946:29: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) != ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator==(const llvm::APInt&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:960:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:961:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == RHS.VAL; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::operator==(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:972:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:311:27: required from ‘uint32_t llvm::support::endian::read32(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint32_t = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:321:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:973:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return VAL == Val; ^~~ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = long unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:314:27: required from ‘uint64_t llvm::support::endian::read64(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint64_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:322:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::ult(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1024:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() > 64 ? false : getZExtValue() < RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::slt(int64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1042:36: error: operands to ?: have different types ‘__vector(4) __bool int’ and ‘bool’ return getMinSignedBits() > 64 ? isNegative() : getSExtValue() < RHS; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1586:47: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:46: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1574:5: error: could not convert ‘((((llvm::CallInst*)((llvm::OperandBundleUser*)this))->llvm::CallInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::ugt(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1092:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getActiveBits() > 64 ? true : getZExtValue() > RHS; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘__vector(4) __bool int llvm::APInt::sgt(int64_t) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1110:36: error: operands to ?: have different types ‘__vector(4) int’ and ‘bool’ return getMinSignedBits() > 64 ? !isNegative() : getSExtValue() > RHS; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1604:45: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:68: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1592:5: error: could not convert ‘((((llvm::CallInst*)((llvm::OperandBundleUser*)this))->llvm::CallInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::setAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1204:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::clearAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1222:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1586:47: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:46: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1574:5: error: could not convert ‘((((llvm::InvokeInst*)((llvm::OperandBundleUser*)this))->llvm::InvokeInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::flipAllBits()’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1235:21: error: could not convert ‘((llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1604:45: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:68: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1592:5: error: could not convert ‘((((llvm::InvokeInst*)((llvm::OperandBundleUser*)this))->llvm::InvokeInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::getMinSignedBits() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1299:19: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isNegative()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isNegative()) ~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘uint64_t llvm::APInt::getZExtValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1310:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘int64_t llvm::APInt::getSExtValue() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1322:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countLeadingZeros() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1344:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) { ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::getNumSignBits() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1364:66: error: cannot convert ‘__vector(4) unsigned int’ to ‘unsigned int’ in return return isNegative() ? countLeadingOnes() : countLeadingZeros(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countTrailingOnes() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1386:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::countPopulation() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1398:21: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isSingleWord()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSingleWord()) ~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::toStringUnsigned(llvm::SmallVectorImpl&, unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1416:38: error: no matching function for call to ‘llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int&, bool, bool) const’ toString(Str, Radix, false, false); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: candidate: void llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int, __vector(4) __bool int, __vector(4) __bool int) const void toString(SmallVectorImpl &Str, unsigned Radix, bool Signed, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate: std::__cxx11::string llvm::APInt::toString(unsigned int, __vector(4) __bool int) const std::string toString(unsigned Radix, bool Signed) const; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate expects 2 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘void llvm::APInt::toStringSigned(llvm::SmallVectorImpl&, unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1422:37: error: no matching function for call to ‘llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int&, bool, bool) const’ toString(Str, Radix, true, false); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: candidate: void llvm::APInt::toString(llvm::SmallVectorImpl&, unsigned int, __vector(4) __bool int, __vector(4) __bool int) const void toString(SmallVectorImpl &Str, unsigned Radix, bool Signed, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1410:8: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate: std::__cxx11::string llvm::APInt::toString(unsigned int, __vector(4) __bool int) const std::string toString(unsigned Radix, bool Signed) const; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1430:15: note: candidate expects 2 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::roundToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:60: error: no matching function for call to ‘llvm::APInt::roundToDouble(bool) const’ double roundToDouble() const { return roundToDouble(false); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: candidate: double llvm::APInt::roundToDouble(__vector(4) __bool int) const double roundToDouble(bool isSigned) const; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate: double llvm::APInt::roundToDouble() const double roundToDouble() const { return roundToDouble(false); } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate expects 0 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::signedRoundToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1446:65: error: no matching function for call to ‘llvm::APInt::roundToDouble(bool) const’ double signedRoundToDouble() const { return roundToDouble(true); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: candidate: double llvm::APInt::roundToDouble(__vector(4) __bool int) const double roundToDouble(bool isSigned) const; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1440:10: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate: double llvm::APInt::roundToDouble() const double roundToDouble() const { return roundToDouble(false); } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1443:10: note: candidate expects 0 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘double llvm::APInt::bitsToDouble() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1458:27: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ T.I = (isSingleWord() ? VAL : pVal[0]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘float llvm::APInt::bitsToFloat() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1472:36: error: inferred scalar type ‘const uint64_t {aka const long unsigned int}’ is not an integer or floating point type of the same size as ‘__bool int’ T.I = unsigned((isSingleWord() ? VAL : pVal[0])); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::doubleToBits(double)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1486:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(sizeof T * CHAR_BIT, T.I); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In static member function ‘static llvm::APInt llvm::APInt::floatToBits(float)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1499:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return APInt(sizeof T * CHAR_BIT, T.I); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1533:9: error: could not convert ‘((((const llvm::APInt*)this)->llvm::APInt::getBoolValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!getBoolValue()) ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1542:41: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size return lg + unsigned((*this)[lg - 1]); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘int32_t llvm::APInt::exactLogBase2() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1548:9: error: could not convert ‘((((const llvm::APInt*)this)->llvm::APInt::isPowerOf2() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isPowerOf2()) ^~~~~~~~~~~~~ In file included from /usr/include/c++/7/algorithm:62:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:20, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/include/c++/7/bits/stl_algo.h: In instantiation of ‘_InputIterator std::__find_if(_InputIterator, _InputIterator, _Predicate, std::input_iterator_tag) [with _InputIterator = llvm::SmallPtrSetIterator; _Predicate = __gnu_cxx::__ops::_Iter_pred >]’: /usr/include/c++/7/bits/stl_algo.h:161:23: required from ‘_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = llvm::SmallPtrSetIterator; _Predicate = __gnu_cxx::__ops::_Iter_pred >]’ /usr/include/c++/7/bits/stl_algo.h:3932:28: required from ‘_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/include/c++/7/bits/stl_algo.h:526:47: required from ‘unsigned int std::none_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/include/c++/7/bits/stl_algo.h:544:27: required from ‘unsigned int std::any_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:744:21: required from ‘unsigned int llvm::any_of(R&&, UnaryPredicate) [with R = const llvm::SmallPtrSet&; UnaryPredicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:295:6: required from here /usr/include/c++/7/bits/stl_algo.h:104:32: error: could not convert ‘(((__first.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__last.llvm::SmallPtrSetIterator::) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((! __pred.__gnu_cxx::__ops::_Iter_pred >::operator() >(__first)) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ while (__first != __last && !__pred(__first)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In member function ‘llvm::APInt llvm::APInt::abs() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1560:19: error: could not convert ‘((const llvm::APInt*)this)->llvm::APInt::isNegative()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isNegative()) ~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1727:19: error: no matching function for call to ‘llvm::APInt::print(llvm::raw_ostream&, bool) const’ I.print(OS, true); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1406:8: note: candidate: void llvm::APInt::print(llvm::raw_ostream&, __vector(4) __bool int) const void print(raw_ostream &OS, bool isSigned) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1406:8: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >*)this)->llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::detail::DenseMapPair >*)this)->llvm::DenseMap, llvm::detail::DenseMapPair >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::smin(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1784:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.slt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::smax(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1789:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.sgt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::umin(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1794:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.ult(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘const llvm::APInt& llvm::APIntOps::umax(const llvm::APInt&, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1799:19: error: inferred scalar type ‘const llvm::APInt’ is not an integer or floating point type of the same size as ‘__bool int’ return A.ugt(B) ? A : B; ~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h: In function ‘__vector(4) __bool int llvm::APIntOps::isShiftedMask(unsigned int, const llvm::APInt&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APInt.h:1827:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ return isMask(numBits, (APIVal - APInt(numBits, 1)) | APIVal); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:467:31: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeLargest(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:468:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeSmallest(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:469:28: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeNaN(bool SNaN = false, bool Neg = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:469:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeNaN(bool SNaN = false, bool Neg = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:471:27: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeInf(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:472:28: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeZero(bool Neg = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:479:47: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void makeSmallestNormalized(bool Negative = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::needsCleanup() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:231:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool needsCleanup() const { return partCount() > 1; } ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNegative() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:352:36: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isNegative() const { return sign; } ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:367:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isZero() const { return category == fcZero; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isInfinity() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:374:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isInfinity() const { return category == fcInfinity; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNaN() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:377:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNaN() const { return category == fcNaN; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::detail::IEEEFloat::isNonZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:389:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNonZero() const { return category != fcZero; } ^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/Kernel.cc:31: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘unsigned int llvm::cl::OptionValueCopy::compare(const llvm::cl::GenericOptionValue&) const [with DataType = std::__cxx11::basic_string]’: /<>/lib/llvmopencl/Kernel.cc:313:1: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:507:5: error: could not convert ‘(((& VC)->llvm::cl::OptionValueCopy >::hasValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!VC.hasValue()) ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:508:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘unsigned int llvm::cl::OptionValueCopy::compare(const llvm::cl::GenericOptionValue&) const [with DataType = llvm::cl::boolOrDefault]’: /<>/lib/llvmopencl/Kernel.cc:313:1: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:507:5: error: could not convert ‘(((& VC)->llvm::cl::OptionValueCopy::hasValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!VC.hasValue()) ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:508:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:841:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getZero(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:850:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getInf(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:861:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:872:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getQNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:880:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getSNaN(const fltSemantics &Sem, bool Negative = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:890:70: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getLargest(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:900:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getSmallest(const fltSemantics &Sem, bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:911:56: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Negative = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:921:67: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In destructor ‘llvm::APFloat::Storage::~Storage()’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:684:32: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:688:36: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In copy constructor ‘llvm::APFloat::Storage::Storage(const llvm::APFloat::Storage&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:696:32: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:700:36: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In constructor ‘llvm::APFloat::Storage::Storage(llvm::APFloat::Storage&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:708:32: error: could not convert ‘llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:712:36: error: could not convert ‘llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::Storage& llvm::APFloat::Storage::operator=(const llvm::APFloat::Storage&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:720:45: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:723:56: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ } else if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::Storage& llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:734:45: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:737:56: error: could not convert ‘(((llvm::APFloat::usesLayout((*((llvm::APFloat::Storage*)this)->llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((llvm::APFloat::usesLayout((* RHS.llvm::APFloat::Storage::semantics)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ } else if (usesLayout(*semantics) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ usesLayout(*RHS.semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloat::IEEEFloat& llvm::APFloat::getIEEE()’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:758:30: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:760:34: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘const IEEEFloat& llvm::APFloat::getIEEE() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:766:30: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)((const llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:768:34: error: could not convert ‘llvm::APFloat::usesLayout((*(const llvm::fltSemantics*)((const llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘void llvm::APFloat::makeInf(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:776:30: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:778:34: error: could not convert ‘llvm::APFloat::usesLayout((*((llvm::APFloat*)this)->llvm::APFloat::U.llvm::APFloat::Storage::semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(*U.semantics)) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::cmpResult llvm::APFloat::compareAbsoluteValue(const llvm::APFloat&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:808:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:810:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::needsCleanup() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:831:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:833:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((const llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getNaN(const llvm::fltSemantics&, __vector(4) __bool int, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:864:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::APInt::APInt(unsigned int, uint64_t, __vector(4) __bool int)’ APInt fill(64, type); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getQNaN(const llvm::fltSemantics&, __vector(4) __bool int, const llvm::APInt*)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:875:41: error: no matching function for call to ‘llvm::APFloat::makeNaN(bool, __vector(4) __bool int&, const llvm::APInt*&)’ Val.makeNaN(false, Negative, payload); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: candidate: void llvm::APFloat::makeNaN(__vector(4) __bool int, __vector(4) __bool int, const llvm::APInt*) void makeNaN(bool SNaN, bool Neg, const APInt *fill) { ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In static member function ‘static llvm::APFloat llvm::APFloat::getSNaN(const llvm::fltSemantics&, __vector(4) __bool int, const llvm::APInt*)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:883:40: error: no matching function for call to ‘llvm::APFloat::makeNaN(bool, __vector(4) __bool int&, const llvm::APInt*&)’ Val.makeNaN(true, Negative, payload); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: candidate: void llvm::APFloat::makeNaN(__vector(4) __bool int, __vector(4) __bool int, const llvm::APInt*) void makeNaN(bool SNaN, bool Neg, const APInt *fill) { ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:783:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::opStatus llvm::APFloat::add(const llvm::APFloat&, llvm::APFloatBase::roundingMode)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:926:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:928:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘llvm::APFloatBase::opStatus llvm::APFloat::subtract(const llvm::APFloat&, llvm::APFloatBase::roundingMode)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:933:30: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:935:34: error: could not convert ‘llvm::APFloat::usesLayout((* &((llvm::APFloat*)this)->llvm::APFloat::getSemantics()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(getSemantics())) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isZero() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1031:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isZero() const { return getCategory() == fcZero; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isInfinity() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1032:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isInfinity() const { return getCategory() == fcInfinity; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In member function ‘__vector(4) __bool int llvm::APFloat::isNaN() const’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1033:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isNaN() const { return getCategory() == fcNaN; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In function ‘llvm::APFloat llvm::minnum(const llvm::APFloat&, const llvm::APFloat&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1108:14: error: could not convert ‘(& A)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (A.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1110:14: error: could not convert ‘(& B)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (B.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In function ‘llvm::APFloat llvm::maxnum(const llvm::APFloat&, const llvm::APFloat&)’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1119:14: error: could not convert ‘(& A)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (A.isNaN()) ~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:1121:14: error: could not convert ‘(& B)->llvm::APFloat::isNaN()’ from ‘__vector(4) __bool int’ to ‘bool’ if (B.isNaN()) ~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:23:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Type.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:123:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &O, bool IsForDebug = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:124:31: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool NoDetails = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In static member function ‘static __vector(4) __bool int llvm::Type::isSequentialType(llvm::Type::TypeID)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:113:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return TyID == ArrayTyID || TyID == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isVoidTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:139:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVoidTy() const { return getTypeID() == VoidTyID; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isHalfTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:142:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isHalfTy() const { return getTypeID() == HalfTyID; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFloatTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:145:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFloatTy() const { return getTypeID() == FloatTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isDoubleTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:148:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDoubleTy() const { return getTypeID() == DoubleTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isX86_FP80Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:151:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isX86_FP80Ty() const { return getTypeID() == X86_FP80TyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFP128Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:154:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFP128Ty() const { return getTypeID() == FP128TyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isPPC_FP128Ty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:157:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFloatingPointTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:164:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getTypeID() == PPC_FP128TyID; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isX86_MMXTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:180:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isX86_MMXTy() const { return getTypeID() == X86_MMXTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isLabelTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:186:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isLabelTy() const { return getTypeID() == LabelTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isMetadataTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:189:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isMetadataTy() const { return getTypeID() == MetadataTyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isTokenTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:192:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isTokenTy() const { return getTypeID() == TokenTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isIntegerTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:195:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isIntegerTy() const { return getTypeID() == IntegerTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFunctionTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:204:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isFunctionTy() const { return getTypeID() == FunctionTyID; } ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isStructTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:207:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isStructTy() const { return getTypeID() == StructTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isArrayTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:210:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isArrayTy() const { return getTypeID() == ArrayTyID; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isPointerTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:213:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPointerTy() const { return getTypeID() == PointerTyID; } ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isVectorTy() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:219:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVectorTy() const { return getTypeID() == VectorTyID; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isFirstClassType() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:234:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTypeID() != FunctionTyID && getTypeID() != VoidTyID; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isAggregateType() const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:248:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTypeID() == StructTyID || getTypeID() == ArrayTyID; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In member function ‘__vector(4) __bool int llvm::Type::isSized(llvm::SmallPtrSetImpl*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:257:36: error: could not convert ‘((((((((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 11) ? (__vector(4) int){-1, -1, -1, -1} : ((((const llvm::Type*)this)->llvm::Type::isFloatingPointTy() != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | ((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 15) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) | ((((int)((const llvm::Type*)this)->llvm::Type::getTypeID()) == 9) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (getTypeID() == IntegerTyID || isFloatingPointTy() || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getTypeID() == PointerTyID || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ getTypeID() == X86_MMXTyID) ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:259:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:264:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::Type&)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:427:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Type::print(llvm::raw_ostream&, __vector(4) __bool int, __vector(4) __bool int) const’ T.print(OS); ^ /usr/lib/llvm-4.0/include/llvm/IR/Type.h:427:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Type::print(llvm::raw_ostream&, __vector(4) __bool int, __vector(4) __bool int) const’ /usr/lib/llvm-4.0/include/llvm/IR/Type.h: In static member function ‘static __vector(4) __bool int llvm::isa_impl::doit(const llvm::Type&)’: /usr/lib/llvm-4.0/include/llvm/IR/Type.h:434:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ty.getTypeID() == Type::PointerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::IntegerType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:92:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == IntegerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::IntegerType; Y = const llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:97:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::IntegerType; Y = const llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:97:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::FunctionType::isVarArg() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:122:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isVarArg() const { return getSubclassData()!=0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::FunctionType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:141:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == FunctionTyID; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::CompositeType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:175:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:226:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:229:61: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ StringRef Name, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:235:42: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:238:64: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static StructType *get(LLVMContext &Context, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:271:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void setBody(ArrayRef Elements, bool isPacked = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isPacked() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:245:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPacked() const { return (getSubclassData() & SCDB_Packed) != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isLiteral() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:249:75: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isLiteral() const { return (getSubclassData() & SCDB_IsLiteral) != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::isOpaque() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:253:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isOpaque() const { return (getSubclassData() & SCDB_HasBody) == 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In member function ‘__vector(4) __bool int llvm::StructType::hasName() const’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:259:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasName() const { return SymbolTableEntry != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::StructType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:297:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == StructTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::SequentialType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:340:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == ArrayTyID || T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::ArrayType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:360:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == ArrayTyID; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::VectorType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:434:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == VectorTyID; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h: In static member function ‘static __vector(4) __bool int llvm::PointerType::classof(const llvm::Type*)’: /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:475:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return T->getTypeID() == PointerTyID; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PointerType; Y = llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:480:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::PointerType; Y = llvm::Type*]’ /usr/lib/llvm-4.0/include/llvm/IR/DerivedTypes.h:480:43: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantData::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:80:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantDataLastVal; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:117:43: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isSigned = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::isMaxValue(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:224:17: error: could not convert ‘isSigned’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSigned) ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::isMinValue(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:236:17: error: could not convert ‘isSigned’ from ‘__vector(4) __bool int’ to ‘bool’ if (isSigned) ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘__vector(4) __bool int llvm::ConstantInt::uge(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:248:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantInt::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:262:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantIntVal; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:294:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNaN(Type *Ty, bool Negative = false, unsigned type = 0); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:296:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getInfinity(Type *Ty, bool Negative = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantFP::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:331:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantFPVal; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAggregateZero::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:372:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantAggregateZeroVal; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantAggregate::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:398:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() <= ConstantAggregateLastVal; ^~~~~~~~~~~~~~~~~~~~~~~~ lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make:65: recipe for target 'lib/llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o' failed make[3]: *** [lib/llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/depend make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/pthread /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/pthread /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/DependInfo.cmake --color= /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantArray::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:436:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantArrayVal; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:459:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getAnon(ArrayRef V, bool Packed = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:463:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ ArrayRef V, bool Packed = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:470:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Packed = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:474:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Packed = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantStruct::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:483:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantStructVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantVector::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:522:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantVectorVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantPointerNull::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:551:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantPointerNullVal; ^~~~~~~~~~~~~~~~~~~~~~ Scanning dependencies of target pocl-devices-pthread make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataSequential::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:663:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == ConstantDataVectorVal; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:719:45: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ bool AddNull = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataArray::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:729:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantDataArrayVal; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantDataVector::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:793:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantDataVectorVal; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantTokenNone::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:816:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantTokenNoneVal; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::BlockAddress::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:855:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == BlockAddressVal; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:54: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:917:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:917:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:920:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:920:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:923:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:923:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:935:41: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:935:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:71: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:938:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:939:72: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:940:72: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:942:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:944:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:945:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:946:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:947:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:948:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:950:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:952:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:954:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:956:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1030:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1111:52: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1117:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1119:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1128:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1136:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1147:53: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool InBounds = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1216:50: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool OnlyIfReduced = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWNeg(llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:958:73: error: no matching function for call to ‘llvm::ConstantExpr::getNeg(llvm::Constant*&, bool, bool)’ static Constant *getNSWNeg(Constant *C) { return getNeg(C, false, true); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getNeg(llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWNeg(llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:959:73: error: no matching function for call to ‘llvm::ConstantExpr::getNeg(llvm::Constant*&, bool, bool)’ static Constant *getNUWNeg(Constant *C) { return getNeg(C, true, false); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getNeg(llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:913:20: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWAdd(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:962:38: error: no matching function for call to ‘llvm::ConstantExpr::getAdd(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getAdd(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAdd(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getAdd(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWAdd(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:966:38: error: no matching function for call to ‘llvm::ConstantExpr::getAdd(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getAdd(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAdd(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getAdd(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:916:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWSub(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:970:38: error: no matching function for call to ‘llvm::ConstantExpr::getSub(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getSub(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSub(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getSub(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWSub(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:974:38: error: no matching function for call to ‘llvm::ConstantExpr::getSub(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getSub(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSub(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getSub(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:919:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWMul(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:978:38: error: no matching function for call to ‘llvm::ConstantExpr::getMul(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getMul(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getMul(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getMul(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWMul(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:982:38: error: no matching function for call to ‘llvm::ConstantExpr::getMul(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getMul(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getMul(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getMul(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:922:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNSWShl(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:986:38: error: no matching function for call to ‘llvm::ConstantExpr::getShl(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getShl(C1, C2, false, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getShl(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getShl(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getNUWShl(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:990:38: error: no matching function for call to ‘llvm::ConstantExpr::getShl(llvm::Constant*&, llvm::Constant*&, bool, bool)’ return getShl(C1, C2, true, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getShl(llvm::Constant*, llvm::Constant*, __vector(4) __bool int, __vector(4) __bool int) static Constant *getShl(Constant *C1, Constant *C2, ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:934:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactSDiv(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:994:32: error: no matching function for call to ‘llvm::ConstantExpr::getSDiv(llvm::Constant*&, llvm::Constant*&, bool)’ return getSDiv(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getSDiv(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:926:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactUDiv(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:998:32: error: no matching function for call to ‘llvm::ConstantExpr::getUDiv(llvm::Constant*&, llvm::Constant*&, bool)’ return getUDiv(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getUDiv(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:925:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactAShr(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1002:32: error: no matching function for call to ‘llvm::ConstantExpr::getAShr(llvm::Constant*&, llvm::Constant*&, bool)’ return getAShr(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getAShr(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getAShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:937:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getExactLShr(llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1006:32: error: no matching function for call to ‘llvm::ConstantExpr::getLShr(llvm::Constant*&, llvm::Constant*&, bool)’ return getLShr(C1, C2, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getLShr(llvm::Constant*, llvm::Constant*, __vector(4) __bool int) static Constant *getLShr(Constant *C1, Constant *C2, bool isExact = false); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:936:20: note: no known conversion for argument 3 from ‘bool’ to ‘__vector(4) __bool int’ [ 9%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/async_work_group_strided_copy.cl.bc In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Value; Y = llvm::Constant*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1142:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Value; Y = llvm::Constant*]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1142:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/async_work_group_strided_copy.cl.bc -c /<>/lib/kernel/async_work_group_strided_copy.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1155:49: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::ArrayRef&, bool)’ return getGetElementPtr(Ty, C, IdxList, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::Constant*’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1162:45: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::Constant*&, bool)’ return getGetElementPtr(Ty, C, Idx, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static llvm::Constant* llvm::ConstantExpr::getInBoundsGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1166:49: error: no matching function for call to ‘llvm::ConstantExpr::getGetElementPtr(llvm::Type*&, llvm::Constant*&, llvm::ArrayRef&, bool)’ return getGetElementPtr(Ty, C, IdxList, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1126:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::ArrayRef’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1135:20: note: no known conversion for argument 3 from ‘llvm::ArrayRef’ to ‘llvm::Constant*’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: candidate: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*) static Constant *getGetElementPtr(Type *Ty, Constant *C, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1145:20: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In member function ‘llvm::Constant* llvm::ConstantExpr::getWithOperands(llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1203:42: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘llvm::Constant* llvm::ConstantExpr::getWithOperands(llvm::ArrayRef, llvm::Type*, __vector(4) __bool int, llvm::Type*) const’ return getWithOperands(Ops, getType()); ^ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::ConstantExpr::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1230:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ConstantExprVal; ^~~~~~~~~~~~~~~ make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' /usr/lib/llvm-4.0/include/llvm/IR/Constants.h: In static member function ‘static __vector(4) __bool int llvm::UndefValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1291:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == UndefValueVal; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetImpl::empty() const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:186:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool empty() const { return NumNodes == 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:319:29: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘void llvm::FoldingSetNodeID::AddBoolean(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:336:51: error: no matching function for call to ‘llvm::FoldingSetNodeID::AddInteger(__vector(4) unsigned int)’ void AddBoolean(bool B) { AddInteger(B ? 1U : 0U); } ^ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:330:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(int) void AddInteger(signed I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:330:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:331:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(unsigned int) void AddInteger(unsigned I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:331:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:332:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long int) void AddInteger(long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:332:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:333:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long unsigned int) void AddInteger(unsigned long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:333:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:334:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long long int) void AddInteger(long long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:334:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long long int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:335:8: note: candidate: void llvm::FoldingSetNodeID::AddInteger(long long unsigned int) void AddInteger(unsigned long long I); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:335:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘long long unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetIteratorImpl::operator==(const llvm::FoldingSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:643:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return NodePtr == RHS.NodePtr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetIteratorImpl::operator!=(const llvm::FoldingSetIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:646:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return NodePtr != RHS.NodePtr; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetBucketIteratorImpl::operator==(const llvm::FoldingSetBucketIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:693:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr == RHS.Ptr; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h: In member function ‘__vector(4) __bool int llvm::FoldingSetBucketIteratorImpl::operator!=(const llvm::FoldingSetBucketIteratorImpl&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:696:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr != RHS.Ptr; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<1>::_M_is_equal(const std::_Base_bitset<1>&) const’: /usr/include/c++/7/bitset:461:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_w == __x._M_w; } ^~~~ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<1>::_M_is_any() const’: /usr/include/c++/7/bitset:471:24: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return _M_w != 0; } ^ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<0>::_M_is_equal(const std::_Base_bitset<0>&) const’: /usr/include/c++/7/bitset:608:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return true; } ^~~~ /usr/include/c++/7/bitset: In member function ‘__vector(4) __bool int std::_Base_bitset<0>::_M_is_any() const’: /usr/include/c++/7/bitset:617:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return false; } ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:161:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ std::string getAsString(bool InAttrGrp = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::Attribute::operator==(llvm::Attribute) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:164:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(Attribute A) const { return pImpl == A.pImpl; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::Attribute::operator!=(llvm::Attribute) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:165:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator!=(Attribute A) const { return pImpl != A.pImpl; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:375:60: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ std::string getAsString(unsigned Index, bool InAttrGrp = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::operator==(const llvm::AttributeSet&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:384:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return pImpl == RHS.pImpl; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::operator!=(const llvm::AttributeSet&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:387:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return pImpl != RHS.pImpl; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttributeSet::isEmpty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:401:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumSlots() == 0; ^ [ 10%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices-pthread.dir/pthread.c.o -c /<>/lib/CL/devices/pthread/pthread.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h: In member function ‘__vector(4) __bool int llvm::AttrBuilder::td_empty() const’: /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:579:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool td_empty() const { return TargetDepAttrs.empty(); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:93:62: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Value*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:93:62: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::TerminatorInst::isExceptional() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:104:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:106:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::TerminatorInst::succ_iterator llvm::TerminatorInst::succ_end()’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:274:68: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(llvm::TerminatorInst*, bool)’ inline succ_iterator succ_end() { return succ_iterator(this, true); } ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::TerminatorInst::succ_const_iterator llvm::TerminatorInst::succ_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:276:42: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst*, bool)’ return succ_const_iterator(this, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::UnaryInstruction::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:324:74: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return (I->getOpcode() >= CastOpsBegin && I->getOpcode() < CastOpsEnd); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:528:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ static bool isFNeg(const Value *V, bool IgnoreZeroSign=false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:415:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:421:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNSW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:427:32: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoSignedWrap(bool)’ BO->setHasNoSignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: candidate: void llvm::Instruction::setHasNoSignedWrap(__vector(4) __bool int) void setHasNoSignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:267:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:434:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:440:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateNUW(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:446:34: error: no matching function for call to ‘llvm::BinaryOperator::setHasNoUnsignedWrap(bool)’ BO->setHasNoUnsignedWrap(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: candidate: void llvm::Instruction::setHasNoUnsignedWrap(__vector(4) __bool int) void setHasNoUnsignedWrap(bool b = true); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:263:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:453:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:459:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static llvm::BinaryOperator* llvm::BinaryOperator::CreateExact(llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:465:24: error: no matching function for call to ‘llvm::BinaryOperator::setIsExact(bool)’ BO->setIsExact(true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: candidate: void llvm::Instruction::setIsExact(__vector(4) __bool int) void setIsExact(bool b = true); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:271:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::isFPPredicate(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:968:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P >= FIRST_FCMP_PREDICATE && P <= LAST_FCMP_PREDICATE; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::isIntPredicate(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:972:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P >= FIRST_ICMP_PREDICATE && P <= LAST_ICMP_PREDICATE; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In static member function ‘static __vector(4) __bool int llvm::CmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1105:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return I->getOpcode() == Instruction::FCmp; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::operandHasAttr(unsigned int, llvm::Attribute::AttrKind) const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1216:29: error: could not convert ‘((const llvm::OperandBundleUse*)this)->llvm::OperandBundleUse::isDeoptOperandBundle()’ from ‘__vector(4) __bool int’ to ‘bool’ if (isDeoptOperandBundle()) ~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1221:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::isDeoptOperandBundle() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1240:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTagID() == LLVMContext::OB_deopt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘__vector(4) __bool int llvm::OperandBundleUse::isFuncletOperandBundle() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1245:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getTagID() == LLVMContext::OB_funclet; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1261:8: error: expected unqualified-id before ‘__attribute__’ std::vector Inputs; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1264:52: error: expected identifier before ‘__attribute__’ explicit OperandBundleDefT(std::string Tag, std::vector Inputs) ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1264:58: error: expected ‘,’ or ‘...’ before ‘<’ token explicit OperandBundleDefT(std::string Tag, std::vector Inputs) ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1276:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator input_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1276:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator input_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1278:3: error: ‘input_iterator’ does not name a type; did you mean ‘ilist_iterator’? input_iterator input_begin() const { return Inputs.begin(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1279:3: error: ‘input_iterator’ does not name a type; did you mean ‘ilist_iterator’? input_iterator input_end() const { return Inputs.end(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(std::__cxx11::string, __vector(4) int)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:30: error: class ‘llvm::OperandBundleDefT’ does not have any field named ‘Inputs’ : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:47: error: ‘Inputs’ was not declared in this scope : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1265:47: note: suggested alternative: ‘inputs’ : Tag(std::move(Tag)), Inputs(std::move(Inputs)) {} ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(std::__cxx11::string, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1267:30: error: class ‘llvm::OperandBundleDefT’ does not have any field named ‘Inputs’ : Tag(std::move(Tag)), Inputs(Inputs) {} ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In constructor ‘llvm::OperandBundleDefT::OperandBundleDefT(const llvm::OperandBundleUse&)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1271:5: error: ‘Inputs’ was not declared in this scope Inputs.insert(Inputs.end(), OBU.Inputs.begin(), OBU.Inputs.end()); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1271:5: note: suggested alternative: ‘inputs’ Inputs.insert(Inputs.end(), OBU.Inputs.begin(), OBU.Inputs.end()); ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘llvm::ArrayRef llvm::OperandBundleDefT::inputs() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1274:45: error: ‘Inputs’ was not declared in this scope ArrayRef inputs() const { return Inputs; } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1274:45: note: suggested alternative: ‘inputs’ ArrayRef inputs() const { return Inputs; } ^~~~~~ inputs /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘size_t llvm::OperandBundleDefT::input_size() const’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1277:38: error: ‘Inputs’ was not declared in this scope size_t input_size() const { return Inputs.size(); } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1277:38: note: suggested alternative: ‘inputs’ size_t input_size() const { return Inputs.size(); } ^~~~~~ inputs In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike >’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike >::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl >’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1443:11: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike >::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In member function ‘OpIteratorTy llvm::OperandBundleUser::populateBundleOperandInfos(llvm::ArrayRef >, unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1627:24: error: ‘const class llvm::OperandBundleDefT’ has no member named ‘input_begin’; did you mean ‘input_size’? It = std::copy(B.input_begin(), B.input_end(), It); ^~~~~~~~~~~ input_size /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1627:41: error: ‘const class llvm::OperandBundleDefT’ has no member named ‘input_end’; did you mean ‘inputs’? It = std::copy(B.input_begin(), B.input_end(), It); ^~~~~~~~~ inputs In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:37:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:37:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:46:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:46:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:55:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:55:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:64:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:69:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:90:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:90:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:95:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:100:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExact = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:126:37: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:126:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool HasNUW = false, bool HasNSW = false) const { ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, IdxList); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:151:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, Idx); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:156:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, __vector(4) __bool int, llvm::Optional, llvm::Type*)’ return ConstantExpr::getGetElementPtr(Ty, C, IdxList); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateCast(llvm::Instruction::CastOps, llvm::Constant*, llvm::Type*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:183:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCast(unsigned int, llvm::Constant*, llvm::Type*, __vector(4) __bool int)’ return ConstantExpr::getCast(Op, C, DestTy); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateICmp(llvm::CmpInst::Predicate, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:234:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCompare(short unsigned int, llvm::Constant*, llvm::Constant*, __vector(4) __bool int)’ return ConstantExpr::getCompare(P, LHS, RHS); ^ /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h: In member function ‘llvm::Constant* llvm::ConstantFolder::CreateFCmp(llvm::CmpInst::Predicate, llvm::Constant*, llvm::Constant*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:239:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘static llvm::Constant* llvm::ConstantExpr::getCompare(short unsigned int, llvm::Constant*, llvm::Constant*, __vector(4) __bool int)’ return ConstantExpr::getCompare(P, LHS, RHS); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::Pass::doInitialization(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:110:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool doInitialization(Module &) { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::Pass::doFinalization(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:115:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool doFinalization(Module &) { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Pass.h: In member function ‘virtual __vector(4) __bool int llvm::ImmutablePass::runOnModule(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Pass.h:280:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool runOnModule(Module &) override { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:44:8: error: expected unqualified-id before ‘__attribute__’ std::vector ItfImpl; // Interfaces implemented by this pass ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h:134:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getInterfacesImplemented() const { ^ In file included from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:26:0, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In constructor ‘llvm::PassInfo::PassInfo(llvm::StringRef, llvm::StringRef, const void*, llvm::PassInfo::NormalCtor_t, __vector(4) __bool int, __vector(4) __bool int, llvm::PassInfo::TargetMachineCtor_t)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:57:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization TargetMachineCtor(machine) {} ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In constructor ‘llvm::PassInfo::PassInfo(llvm::StringRef, const void*)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization TargetMachineCtor(nullptr) {} ^ /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/PassInfo.h:64:34: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In member function ‘__vector(4) __bool int llvm::PassInfo::isPassID(const void*) const’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:81:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isPassID(const void *IDPtr) const { return PassID == IDPtr; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassInfo.h: In member function ‘void llvm::PassInfo::addInterfaceImplemented(const llvm::PassInfo*)’: /usr/lib/llvm-4.0/include/llvm/PassInfo.h:128:5: error: ‘ItfImpl’ was not declared in this scope ItfImpl.push_back(ItfPI); ^~~~~~~ In file included from /usr/include/c++/7/chrono:38:0, from /usr/include/c++/7/mutex:39, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/ratio: At global scope: /usr/include/c++/7/ratio:116:48: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter || (__hi1 == __hi2 && __lo1 < __lo2))> ^ /usr/include/c++/7/ratio:341:75: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant ^ /usr/include/c++/7/ratio:347:60: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:356:46: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter _Right::__hi, _Right::__lo>::value> ^ /usr/include/c++/7/ratio:371:50: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant ^ /usr/include/c++/7/ratio:389:59: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:395:58: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ /usr/include/c++/7/ratio:401:59: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : integral_constant::value> ^ In file included from /usr/include/c++/7/mutex:39:0, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/chrono: In instantiation of ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’: /usr/include/c++/7/chrono:820:7: required from here /usr/include/c++/7/chrono:559:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return __ct(__lhs).count() < __ct(__rhs).count(); ^ /usr/include/c++/7/chrono:560:7: error: body of constexpr function ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ not a return-statement } ^ /usr/include/c++/7/chrono:819:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ^~~~~~~~~~~~~ /usr/include/c++/7/chrono:820:7: error: ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ called in a constant expression static_assert(system_clock::duration::min() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < system_clock::duration::zero(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/chrono:553:7: note: ‘constexpr unsigned int std::chrono::operator<(const std::chrono::duration<_Rep1, _Period1>&, const std::chrono::duration<_Rep2, _Period2>&) [with _Rep1 = long int; _Period1 = std::ratio<1, 1000000000>; _Rep2 = long int; _Period2 = std::ratio<1, 1000000000>]’ is not usable as a constexpr function because: operator<(const duration<_Rep1, _Period1>& __lhs, ^~~~~~~~ /usr/include/c++/7/chrono:823:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_steady = false; ^~~~~ /usr/include/c++/7/chrono:858:41: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static constexpr bool is_steady = true; ^~~~ In file included from /usr/include/c++/7/mutex:43:0, from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/std_mutex.h: In member function ‘__vector(4) __bool int std::mutex::try_lock()’: /usr/include/c++/7/bits/std_mutex.h:114:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_mutex_trylock(&_M_mutex); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Threading.h:34:0, from /usr/lib/llvm-4.0/include/llvm/Support/RWMutex.h:18, from /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:25, from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_mutex::try_lock()’: /usr/include/c++/7/mutex:118:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_recursive_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::timed_mutex::try_lock()’: /usr/include/c++/7/mutex:203:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::timed_mutex::_M_timedlock(const __gthread_time_t&)’: /usr/include/c++/7/mutex:232:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !__gthread_mutex_timedlock(&_M_mutex, &__ts); } ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_timed_mutex::try_lock()’: /usr/include/c++/7/mutex:263:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !__gthread_recursive_mutex_trylock(&_M_mutex); ^ /usr/include/c++/7/mutex: In member function ‘__vector(4) __bool int std::recursive_timed_mutex::_M_timedlock(const __gthread_time_t&)’: /usr/include/c++/7/mutex:292:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return !__gthread_recursive_mutex_timedlock(&_M_mutex, &__ts); } ^ /usr/include/c++/7/mutex: In static member function ‘static void std::__try_lock_impl<_Idx, _Continue>::__do_try_lock(std::tuple<_Lock& ...>&, int&)’: /usr/include/c++/7/mutex:484:61: error: could not convert template argument ‘__cont’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ using __try_locker = __try_lock_impl<_Idx + 1, __cont>; ^ /usr/include/c++/7/mutex:485:8: error: ‘__try_locker’ has not been declared __try_locker::__do_try_lock(__locks, __idx); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:50:8: error: expected unqualified-id before ‘__attribute__’ std::vector> ToFree; ^ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:51:8: error: expected unqualified-id before ‘__attribute__’ std::vector Listeners; ^ In file included from /usr/lib/llvm-4.0/include/llvm/PassSupport.h:27:0, from /usr/lib/llvm-4.0/include/llvm/Pass.h:387, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:72:59: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void registerPass(const PassInfo &PI, bool ShouldFree = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:79:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldFree = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Pass.h:387:0, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/PassSupport.h:135:65: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ const void *PassID = nullptr, bool isDefault = false); ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:46:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ [ 10%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o -c /<>/lib/CL/clCreateProgramWithBinary.c In file included from /usr/lib/llvm-4.0/include/llvm/Pass.h:388:0, from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In constructor ‘llvm::AnalysisUsage::AnalysisUsage()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:53:39: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization AnalysisUsage() : PreservesAll(false) {} ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreservedID(const void*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:74:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreservedID(char&)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:78:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(&ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addPreserved()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:84:15: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Preserved.push_back(&PassClass::ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailableID(const void*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:93:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailableID(char&)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:97:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(&ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::AnalysisUsage& llvm::AnalysisUsage::addUsedIfAvailable()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:103:10: error: ‘class llvm::SmallVector’ has no member named ‘push_back’; did you mean ‘emplace_back’? Used.push_back(&PassClass::ID); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisUsage::setPreservesAll()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:115:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment void setPreservesAll() { PreservesAll = true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: At global scope: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:186:8: error: expected unqualified-id before ‘__attribute__’ std::vector > AnalysisImpls; ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘llvm::Pass* llvm::AnalysisResolver::findImplPass(llvm::AnalysisID)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:156:37: error: ‘AnalysisImpls’ was not declared in this scope for (const auto &AnalysisImpl : AnalysisImpls) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:156:37: note: suggested alternative: ‘AnalysisImpl’ for (const auto &AnalysisImpl : AnalysisImpls) { ^~~~~~~~~~~~~ AnalysisImpl /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisResolver::addAnalysisImplsPair(llvm::AnalysisID, llvm::Pass*)’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:172:5: error: ‘AnalysisImpls’ was not declared in this scope AnalysisImpls.push_back(pir); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:172:5: note: suggested alternative: ‘AnalysisID’ AnalysisImpls.push_back(pir); ^~~~~~~~~~~~~ AnalysisID /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘void llvm::AnalysisResolver::clearAnalysisImpls()’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:177:5: error: ‘AnalysisImpls’ was not declared in this scope AnalysisImpls.clear(); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:177:5: note: suggested alternative: ‘AnalysisID’ AnalysisImpls.clear(); ^~~~~~~~~~~~~ AnalysisID /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h: In member function ‘AnalysisType* llvm::Pass::getAnalysisIfAvailable() const’: /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:206:63: error: no matching function for call to ‘llvm::AnalysisResolver::getAnalysisIfAvailable(const void*&, bool)’ Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); ^ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:181:9: note: candidate: llvm::Pass* llvm::AnalysisResolver::getAnalysisIfAvailable(llvm::AnalysisID, __vector(4) __bool int) const Pass *getAnalysisIfAvailable(AnalysisID ID, bool Direction) const; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:181:9: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:119:33: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:122:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:128:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::validAlignment(const llvm::LayoutAlignElem&) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:167:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &align != &InvalidAlignmentElem; ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::validPointer(const llvm::PointerAlignElem&) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:175:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &align != &InvalidPointerElem; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isDefault() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:233:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isDefault() const { return StringRepresentation.empty(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isLegalInteger(uint64_t) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: error: ‘begin’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: error: ‘end’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:243:35: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:245:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:246:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::exceedsNaturalStackAlignment(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:253:66: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (StackNaturalAlign != 0) && (Align > StackNaturalAlign); ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::hasMicrosoftFastStdCallMangling() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:259:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return ManglingMode == MM_WinCOFFX86; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::hasLinkerPrivateGlobalPrefix() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:262:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasLinkerPrivateGlobalPrefix() const { return ManglingMode == MM_MachO; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::fitsInLegalInteger(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: error: ‘begin’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: error: ‘end’ was not declared in this scope for (unsigned LegalIntWidth : LegalIntWidths) ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:308:35: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:310:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:311:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘llvm::ArrayRef llvm::DataLayout::getNonIntegralAddressSpaces() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:332:12: error: could not convert ‘((const llvm::DataLayout*)this)->llvm::DataLayout::NonIntegralAddressSpaces’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return NonIntegralAddressSpaces; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::DataLayout::isNonIntegralPointerType(llvm::PointerType*) const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:338:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return NonIntegralSpaces.end(); ^ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h: In member function ‘__vector(4) __bool int llvm::StructLayout::hasPadding() const’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:511:36: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasPadding() const { return IsPadded; } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Argument.h:34:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Argument.h: In static member function ‘static __vector(4) __bool int llvm::Argument::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Argument.h:146:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == ArgumentVal; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::assign(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:66:39: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:66:52: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::append(size_t, char)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:80:49: error: no matching function for call to ‘llvm::SmallVectorImpl::append(size_t&, char&)’ SmallVectorImpl::append(NumInputs, Elt); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:392:8: note: candidate: template void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = in_iter; T = char] void append(in_iter in_start, in_iter in_end) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:392:8: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:80:49: note: deduced conflicting types for parameter ‘in_iter’ (‘long unsigned int’ and ‘char’) SmallVectorImpl::append(NumInputs, Elt); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:414:8: note: candidate: void llvm::SmallVectorImpl::append(std::initializer_list<_Tp>) [with T = char] void append(std::initializer_list IL) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:414:8: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:31:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h: In member function ‘void llvm::SmallString::append(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:90:39: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallString.h:90:52: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? SmallVectorImpl::append(RHS.begin(), RHS.end()); ^~~ append In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::mayBeDerefined() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:124:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasGlobalUnnamedAddr() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:188:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getUnnamedAddr() == UnnamedAddr::Global; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasAtLeastLocalUnnamedAddr() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:197:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getUnnamedAddr() != UnnamedAddr::None; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasComdat() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:213:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasComdat() const { return getComdat() != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDefaultVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:220:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasDefaultVisibility() const { return Visibility == DefaultVisibility; } ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasHiddenVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:221:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasHiddenVisibility() const { return Visibility == HiddenVisibility; } ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasProtectedVisibility() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:223:26: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Visibility == ProtectedVisibility; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::isThreadLocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:232:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isThreadLocal() const { return getThreadLocalMode() != NotThreadLocal; } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocal(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:234:69: error: no matching function for call to ‘llvm::GlobalValue::setThreadLocalMode(__vector(4) llvm::GlobalValue::ThreadLocalMode)’ setThreadLocalMode(Val ? GeneralDynamicTLSModel : NotThreadLocal); ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:236:8: note: candidate: void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode) void setThreadLocalMode(ThreadLocalMode Val) { ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:236:8: note: no known conversion for argument 1 from ‘__vector(4) llvm::GlobalValue::ThreadLocalMode’ to ‘llvm::GlobalValue::ThreadLocalMode’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDLLImportStorageClass() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:248:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return DllStorageClass == DLLImportStorageClass; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::hasDLLExportStorageClass() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:251:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return DllStorageClass == DLLExportStorageClass; ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::GlobalValue::LinkageTypes llvm::GlobalValue::getLinkOnceLinkage(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:264:39: error: cannot convert ‘__vector(4) llvm::GlobalValue::LinkageTypes’ to ‘llvm::GlobalValue::LinkageTypes’ in return return ODR ? LinkOnceODRLinkage : LinkOnceAnyLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::GlobalValue::LinkageTypes llvm::GlobalValue::getWeakLinkage(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:267:35: error: cannot convert ‘__vector(4) llvm::GlobalValue::LinkageTypes’ to ‘llvm::GlobalValue::LinkageTypes’ in return return ODR ? WeakODRLinkage : WeakAnyLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isExternalLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:271:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == ExternalLinkage; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isAvailableExternallyLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:274:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == AvailableExternallyLinkage; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isLinkOnceODRLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:277:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == LinkOnceODRLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isLinkOnceLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:280:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == LinkOnceAnyLinkage || Linkage == LinkOnceODRLinkage; ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakAnyLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:283:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == WeakAnyLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakODRLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:286:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == WeakODRLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isAppendingLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:292:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == AppendingLinkage; ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isInternalLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:295:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == InternalLinkage; ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isPrivateLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:298:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == PrivateLinkage; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isExternalWeakLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:304:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == ExternalWeakLinkage; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isCommonLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:307:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Linkage == CommonLinkage; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isInterposableLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:322:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:333:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::isWeakForLinker(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:352:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Linkage == CommonLinkage || Linkage == ExternalWeakLinkage; ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:425:23: error: could not convert ‘llvm::GlobalValue::isLocalLinkage(LT)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isLocalLinkage(LT)) ~~~~~~~~~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static llvm::StringRef llvm::GlobalValue::getRealLinkageName(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:445:23: error: could not convert ‘(((((Name.llvm::StringRef::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((int)Name.llvm::StringRef::operator[](0)) == 1) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!Name.empty() && Name[0] == '\1') ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In member function ‘__vector(4) __bool int llvm::GlobalValue::isDeclarationForLinker() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:497:38: error: could not convert ‘((const llvm::GlobalValue*)this)->llvm::GlobalValue::hasAvailableExternallyLinkage()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasAvailableExternallyLinkage()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:498:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h: In static member function ‘static __vector(4) __bool int llvm::GlobalValue::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:545:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasSection() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:74:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getGlobalValueSubClassData() & (1 << HasSectionHashEntryBit); ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘llvm::StringRef llvm::GlobalObject::getSection() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:82:25: error: inferred scalar type ‘llvm::StringRef’ is not an integer or floating point type of the same size as ‘__bool int’ return hasSection() ? getSectionImpl() : StringRef(); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasComdat() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:91:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasComdat() const { return getComdat() != nullptr; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In static member function ‘static __vector(4) __bool int llvm::GlobalObject::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:149:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘void llvm::GlobalObject::setGlobalObjectFlag(unsigned int, __vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:158:49: error: no matching function for call to ‘llvm::GlobalObject::setGlobalValueSubClassData(__vector(4) unsigned int)’ (Val ? Mask : 0u)); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:152:8: note: candidate: void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int) void setGlobalValueSubClassData(unsigned V) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:152:8: note: no known conversion for argument 1 from ‘__vector(4) unsigned int’ to ‘unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h: In member function ‘__vector(4) __bool int llvm::GlobalObject::hasMetadataHashEntry() const’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:162:72: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getGlobalValueSubClassData() & (1 << HasMetadataHashEntryBit); ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:48:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:57:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Function.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:535:3: error: ‘iterator’ does not name a type; did you mean ‘op_iterator’? iterator begin() { return BasicBlocks.begin(); } ^~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:536:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return BasicBlocks.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:537:3: error: ‘iterator’ does not name a type; did you mean ‘op_iterator’? iterator end () { return BasicBlocks.end(); } ^~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:538:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end () const { return BasicBlocks.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:550:3: error: ‘arg_iterator’ does not name a type; did you mean ‘op_iterator’? arg_iterator arg_begin() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:554:3: error: ‘const_arg_iterator’ does not name a type; did you mean ‘const_op_iterator’? const_arg_iterator arg_begin() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:559:3: error: ‘arg_iterator’ does not name a type; did you mean ‘op_iterator’? arg_iterator arg_end() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:563:3: error: ‘const_arg_iterator’ does not name a type; did you mean ‘const_op_iterator’? const_arg_iterator arg_end() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:18: error: ‘arg_iterator’ was not declared in this scope iterator_range args() { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:18: note: suggested alternative: ‘op_iterator’ iterator_range args() { ^~~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:568:30: error: template argument 1 is invalid iterator_range args() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:18: error: ‘const_arg_iterator’ was not declared in this scope iterator_range args() const { ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:18: note: suggested alternative: ‘const_op_iterator’ iterator_range args() const { ^~~~~~~~~~~~~~~~~~ const_op_iterator /usr/lib/llvm-4.0/include/llvm/IR/Function.h:571:36: error: template argument 1 is invalid iterator_range args() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:610:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldPreserveUseListOrder = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:611:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasLazyArguments() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:94:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<0); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘void llvm::Function::CheckLazyArguments() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:99:25: error: could not convert ‘((const llvm::Function*)this)->llvm::Function::hasLazyArguments()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasLazyArguments()) ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::isIntrinsic() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:151:37: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool isIntrinsic() const { return HasLLVMReservedName; } ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:243:9: error: could not convert ‘((((const llvm::Function*)this)->llvm::Function::hasFnAttribute((llvm::Attribute::AttrKind)43) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasFnAttribute(Attribute::StackAlignment)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasGC() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:251:47: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<14); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘const llvm::BasicBlock& llvm::Function::front() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:542:62: error: ‘const BasicBlockListType {aka const class llvm::SymbolTableList}’ has no member named ‘front’ const BasicBlock &front() const { return BasicBlocks.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘llvm::BasicBlock& llvm::Function::front()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:543:62: error: ‘llvm::Function::BasicBlockListType {aka class llvm::SymbolTableList}’ has no member named ‘front’ BasicBlock &front() { return BasicBlocks.front(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘const llvm::BasicBlock& llvm::Function::back() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:544:62: error: ‘const BasicBlockListType {aka const class llvm::SymbolTableList}’ has no member named ‘back’ const BasicBlock &back() const { return BasicBlocks.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘llvm::BasicBlock& llvm::Function::back()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:545:62: error: ‘llvm::Function::BasicBlockListType {aka class llvm::SymbolTableList}’ has no member named ‘back’ BasicBlock &back() { return BasicBlocks.back(); } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘int llvm::Function::args()’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:23: error: ‘arg_begin’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:23: note: suggested alternative: ‘op_begin’ return make_range(arg_begin(), arg_end()); ^~~~~~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:36: error: ‘arg_end’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:569:36: note: suggested alternative: ‘op_end’ return make_range(arg_begin(), arg_end()); ^~~~~~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘int llvm::Function::args() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:23: error: ‘arg_begin’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:23: note: suggested alternative: ‘op_begin’ return make_range(arg_begin(), arg_end()); ^~~~~~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:36: error: ‘arg_end’ was not declared in this scope return make_range(arg_begin(), arg_end()); ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Function.h:572:36: note: suggested alternative: ‘op_end’ return make_range(arg_begin(), arg_end()); ^~~~~~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPersonalityFn() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:582:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<3); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPrefixData() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:591:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<1); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In member function ‘__vector(4) __bool int llvm::Function::hasPrologueData() const’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:600:46: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromValue() & (1<<2); ^ /usr/lib/llvm-4.0/include/llvm/IR/Function.h: In static member function ‘static __vector(4) __bool int llvm::Function::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:630:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::FunctionVal; ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:41:52: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:30:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:44:27: error: bit-field ‘__vector(4) __bool int llvm::GlobalVariable::isConstantGlobal’ with non-integral type bool isConstantGlobal : 1; // Is this a global constant? ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:45:42: error: bit-field ‘__vector(4) __bool int llvm::GlobalVariable::isExternallyInitializedConstant’ with non-integral type bool isExternallyInitializedConstant : 1; // Is this a global whose value ^ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:56:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExternallyInitialized = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:63:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isExternallyInitialized = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h: In static member function ‘static __vector(4) __bool int llvm::GlobalVariable::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalVariable.h:183:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalVariableVal; ^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AllocaInst::isUsedWithInAlloca() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:122:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 32; ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AllocaInst::setUsedWithInAlloca(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:128:44: error: no matching function for call to ‘llvm::AllocaInst::setInstructionSubclassData(__vector(4) int)’ (V ? 32 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: candidate: void llvm::AllocaInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AllocaInst::isSwiftError() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:133:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 64; ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AllocaInst::setSwiftError(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:139:44: error: no matching function for call to ‘llvm::AllocaInst::setInstructionSubclassData(__vector(4) int)’ (V ? 64 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: candidate: void llvm::AllocaInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:153:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AllocaInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:144:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Alloca); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:176:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LoadInst(Type *Ty, Value *Ptr, const Twine &NameStr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:178:64: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:208:30: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, Instruction *InsertBefore = nullptr); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:210:39: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::LoadInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:218:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::LoadInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:223:43: error: no matching function for call to ‘llvm::LoadInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:290:8: note: candidate: void llvm::LoadInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:290:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::LoadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:281:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Load; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:312:55: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ StoreInst(Value *Val, Value *Ptr, bool isVolatile = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::StoreInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:336:71: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isVolatile() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::StoreInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:341:43: error: no matching function for call to ‘llvm::StoreInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:414:8: note: candidate: void llvm::StoreInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:414:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::StoreInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:405:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Store; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FenceInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:482:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Fence; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicCmpXchgInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:538:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicCmpXchgInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:545:43: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size (unsigned)V); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicCmpXchgInst::isWeak() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:550:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 0x100; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicCmpXchgInst::setWeak(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:555:45: error: no matching function for call to ‘llvm::AtomicCmpXchgInst::setInstructionSubclassData(__vector(4) __bool int)’ (IsWeak << 8)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:649:8: note: candidate: void llvm::AtomicCmpXchgInst::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:649:8: note: no known conversion for argument 1 from ‘__vector(4) __bool int’ to ‘short unsigned int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AtomicCmpXchgInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:640:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::AtomicCmpXchg; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::AtomicRMWInst::isVolatile() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:737:47: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return return getSubclassDataFromInstruction() & 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::AtomicRMWInst::setVolatile(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:744:43: error: can’t convert a vector of type ‘__vector(4) __bool int’ to type ‘unsigned int’ which has different size (unsigned)V); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AtomicRMWInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:791:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::AtomicRMW; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:31: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setIsInBounds(bool b = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::GetElementPtrInst* llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:904:28: error: no matching function for call to ‘llvm::GetElementPtrInst::setIsInBounds(bool)’ GEP->setIsInBounds(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: candidate: void llvm::GetElementPtrInst::setIsInBounds(__vector(4) __bool int) void setIsInBounds(bool b = true); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::GetElementPtrInst* llvm::GetElementPtrInst::CreateInBounds(llvm::Type*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:921:28: error: no matching function for call to ‘llvm::GetElementPtrInst::setIsInBounds(bool)’ GEP->setIsInBounds(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: candidate: void llvm::GetElementPtrInst::setIsInBounds(__vector(4) __bool int) void setIsInBounds(bool b = true); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1027:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static llvm::Type* llvm::GetElementPtrInst::getGEPReturnType(llvm::Type*, llvm::Value*, llvm::ArrayRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:994:35: error: could not convert ‘Ptr->llvm::Value::getType()->llvm::Type::isVectorTy()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Ptr->getType()->isVectorTy()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:999:39: error: could not convert ‘Index->llvm::Value::getType()->llvm::Type::isVectorTy()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Index->getType()->isVectorTy()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::GetElementPtrInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1012:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOperands() > 1; ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::GetElementPtrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1044:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::GetElementPtr); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ICmpInst::isEquality(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1187:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return P == ICMP_EQ || P == ICMP_NE; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ICmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1224:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ICmp; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FCmpInst::isEquality(llvm::CmpInst::Predicate)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1307:20: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Pred == FCMP_UNE; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FCmpInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1340:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::FCmp; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1550:32: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ void setTailCall(bool isTC = true) { ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::hasDescriptor() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1400:39: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasDescriptor() const { return HasDescriptor; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1539:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Kind == TCK_Tail || Kind == TCK_MustTail; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isMustTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1543:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromInstruction() & 3) == TCK_MustTail; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::isNoTailCall() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1547:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (getSubclassDataFromInstruction() & 3) == TCK_NoTail; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::CallInst::setTailCall(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1552:67: error: can’t convert a vector of type ‘__vector(4) llvm::CallInst::TailCallKind’ to type ‘unsigned int’ which has different size unsigned(isTC ? TCK_Tail : TCK_None)); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CallInst::hasStructRetAttr() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1810:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Function; Y = llvm::Use]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Function; Y = llvm::Use]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CallInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1853:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Call; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SelectInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1990:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Select; ^~~~~~ [ 10%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::VAArgInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2036:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == VAArg; ^~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o -c /<>/lib/CL/devices/pthread/pthread_scheduler.c /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ExtractElementInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2093:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ExtractElement; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InsertElementInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2156:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::InsertElement; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2234:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ShuffleVectorInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2242:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ShuffleVector; ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::ExtractValueInst::idx_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2313:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ inline idx_iterator idx_begin() const { return Indices.begin(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::ExtractValueInst::idx_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2314:58: error: ‘const class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? inline idx_iterator idx_end() const { return Indices.end(); } ^~~ append /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ArrayRef llvm::ExtractValueInst::getIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2330:12: error: could not convert ‘((const llvm::ExtractValueInst*)this)->llvm::ExtractValueInst::Indices’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return Indices; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::ExtractValueInst::getNumIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2334:30: error: ‘const class llvm::SmallVector’ has no member named ‘size’ return (unsigned)Indices.size(); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::ExtractValueInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2338:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ExtractValueInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2343:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::ExtractValue; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::InsertValueInst::idx_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2435:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ inline idx_iterator idx_begin() const { return Indices.begin(); } ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘const unsigned int* llvm::InsertValueInst::idx_end() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2436:58: error: ‘const class llvm::SmallVector’ has no member named ‘end’; did you mean ‘append’? inline idx_iterator idx_end() const { return Indices.end(); } ^~~ append /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ArrayRef llvm::InsertValueInst::getIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2462:12: error: could not convert ‘((const llvm::InsertValueInst*)this)->llvm::InsertValueInst::Indices’ from ‘const llvm::SmallVector’ to ‘llvm::ArrayRef’ return Indices; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::InsertValueInst::getNumIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2466:30: error: ‘const class llvm::SmallVector’ has no member named ‘size’ return (unsigned)Indices.size(); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InsertValueInst::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2470:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InsertValueInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2475:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::InsertValue; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2687:68: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Value *removeIncomingValue(unsigned Idx, bool DeletePHIIfEmpty = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2689:74: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Value *removeIncomingValue(const BasicBlock *BB, bool DeletePHIIfEmpty=true) { ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::PHINode::allocHungoffUses(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2560:47: error: no matching function for call to ‘llvm::PHINode::allocHungoffUses(unsigned int&, bool)’ User::allocHungoffUses(N, /* IsPhi */ true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:8: note: candidate: void llvm::User::allocHungoffUses(unsigned int, __vector(4) __bool int) void allocHungoffUses(unsigned N, bool IsPhi = false); ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/User.h:90:8: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::PHINode::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2722:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::PHI; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::LandingPadInst::isCleanup() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2797:70: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool isCleanup() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘void llvm::LandingPadInst::setCleanup(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2802:43: error: no matching function for call to ‘llvm::LandingPadInst::setInstructionSubclassData(__vector(4) int)’ (V ? 1 : 0)); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:583:8: note: candidate: void llvm::Instruction::setInstructionSubclassData(short unsigned int) void setInstructionSubclassData(unsigned short D) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:583:8: note: no known conversion for argument 1 from ‘__vector(4) int’ to ‘short unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::LandingPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2833:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::LandingPad; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2909:47: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Ret); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::BranchInst::isUnconditional() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2985:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isUnconditional() const { return getNumOperands() == 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::BranchInst::isConditional() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2986:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isConditional() const { return getNumOperands() == 3; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::BranchInst::getNumSuccessors() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2998:62: error: cannot convert ‘__vector(4) __bool int’ to ‘unsigned int’ in return unsigned getNumSuccessors() const { return 1+isConditional(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::BranchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3019:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Br); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::SwitchInst::CaseIt llvm::SwitchInst::findCaseValue(const llvm::ConstantInt*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3281:53: error: could not convert ‘i.llvm::SwitchInst::CaseIt::.llvm::SwitchInst::CaseIteratorT::operator!=(e.llvm::SwitchInst::CaseIt::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (CaseIt i = case_begin(), e = case_end(); i != e; ++i) ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::SwitchInst::ConstCaseIt llvm::SwitchInst::findCaseValue(const llvm::ConstantInt*) const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3287:58: error: could not convert ‘i.llvm::SwitchInst::CaseIteratorT::operator!=(e)’ from ‘__vector(4) __bool int’ to ‘bool’ for (ConstCaseIt i = case_begin(), e = case_end(); i != e; ++i) ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::ConstantInt* llvm::SwitchInst::findCaseDest(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3299:53: error: could not convert ‘i.llvm::SwitchInst::CaseIt::.llvm::SwitchInst::CaseIteratorT::operator!=(e.llvm::SwitchInst::CaseIt::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (CaseIt i = case_begin(), e = case_end(); i != e; ++i) { ~~^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SwitchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3334:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Switch; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::IndirectBrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3439:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::IndirectBr; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InvokeInst::hasDescriptor() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3497:39: error: cannot convert ‘const unsigned char:1’ to ‘__vector(4) __bool int’ in return bool hasDescriptor() const { return HasDescriptor; } ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::InvokeInst::hasStructRetAttr() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3841:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::InvokeInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3909:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::Invoke); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ResumeInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4007:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Resume; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CatchSwitchInst::hasUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4093:74: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool hasUnwindDest() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::CatchSwitchInst::getUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4096:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::CatchSwitchInst::getNumHandlers() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4109:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::CatchSwitchInst::handler_iterator llvm::CatchSwitchInst::handler_begin()’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4132:22: error: could not convert ‘((llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::CatchSwitchInst::const_handler_iterator llvm::CatchSwitchInst::handler_begin() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4141:22: error: could not convert ‘((const llvm::CatchSwitchInst*)this)->llvm::CatchSwitchInst::hasUnwindDest()’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasUnwindDest()) ~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchSwitchInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4190:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CatchSwitch; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CleanupPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4241:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CleanupPad; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchPadInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4291:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::CatchPad; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CatchReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4355:52: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::CatchRet); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘__vector(4) __bool int llvm::CleanupReturnInst::hasUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4418:74: error: cannot convert ‘unsigned int’ to ‘__vector(4) __bool int’ in return bool hasUnwindDest() const { return getSubclassDataFromInstruction() & 1; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::CleanupReturnInst::getNumSuccessors() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4430:68: error: cannot convert ‘__vector(4) int’ to ‘unsigned int’ in return unsigned getNumSuccessors() const { return hasUnwindDest() ? 1 : 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::CleanupReturnInst::getUnwindDest() const’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4433:28: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::BasicBlock*}’ is not an integer or floating point type of the same size as ‘__bool int’ return hasUnwindDest() ? cast(Op<1>()) : nullptr; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::CleanupReturnInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4443:54: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (I->getOpcode() == Instruction::CleanupRet); ^ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::UnreachableInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4498:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Instruction::Unreachable; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::TruncInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4542:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == Trunc; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::ZExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4581:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == ZExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4620:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == SExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPTruncInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4659:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPTrunc; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPExtInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4698:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPExt; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::UIToFPInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4737:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == UIToFP; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::SIToFPInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4776:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == SIToFP; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPToUIInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4815:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPToUI; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::FPToSIInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4854:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == FPToSI; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::IntToPtrInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4897:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == IntToPtr; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::PtrToIntInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4948:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == PtrToInt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::BitCastInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:4987:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == BitCast; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In static member function ‘static __vector(4) __bool int llvm::AddrSpaceCastInst::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:5027:30: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return I->getOpcode() == AddrSpaceCast; ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Operator*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::Instruction; Y = const llvm::Operator*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:36:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::Operator::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:65:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static inline bool classof(const Instruction *) { return true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::Operator::classof(const llvm::ConstantExpr*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:66:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static inline bool classof(const ConstantExpr *) { return true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:88:53: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::OverflowingBinaryOperator::’) (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); ~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:92:51: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::OverflowingBinaryOperator::’) (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); ~~^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::OverflowingBinaryOperator::hasNoUnsignedWrap() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:99:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & NoUnsignedWrap; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::OverflowingBinaryOperator::hasNoSignedWrap() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:105:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & NoSignedWrap) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::OverflowingBinaryOperator::classof(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:112:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return I->getOpcode() == Instruction::Shl; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::OverflowingBinaryOperator::classof(const llvm::ConstantExpr*)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:118:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return CE->getOpcode() == Instruction::Shl; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:139:67: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::PossiblyExactOperator::’) SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); ~~^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::PossiblyExactOperator::isExact() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:145:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & IsExact; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In static member function ‘static __vector(4) __bool int llvm::PossiblyExactOperator::isPossiblyExactOpcode(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:152:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return OpC == Instruction::LShr; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::any() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:188:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool any() const { return Flags != 0; } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noNaNs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:194:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noNaNs() const { return 0 != (Flags & NoNaNs); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noInfs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:195:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noInfs() const { return 0 != (Flags & NoInfs); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::noSignedZeros() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:196:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool noSignedZeros() const { return 0 != (Flags & NoSignedZeros); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::allowReciprocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:197:70: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FastMathFlags::unsafeAlgebra() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:198:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool unsafeAlgebra() const { return 0 != (Flags & UnsafeAlgebra); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasUnsafeAlgebra(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:227:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::UnsafeAlgebra); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:230:10: error: could not convert ‘B’ from ‘__vector(4) __bool int’ to ‘bool’ if (B) { ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:231:24: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoNaNs(bool)’ setHasNoNaNs(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:238:8: note: candidate: void llvm::FPMathOperator::setHasNoNaNs(__vector(4) __bool int) void setHasNoNaNs(bool B) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:238:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:232:24: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoInfs(bool)’ setHasNoInfs(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:244:8: note: candidate: void llvm::FPMathOperator::setHasNoInfs(__vector(4) __bool int) void setHasNoInfs(bool B) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:244:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:233:31: error: no matching function for call to ‘llvm::FPMathOperator::setHasNoSignedZeros(bool)’ setHasNoSignedZeros(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:250:8: note: candidate: void llvm::FPMathOperator::setHasNoSignedZeros(__vector(4) __bool int) void setHasNoSignedZeros(bool B) { ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:250:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:234:33: error: no matching function for call to ‘llvm::FPMathOperator::setHasAllowReciprocal(bool)’ setHasAllowReciprocal(true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:256:8: note: candidate: void llvm::FPMathOperator::setHasAllowReciprocal(__vector(4) __bool int) void setHasAllowReciprocal(bool B) { ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:256:8: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:241:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoNaNs); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:247:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoInfs); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:253:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::NoSignedZeros); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:259:10: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::FastMathFlags::’) (B * FastMathFlags::AllowReciprocal); ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasUnsafeAlgebra() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:278:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::UnsafeAlgebra) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoNaNs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:284:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoNaNs) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoInfs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:290:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoInfs) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasNoSignedZeros() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:296:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::NoSignedZeros) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::FPMathOperator::hasAllowReciprocal() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:302:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0; ^ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:380:49: error: no match for ‘operator*’ (operand types are ‘__vector(4) __bool int’ and ‘llvm::GEPOperator::’) (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); ~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::isInBounds() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:386:35: error: cannot convert ‘int’ to ‘__vector(4) __bool int’ in return return SubclassOptionalData & IsInBounds; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:429:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getNumOperands() > 1; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::ConstantInt; Y = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = llvm::ConstantInt; Y = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:36:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasAllZeroIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:438:22: error: could not convert ‘C->llvm::ConstantInt::isZero()’ from ‘__vector(4) __bool int’ to ‘bool’ if (C->isZero()) ~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:440:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:442:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h: In member function ‘__vector(4) __bool int llvm::GEPOperator::hasAllConstantIndices() const’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:450:11: error: could not convert ‘((llvm::isa(I) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!isa(I)) ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:451:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:453:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:39:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In constructor ‘llvm::ValueHandleBase::ValueHandleBase(llvm::ValueHandleBase::HandleBaseKind, const llvm::ValueHandleBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:49:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In constructor ‘llvm::ValueHandleBase::ValueHandleBase(llvm::ValueHandleBase::HandleBaseKind, llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:64:16: error: could not convert ‘llvm::ValueHandleBase::isValid(V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In destructor ‘llvm::ValueHandleBase::~ValueHandleBase()’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:69:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In member function ‘llvm::Value* llvm::ValueHandleBase::operator=(llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:75:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) RemoveFromUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:77:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) AddToUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In member function ‘llvm::Value* llvm::ValueHandleBase::operator=(const llvm::ValueHandleBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:83:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) RemoveFromUseList(); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:85:16: error: could not convert ‘llvm::ValueHandleBase::isValid(((llvm::ValueHandleBase*)this)->llvm::ValueHandleBase::V)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isValid(V)) AddToExistingUseList(RHS.getPrevPtr()); ~~~~~~~^~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: In static member function ‘static __vector(4) __bool int llvm::ValueHandleBase::isValid(llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:98:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V != DenseMapInfo::getTombstoneKey(); ^ /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/ValueHandle.h:256:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = true; ^~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:32:0: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:65:49: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock *BB, BasicBlock::iterator InsertPt) const { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderDefaultInserter::InsertHelper(llvm::Instruction*, const llvm::Twine&, llvm::BasicBlock*, int) const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:66:31: error: ‘llvm::BasicBlock::InstListType {aka class llvm::SymbolTableList}’ has no member named ‘insert’; did you mean ‘sort’? if (BB) BB->getInstList().insert(InsertPt, I); ^~~~~~ sort /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:82:49: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock *BB, BasicBlock::iterator InsertPt) const { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:94:15: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator InsertPt; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:122:15: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator GetInsertPoint() const { return InsertPt; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:143:54: error: ‘llvm::BasicBlock::iterator’ has not been declared void SetInsertPoint(BasicBlock *TheBB, BasicBlock::iterator IP) { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:170:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator Point; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:177:54: error: ‘llvm::BasicBlock::iterator’ has not been declared InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:184:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator getPoint() const { return Point; } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:231:17: error: ‘iterator’ in ‘class llvm::BasicBlock’ does not name a type BasicBlock::iterator Point; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:405:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:413:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:423:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:432:44: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:444:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:452:45: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool isVolatile = false, MDNode *TBAATag = nullptr, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::ClearInsertionPoint()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:5: error: ‘InsertPt’ was not declared in this scope InsertPt = BasicBlock::iterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:5: note: suggested alternative: ‘InsertPoint’ InsertPt = BasicBlock::iterator(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:118:28: error: ‘iterator’ is not a member of ‘llvm::BasicBlock’ InsertPt = BasicBlock::iterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:5: error: ‘InsertPt’ was not declared in this scope InsertPt = BB->end(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:5: note: suggested alternative: ‘InsertPoint’ InsertPt = BB->end(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:129:20: error: ‘class llvm::BasicBlock’ has no member named ‘end’ InsertPt = BB->end(); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:5: error: ‘InsertPt’ was not declared in this scope InsertPt = I->getIterator(); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:5: note: suggested alternative: ‘InsertPoint’ InsertPt = I->getIterator(); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:136:19: error: ‘class llvm::Instruction’ has no member named ‘getIterator’; did you mean ‘op_iterator’? InsertPt = I->getIterator(); ^~~~~~~~~~~ op_iterator /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::SetInsertPoint(llvm::BasicBlock*, int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:145:5: error: ‘InsertPt’ was not declared in this scope InsertPt = IP; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:145:5: note: suggested alternative: ‘InsertPoint’ InsertPt = IP; ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:146:22: error: ‘class llvm::BasicBlock’ has no member named ‘end’ if (IP != TheBB->end()) ^~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:147:33: error: base operand of ‘->’ is not a pointer SetCurrentDebugLocation(IP->getDebugLoc()); ^~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In constructor ‘llvm::IRBuilderBase::InsertPoint::InsertPoint(llvm::BasicBlock*, int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:178:29: error: class ‘llvm::IRBuilderBase::InsertPoint’ does not have any field named ‘Point’ : Block(InsertBlock), Point(InsertPoint) {} ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘__vector(4) __bool int llvm::IRBuilderBase::InsertPoint::isSet() const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:181:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isSet() const { return (Block != nullptr); } ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::IRBuilderBase::InsertPoint llvm::IRBuilderBase::saveIP() const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:189:42: error: ‘GetInsertPoint’ was not declared in this scope return InsertPoint(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:189:42: note: suggested alternative: ‘SetInsertPoint’ return InsertPoint(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::IRBuilderBase::InsertPoint llvm::IRBuilderBase::saveAndClearIP()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:194:38: error: ‘GetInsertPoint’ was not declared in this scope InsertPoint IP(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:194:38: note: suggested alternative: ‘SetInsertPoint’ InsertPoint IP(GetInsertBlock(), GetInsertPoint()); ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘void llvm::IRBuilderBase::restoreIP(llvm::IRBuilderBase::InsertPoint)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:201:17: error: could not convert ‘IP.llvm::IRBuilderBase::InsertPoint::isSet()’ from ‘__vector(4) __bool int’ to ‘bool’ if (IP.isSet()) ~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:202:40: error: ‘class llvm::IRBuilderBase::InsertPoint’ has no member named ‘getPoint’; did you mean ‘InsertPoint’? SetInsertPoint(IP.getBlock(), IP.getPoint()); ^~~~~~~~ InsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In constructor ‘llvm::IRBuilderBase::InsertPointGuard::InsertPointGuard(llvm::IRBuilderBase&)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:236:50: error: class ‘llvm::IRBuilderBase::InsertPointGuard’ does not have any field named ‘Point’ : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:236:58: error: ‘class llvm::IRBuilderBase’ has no member named ‘GetInsertPoint’; did you mean ‘SetInsertPoint’? : Builder(B), Block(B.GetInsertBlock()), Point(B.GetInsertPoint()), ^~~~~~~~~~~~~~ SetInsertPoint /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In destructor ‘llvm::IRBuilderBase::InsertPointGuard::~InsertPointGuard()’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:243:44: error: ‘Point’ was not declared in this scope Builder.restoreIP(InsertPoint(Block, Point)); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:243:44: note: suggested alternative: ‘count’ Builder.restoreIP(InsertPoint(Block, Point)); ^~~~~ count /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt1(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:283:43: error: no matching function for call to ‘llvm::ConstantInt::get(llvm::IntegerType*, __vector(4) __bool int&)’ return ConstantInt::get(getInt1Ty(), V); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:20: note: candidate: static llvm::Constant* llvm::ConstantInt::get(llvm::Type*, uint64_t, __vector(4) __bool int) static Constant *get(Type *Ty, uint64_t V, bool isSigned = false); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:108:20: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘uint64_t {aka long unsigned int}’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:116:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int) static ConstantInt *get(IntegerType *Ty, uint64_t V, ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:116:23: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘uint64_t {aka long unsigned int}’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:129:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::LLVMContext&, const llvm::APInt&) static ConstantInt *get(LLVMContext &Context, const APInt &V); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:129:23: note: no known conversion for argument 1 from ‘llvm::IntegerType*’ to ‘llvm::LLVMContext&’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:133:23: note: candidate: static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, llvm::StringRef, uint8_t) static ConstantInt *get(IntegerType *Ty, StringRef Str, ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:133:23: note: candidate expects 3 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:138:20: note: candidate: static llvm::Constant* llvm::ConstantInt::get(llvm::Type*, const llvm::APInt&) static Constant *get(Type* Ty, const APInt& V); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:138:20: note: no known conversion for argument 2 from ‘__vector(4) __bool int’ to ‘const llvm::APInt&’ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:32:0: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt8(uint8_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:298:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt8Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt16(uint16_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:303:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt16Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt32(uint32_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:308:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt32Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getInt64(uint64_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:313:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getInt64Ty(), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘llvm::ConstantInt* llvm::IRBuilderBase::getIntN(unsigned int, uint64_t)’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:319:44: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘static llvm::ConstantInt* llvm::ConstantInt::get(llvm::IntegerType*, uint64_t, __vector(4) __bool int)’ return ConstantInt::get(getIntNTy(N), C); ^ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:620:44: error: ‘llvm::BasicBlock::iterator’ has not been declared IRBuilder(BasicBlock *TheBB, BasicBlock::iterator IP, const T &F, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:627:44: error: ‘llvm::BasicBlock::iterator’ has not been declared IRBuilder(BasicBlock *TheBB, BasicBlock::iterator IP, ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h: In member function ‘InstTy* llvm::IRBuilder::Insert(InstTy*, const llvm::Twine&) const’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:640:37: error: ‘InsertPt’ was not declared in this scope this->InsertHelper(I, Name, BB, InsertPt); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:640:37: note: suggested alternative: ‘Insert’ this->InsertHelper(I, Name, BB, InsertPt); ^~~~~~~~ Insert In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::pred_iterator llvm::pred_end(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:103:78: error: no matching function for call to ‘llvm::PredIterator >::PredIterator(llvm::BasicBlock*&, bool)’ inline pred_iterator pred_end(BasicBlock *BB) { return pred_iterator(BB, true);} ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: candidate: llvm::PredIterator::PredIterator(Ptr*, __vector(4) __bool int) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate: llvm::PredIterator::PredIterator(Ptr*) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate: llvm::PredIterator::PredIterator() [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] PredIterator() = default; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate: constexpr llvm::PredIterator >::PredIterator(const llvm::PredIterator >&) class PredIterator : public std::iterator >::PredIterator(llvm::PredIterator >&&) /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::const_pred_iterator llvm::pred_end(const llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:105:38: error: no matching function for call to ‘llvm::PredIterator >::PredIterator(const llvm::BasicBlock*&, bool)’ return const_pred_iterator(BB, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: candidate: llvm::PredIterator::PredIterator(Ptr*, __vector(4) __bool int) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] inline PredIterator(Ptr *bb, bool) : It(bb->user_end()) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:59:10: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate: llvm::PredIterator::PredIterator(Ptr*) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] explicit inline PredIterator(Ptr *bb) : It(bb->user_begin()) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:56:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate: llvm::PredIterator::PredIterator() [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl] PredIterator() = default; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:55:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate: constexpr llvm::PredIterator >::PredIterator(const llvm::PredIterator >&) class PredIterator : public std::iterator >::PredIterator(llvm::PredIterator >&&) /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:38:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::succ_iterator llvm::succ_end(llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:135:49: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(llvm::TerminatorInst*, bool)’ return succ_iterator(BB->getTerminator(), true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = llvm::TerminatorInst*; BB = llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In function ‘llvm::succ_const_iterator llvm::succ_end(const llvm::BasicBlock*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:138:55: error: no matching function for call to ‘llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst*, bool)’ return succ_const_iterator(BB->getTerminator(), true); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term, __vector(4) __bool int) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] inline SuccIterator(Term T, bool) : TermInst(T) { ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:159:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate: llvm::TerminatorInst::SuccIterator::SuccIterator(Term) [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock] explicit inline SuccIterator(Term T) : TermInst(T), idx(0) {} ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:157:21: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate: constexpr llvm::TerminatorInst::SuccIterator::SuccIterator(const llvm::TerminatorInst::SuccIterator&) class SuccIterator : public std::iterator::SuccIterator(llvm::TerminatorInst::SuccIterator&&) /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:115:9: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:152:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike >::value’ of non-integral type [-fpermissive] static const bool value = isPodLike::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:38: error: ‘iterator’ is not a member of ‘llvm::Function’ typedef pointer_iterator nodes_iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:38: error: ‘iterator’ is not a member of ‘llvm::Function’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:46: error: template argument 1 is invalid typedef pointer_iterator nodes_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:214:46: error: template argument 2 is invalid /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_begin(llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:217:30: error: ‘class llvm::Function’ has no member named ‘begin’; did you mean ‘op_begin’? return nodes_iterator(F->begin()); ^~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_end(llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:221:30: error: ‘class llvm::Function’ has no member named ‘end’; did you mean ‘op_end’? return nodes_iterator(F->end()); ^~~ op_end /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:38: error: ‘const_iterator’ is not a member of ‘llvm::Function’ typedef pointer_iterator nodes_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:38: error: ‘const_iterator’ is not a member of ‘llvm::Function’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:52: error: template argument 1 is invalid typedef pointer_iterator nodes_iterator; ^ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:231:52: error: template argument 2 is invalid /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_begin(const llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:234:30: error: ‘const class llvm::Function’ has no member named ‘begin’; did you mean ‘op_begin’? return nodes_iterator(F->begin()); ^~~~~ op_begin /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In static member function ‘static llvm::GraphTraits::nodes_iterator llvm::GraphTraits::nodes_end(const llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:238:30: error: ‘const class llvm::Function’ has no member named ‘end’; did you mean ‘op_end’? return nodes_iterator(F->end()); ^~~ op_end In file included from /<>/lib/llvmopencl/ParallelRegion.cc:34:0: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:61:39: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock::iterator &BI, Value *V); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:68:38: error: ‘llvm::BasicBlock::iterator’ has not been declared BasicBlock::iterator &BI, Instruction *I); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: In constructor ‘llvm::CriticalEdgeSplittingOptions::CriticalEdgeSplittingOptions(llvm::DominatorTree*, llvm::LoopInfo*)’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:88:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization DontDeleteUselessPHIs(false), PreserveLCSSA(false) {} ^ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:88:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:88:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: In member function ‘llvm::CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setMergeIdenticalEdges()’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:91:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment MergeIdenticalEdges = true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: In member function ‘llvm::CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setDontDeleteUselessPHIs()’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:96:29: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment DontDeleteUselessPHIs = true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: In member function ‘llvm::CriticalEdgeSplittingOptions& llvm::CriticalEdgeSplittingOptions::setPreserveLCSSA()’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:101:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment PreserveLCSSA = true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: In function ‘__vector(4) __bool int llvm::SplitCriticalEdge(llvm::BasicBlock*, llvm::pred_iterator, const llvm::CriticalEdgeSplittingOptions&)’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:142:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization bool MadeChange = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:203:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool PreserveLCSSA = false); ^ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:223:60: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool PreserveLCSSA = false); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::CallInst; Y = const llvm::Instruction*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:544:24: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = llvm::CallInst; Y = const llvm::Instruction*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:544:24: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In member function ‘__vector(4) __bool int llvm::CallSite::operator<(const llvm::CallSite&) const’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:631:49: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getInstruction() < CS.getInstruction(); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h:45:49: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ void print(raw_ostream &OS, bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Comdat&)’: /usr/lib/llvm-4.0/include/llvm/IR/Comdat.h:59:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘2’ to ‘void llvm::Comdat::print(llvm::raw_ostream&, __vector(4) __bool int) const’ C.print(OS); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:19:0, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h: In static member function ‘static __vector(4) __bool int llvm::GlobalIndirectSymbol::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h:76:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:29:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h: In static member function ‘static __vector(4) __bool int llvm::GlobalAlias::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalAlias.h:88:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalAliasVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:19:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h: In instantiation of ‘struct llvm::ilist_detail::compute_node_options’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:146:7: required from ‘class llvm::ilist_node’ /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h:34:34: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_options.h:127:7: error: could not convert template argument ‘llvm::ilist_detail::explicitness<0>::is_explicit’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ type; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:23:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h: In static member function ‘static __vector(4) __bool int llvm::GlobalIFunc::classof(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIFunc.h:70:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return V->getValueID() == Value::GlobalIFuncVal; ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:70:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:75:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:85:24: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::SymbolTableListTraits >’: /usr/lib/llvm-4.0/include/llvm/IR/SymbolTableListTraits.h:109:7: required from ‘class llvm::SymbolTableList’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:90:24: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::SymbolTableListTraits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h: In instantiation of ‘class llvm::iplist_impl, llvm::ilist_traits >’: /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:403:7: required from ‘class llvm::iplist’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:95:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:228:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::begin’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::begin; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:229:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::end’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::end; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:230:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::rbegin’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rbegin; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:231:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::rend’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::rend; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:233:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::front’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::front; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:234:25: error: no members matching ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka llvm::simple_ilist}::back’ in ‘llvm::iplist_impl, llvm::ilist_traits >::base_list_type {aka class llvm::simple_ilist}’ using base_list_type::back; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:298:8: error: expected unqualified-id before ‘__attribute__’ std::vector getIdentifiedStructTypes() const; ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:518:3: error: ‘global_iterator’ does not name a type; did you mean ‘ilist_iterator’? global_iterator global_begin() { return GlobalList.begin(); } ^~~~~~~~~~~~~~~ ilist_iterator [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o -c /<>/lib/CL/clCreateProgramWithBuiltInKernels.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:519:3: error: ‘const_global_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_global_iterator global_begin() const { return GlobalList.begin(); } ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:520:3: error: ‘global_iterator’ does not name a type; did you mean ‘ilist_iterator’? global_iterator global_end () { return GlobalList.end(); } ^~~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:521:3: error: ‘const_global_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_global_iterator global_end () const { return GlobalList.end(); } ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:18: error: ‘global_iterator’ was not declared in this scope iterator_range globals() { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:18: note: suggested alternative: ‘ilist_iterator’ iterator_range globals() { ^~~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:524:33: error: template argument 1 is invalid iterator_range globals() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:18: error: ‘const_global_iterator’ was not declared in this scope iterator_range globals() const { ^~~~~~~~~~~~~~~~~~~~~ [ 11%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o -c /<>/lib/CL/devices/pthread/pthread_utils.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range globals() const { ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:527:39: error: template argument 1 is invalid iterator_range globals() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:535:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() { return FunctionList.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:536:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return FunctionList.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:537:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end () { return FunctionList.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:538:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end () const { return FunctionList.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:539:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() { return FunctionList.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:540:3: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? const_reverse_iterator rbegin() const{ return FunctionList.rbegin(); } ^~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o -c /<>/lib/CL/clReleaseProgram.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:541:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() { return FunctionList.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:542:3: error: ‘const_reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? const_reverse_iterator rend() const { return FunctionList.rend(); } ^~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:18: error: ‘iterator’ was not declared in this scope iterator_range functions() { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:18: note: suggested alternatives: In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/set:60, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ struct iterator ^~~~~~~~ /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:546:26: error: template argument 1 is invalid iterator_range functions() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:18: error: ‘const_iterator’ was not declared in this scope iterator_range functions() const { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:18: note: suggested alternative: ‘concat_iterator’ iterator_range functions() const { ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:549:32: error: template argument 1 is invalid iterator_range functions() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:557:3: error: ‘alias_iterator’ does not name a type; did you mean ‘ilist_iterator’? alias_iterator alias_begin() { return AliasList.begin(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:558:3: error: ‘const_alias_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_alias_iterator alias_begin() const { return AliasList.begin(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:559:3: error: ‘alias_iterator’ does not name a type; did you mean ‘ilist_iterator’? alias_iterator alias_end () { return AliasList.end(); } ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:560:3: error: ‘const_alias_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_alias_iterator alias_end () const { return AliasList.end(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:18: error: ‘alias_iterator’ was not declared in this scope iterator_range aliases() { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:18: note: suggested alternative: ‘ilist_iterator’ iterator_range aliases() { ^~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:564:32: error: template argument 1 is invalid iterator_range aliases() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:18: error: ‘const_alias_iterator’ was not declared in this scope iterator_range aliases() const { ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range aliases() const { ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:567:38: error: template argument 1 is invalid iterator_range aliases() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:575:3: error: ‘ifunc_iterator’ does not name a type; did you mean ‘succ_iterator’? ifunc_iterator ifunc_begin() { return IFuncList.begin(); } ^~~~~~~~~~~~~~ succ_iterator make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' /usr/lib/llvm-4.0/include/llvm/IR/Module.h:576:3: error: ‘const_ifunc_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_ifunc_iterator ifunc_begin() const { return IFuncList.begin(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:577:3: error: ‘ifunc_iterator’ does not name a type; did you mean ‘succ_iterator’? ifunc_iterator ifunc_end () { return IFuncList.end(); } ^~~~~~~~~~~~~~ succ_iterator [ 11%] Built target pocl-devices-pthread /usr/lib/llvm-4.0/include/llvm/IR/Module.h:578:3: error: ‘const_ifunc_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_ifunc_iterator ifunc_end () const { return IFuncList.end(); } ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:18: error: ‘ifunc_iterator’ was not declared in this scope iterator_range ifuncs() { ^~~~~~~~~~~~~~ [ 11%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/atomics.cl.bc /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:18: note: suggested alternative: ‘succ_iterator’ iterator_range ifuncs() { ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:582:32: error: template argument 1 is invalid iterator_range ifuncs() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:18: error: ‘const_ifunc_iterator’ was not declared in this scope iterator_range ifuncs() const { ^~~~~~~~~~~~~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/atomics.cl.bc -c /<>/lib/kernel/atomics.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o -c /<>/lib/CL/clRetainProgram.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:18: note: suggested alternative: ‘const_pred_iterator’ iterator_range ifuncs() const { ^~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:585:38: error: template argument 1 is invalid iterator_range ifuncs() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:41: error: ‘iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:41: note: suggested alternatives: In file included from /usr/include/c++/7/bits/stl_algobase.h:65:0, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/set:60, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ struct iterator ^~~~~~~~ /usr/include/c++/7/bits/stl_iterator_base_types.h:118:12: note: ‘std::iterator’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:51: error: ‘global_iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:51: note: suggested alternative: ‘ilist_iterator’ typedef concat_iterator ^~~~~~~~~~~~~~~ ilist_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:66: error: template argument 2 is invalid typedef concat_iterator ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:593:66: error: template argument 3 is invalid /usr/lib/llvm-4.0/include/llvm/IR/Module.h:595:47: error: ‘const_iterator’ was not declared in this scope typedef concat_iterator ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:27: note: suggested alternative: ‘const_pred_iterator’ const_global_iterator> ^~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:48: error: template argument 2 is invalid const_global_iterator> ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:596:48: error: template argument 3 is invalid [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o -c /<>/lib/CL/clBuildProgram.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:622:3: error: ‘named_metadata_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? named_metadata_iterator named_metadata_begin() { return NamedMDList.begin(); } ^~~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/depend make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' cd /<>/obj-powerpc64le-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/basic /<>/obj-powerpc64le-linux-gnu /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/basic /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/DependInfo.cmake --color= /usr/lib/llvm-4.0/include/llvm/IR/Module.h:623:3: error: ‘const_named_metadata_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_named_metadata_iterator named_metadata_begin() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const_pred_iterator Scanning dependencies of target pocl-devices-basic make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build make[3]: Entering directory '/<>/obj-powerpc64le-linux-gnu' [ 11%] Building C object lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/basic.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL/devices/basic && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/pocl-devices-basic.dir/basic.c.o -c /<>/lib/CL/devices/basic/basic.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:627:3: error: ‘named_metadata_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? named_metadata_iterator named_metadata_end() { return NamedMDList.end(); } ^~~~~~~~~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:628:3: error: ‘const_named_metadata_iterator’ does not name a type; did you mean ‘const_pred_iterator’? const_named_metadata_iterator named_metadata_end() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const_pred_iterator /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:18: error: ‘named_metadata_iterator’ was not declared in this scope iterator_range named_metadata() { ^~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o -c /<>/lib/CL/pocl_build.c /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:18: note: suggested alternative: ‘named_metadata_empty’ iterator_range named_metadata() { ^~~~~~~~~~~~~~~~~~~~~~~ named_metadata_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:635:41: error: template argument 1 is invalid iterator_range named_metadata() { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:18: error: ‘const_named_metadata_iterator’ was not declared in this scope iterator_range named_metadata() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:18: note: suggested alternative: ‘named_metadata_empty’ iterator_range named_metadata() const { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ named_metadata_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:638:47: error: template argument 1 is invalid iterator_range named_metadata() const { ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:74: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:711:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool ShouldPreserveUseListOrder = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:712:32: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool IsForDebug = false) const; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:345:41: error: no matching function for call to ‘llvm::Module::getGlobalVariable(llvm::StringRef&, bool) const’ return getGlobalVariable(Name, false); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const GlobalVariable *getGlobalVariable(StringRef Name) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) const GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘llvm::GlobalVariable* llvm::Module::getNamedGlobal(llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:358:40: error: no matching function for call to ‘llvm::Module::getGlobalVariable(llvm::StringRef&, bool)’ return getGlobalVariable(Name, true); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef) const GlobalVariable *getGlobalVariable(StringRef Name) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:344:19: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) const GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal) const { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:348:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: candidate: llvm::GlobalVariable* llvm::Module::getGlobalVariable(llvm::StringRef, __vector(4) __bool int) GlobalVariable *getGlobalVariable(StringRef Name, bool AllowInternal = false); ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:352:19: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::isMaterialized() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:455:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isMaterialized() const { return !getMaterializer(); } ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::globals()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:23: error: ‘global_begin’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:23: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:39: error: ‘global_end’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:525:39: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::globals() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:23: error: ‘global_begin’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:23: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:39: error: ‘global_end’ was not declared in this scope return make_range(global_begin(), global_end()); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:528:39: note: suggested alternative: ‘global_empty’ return make_range(global_begin(), global_end()); ^~~~~~~~~~ global_empty /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::functions()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:23: error: ‘begin’ was not declared in this scope return make_range(begin(), end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:23: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:32: error: ‘end’ was not declared in this scope return make_range(begin(), end()); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:547:32: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::functions() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:23: error: ‘begin’ was not declared in this scope return make_range(begin(), end()); ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:23: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:32: error: ‘end’ was not declared in this scope return make_range(begin(), end()); ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:550:32: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::aliases()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:23: error: ‘alias_begin’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:23: note: suggested alternative: ‘has_rbegin’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ has_rbegin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:38: error: ‘alias_end’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:565:38: note: suggested alternative: ‘aliases’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~ aliases /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::aliases() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:23: error: ‘alias_begin’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:23: note: suggested alternative: ‘has_rbegin’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~~~ has_rbegin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:38: error: ‘alias_end’ was not declared in this scope return make_range(alias_begin(), alias_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:568:38: note: suggested alternative: ‘aliases’ return make_range(alias_begin(), alias_end()); ^~~~~~~~~ aliases [ 12%] Building LL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/barrier.ll.bc /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::ifuncs()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:23: error: ‘ifunc_begin’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/llvm-as-4.0 -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/barrier.ll.bc /<>/lib/kernel/host/../barrier.ll /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:23: note: suggested alternative: ‘succ_begin’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ succ_begin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:38: error: ‘ifunc_end’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:583:38: note: suggested alternative: ‘succ_end’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ succ_end /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::ifuncs() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:23: error: ‘ifunc_begin’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:23: note: suggested alternative: ‘succ_begin’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~~~ succ_begin /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:38: error: ‘ifunc_end’ was not declared in this scope return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:586:38: note: suggested alternative: ‘succ_end’ return make_range(ifunc_begin(), ifunc_end()); ^~~~~~~~~ succ_end In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: error: no matching function for call to ‘begin(int&)’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘int’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘const int’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘_Tp [_Nm]’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: error: no matching function for call to ‘begin(int&)’ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(_Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:48:50: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘int’ begin(_Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/7/bits/range_access.h: In substitution of ‘template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: required from ‘class llvm::detail::concat_range’ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:58:56: error: request for member ‘begin’ in ‘__cont’, which is of non-class type ‘const int’ begin(const _Container& __cont) -> decltype(__cont.begin()) ~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘class llvm::detail::concat_range’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:551:46: note: mismatched types ‘_Tp [_Nm]’ and ‘int’ decltype(std::begin(std::declval()))...> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::named_metadata()’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:23: error: ‘named_metadata_begin’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ [ 13%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/bitselect.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/bitselect.cl.bc -c /<>/lib/kernel/bitselect.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:23: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:47: error: ‘named_metadata_end’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/IR/Module.h:636:47: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘int llvm::Module::named_metadata() const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:23: error: ‘named_metadata_begin’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:23: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:47: error: ‘named_metadata_end’ was not declared in this scope return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:639:47: note: suggested alternative: ‘named_metadata_size’ return make_range(named_metadata_begin(), named_metadata_end()); ^~~~~~~~~~~~~~~~~~ named_metadata_size /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::debug_compile_units_iterator::operator==(const llvm::Module::debug_compile_units_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:664:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Idx == I.Idx; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In member function ‘__vector(4) __bool int llvm::Module::debug_compile_units_iterator::operator!=(const llvm::Module::debug_compile_units_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:667:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Idx != I.Idx; ^~~ /usr/lib/llvm-4.0/include/llvm/IR/Module.h: In function ‘llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:784:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘3’ to ‘void llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, __vector(4) __bool int, __vector(4) __bool int) const’ M.print(O, nullptr); ^ /usr/lib/llvm-4.0/include/llvm/IR/Module.h:784:21: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘4’ to ‘void llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*, __vector(4) __bool int, __vector(4) __bool int) const’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:50:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:86:42: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ explicit raw_ostream(bool unbuffered = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:218:66: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_ostream &write_escaped(StringRef Str, bool UseHexEscapes = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:249:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool Bold = false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:250:46: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool BG = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_ostream::raw_ostream(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:87:60: error: cannot convert ‘__vector(4) llvm::raw_ostream::BufferKind’ to ‘llvm::raw_ostream::BufferKind’ in initialization : BufferMode(unbuffered ? Unbuffered : InternalBuffer) { ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:194:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ return write(Str.data(), Str.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:194:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ return write(Str.data(), Str.size()); ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘virtual __vector(4) __bool int llvm::raw_ostream::is_displayed() const’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:267:46: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return virtual bool is_displayed() const { return false; } ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:337:48: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ explicit raw_pwrite_stream(bool Unbuffered = false) ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:400:60: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:414:58: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ raw_ostream &changeColor(enum Colors colors, bool bold=false, ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:415:36: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool bg=false) override; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘void llvm::raw_fd_ostream::error_detected()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:382:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment void error_detected() { Error = true; } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘void llvm::raw_fd_ostream::clear_error()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:442:13: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment Error = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_string_ostream::raw_string_ostream(std::__cxx11::string&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:474:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘1’ to ‘llvm::raw_ostream::raw_ostream(__vector(4) __bool int)’ explicit raw_string_ostream(std::string &O) : OS(O) {} ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In constructor ‘llvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl&)’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:506:64: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ for argument ‘1’ to ‘llvm::raw_pwrite_stream::raw_pwrite_stream(__vector(4) __bool int)’ explicit raw_svector_ostream(SmallVectorImpl &O) : OS(O) { ^ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str()’: /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:515:41: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ StringRef str() { return StringRef(OS.data(), OS.size()); } ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:515:52: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ StringRef str() { return StringRef(OS.data(), OS.size()); } ^~~~ In file included from /usr/include/c++/7/list:63:0, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:52, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/include/c++/7/bits/stl_list.h: In member function ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(std::__cxx11::list<_Tp, _Alloc>&&)’: /usr/include/c++/7/bits/stl_list.h:765:63: error: could not convert template argument ‘__move_storage’ from ‘const __vector(4) __bool int’ to ‘bool’ _M_move_assign(std::move(__x), __bool_constant<__move_storage>()); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::preserve(llvm::AnalysisKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:130:9: error: could not convert ‘((((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!areAllPreserved()) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::preserveSet(llvm::AnalysisSetKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:142:9: error: could not convert ‘((((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!areAllPreserved()) ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::intersect(const llvm::PreservedAnalyses&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:172:28: error: could not convert ‘(& Arg)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Arg.areAllPreserved()) ~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:174:24: error: could not convert ‘((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (areAllPreserved()) { ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:180:24: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : Arg.NotPreservedAnalysisIDs) { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:184:20: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : PreservedIDs) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PreservedAnalyses::intersect(llvm::PreservedAnalyses&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:194:28: error: could not convert ‘(& Arg)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Arg.areAllPreserved()) ~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:196:24: error: could not convert ‘((llvm::PreservedAnalyses*)this)->llvm::PreservedAnalyses::areAllPreserved()’ from ‘__vector(4) __bool int’ to ‘bool’ if (areAllPreserved()) { ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:202:24: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : Arg.NotPreservedAnalysisIDs) { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:206:20: error: could not convert ‘__for_begin.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__for_end.llvm::SmallPtrSetIterator::)’ from ‘__vector(4) __bool int’ to ‘bool’ for (auto ID : PreservedIDs) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In constructor ‘llvm::PreservedAnalyses::PreservedAnalysisChecker::PreservedAnalysisChecker(const llvm::PreservedAnalyses&, llvm::AnalysisKey*)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:224:75: error: cannot convert ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ to ‘const __vector(4) __bool int’ in initialization : PA(PA), ID(ID), IsAbandoned(PA.NotPreservedAnalysisIDs.count(ID)) {} ^ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:465:8: error: expected unqualified-id before ‘__attribute__’ std::vector> Passes; ^ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In constructor ‘llvm::PassManager::PassManager(llvm::PassManager&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:402:9: error: class ‘llvm::PassManager’ does not have any field named ‘Passes’ : Passes(std::move(Arg.Passes)), ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘llvm::PassManager& llvm::PassManager::operator=(llvm::PassManager&&)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:406:5: error: ‘Passes’ was not declared in this scope Passes = std::move(RHS.Passes); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:406:5: note: suggested alternative: ‘Pass’ Passes = std::move(RHS.Passes); ^~~~~~ Pass /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘llvm::PreservedAnalyses llvm::PassManager::run(IRUnitT&, AnalysisManagerT&, ExtraArgTs ...)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:420:35: error: ‘Passes’ was not declared in this scope for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:420:35: note: suggested alternative: ‘Pass’ for (unsigned Idx = 0, Size = Passes.size(); Idx != Size; ++Idx) { ^~~~~~ Pass /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In member function ‘void llvm::PassManager::addPass(PassT)’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:458:5: error: ‘Passes’ was not declared in this scope Passes.emplace_back(new PassModelT(std::move(Pass))); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:458:5: note: suggested alternative: ‘PassT’ Passes.emplace_back(new PassModelT(std::move(Pass))); ^~~~~~ PassT In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:569:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:989:6: error: template-id ‘invalidate<>’ for ‘unsigned int llvm::InnerAnalysisManagerProxy, llvm::Module>::Result::invalidate(llvm::Module&, const llvm::PreservedAnalyses&, llvm::AnalysisManager::Invalidator&)’ does not match any template declaration bool FunctionAnalysisManagerModuleProxy::Result::invalidate( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:991:44: note: saw 1 ‘template<>’, need 2 for specializing a member function template ModuleAnalysisManager::Invalidator &Inv); ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘class llvm::SmallDenseMap, 2>’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:3: error: non-constant condition for static assertion static_assert(isPowerOf2_64(InlineBuckets), ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:745:30: error: ‘constexpr __vector(4) __bool int llvm::isPowerOf2_64(uint64_t)’ called in a constant expression static_assert(isPowerOf2_64(InlineBuckets), ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: required from ‘class llvm::TinyPtrVector’ /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:44:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h: In instantiation of ‘class llvm::TinyPtrVector’: /usr/include/c++/7/bits/stl_pair.h:204:11: required from ‘struct std::pair >’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:39:8: required from ‘struct llvm::detail::DenseMapPair >’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:111:6: required from ‘class llvm::detail::AlignerImpl > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/Support/AlignOf.h:138:8: required from ‘struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep, char, char, char, char, char, char, char, char>’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:759:59: required from ‘class llvm::SmallDenseMap, 2>’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:1066:9: required from here /usr/lib/llvm-4.0/include/llvm/ADT/TinyPtrVector.h:34:38: error: no type named ‘value_type’ in ‘class llvm::SmallVector’ typedef typename VecTy::value_type value_type; ^~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:15:0, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:45, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::operator==(const llvm::Triple&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:249:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return ObjectFormat == Other.ObjectFormat; ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSVersionLT(unsigned int, unsigned int, unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:394:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS[0] < Major; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:396:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS[1] < Minor; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:398:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return LHS[1] < Micro; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:400:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isMacOSX() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:428:60: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isTvOS() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:442:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::TvOS; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWatchOS() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:447:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::WatchOS; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWatchABI() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:451:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getSubArch() == Triple::ARMSubArch_v7k; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSNetBSD() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:460:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::NetBSD; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSOpenBSD() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:464:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::OpenBSD; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSFreeBSD() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:468:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::FreeBSD; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSFuchsia() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:472:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Fuchsia; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSDragonFly() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:475:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isOSDragonFly() const { return getOS() == Triple::DragonFly; } ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSSolaris() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:478:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Solaris; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSBitrig() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:482:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Bitrig; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSIAMCU() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:486:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::ELFIAMCU; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isGNUEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:493:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return Env == Triple::GNUX32; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSContiki() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:497:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Contiki; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWindowsMSVCEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:504:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getEnvironment() == Triple::MSVC); ^ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isKnownWindowsMSVCEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:509:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32 && getEnvironment() == Triple::MSVC; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWindowsCoreCLREnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:513:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32 && getEnvironment() == Triple::CoreCLR; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWindowsItaniumEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:517:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32 && getEnvironment() == Triple::Itanium; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWindowsCygwinEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:521:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32 && getEnvironment() == Triple::Cygnus; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isWindowsGNUEnvironment() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:525:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32 && getEnvironment() == Triple::GNU; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSWindows() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:541:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Win32; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSNaCl() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:546:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::NaCl; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSLinux() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:551:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Linux; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSKFreeBSD() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:556:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::KFreeBSD; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSGlibc() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:561:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getOS() == Triple::Linux || getOS() == Triple::KFreeBSD; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSBinFormatELF() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:566:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getObjectFormat() == Triple::ELF; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSBinFormatCOFF() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:571:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getObjectFormat() == Triple::COFF; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isOSBinFormatMachO() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:576:41: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getObjectFormat() == Triple::MachO; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isPS4CPU() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:583:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getOS() == Triple::PS4; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isPS4() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:589:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getOS() == Triple::PS4; ^~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isAndroid() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:593:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool isAndroid() const { return getEnvironment() == Triple::Android; } ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isMusl() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:599:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return getEnvironment() == Triple::MuslEABIHF; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h: In member function ‘__vector(4) __bool int llvm::Triple::isNVPTX() const’: /usr/lib/llvm-4.0/include/llvm/ADT/Triple.h:604:63: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:70:8: error: expected unqualified-id before ‘__attribute__’ std::vector VectorDescs; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:73:8: error: expected unqualified-id before ‘__attribute__’ std::vector ScalarDescs; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:45:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘void llvm::TargetLibraryInfoImpl::setAvailableWithName(llvm::LibFunc::Func, llvm::StringRef)’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:129:26: error: could not convert ‘llvm::operator!=(llvm::TargetLibraryInfoImpl::StandardNames[((int)F)], Name)’ from ‘__vector(4) __bool int’ to ‘bool’ if (StandardNames[F] != Name) { ~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:295:59: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Attribute::AttrKind getExtAttrForI32Param(bool Signed = true) const { ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:306:60: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ Attribute::AttrKind getExtAttrForI32Return(bool Signed = true) const { ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘__vector(4) __bool int llvm::TargetLibraryInfo::has(llvm::LibFunc::Func) const’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:238:56: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Impl->getState(F) != TargetLibraryInfoImpl::Unavailable; ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘__vector(4) __bool int llvm::TargetLibraryInfo::hasOptimizedCodeGen(llvm::LibFunc::Func) const’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:254:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:277:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:279:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘llvm::Attribute::AttrKind llvm::TargetLibraryInfo::getExtAttrForI32Param(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:296:15: error: could not convert ‘((const llvm::TargetLibraryInfoImpl*)((const llvm::TargetLibraryInfo*)this)->llvm::TargetLibraryInfo::Impl)->llvm::TargetLibraryInfoImpl::ShouldExtI32Param’ from ‘const __vector(4) __bool int’ to ‘bool’ if (Impl->ShouldExtI32Param) ~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:297:52: error: cannot convert ‘__vector(4) llvm::Attribute::AttrKind’ to ‘llvm::Attribute::AttrKind’ in return return Signed ? Attribute::SExt : Attribute::ZExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:298:15: error: could not convert ‘((const llvm::TargetLibraryInfoImpl*)((const llvm::TargetLibraryInfo*)this)->llvm::TargetLibraryInfo::Impl)->llvm::TargetLibraryInfoImpl::ShouldSignExtI32Param’ from ‘const __vector(4) __bool int’ to ‘bool’ if (Impl->ShouldSignExtI32Param) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘llvm::Attribute::AttrKind llvm::TargetLibraryInfo::getExtAttrForI32Return(__vector(4) __bool int) const’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:307:15: error: could not convert ‘((const llvm::TargetLibraryInfoImpl*)((const llvm::TargetLibraryInfo*)this)->llvm::TargetLibraryInfo::Impl)->llvm::TargetLibraryInfoImpl::ShouldExtI32Return’ from ‘const __vector(4) __bool int’ to ‘bool’ if (Impl->ShouldExtI32Return) ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:308:52: error: cannot convert ‘__vector(4) llvm::Attribute::AttrKind’ to ‘llvm::Attribute::AttrKind’ in return return Signed ? Attribute::SExt : Attribute::ZExt; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘__vector(4) __bool int llvm::TargetLibraryInfo::invalidate(llvm::Module&, const llvm::PreservedAnalyses&, llvm::AnalysisManager::Invalidator&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:318:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘__vector(4) __bool int llvm::TargetLibraryInfo::invalidate(llvm::Function&, const llvm::PreservedAnalyses&, llvm::AnalysisManager::Invalidator&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:322:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:625:8: error: expected unqualified-id before ‘__attribute__’ std::vector> AAs; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:627:8: error: expected unqualified-id before ‘__attribute__’ std::vector AADeps; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23:0, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:266:73: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal = false); ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:270:62: error: could not convert ‘false’ from ‘bool’ to ‘__vector(4) __bool int’ bool pointsToConstantMemory(const Value *P, bool OrLocal = false) { ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘void llvm::AAResults::addAAResult(AAResultT&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:197:5: error: ‘AAs’ was not declared in this scope AAs.emplace_back(new Model(AAResult, *this)); ^~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘void llvm::AAResults::addAADependencyID(llvm::AnalysisKey*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:205:45: error: ‘AADeps’ was not declared in this scope void addAADependencyID(AnalysisKey *ID) { AADeps.push_back(ID); } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘__vector(4) __bool int llvm::AAResults::isNoAlias(const llvm::MemoryLocation&, const llvm::MemoryLocation&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:239:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return alias(LocA, LocB) == NoAlias; ^~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘__vector(4) __bool int llvm::AAResults::isMustAlias(const llvm::MemoryLocation&, const llvm::MemoryLocation&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:256:33: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return alias(LocA, LocB) == MustAlias; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘__vector(4) __bool int llvm::AAResults::isMustAlias(const llvm::Value*, const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:261:35: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return alias(V1, 1, V2, 1) == MustAlias; ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘__vector(4) __bool int llvm::AAResults::doesNotAccessMemory(llvm::ImmutableCallSite)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:304:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getModRefBehavior(CS) == FMRB_DoesNotAccessMemory; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘__vector(4) __bool int llvm::AAResults::doesNotAccessMemory(const llvm::Function*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:319:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return getModRefBehavior(F) == FMRB_DoesNotAccessMemory; ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::onlyReadsMemory(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:351:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !(MRB & MRI_Mod); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::doesNotReadMemory(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:357:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !(MRB & MRI_Ref); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::onlyAccessesArgPointees(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:364:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !(MRB & FMRL_Anywhere & ~FMRL_ArgumentPointees); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::doesAccessArgPointees(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:371:62: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (MRB & MRI_ModRef) && (MRB & FMRL_ArgumentPointees); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::onlyAccessesInaccessibleMem(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:377:57: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return !(MRB & FMRL_Anywhere & ~FMRL_InaccessibleMem); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::doesAccessInaccessibleMem(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:383:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return (MRB & MRI_ModRef) && (MRB & FMRL_InaccessibleMem); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In static member function ‘static __vector(4) __bool int llvm::AAResults::onlyAccessesInaccessibleOrArgMem(llvm::FunctionModRefBehavior)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:391:61: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return ~(FMRL_InaccessibleMem | FMRL_ArgumentPointees)); ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:514:39: error: could not convert ‘CS’ from ‘llvm::ImmutableCallSite’ to ‘bool’ if (auto CS = ImmutableCallSite(I)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike&, llvm::AAResults&)>’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl&, llvm::AAResults&)>’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector&, llvm::AAResults&), 4>’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:934:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike&, llvm::AAResults&)>::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike&, llvm::AAResults&)>::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl&, llvm::AAResults&)>’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector&, llvm::AAResults&), 4>’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:934:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl&, llvm::AAResults&)>’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector&, llvm::AAResults&), 4>’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:934:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike&, llvm::AAResults&)>::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike&, llvm::AAResults&)>::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike&, llvm::AAResults&)>::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike&, llvm::AAResults&)>::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike&, llvm::AAResults&)>::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23:0, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘void llvm::AAManager::registerFunctionAnalysis()’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:913:19: error: ‘class llvm::SmallVector&, llvm::AAResults&), 4>’ has no member named ‘push_back’; did you mean ‘emplace_back’? ResultGetters.push_back(&getFunctionAAResultImpl); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘void llvm::AAManager::registerModuleAnalysis()’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:918:19: error: ‘class llvm::SmallVector&, llvm::AAResults&), 4>’ has no member named ‘push_back’; did you mean ‘emplace_back’? ResultGetters.push_back(&getModuleAAResultImpl); ^~~~~~~~~ emplace_back /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h: In member function ‘llvm::AAManager::Result llvm::AAManager::run(llvm::Function&, llvm::FunctionAnalysisManager&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:923:25: error: ‘begin’ was not declared in this scope for (auto &Getter : ResultGetters) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:923:25: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: ‘std::begin’ begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23:0, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:923:25: error: ‘end’ was not declared in this scope for (auto &Getter : ResultGetters) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:923:25: note: suggested alternative: In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: ‘std::end’ end(_Tp (&__arr)[_Nm]) ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:47:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:47:26: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:47:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:24:0, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h: In constructor ‘llvm::AssumptionCache::AssumptionCache(llvm::Function&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:88:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization AssumptionCache(Function &F) : F(F), Scanned(false) {} ^ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h: In member function ‘void llvm::AssumptionCache::clear()’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:106:15: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment Scanned = false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h: In member function ‘llvm::MutableArrayRef llvm::AssumptionCache::assumptions()’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:118:9: error: could not convert ‘((((llvm::AssumptionCache*)this)->llvm::AssumptionCache::Scanned == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Scanned) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h: In member function ‘llvm::MutableArrayRef llvm::AssumptionCache::assumptionsFor(const llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:125:9: error: could not convert ‘((((llvm::AssumptionCache*)this)->llvm::AssumptionCache::Scanned == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Scanned) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:129:13: error: could not convert ‘AVI.llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::operator==(llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>(((llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >*)(&((llvm::AssumptionCache*)this)->llvm::AssumptionCache::AffectedValues))->llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >::end()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (AVI == AffectedValues.end()) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h: In member function ‘virtual __vector(4) __bool int llvm::AssumptionCacheTracker::doFinalization(llvm::Module&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:204:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:36:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:26, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/Support/Mutex.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/Mutex.h:37:43: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ explicit MutexImpl(bool recursive = true); ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘unsigned int llvm::ValueMap::hasMD() const’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:113:31: error: expected primary-expression before ‘__attribute__’ bool hasMD() const { return bool(MDMap); } ^ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:113:31: error: expected ‘;’ before ‘__attribute__’ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:26:0, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘llvm::ValueMap::MDMapT& llvm::ValueMap::MD()’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: error: no match for ‘operator!’ (operand type is ‘llvm::Optional >’) if (!MDMap) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: note: candidate: operator!(bool) /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:115:9: note: no known conversion for argument 1 from ‘llvm::Optional >’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h: In member function ‘llvm::Optional llvm::ValueMap::getMappedMD(const llvm::Metadata*) const’: /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: error: no match for ‘operator!’ (operand type is ‘const llvm::Optional >’) if (!MDMap) ^~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: note: candidate: operator!(bool) /usr/lib/llvm-4.0/include/llvm/IR/ValueMap.h:127:9: note: no known conversion for argument 1 from ‘const llvm::Optional >’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:81:8: error: expected unqualified-id before ‘__attribute__’ std::vector OperandBundleCallSites; ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:35:0: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h: In constructor ‘llvm::ClonedCodeInfo::ClonedCodeInfo()’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:83:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization ClonedCodeInfo() : ContainsCalls(false), ContainsDynamicAllocas(false) {} ^ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:83:72: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:191:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:191:32: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:191:32: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:202:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:202:28: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from ‘class llvm::SmallVector’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:202:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:35:0: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:226:79: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ AAResults *CalleeAAR = nullptr, bool InsertLifetime = true); ^ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:228:79: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ AAResults *CalleeAAR = nullptr, bool InsertLifetime = true); ^ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:230:79: error: could not convert ‘true’ from ‘bool’ to ‘__vector(4) __bool int’ AAResults *CalleeAAR = nullptr, bool InsertLifetime = true); ^ /<>/lib/llvmopencl/ParallelRegion.h:50:38: error: expected class-name before ‘__attribute__’ class ParallelRegion : public std::vector { ^ /<>/lib/llvmopencl/ParallelRegion.h:50:38: error: expected ‘{’ before ‘__attribute__’ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:44: error: expected unqualified-id before ‘<’ token class ParallelRegion : public std::vector { ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:38:0: /<>/lib/llvmopencl/Barrier.h: In static member function ‘static void pocl::Barrier::GetBarriers(llvm::SmallVectorImpl&, llvm::Module&)’: /<>/lib/llvmopencl/Barrier.h:47:16: error: could not convert ‘i.llvm::Value::use_iterator_impl::operator!=(e)’ from ‘__vector(4) __bool int’ to ‘bool’ i != e; ++i) ~~^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:21:0, from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘struct llvm::isPodLike’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::isPodLike::value’ of non-integral type [-fpermissive] static const bool value = std::is_trivially_copyable::value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h: In instantiation of ‘const __vector(4) __bool int llvm::isPodLike::value’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: required from ‘class llvm::SmallVectorImpl’ /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/Support/type_traits.h:39:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /<>/lib/llvmopencl/Barrier.h:48:12: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:321:7: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ class SmallVectorImpl : public SmallVectorTemplateBase::value> { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:322:60: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef SmallVectorTemplateBase::value > SuperClass; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:325:41: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::iterator iterator; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:326:47: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::const_iterator const_iterator; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:327:42: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename SuperClass::size_type size_type; ^~~~~~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:38:0: /<>/lib/llvmopencl/Barrier.h:48:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘push_back’; did you mean ‘emplace_back’? B.push_back(llvm::cast(*i)); ^~~~~~~~~ emplace_back /<>/lib/llvmopencl/Barrier.h: In static member function ‘static pocl::Barrier* pocl::Barrier::Create(llvm::Instruction*)’: /<>/lib/llvmopencl/Barrier.h:59:63: error: could not convert ‘((InsertBefore != (& InsertBefore->llvm::Instruction::getParent()->llvm::BasicBlock::front())) ? ((llvm::isa(((llvm::ilist_node_with_parent*)InsertBefore)->llvm::ilist_node_with_parent::getPrevNode()) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (InsertBefore != &InsertBefore->getParent()->front() && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ llvm::isa(InsertBefore->getPrevNode())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::Instruction*]’ /<>/lib/llvmopencl/Barrier.h:61:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] static const bool value = ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::Instruction*]’ /<>/lib/llvmopencl/Barrier.h:61:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘struct llvm::is_simple_type’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::CallInst*]’ /<>/lib/llvmopencl/Barrier.h:75:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int llvm::is_simple_type::value’ of non-integral type [-fpermissive] /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘const __vector(4) __bool int llvm::is_simple_type::value’: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:219:32: required by substitution of ‘template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = pocl::Barrier; Y = llvm::CallInst*]’ /<>/lib/llvmopencl/Barrier.h:75:53: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:207:21: error: cannot convert ‘const bool’ to ‘const __vector(4) __bool int’ in initialization In file included from /<>/lib/llvmopencl/ParallelRegion.cc:38:0: /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::classof(const pocl::Barrier*)’: /<>/lib/llvmopencl/Barrier.h:77:51: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const Barrier *) { return true; }; ^~~~ /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::hasBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:103:30: error: ‘const_iterator’ is not a member of ‘llvm::BasicBlock’ for (llvm::BasicBlock::const_iterator i = bb->begin(), e = bb->end(); ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Barrier.h:104:12: error: ‘i’ was not declared in this scope i != e; ++i) ^ /<>/lib/llvmopencl/Barrier.h:104:17: error: ‘e’ was not declared in this scope i != e; ++i) ^ /<>/lib/llvmopencl/Barrier.h:106:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (llvm::isa(i)) return true; ^~~~ /<>/lib/llvmopencl/Barrier.h:108:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::startsWithBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:116:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/llvmopencl/Barrier.h: In static member function ‘static __vector(4) __bool int pocl::Barrier::endsWithBarrier(const llvm::BasicBlock*)’: /<>/lib/llvmopencl/Barrier.h:125:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:71:8: error: expected unqualified-id before ‘__attribute__’ std::vector SubLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:74:8: error: expected unqualified-id before ‘__attribute__’ std::vector Blocks; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:127:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getSubLoops() const { return SubLoops; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:128:8: error: expected unqualified-id before ‘__attribute__’ std::vector &getSubLoopsVector() { return SubLoops; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:129:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator iterator; ^ In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:129:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:130:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:130:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:132:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() const { return SubLoops.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:133:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() const { return SubLoops.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:134:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() const { return SubLoops.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:135:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() const { return SubLoops.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:139:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getBlocks() const { return Blocks; } ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:140:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator block_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:140:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator block_iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:141:3: error: ‘block_iterator’ does not name a type; did you mean ‘succ_iterator’? block_iterator block_begin() const { return Blocks.begin(); } ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:142:3: error: ‘block_iterator’ does not name a type; did you mean ‘succ_iterator’? block_iterator block_end() const { return Blocks.end(); } ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:25: error: ‘block_iterator’ was not declared in this scope inline iterator_range blocks() const { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:25: note: suggested alternative: ‘succ_iterator’ inline iterator_range blocks() const { ^~~~~~~~~~~~~~ succ_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:143:39: error: template argument 1 is invalid inline iterator_range blocks() const { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:287:10: error: expected ‘;’ at end of member declaration LoopT *removeChildLoop(iterator I) { ^~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:287:35: error: expected ‘)’ before ‘I’ LoopT *removeChildLoop(iterator I) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In destructor ‘llvm::LoopBase::~LoopBase()’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:88:28: error: ‘SubLoops’ was not declared in this scope for (size_t i = 0, e = SubLoops.size(); i != e; ++i) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:88:28: note: suggested alternative: ‘LoopT’ for (size_t i = 0, e = SubLoops.size(); i != e; ++i) ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘BlockT* llvm::LoopBase::getHeader() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:102:38: error: ‘Blocks’ was not declared in this scope BlockT *getHeader() const { return Blocks.front(); } ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:102:38: note: suggested alternative: ‘blocks’ BlockT *getHeader() const { return Blocks.front(); } ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:136:31: error: ‘SubLoops’ was not declared in this scope bool empty() const { return SubLoops.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:136:31: note: suggested alternative: ‘LoopT’ bool empty() const { return SubLoops.empty(); } ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘int llvm::LoopBase::blocks() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:144:23: error: there are no arguments to ‘block_begin’ that depend on a template parameter, so a declaration of ‘block_begin’ must be available [-fpermissive] return make_range(block_begin(), block_end()); ^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:144:38: error: there are no arguments to ‘block_end’ that depend on a template parameter, so a declaration of ‘block_end’ must be available [-fpermissive] return make_range(block_begin(), block_end()); ^~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopBase::getNumBlocks() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:149:12: error: ‘Blocks’ was not declared in this scope return Blocks.size(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:149:12: note: suggested alternative: ‘blocks’ return Blocks.size(); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::addChildLoop(LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:282:5: error: ‘SubLoops’ was not declared in this scope SubLoops.push_back(NewChild); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:282:5: note: suggested alternative: ‘LoopT’ SubLoops.push_back(NewChild); ^~~~~~~~ LoopT /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::addBlockEntry(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:300:5: error: ‘Blocks’ was not declared in this scope Blocks.push_back(BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:300:5: note: suggested alternative: ‘blocks’ Blocks.push_back(BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::reverseBlock(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:306:18: error: ‘Blocks’ was not declared in this scope std::reverse(Blocks.begin() + from, Blocks.end()); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:306:18: note: suggested alternative: ‘blocks’ std::reverse(Blocks.begin() + from, Blocks.end()); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::reserveBlocks(unsigned int)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:311:5: error: ‘Blocks’ was not declared in this scope Blocks.reserve(size); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:311:5: note: suggested alternative: ‘blocks’ Blocks.reserve(size); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::moveToHeader(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:317:9: error: ‘Blocks’ was not declared in this scope if (Blocks[0] == BB) return; ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:317:9: note: suggested alternative: ‘blocks’ if (Blocks[0] == BB) return; ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:320:11: error: ‘Blocks’ was not declared in this scope if (Blocks[i] == BB) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:320:11: note: suggested alternative: ‘blocks’ if (Blocks[i] == BB) { ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopBase::removeBlockFromLoop(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:332:19: error: ‘Blocks’ was not declared in this scope auto I = find(Blocks, BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:332:19: note: suggested alternative: ‘blocks’ auto I = find(Blocks, BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In constructor ‘llvm::LoopBase::LoopBase(BlockT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:351:5: error: ‘Blocks’ was not declared in this scope Blocks.push_back(BB); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:351:5: note: suggested alternative: ‘blocks’ Blocks.push_back(BB); ^~~~~~ blocks /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::Loop::LocRange::operator __vector(4) __bool int() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:387:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Start && End; ^~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::StringRef llvm::Loop::getName() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:503:26: error: could not convert ‘Header->llvm::BasicBlock::.llvm::Value::hasName()’ from ‘__vector(4) __bool int’ to ‘bool’ if (Header->hasName()) ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:522:8: error: expected unqualified-id before ‘__attribute__’ std::vector TopLevelLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:523:8: error: expected unqualified-id before ‘__attribute__’ std::vector RemovedLoops; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:564:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:564:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:565:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:565:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector::const_reverse_iterator ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:567:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() const { return TopLevelLoops.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:568:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() const { return TopLevelLoops.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:569:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rbegin() const { return TopLevelLoops.rbegin(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:570:3: error: ‘reverse_iterator’ does not name a type; did you mean ‘make_reverse_iterator’? reverse_iterator rend() const { return TopLevelLoops.rend(); } ^~~~~~~~~~~~~~~~ make_reverse_iterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:598:10: error: expected ‘;’ at end of member declaration LoopT *removeLoop(iterator I) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:598:30: error: expected ‘)’ before ‘I’ LoopT *removeLoop(iterator I) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In constructor ‘llvm::LoopInfoBase::LoopInfoBase(llvm::LoopInfoBase&&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:536:9: error: class ‘llvm::LoopInfoBase’ does not have any field named ‘TopLevelLoops’ TopLevelLoops(std::move(Arg.TopLevelLoops)) { ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘llvm::LoopInfoBase& llvm::LoopInfoBase::operator=(llvm::LoopInfoBase&&)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:543:20: error: ‘TopLevelLoops’ was not declared in this scope for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:543:20: note: suggested alternative: ‘addTopLevelLoop’ for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops = std::move(RHS.TopLevelLoops); ^~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops = std::move(RHS.TopLevelLoops); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::releaseMemory()’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:553:20: error: ‘TopLevelLoops’ was not declared in this scope for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:553:20: note: suggested alternative: ‘addTopLevelLoop’ for (auto *L : TopLevelLoops) ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:555:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops.clear(); ^~~~~~~~~~~~~ [ 13%] Built target pocl-devices-basic /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:555:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops.clear(); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:556:20: error: ‘RemovedLoops’ was not declared in this scope for (auto *L : RemovedLoops) ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:556:20: note: suggested alternative: ‘removeLoop’ for (auto *L : RemovedLoops) ^~~~~~~~~~~~ removeLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:558:5: error: ‘RemovedLoops’ was not declared in this scope RemovedLoops.clear(); ^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:558:5: note: suggested alternative: ‘removeLoop’ RemovedLoops.clear(); ^~~~~~~~~~~~ removeLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘unsigned int llvm::LoopInfoBase::empty() const’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:571:31: error: ‘TopLevelLoops’ was not declared in this scope bool empty() const { return TopLevelLoops.empty(); } ^~~~~~~~~~~~~ [ 13%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clamp.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clamp.cl.bc -c /<>/lib/kernel/clamp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:571:31: note: suggested alternative: ‘addTopLevelLoop’ bool empty() const { return TopLevelLoops.empty(); } ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::changeTopLevelLoop(LoopT*, LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:621:19: error: ‘TopLevelLoops’ was not declared in this scope auto I = find(TopLevelLoops, OldLoop); ^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:621:19: note: suggested alternative: ‘addTopLevelLoop’ auto I = find(TopLevelLoops, OldLoop); ^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘void llvm::LoopInfoBase::addTopLevelLoop(LoopT*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:631:5: error: ‘TopLevelLoops’ was not declared in this scope TopLevelLoops.push_back(New); ^~~~~~~~~~~~~ [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:631:5: note: suggested alternative: ‘addTopLevelLoop’ TopLevelLoops.push_back(New); ^~~~~~~~~~~~~ addTopLevelLoop cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o -c /<>/lib/CL/clCompileProgram.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘__vector(4) __bool int llvm::LoopInfo::replacementPreservesLCSSAForm(llvm::Instruction*, llvm::Value*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:699:20: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!I) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:703:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:707:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!ToLoop) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In member function ‘__vector(4) __bool int llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:729:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:735:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:750:9: error: could not convert ‘((Contains.llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)::(((const llvm::Loop*)NewLoop), ((const llvm::Loop*)OldLoop)) == (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Contains(NewLoop, OldLoop)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:751:32: error: could not convert ‘__for_begin.llvm::Value::use_iterator_impl::operator!=(__for_end)’ from ‘__vector(4) __bool int’ to ‘bool’ for (Use &U : Inst->uses()) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:753:38: error: inferred scalar type ‘llvm::BasicBlock*’ is not an integer or floating point type of the same size as ‘__bool int’ auto *UBB = isa(UI) ? cast(UI)->getIncomingBlock(U) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : UI->getParent(); ~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:756:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:763:9: error: could not convert ‘((Contains.llvm::LoopInfo::movementPreservesLCSSAForm(llvm::Instruction*, llvm::Instruction*)::(((const llvm::Loop*)OldLoop), ((const llvm::Loop*)NewLoop)) == (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!Contains(OldLoop, NewLoop)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:765:23: error: could not convert ‘llvm::isa(Inst)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isa(Inst)) ~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:766:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:771:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:778:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:782:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:789:21: error: ‘iterator’ in ‘class llvm::LoopInfo’ does not name a type typedef LoopInfo::iterator ChildIteratorType; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:792:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_begin(NodeRef N) { return N->begin(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:793:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_end(NodeRef N) { return N->end(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:798:21: error: ‘iterator’ in ‘class llvm::LoopInfo’ does not name a type typedef LoopInfo::iterator ChildIteratorType; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:801:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_begin(NodeRef N) { return N->begin(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:802:10: error: ‘ChildIteratorType’ does not name a type; did you mean ‘PredIterator’? static ChildIteratorType child_end(NodeRef N) { return N->end(); } ^~~~~~~~~~~~~~~~~ PredIterator /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:99:8: error: expected unqualified-id before ‘__attribute__’ std::vector VisitStack; ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:28:0, from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In constructor ‘llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:104:5: error: ‘VisitStack’ was not declared in this scope VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:104:5: note: suggested alternative: ‘PMStack’ VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In constructor ‘llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:110:7: error: ‘VisitStack’ was not declared in this scope VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:110:7: note: suggested alternative: ‘PMStack’ VisitStack.push_back(StackElement(Node, None)); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘void llvm::df_iterator::toNext()’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:119:22: error: ‘VisitStack’ was not declared in this scope NodeRef Node = VisitStack.back().first; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:119:22: note: suggested alternative: ‘PMStack’ NodeRef Node = VisitStack.back().first; ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:141:15: error: ‘VisitStack’ was not declared in this scope } while (!VisitStack.empty()); ^~~~~~~~~~ [ 13%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clamp_int.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clamp_int.cl.bc -c /<>/lib/kernel/clamp_int.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:141:15: note: suggested alternative: ‘PMStack’ } while (!VisitStack.empty()); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘unsigned int llvm::df_iterator::operator==(const llvm::df_iterator&) const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:160:12: error: ‘VisitStack’ was not declared in this scope return VisitStack == x.VisitStack; ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:160:12: note: suggested alternative: ‘PMStack’ return VisitStack == x.VisitStack; ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘const NodeRef& llvm::df_iterator::operator*() const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:164:45: error: ‘VisitStack’ was not declared in this scope const NodeRef &operator*() const { return VisitStack.back().first; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:164:45: note: suggested alternative: ‘PMStack’ const NodeRef &operator*() const { return VisitStack.back().first; } ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘llvm::df_iterator& llvm::df_iterator::skipChildren()’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:182:5: error: ‘VisitStack’ was not declared in this scope VisitStack.pop_back(); ^~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:182:5: note: suggested alternative: ‘PMStack’ VisitStack.pop_back(); ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘unsigned int llvm::df_iterator::getPathLength() const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:204:43: error: ‘VisitStack’ was not declared in this scope unsigned getPathLength() const { return VisitStack.size(); } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:204:43: note: suggested alternative: ‘PMStack’ unsigned getPathLength() const { return VisitStack.size(); } ^~~~~~~~~~ PMStack /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h: In member function ‘llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const’: /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:208:46: error: ‘VisitStack’ was not declared in this scope NodeRef getPath(unsigned n) const { return VisitStack[n].first; } ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DepthFirstIterator.h:208:46: note: suggested alternative: ‘PMStack’ NodeRef getPath(unsigned n) const { return VisitStack[n].first; } ^~~~~~~~~~ PMStack [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:60:8: error: expected unqualified-id before ‘__attribute__’ std::vector Roots; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:81:14: error: expected unqualified-id before ‘__attribute__’ const std::vector &getRoots() const { return Roots; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorBase::DominatorBase(__vector(4) __bool int)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:63:9: error: class ‘llvm::DominatorBase’ does not have any field named ‘Roots’ : Roots(), IsPostDominators(isPostDom) {} ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorBase::DominatorBase(llvm::DominatorBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:65:9: error: class ‘llvm::DominatorBase’ does not have any field named ‘Roots’ : Roots(std::move(Arg.Roots)), ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘llvm::DominatorBase& llvm::DominatorBase::operator=(llvm::DominatorBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:70:5: error: ‘Roots’ was not declared in this scope Roots = std::move(RHS.Roots); ^~~~~ cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o -c /<>/lib/CL/clLinkProgram.c /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:70:5: note: suggested alternative: ‘outs’ Roots = std::move(RHS.Roots); ^~~~~ outs /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:94:8: error: expected unqualified-id before ‘__attribute__’ std::vector *> Children; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:101:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector *>::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:101:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector *>::iterator iterator; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:102:25: error: expected identifier before ‘__attribute__’ typedef typename std::vector *>::const_iterator ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:102:31: error: expected unqualified-id before ‘<’ token typedef typename std::vector *>::const_iterator ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:105:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator begin() { return Children.begin(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:106:3: error: ‘iterator’ does not name a type; did you mean ‘Operator’? iterator end() { return Children.end(); } ^~~~~~~~ Operator /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:107:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator begin() const { return Children.begin(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:108:3: error: ‘const_iterator’ does not name a type; did you mean ‘concat_iterator’? const_iterator end() const { return Children.end(); } ^~~~~~~~~~~~~~ concat_iterator /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:112:14: error: expected unqualified-id before ‘__attribute__’ const std::vector *> &getChildren() const { ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘std::unique_ptr > llvm::DomTreeNodeBase::addChild(std::unique_ptr >)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:121:5: error: ‘Children’ was not declared in this scope Children.push_back(C.get()); ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘size_t llvm::DomTreeNodeBase::getNumChildren() const’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:125:42: error: ‘Children’ was not declared in this scope size_t getNumChildren() const { return Children.size(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DomTreeNodeBase::clearAllChildren()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:127:29: error: ‘Children’ was not declared in this scope void clearAllChildren() { Children.clear(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DomTreeNodeBase::setIDom(llvm::DomTreeNodeBase*)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:150:21: error: expected identifier before ‘__attribute__’ typename std::vector *>::iterator I = ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:150:21: error: expected ‘(’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:155:28: error: ‘I’ was not declared in this scope IDom->Children.erase(I); ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: At global scope: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:257:8: error: expected unqualified-id before ‘__attribute__’ std::vector Vertex; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::wipe()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:231:5: error: ‘Vertex’ was not declared in this scope Vertex.clear(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:231:5: note: suggested alternative: ‘deref’ Vertex.clear(); ^~~~~~ deref /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::reset()’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:266:5: error: ‘Vertex’ was not declared in this scope Vertex.clear(); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:266:5: note: suggested alternative: ‘deref’ Vertex.clear(); ^~~~~~ deref /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::Split(llvm::DominatorTreeBaseByGraphTraits&, typename GraphT::NodeRef)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:282:10: error: expected unqualified-id before ‘__attribute__’ std::vector PredBlocks; ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:288:7: error: ‘PredBlocks’ was not declared in this scope PredBlocks.push_back(*PI); ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:288:7: note: suggested alternative: ‘realloc’ PredBlocks.push_back(*PI); ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:309:21: error: ‘PredBlocks’ was not declared in this scope for (i = 0; i < PredBlocks.size(); ++i) ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:309:21: note: suggested alternative: ‘realloc’ for (i = 0; i < PredBlocks.size(); ++i) ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:321:25: error: ‘PredBlocks’ was not declared in this scope for (i = i + 1; i < PredBlocks.size(); ++i) { ^~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:321:25: note: suggested alternative: ‘realloc’ for (i = i + 1; i < PredBlocks.size(); ++i) { ^~~~~~~~~~ realloc /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In constructor ‘llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:348:9: error: class ‘llvm::DominatorTreeBase’ does not have any field named ‘Vertex’ Vertex(std::move(Arg.Vertex)), Info(std::move(Arg.Info)) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘llvm::DominatorTreeBase& llvm::DominatorTreeBase::operator=(llvm::DominatorTreeBase&&)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:359:5: error: ‘Vertex’ was not declared in this scope Vertex = std::move(RHS.Vertex); ^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:359:5: note: suggested alternative: ‘deref’ Vertex = std::move(RHS.Vertex); ^~~~~~ deref /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In member function ‘void llvm::DominatorTreeBase::eraseNode(NodeT*)’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:642:21: error: expected identifier before ‘__attribute__’ typename std::vector *>::iterator I = ^ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:642:21: error: expected ‘(’ before ‘__attribute__’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:647:28: error: ‘I’ was not declared in this scope IDom->Children.erase(I); ^ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In constructor ‘llvm::DominatorTree::DominatorTree()’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:100:56: error: no matching function for call to ‘llvm::DominatorTreeBase::DominatorTreeBase(bool)’ DominatorTree() : DominatorTreeBase(false) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&) [with NodeT = llvm::BasicBlock] DominatorTreeBase(DominatorTreeBase &&Arg) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: no known conversion for argument 1 from ‘bool’ to ‘llvm::DominatorTreeBase&&’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(__vector(4) __bool int) [with NodeT = llvm::BasicBlock] explicit DominatorTreeBase(bool isPostDom) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In constructor ‘llvm::DominatorTree::DominatorTree(llvm::Function&)’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:101:76: error: no matching function for call to ‘llvm::DominatorTreeBase::DominatorTreeBase(bool)’ explicit DominatorTree(Function &F) : DominatorTreeBase(false) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(llvm::DominatorTreeBase&&) [with NodeT = llvm::BasicBlock] DominatorTreeBase(DominatorTreeBase &&Arg) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:341:3: note: no known conversion for argument 1 from ‘bool’ to ‘llvm::DominatorTreeBase&&’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: candidate: llvm::DominatorTreeBase::DominatorTreeBase(__vector(4) __bool int) [with NodeT = llvm::BasicBlock] explicit DominatorTreeBase(bool isPostDom) ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:338:12: note: no known conversion for argument 1 from ‘bool’ to ‘__vector(4) __bool int’ In file included from /<>/lib/llvmopencl/Kernel.h:28:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: In member function ‘__vector(4) __bool int llvm::DominatorTree::compare(const llvm::DominatorTree&) const’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:112:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:114:22: error: could not convert ‘((const llvm::DominatorTree*)this)->llvm::DominatorTree::.llvm::DominatorTreeBase::compare((& Other)->llvm::DominatorTree::)’ from ‘__vector(4) __bool int’ to ‘bool’ if (Base::compare(Other)) ~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:115:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:117:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h: At global scope: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:63: error: ‘iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ : public DomTreeGraphTraitsBase {}; ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:63: error: ‘iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:168:71: error: template argument 2 is invalid : public DomTreeGraphTraitsBase {}; ^ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:50: error: ‘const_iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ DomTreeNode::const_iterator> {}; ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:50: error: ‘const_iterator’ is not a member of ‘llvm::DomTreeNode {aka llvm::DomTreeNodeBase}’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:173:64: error: template argument 2 is invalid DomTreeNode::const_iterator> {}; ^ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:177:10: error: ‘NodeRef’ does not name a type; did you mean ‘deref’? static NodeRef getEntryNode(DominatorTree *DT) { return DT->getRootNode(); } ^~~~~~~ deref /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:179:10: error: ‘nodes_iterator’ does not name a type; did you mean ‘idf_iterator’? static nodes_iterator nodes_begin(DominatorTree *N) { ^~~~~~~~~~~~~~ idf_iterator /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:183:10: error: ‘nodes_iterator’ does not name a type; did you mean ‘idf_iterator’? static nodes_iterator nodes_end(DominatorTree *N) { ^~~~~~~~~~~~~~ idf_iterator In file included from /<>/lib/llvmopencl/ParallelRegion.cc:39:0: /<>/lib/llvmopencl/Kernel.h:39:21: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::ParallelRegionVector* ^~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:39:0: /<>/lib/llvmopencl/Kernel.h: In static member function ‘static __vector(4) __bool int pocl::Kernel::classof(const pocl::Kernel*)’: /<>/lib/llvmopencl/Kernel.h:46:50: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const Kernel *) { return true; } ^~~~ /<>/lib/llvmopencl/Kernel.h: In static member function ‘static __vector(4) __bool int pocl::Kernel::classof(const llvm::Function*)’: /<>/lib/llvmopencl/Kernel.h:50:58: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool classof(const llvm::Function *) { return true; } ^~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:40:0: /<>/lib/llvmopencl/DebugHelpers.h: At global scope: /<>/lib/llvmopencl/DebugHelpers.h:41:32: error: ‘pocl::ParallelRegion::ParallelRegionVector’ has not been declared ParallelRegion::ParallelRegionVector* regions=NULL, ^~~~~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:52:21: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ int ParallelRegion::idGen = 0; ^~~~~ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:55:50: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::ParallelRegion(int forcedRegionId) : ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:69:55: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::GenerateTempNames(llvm::BasicBlock *bb) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:102:51: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ const Twine &suffix = "") ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:156:45: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::remap(ValueToValueMapTy &map) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:183:50: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::chainAfter(ParallelRegion *region) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:243:23: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::purge() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:298:45: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ unsigned z) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:337:42: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ unsigned z) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:344:22: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::dump() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:353:27: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::dumpNames() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:368:100: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::Create(const SmallPtrSet& bbs, BasicBlock *entry, BasicBlock *exit) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:400:24: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::Verify() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:491:65: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::AddParallelLoopMetadata(llvm::MDNode *identifier) { ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:514:18: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ std::size_t z) { ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:563:81: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::AddBlockBefore(llvm::BasicBlock *block, llvm::BasicBlock *before) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:583:79: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::AddBlockAfter(llvm::BasicBlock *block, llvm::BasicBlock *after) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:599:46: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::HasBlock(llvm::BasicBlock *bb) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:609:30: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::LocalIDZLoad() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:623:30: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::LocalIDYLoad() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:637:30: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::LocalIDXLoad() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:649:7: error: expected identifier before ‘__attribute__’ std::vector& params) ^ /<>/lib/llvmopencl/ParallelRegion.cc:649:13: error: expected ‘,’ or ‘...’ before ‘<’ token std::vector& params) ^ /<>/lib/llvmopencl/ParallelRegion.cc:649:29: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ std::vector& params) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:714:50: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::SetExitBB(llvm::BasicBlock *block) ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:734:36: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::InjectRegionPrintF() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:767:41: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::InjectVariablePrintouts() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/ParallelRegion.cc:804:33: error: invalid use of incomplete type ‘class pocl::ParallelRegion’ ParallelRegion::LocalizeIDLoads() ^ In file included from /<>/lib/llvmopencl/ParallelRegion.cc:37:0: /<>/lib/llvmopencl/ParallelRegion.h:50:9: note: forward declaration of ‘class pocl::ParallelRegion’ class ParallelRegion : public std::vector { ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In instantiation of ‘unsigned int llvm::Value::use_iterator_impl::operator==(const llvm::Value::use_iterator_impl&) const [with UseT = const llvm::Use]’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:385:14: required from here /usr/lib/llvm-4.0/include/llvm/IR/Value.h:130:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const use_iterator_impl &x) const { return U == x.U; } ^ In file included from /usr/include/c++/7/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/7/memory:82, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:86:27: required from here /usr/include/c++/7/bits/atomic_base.h:396:24: error: operand type ‘const __int_type* {aka const __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_load_n’ return __atomic_load_n(&_M_i, __m); ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:89:27: required from here /usr/include/c++/7/bits/atomic_base.h:406:24: error: operand type ‘const volatile __int_type* {aka const volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_load_n’ return __atomic_load_n(&_M_i, __m); ~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::is_lock_free() const [with _ITp = __vector(4) __bool int]’: /usr/include/c++/7/atomic:92:65: required from here /usr/include/c++/7/bits/atomic_base.h:355:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return reinterpret_cast(-__alignof(_M_i))); ^ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::is_lock_free() const volatile [with _ITp = __vector(4) __bool int]’: /usr/include/c++/7/atomic:95:74: required from here /usr/include/c++/7/bits/atomic_base.h:363:48: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return reinterpret_cast(-__alignof(_M_i))); ^ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘void std::__atomic_base<_IntTp>::store(std::__atomic_base<_IntTp>::__int_type, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:103:29: required from here /usr/include/c++/7/bits/atomic_base.h:374:18: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_store_n’ __atomic_store_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘void std::__atomic_base<_IntTp>::store(std::__atomic_base<_IntTp>::__int_type, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:107:29: required from here /usr/include/c++/7/bits/atomic_base.h:386:18: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_store_n’ __atomic_store_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::exchange(std::__atomic_base<_IntTp>::__int_type, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:119:39: required from here /usr/include/c++/7/bits/atomic_base.h:413:28: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_exchange_n’ return __atomic_exchange_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::exchange(std::__atomic_base<_IntTp>::__int_type, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:124:39: required from here /usr/include/c++/7/bits/atomic_base.h:421:28: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_exchange_n’ return __atomic_exchange_n(&_M_i, __i, __m); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_weak(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:129:66: required from here /usr/include/c++/7/bits/atomic_base.h:434:36: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_weak(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:134:66: required from here /usr/include/c++/7/bits/atomic_base.h:448:36: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 1, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_strong(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:149:68: required from here /usr/include/c++/7/bits/atomic_base.h:477:36: error: operand type ‘std::__atomic_base<__vector(4) __bool int>::__int_type* {aka __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 0, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/atomic_base.h: In instantiation of ‘unsigned int std::__atomic_base<_IntTp>::compare_exchange_strong(std::__atomic_base<_IntTp>::__int_type&, std::__atomic_base<_IntTp>::__int_type, std::memory_order, std::memory_order) volatile [with _ITp = __vector(4) __bool int; std::__atomic_base<_IntTp>::__int_type = __vector(4) __bool int; std::memory_order = std::memory_order]’: /usr/include/c++/7/atomic:154:68: required from here /usr/include/c++/7/bits/atomic_base.h:492:36: error: operand type ‘volatile __int_type* {aka volatile __vector(4) __bool int*}’ is incompatible with argument 1 of ‘__atomic_compare_exchange_n’ return __atomic_compare_exchange_n(&_M_i, &__i1, __i2, 0, __m1, __m2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::cl::Option*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = llvm::cl::Option*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:197:44: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h: In instantiation of ‘unsigned int llvm::any_of(R&&, UnaryPredicate) [with R = const llvm::SmallPtrSet&; UnaryPredicate = llvm::cl::Option::isInAllSubCommands() const::]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:295:6: required from here /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:744:59: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return std::any_of(std::begin(Range), std::end(Range), P); ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘void llvm::cl::OptionValueCopy::setValue(const DataType&) [with DataType = llvm::cl::boolOrDefault]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:549:61: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:498:11: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment Valid = true; ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘void llvm::cl::OptionValueCopy::setValue(const DataType&) [with DataType = std::__cxx11::basic_string]’: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:566:55: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:498:11: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘llvm::PointerUnion::PointerUnion(PT2) [with PT1 = llvm::MetadataAsValue*; PT2 = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:207:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:111:14: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(void*, int)’ 1) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘llvm::PointerUnion::PointerUnion(PT2) [with PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:743:38: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:111:14: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(void*, int)’ 1) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o -c /<>/lib/CL/clCreateKernel.c In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘int llvm::PointerUnion::is() const [with T = llvm::ReplaceableMetadataImpl*; PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:129:12: error: invalid static_cast from type ‘__vector(4) __bool int’ to type ‘int’ return static_cast(Val.getInt()) == TyNo; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h: In instantiation of ‘const llvm::PointerUnion& llvm::PointerUnion::operator=(const PT2&) [with PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’: /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:790:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:178:5: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::setPointerAndInt(void*, int)’ Val.setPointerAndInt( ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:74:8: note: candidate: void llvm::PointerIntPair::setPointerAndInt(PointerTy, IntType) [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >] void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:74:8: note: no known conversion for argument 2 from ‘int’ to ‘__vector(4) __bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::Instruction; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:238:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::Instruction; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:239:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:24:0, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘static __vector(4) __bool int llvm::APFloat::usesLayout(const llvm::fltSemantics&) [with T = llvm::detail::IEEEFloat]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:684:43: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:752:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics == &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:754:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics != &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘static __vector(4) __bool int llvm::APFloat::usesLayout(const llvm::fltSemantics&) [with T = llvm::detail::DoubleAPFloat]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:688:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:752:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics == &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:754:43: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return &Semantics != &PPCDoubleDouble(); ^ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:798:29: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {long unsigned int&}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:818:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {llvm::APFloatBase::uninitializedTag}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:821:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h: In instantiation of ‘llvm::APFloat::Storage::Storage(const llvm::fltSemantics&, ArgTypes&& ...) [with ArgTypes = {const llvm::APInt&}]’: /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:822:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:672:32: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:676:36: error: could not convert ‘llvm::APFloat::usesLayout((* & Semantics))’ from ‘__vector(4) __bool int’ to ‘bool’ if (usesLayout(Semantics)) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(const llvm::Optional&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1133:48: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:41:9: error: could not convert ‘((llvm::Optional*)this)->llvm::Optional::hasVal’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasVal) ^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:345:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = unsigned int; unsigned int N = 32]’: /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:316:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:872:14: error: ‘const class llvm::SmallVector’ has no member named ‘empty’ if (!RHS.empty()) ~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bitset: In instantiation of ‘constexpr unsigned int std::bitset<_Nb>::_Unchecked_test(std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’: /usr/include/c++/7/bitset:1160:31: required from ‘constexpr unsigned int std::bitset<_Nb>::operator[](std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/IR/Attributes.h:498:19: required from here /usr/include/c++/7/bitset:1059:28: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return != static_cast<_WordT>(0)); } ^ /usr/include/c++/7/bitset:1059:31: error: body of constexpr function ‘constexpr unsigned int std::bitset<_Nb>::_Unchecked_test(std::size_t) const [with long unsigned int _Nb = 53; std::size_t = long unsigned int]’ not a return-statement != static_cast<_WordT>(0)); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::VectorType; Y = llvm::Type; typename llvm::cast_retty::ret_type = llvm::VectorType*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1113:56: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::VectorType*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(llvm::NoneType) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:35:36: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization Optional(NoneType) : hasVal(false) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(llvm::Optional&&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:144:57: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:49:5: error: could not convert ‘O’ from ‘llvm::Optional’ to ‘bool’ if (O) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = const llvm::PassInfo*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = const void*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::PointerType; Y = llvm::Type; typename llvm::cast_retty::ret_type = llvm::PointerType*]’: /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:342:41: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::PointerType*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::BasicBlock; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:540:67: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::BasicBlock; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Function.h:541:68: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:5: error: could not convert ‘((((const llvm::OperandBundleUser*)this)->llvm::OperandBundleUser::hasOperandBundles() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasOperandBundles()) ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::CallInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::Attribute::AttrKind]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1665:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1861:5: error: could not convert ‘((const llvm::CallInst*)this)->llvm::CallInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1862:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1866:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::CallInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1867:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1871:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::CallInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::StringRef]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1670:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1861:5: error: could not convert ‘((const llvm::CallInst*)this)->llvm::CallInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1862:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1866:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::CallInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1867:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1871:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y&) [with X = llvm::Function; Y = const llvm::Use; typename llvm::cast_retty::ret_type = llvm::Function*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1825:39: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:293:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::Function*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = int; unsigned int N = 16]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2237:12: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:882:14: error: ‘class llvm::SmallVector’ has no member named ‘empty’ if (!RHS.empty()) ~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseIteratorT::operator!=(const Self&) const [with SwitchInstTy = llvm::SwitchInst; ConstantIntTy = llvm::ConstantInt; BasicBlockTy = llvm::BasicBlock; llvm::SwitchInst::CaseIteratorT::Self = llvm::SwitchInst::CaseIteratorT]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3281:56: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3169:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return RHS.Index != Index; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseIteratorT::operator!=(const Self&) const [with SwitchInstTy = const llvm::SwitchInst; ConstantIntTy = const llvm::ConstantInt; BasicBlockTy = const llvm::BasicBlock; llvm::SwitchInst::CaseIteratorT::Self = llvm::SwitchInst::CaseIteratorT]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3287:61: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3169:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:5: error: could not convert ‘((((const llvm::OperandBundleUser*)this)->llvm::OperandBundleUser::hasOperandBundles() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!hasOperandBundles()) ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:33:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::InvokeInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::Attribute::AttrKind]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3701:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3921:5: error: could not convert ‘((const llvm::InvokeInst*)this)->llvm::InvokeInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3922:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3926:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::InvokeInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3927:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3931:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::InvokeInst::hasFnAttrImpl(AttrKind) const [with AttrKind = llvm::StringRef]’: /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3706:30: required from here /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3921:5: error: could not convert ‘((const llvm::InvokeInst*)this)->llvm::InvokeInst::AttributeList.llvm::AttributeSet::hasAttribute(4294967295, Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3922:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3926:5: error: could not convert ‘((const llvm::OperandBundleUser*)((const llvm::InvokeInst*)this))->llvm::OperandBundleUser::isFnAttrDisallowedByOpBundle(Kind)’ from ‘__vector(4) __bool int’ to ‘bool’ if (isFnAttrDisallowedByOpBundle(Kind)) ^~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3927:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3931:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = const llvm::Operator; typename llvm::cast_retty::ret_type = const llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:50:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = const llvm::Value; typename llvm::cast_retty::ret_type = const llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:58:55: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::ConstantExpr; Y = const llvm::Value; typename llvm::cast_retty::ret_type = const llvm::ConstantExpr*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:60:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::ConstantExpr*}’ is not an integer or floating point type of the same size as ‘__bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(T&&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:393:42: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:45:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization Optional(T &&y) : hasVal(true) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::ConstantInt; Y = const llvm::Use; typename llvm::cast_retty::ret_type = llvm::ConstantInt*]’: /usr/lib/llvm-4.0/include/llvm/IR/Operator.h:437:51: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::ConstantInt*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/functional:58:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:24, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/std_function.h: In instantiation of ‘std::function<_Res(_ArgTypes ...)>::function(const std::function<_Res(_ArgTypes ...)>&) [with _Res = void; _ArgTypes = {llvm::Instruction*}]’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:78:26: required from here /usr/include/c++/7/bits/std_function.h:675:11: error: could not convert ‘(& __x)->std::function::operator __vector(4) __bool int()’ from ‘__vector(4) __bool int’ to ‘bool’ if (static_cast(__x)) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/7/bits/std_function.h: In instantiation of ‘_Res std::function<_Res(_ArgTypes ...)>::operator()(_ArgTypes ...) const [with _Res = void; _ArgTypes = {llvm::Instruction*}]’: /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:84:15: required from here /usr/include/c++/7/bits/std_function.h:704:19: error: could not convert ‘((const std::function*)this)->std::function::.std::_Function_base::_M_empty()’ from ‘__vector(4) __bool int’ to ‘bool’ if (_M_empty()) ~~~~~~~~^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:59:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap*)this)->llvm::StringMap::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:331:12: error: could not convert ‘it.llvm::StringMapConstIterator::operator!=(((const llvm::StringMap*)this)->llvm::StringMap::end())’ from ‘__vector(4) __bool int’ to ‘bool’ if (it != end()) ~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::iterator llvm::StringMap::begin() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::iterator = llvm::StringMapIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:89:47: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:303:12: error: no matching function for call to ‘llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**&, bool)’ return iterator(TheTable, NumBuckets == 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: candidate: llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator() [with ValueTy = llvm::Value*] StringMapIterator() = default; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(const llvm::StringMapIterator&) class StringMapIterator : public StringMapConstIterator { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(llvm::StringMapIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::begin() const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:92:59: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:309:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase** const&, bool)’ return const_iterator(TheTable, NumBuckets == 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::iterator llvm::StringMap::end() [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::iterator = llvm::StringMapIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:95:43: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:306:12: error: no matching function for call to ‘llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, bool)’ return iterator(TheTable+NumBuckets, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: candidate: llvm::StringMapIterator::StringMapIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:497:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator() [with ValueTy = llvm::Value*] StringMapIterator() = default; ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:495:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(const llvm::StringMapIterator&) class StringMapIterator : public StringMapConstIterator { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate: constexpr llvm::StringMapIterator::StringMapIterator(llvm::StringMapIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:493:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::end() const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:98:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:312:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, bool)’ return const_iterator(TheTable+NumBuckets, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::TerminatorInst::SuccIterator::operator==(const Self&) const [with Term = const llvm::TerminatorInst*; BB = const llvm::BasicBlock; llvm::TerminatorInst::SuccIterator::Self = llvm::TerminatorInst::SuccIterator]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:141:39: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:176:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return inline bool operator==(const Self &x) const { return idx == x.idx; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase(CallTy*) [with FunTy = llvm::Function; BBTy = llvm::BasicBlock; ValTy = llvm::Value; UserTy = llvm::User; UseTy = llvm::Use; InstrTy = llvm::Instruction; CallTy = llvm::CallInst; InvokeTy = llvm::InvokeInst; IterTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:623:43: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:63:40: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::CallInst*&, bool)’ CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase(InvokeTy*) [with FunTy = llvm::Function; BBTy = llvm::BasicBlock; ValTy = llvm::Value; UserTy = llvm::User; UseTy = llvm::Use; InstrTy = llvm::Instruction; CallTy = llvm::CallInst; InvokeTy = llvm::InvokeInst; IterTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:624:45: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:64:43: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::InvokeInst*&, bool)’ CallSiteBase(InvokeTy *II) : I(II, false) { assert(II); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘unsigned int llvm::PointerIntPair::operator==(const llvm::PointerIntPair&) const [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:628:62: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:109:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value == RHS.Value; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘unsigned int llvm::PointerIntPair::operator!=(const llvm::PointerIntPair&) const [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:629:62: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:112:25: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Value != RHS.Value; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase() [with FunTy = llvm::Function; BBTy = llvm::BasicBlock; ValTy = llvm::Value; UserTy = llvm::User; UseTy = llvm::Use; InstrTy = llvm::Instruction; CallTy = llvm::CallInst; InvokeTy = llvm::InvokeInst; IterTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:621:3: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:62:36: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(std::nullptr_t, bool)’ CallSiteBase() : I(nullptr, false) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase(CallTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:668:58: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:63:40: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::CallInst*&, bool)’ CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase(InvokeTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:669:60: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:64:43: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::InvokeInst*&, bool)’ CallSiteBase(InvokeTy *II) : I(II, false) { assert(II); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::GlobalObject; Y = llvm::Value; typename llvm::cast_retty::ret_type = llvm::GlobalObject*]’: /usr/lib/llvm-4.0/include/llvm/IR/GlobalIndirectSymbol.h:61:78: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::GlobalObject*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalVariable; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:522:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::Function; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:543:68: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::Function; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:544:69: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::GlobalAlias; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:561:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalAlias; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:562:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::GlobalIFunc; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:579:73: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::GlobalIFunc; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:580:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ [ 13%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clz.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/clz.cl.bc -c /<>/lib/kernel/clz.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:32:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h: In instantiation of ‘llvm::iterator_range::iterator_range(Container&&) [with Container = llvm::detail::concat_range; IteratorT = int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:600:55: required from here /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:26: error: ‘class llvm::detail::concat_range’ has no member named ‘begin’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:51: error: ‘class llvm::detail::concat_range’ has no member named ‘end’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h: In instantiation of ‘llvm::iterator_range::iterator_range(Container&&) [with Container = llvm::detail::concat_range; IteratorT = int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:603:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:26: error: ‘class llvm::detail::concat_range’ has no member named ‘begin’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:41:51: error: ‘class llvm::detail::concat_range’ has no member named ‘end’ : begin_iterator(c.begin()), end_iterator(c.end()) {} ~~^~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘llvm::simple_ilist::size_type llvm::simple_ilist::size() const [with T = llvm::NamedMDNode; Options = {}; llvm::simple_ilist::size_type = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:632:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: error: no matching function for call to ‘begin()’ return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:89:5: note: candidate: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^~~~~ /usr/include/c++/7/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:48:5: note: candidate: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:48:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:58:5: note: candidate: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^~~~~ /usr/include/c++/7/bits/range_access.h:58:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:87:5: note: candidate: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^~~~~ /usr/include/c++/7/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:31: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: error: no matching function for call to ‘end()’ return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/bits/stl_set.h:61:0, from /usr/include/c++/7/set:61, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/initializer_list:99:5: note: candidate: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^~~ /usr/include/c++/7/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:68:5: note: candidate: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:68:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:78:5: note: candidate: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^~~ /usr/include/c++/7/bits/range_access.h:78:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ In file included from /usr/include/c++/7/set:63:0, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/range_access.h:97:5: note: candidate: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^~~ /usr/include/c++/7/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:131:38: note: candidate expects 1 argument, 0 provided return std::distance(begin(), end()); ~~~^~ /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h: In instantiation of ‘unsigned int llvm::simple_ilist::empty() const [with T = llvm::NamedMDNode; Options = {}]’: /usr/lib/llvm-4.0/include/llvm/IR/Module.h:633:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:127:46: error: using invalid field ‘llvm::simple_ilist::Sentinel’ LLVM_NODISCARD bool empty() const { return Sentinel.empty(); } ^~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:25:0, from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In instantiation of ‘llvm::SmallPtrSetImplBase::size_type llvm::SmallPtrSetImpl::count(PtrType) const [with PtrType = void*; llvm::SmallPtrSetImplBase::size_type = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:185:37: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:381:40: error: cannot convert ‘__vector(4) int’ to ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ in return return find(Ptr) != endPtr() ? 1 : 0; ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h: In instantiation of ‘llvm::SmallPtrSetImplBase::size_type llvm::SmallPtrSetImpl::count(PtrType) const [with PtrType = llvm::AnalysisKey*; llvm::SmallPtrSetImplBase::size_type = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:224:74: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallPtrSet.h:381:40: error: cannot convert ‘__vector(4) int’ to ‘llvm::SmallPtrSetImplBase::size_type {aka unsigned int}’ in return In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::LoadInst; Y = const llvm::Instruction; typename llvm::cast_retty::ret_type = const llvm::LoadInst*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/MemoryLocation.h:71:42: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::LoadInst*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::StoreInst; Y = const llvm::Instruction; typename llvm::cast_retty::ret_type = const llvm::StoreInst*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/MemoryLocation.h:73:48: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::StoreInst*}’ is not an integer or floating point type of the same size as ‘__bool int’ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::VAArgInst; Y = const llvm::Instruction; typename llvm::cast_retty::ret_type = const llvm::VAArgInst*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/MemoryLocation.h:75:48: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::VAArgInst*}’ is not an integer or floating point type of the same size as ‘__bool int’ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::AtomicCmpXchgInst; Y = const llvm::Instruction; typename llvm::cast_retty::ret_type = const llvm::AtomicCmpXchgInst*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/MemoryLocation.h:77:56: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::AtomicCmpXchgInst*}’ is not an integer or floating point type of the same size as ‘__bool int’ /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::AtomicRMWInst; Y = const llvm::Instruction; typename llvm::cast_retty::ret_type = const llvm::AtomicRMWInst*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/MemoryLocation.h:79:52: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::AtomicRMWInst*}’ is not an integer or floating point type of the same size as ‘__bool int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘llvm::DenseMapBase::const_iterator llvm::DenseMapBase::find(const KeyT&) const [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::const_iterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>]’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:289:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:135:24: error: could not convert ‘((const llvm::DenseMapBase >, unsigned int, std::__cxx11::basic_string, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >*)this)->llvm::DenseMapBase >, unsigned int, std::__cxx11::basic_string, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >::LookupBucketFor((* & Val), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Val, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:136:14: error: no matching function for call to ‘llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>::DenseMapIterator(const llvm::detail::DenseMapPair >*&, const llvm::detail::DenseMapPair >*, const llvm::DenseMapBase >, unsigned int, std::__cxx11::basic_string, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >&, bool)’ return const_iterator(TheBucket, getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: candidate: template llvm::DenseMapIterator::DenseMapIterator(const llvm::DenseMapIterator&) DenseMapIterator( ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:136:14: note: mismatched types ‘const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, IsConstSrc>’ and ‘const llvm::detail::DenseMapPair >*’ return const_iterator(TheBucket, getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator(llvm::DenseMapIterator::pointer, llvm::DenseMapIterator::pointer, const llvm::DebugEpochBase&, __vector(4) __bool int) [with KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 1; llvm::DenseMapIterator::pointer = const llvm::detail::DenseMapPair >*; llvm::DenseMapIterator::value_type = const llvm::detail::DenseMapPair >] DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator() [with KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 1] DenseMapIterator() : Ptr(nullptr), End(nullptr) {} ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate expects 0 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>::DenseMapIterator(const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>&) class DenseMapIterator : DebugEpochBase::HandleBase { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>::DenseMapIterator(llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>&&) /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional() [with T = llvm::TargetLibraryInfoImpl]’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:338:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:36:37: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization explicit Optional() : hasVal(false) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::~StringMap() [with ValueTy = std::unique_ptr; AllocatorTy = llvm::MallocAllocator]’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:338:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:435:5: error: could not convert ‘((((llvm::StringMap >*)this)->llvm::StringMap >::.llvm::StringMapImpl::empty() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!empty()) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘llvm::Optional::Optional(T&&) [with T = llvm::TargetLibraryInfoImpl]’: /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:345:49: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:45:32: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization Optional(T &&y) : hasVal(true) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::WeakVH]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = llvm::WeakVH]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:104:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:105:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)EmptyKey.llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)TombstoneKey.llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18:0, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::MutableArrayRef::MutableArrayRef(llvm::SmallVectorImpl&) [with T = llvm::WeakVH]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:120:12: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: error: no matching function for call to ‘llvm::ArrayRef::ArrayRef(llvm::SmallVectorImpl&)’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:110:18: note: candidate: template llvm::ArrayRef::ArrayRef(const llvm::SmallVectorTemplateCommon&, typename std::enable_if::value>::type*) /*implicit*/ ArrayRef( ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:110:18: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: note: ‘llvm::SmallVectorImpl’ is not derived from ‘const llvm::SmallVectorTemplateCommon’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:100:5: note: candidate: template llvm::ArrayRef::ArrayRef(const llvm::ArrayRef&, typename std::enable_if::value>::type*) ArrayRef( ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:100:5: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: note: ‘llvm::SmallVectorImpl’ is not derived from ‘const llvm::ArrayRef’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:93:18: note: candidate: llvm::ArrayRef::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::WeakVH] /*implicit*/ ArrayRef(const std::initializer_list &Vec) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:93:18: note: no known conversion for argument 1 from ‘llvm::SmallVectorImpl’ to ‘const std::initializer_list&’ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:90:28: note: candidate: template constexpr llvm::ArrayRef::ArrayRef(const T (&)[N]) /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:90:28: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: note: mismatched types ‘const llvm::WeakVH [N]’ and ‘llvm::SmallVectorImpl’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:85:28: note: candidate: template constexpr llvm::ArrayRef::ArrayRef(const std::array&) /*implicit*/ constexpr ArrayRef(const std::array &Arr) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:85:28: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: note: ‘llvm::SmallVectorImpl’ is not derived from ‘const std::array’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:74:18: note: candidate: template llvm::ArrayRef::ArrayRef(const llvm::SmallVectorTemplateCommon&) /*implicit*/ ArrayRef(const SmallVectorTemplateCommon &Vec) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:74:18: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:307:22: note: ‘llvm::SmallVectorImpl’ is not derived from ‘const llvm::SmallVectorTemplateCommon’ : ArrayRef(Vec) {} ^ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:67:5: note: candidate: llvm::ArrayRef::ArrayRef(const T*, const T*) [with T = llvm::WeakVH] ArrayRef(const T *begin, const T *end) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:67:5: note: candidate expects 2 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:63:18: note: candidate: llvm::ArrayRef::ArrayRef(const T*, size_t) [with T = llvm::WeakVH; size_t = long unsigned int] /*implicit*/ ArrayRef(const T *data, size_t length) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:63:18: note: candidate expects 2 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:59:18: note: candidate: llvm::ArrayRef::ArrayRef(const T&) [with T = llvm::WeakVH] /*implicit*/ ArrayRef(const T &OneElt) ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:59:18: note: no known conversion for argument 1 from ‘llvm::SmallVectorImpl’ to ‘const llvm::WeakVH&’ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:56:18: note: candidate: llvm::ArrayRef::ArrayRef(llvm::NoneType) [with T = llvm::WeakVH] /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:56:18: note: no known conversion for argument 1 from ‘llvm::SmallVectorImpl’ to ‘llvm::NoneType’ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:53:18: note: candidate: llvm::ArrayRef::ArrayRef() [with T = llvm::WeakVH] /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:53:18: note: candidate expects 0 arguments, 1 provided /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:33:24: note: candidate: constexpr llvm::ArrayRef::ArrayRef(const llvm::ArrayRef&) class LLVM_NODISCARD ArrayRef { ^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:33:24: note: no known conversion for argument 1 from ‘llvm::SmallVectorImpl’ to ‘const llvm::ArrayRef&’ /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:33:24: note: candidate: constexpr llvm::ArrayRef::ArrayRef(llvm::ArrayRef&&) /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:33:24: note: no known conversion for argument 1 from ‘llvm::SmallVectorImpl’ to ‘llvm::ArrayRef&&’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘llvm::DenseMapBase::iterator llvm::DenseMapBase::find_as(const LookupKeyT&) [with LookupKeyT = llvm::Value*; DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::iterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:128:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:148:24: error: could not convert ‘((llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >*)this)->llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >::LookupBucketFor((* & Val), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Val, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:149:14: error: no matching function for call to ‘llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(llvm::detail::DenseMapPair >*&, llvm::detail::DenseMapPair >*, llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >&, bool)’ return iterator(TheBucket, getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: candidate: template llvm::DenseMapIterator::DenseMapIterator(const llvm::DenseMapIterator&) DenseMapIterator( ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:149:14: note: mismatched types ‘const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, IsConstSrc>’ and ‘llvm::detail::DenseMapPair >*’ return iterator(TheBucket, getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator(llvm::DenseMapIterator::pointer, llvm::DenseMapIterator::pointer, const llvm::DebugEpochBase&, __vector(4) __bool int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 0; llvm::DenseMapIterator::pointer = llvm::detail::DenseMapPair >*; llvm::DenseMapIterator::value_type = llvm::detail::DenseMapPair >] DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator() [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 0] DenseMapIterator() : Ptr(nullptr), End(nullptr) {} ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate expects 0 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>&) class DenseMapIterator : DebugEpochBase::HandleBase { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>&&) /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘llvm::DenseMapBase::iterator llvm::DenseMapBase::end() [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::iterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:129:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:70:12: error: no matching function for call to ‘llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(llvm::detail::DenseMapPair >*, llvm::detail::DenseMapPair >*, llvm::DenseMapBase, llvm::DenseMapInfo >, llvm::AssumptionCache::AffectedValueCallbackVH, llvm::SmallVector, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >&, bool)’ return iterator(getBucketsEnd(), getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: candidate: template llvm::DenseMapIterator::DenseMapIterator(const llvm::DenseMapIterator&) DenseMapIterator( ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:70:12: note: mismatched types ‘const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, IsConstSrc>’ and ‘llvm::detail::DenseMapPair >*’ return iterator(getBucketsEnd(), getBucketsEnd(), *this, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator(llvm::DenseMapIterator::pointer, llvm::DenseMapIterator::pointer, const llvm::DebugEpochBase&, __vector(4) __bool int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 0; llvm::DenseMapIterator::pointer = llvm::detail::DenseMapPair >*; llvm::DenseMapIterator::value_type = llvm::detail::DenseMapPair >] DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator() [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 0] DenseMapIterator() : Ptr(nullptr), End(nullptr) {} ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate expects 0 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(const llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>&) class DenseMapIterator : DebugEpochBase::HandleBase { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>::DenseMapIterator(llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>&&) /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapIterator::operator==(const ConstIterator&) const [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; Bucket = llvm::detail::DenseMapPair >; unsigned int IsConst = 0; llvm::DenseMapIterator::ConstIterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:129:35: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1083:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr == RHS.Ptr; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::WeakVH; unsigned int N = 4]’: /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:39:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:882:14: error: ‘class llvm::SmallVector’ has no member named ‘empty’ if (!RHS.empty()) ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::AllocaInst*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::~SmallVectorImpl() [with T = llvm::CallSite]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:843:7: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:340:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:343:16: error: ‘class llvm::SmallVectorImpl’ has no member named ‘isSmall’ if (!this->isSmall()) ~~~~~~^~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:344:18: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ free(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = llvm::AllocaInst*]’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:205:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = llvm::CallSite]’: /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:207:28: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_iterator.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:14, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h: In instantiation of ‘NodeTy* llvm::ilist_node_with_parent::getPrevNode() [with NodeTy = llvm::Instruction; ParentTy = llvm::BasicBlock; Options = {}]’: /<>/lib/llvmopencl/Barrier.h:60:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node.h:266:17: error: ‘const class llvm::SymbolTableList’ has no member named ‘getPrevNode’; did you mean ‘deleteNode’? return List.getPrevNode(*static_cast(this)); ~~~~~^~~~~~~~~~~ deleteNode In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopBase::LoopBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:391:10: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:86:34: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization LoopBase() : ParentLoop(nullptr) {} ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopBase::LoopBase(BlockT*) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:510:64: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:350:53: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization explicit LoopBase(BlockT *BB) : ParentLoop(nullptr) { ^ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopInfoBase::LoopInfoBase(llvm::LoopInfoBase&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:679:72: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:538:9: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? Arg.TopLevelLoops.clear(); ~~~~^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘llvm::LoopInfoBase& llvm::LoopInfoBase::operator=(llvm::LoopInfoBase&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:681:58: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:545:35: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? TopLevelLoops = std::move(RHS.TopLevelLoops); ~~~~^~~~~~~~~~~~~ addTopLevelLoop /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:546:9: error: ‘class llvm::LoopInfoBase’ has no member named ‘TopLevelLoops’; did you mean ‘addTopLevelLoop’? RHS.TopLevelLoops.clear(); ~~~~^~~~~~~~~~~~~ addTopLevelLoop In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = llvm::Instruction; Y = llvm::Value; typename llvm::cast_retty::ret_type = llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:698:46: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:27:0, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h: In instantiation of ‘unsigned int llvm::LoopBase::contains(const LoopT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:711:58: required from here /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:110:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (L == this) return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:111:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (!L) return false; ^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = const llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:73:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:771:11: error: ‘class llvm::DominatorTreeBase’ has no member named ‘Vertex’ this->Vertex.push_back(nullptr); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:773:5: error: could not convert ‘((((llvm::DominatorTreeBase*)this)->llvm::DominatorTreeBase::.llvm::DominatorBase::IsPostDominators == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!this->IsPostDominators) { ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:784:35: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) if (TraitsTy::child_begin(*I) == TraitsTy::child_end(*I)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:784:62: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) if (TraitsTy::child_begin(*I) == TraitsTy::child_end(*I)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:785:19: error: invalid type argument of unary ‘*’ (have ‘llvm::GraphTraits::nodes_iterator {aka int}’) addRoot(*I); ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘unsigned int llvm::DominatorTreeBase::compare(const llvm::DominatorTreeBase&) const [with NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:114:15: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:371:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:373:5: error: could not convert ‘__for_begin.llvm::DenseMapIterator, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > >, 1>::operator!=(__for_end)’ from ‘__vector(4) __bool int’ to ‘bool’ for (const auto &DomTreeNode : this->DomTreeNodes) { ^~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:377:14: error: could not convert ‘OI.llvm::DenseMapIterator, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > >, 1>::operator==(((const llvm::DenseMapBase, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >, llvm::BasicBlock*, std::unique_ptr, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >*)(& OtherDomTreeNodes))->llvm::DenseMapBase, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >, llvm::BasicBlock*, std::unique_ptr, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >::end())’ from ‘__vector(4) __bool int’ to ‘bool’ if (OI == OtherDomTreeNodes.end()) /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:378:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:383:7: error: could not convert ‘(& MyNd)->llvm::DomTreeNodeBase::compare(((const llvm::DomTreeNodeBase*)(& OtherNd)))’ from ‘__vector(4) __bool int’ to ‘bool’ if (MyNd.compare(&OtherNd)) ^~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:384:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:387:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ [ 14%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/convert_type.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/convert_type.cl.bc -c /<>/lib/kernel/convert_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/c++/7/bits/stl_tree.h:63:0, from /usr/include/c++/7/set:60, from /<>/lib/llvmopencl/ParallelRegion.cc:25: /usr/include/c++/7/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long unsigned int*; _Tp = __vector(4) int; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]’: /usr/include/c++/7/bits/stl_algobase.h:731:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = long unsigned int*; _Tp = __vector(4) int]’ /usr/include/c++/7/bits/stl_bvector.h:402:55: required from here /usr/include/c++/7/bits/stl_algobase.h:685:11: error: cannot convert ‘const __vector(4) int’ to ‘long unsigned int’ in assignment *__first = __value; ~~~~~~~~~^~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::cl::Option*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::cl::Option*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:197:44: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:867:66: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap*)this)->llvm::DenseMap::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair::getFirst()), ((const void*)((void*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair::getFirst()), ((const void*)((void*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:783:5: required from ‘llvm::SmallDenseMap::~SmallDenseMap() [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:277:38: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair, long unsigned int> >::getFirst()), ((const void*)((void*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const void*)P->llvm::detail::DenseMapPair, long unsigned int> >::getFirst()), ((const void*)((void*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h: In instantiation of ‘IntType llvm::PointerIntPair::getInt() const [with PointerTy = void*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerUnionUIntTraits; Info = llvm::PointerIntPairInfo >]’: /usr/lib/llvm-4.0/include/llvm/ADT/PointerUnion.h:129:12: required from ‘int llvm::PointerUnion::is() const [with T = llvm::ReplaceableMetadataImpl*; PT1 = llvm::LLVMContext*; PT2 = llvm::ReplaceableMetadataImpl*]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:758:46: required from here /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:59:12: error: can’t convert a value of type ‘intptr_t {aka long int}’ to vector type ‘__vector(4) __bool int’ which has different size return (IntType)Info::getInt(Value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:857:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const llvm::MDOperand*; T = llvm::Metadata*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:858:5: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:1092:72: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append In file included from /usr/include/c++/7/memory:80:0, from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:26, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘std::unique_ptr<_Tp [], _Dp>::operator __vector(4) __bool int() const [with _Tp = llvm::APFloat; _Dp = std::default_delete]’: /usr/include/c++/7/bits/unique_ptr.h:707:14: required from ‘unsigned int std::operator!=(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t) [with _Tp = llvm::APFloat []; _Dp = std::default_delete; std::nullptr_t = std::nullptr_t]’ /usr/lib/llvm-4.0/include/llvm/ADT/APFloat.h:630:48: required from here /usr/include/c++/7/bits/unique_ptr.h:602:45: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return { return get() == pointer() ? false : true; } ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘void llvm::Optional::reset() [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:116:10: required from ‘llvm::Optional::~Optional() [with T = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/IR/Constants.h:1133:48: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:109:9: error: could not convert ‘((llvm::Optional*)this)->llvm::Optional::hasVal’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasVal) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:111:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment hasVal = false; ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:857:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const unsigned int*; T = unsigned int; unsigned int N = 32]’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:325:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const unsigned int*; T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:858:5: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const unsigned int*; T = unsigned int; unsigned int N = 32]’ /usr/lib/llvm-4.0/include/llvm/ADT/FoldingSet.h:325:56: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap*)this)->llvm::DenseMap::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const void*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const void*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = const void*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = const void*; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/PassAnalysisSupport.h:53:39: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = unsigned char; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::PointerAlignElem; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:187:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = unsigned char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = unsigned char; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:204:25: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = llvm::LayoutAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:205:21: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = llvm::PointerAlignElem]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:877:34: required from ‘const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = llvm::PointerAlignElem; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:206:19: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:720:24: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ size_t RHSSize = RHS.size(); ~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:721:26: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ size_t CurSize = this->size(); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:30: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:43: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:726:66: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:728:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ NewEnd = this->begin(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(NewEnd, this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:731:39: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(NewEnd, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:734:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(NewEnd); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:741:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity’ if (this->capacity() < RHSSize) { ~~~~~~^~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:743:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:744:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:746:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(RHSSize); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:19: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:749:55: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:32: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘begin’ this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:753:53: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(), ~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:754:34: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->begin()+CurSize); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:9: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:757:22: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->setEnd(this->begin()+RHSSize); ~~~~~~^~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:33:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:82:58: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (endian != native && sys::IsBigEndianHost != (endian == big)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasOperandBundles() const { return getNumOperandBundles() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = int]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = int; unsigned int N = 16]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:2235:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:69: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool hasOperandBundles() const { return getNumOperandBundles() != 0; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17:0, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘llvm::StringMap::const_iterator llvm::StringMap::find(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator; llvm::StringMap::const_iterator = llvm::StringMapConstIterator]’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:330:29: required from ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’ /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:324:12: error: no matching function for call to ‘llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, bool)’ return const_iterator(TheTable+Bucket, true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: candidate: llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapEntryBase**, __vector(4) __bool int) [with ValueTy = llvm::Value*] explicit StringMapConstIterator(StringMapEntryBase **Bucket, ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:456:12: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator() [with ValueTy = llvm::Value*] StringMapConstIterator() = default; ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:454:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(const llvm::StringMapConstIterator&) template class StringMapConstIterator { ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate: constexpr llvm::StringMapConstIterator::StringMapConstIterator(llvm::StringMapConstIterator&&) /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:447:35: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h: In instantiation of ‘unsigned int llvm::StringMapConstIterator::operator!=(const llvm::StringMapConstIterator&) const [with ValueTy = llvm::Value*]’: /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:331:12: required from ‘ValueTy llvm::StringMap::lookup(llvm::StringRef) const [with ValueTy = llvm::Value*; AllocatorTy = llvm::MallocAllocator]’ /usr/lib/llvm-4.0/include/llvm/IR/ValueSymbolTable.h:70:64: required from here /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:473:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return Ptr != RHS.Ptr; ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/BasicBlockUtils.h:22:0, from /<>/lib/llvmopencl/ParallelRegion.cc:34: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In instantiation of ‘void llvm::PredIterator::advancePastNonTerminators() [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:57:30: required from ‘llvm::PredIterator::PredIterator(Ptr*) [with Ptr = llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:99:74: required from here /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:47:24: error: could not convert ‘(((((((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::atEnd() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::isa(((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::operator*()) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ while (!It.atEnd() && !isa(*It)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h: In instantiation of ‘void llvm::PredIterator::advancePastNonTerminators() [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’: /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:57:30: required from ‘llvm::PredIterator::PredIterator(Ptr*) [with Ptr = const llvm::BasicBlock; USE_iterator = llvm::Value::user_iterator_impl]’ /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:101:32: required from here /usr/lib/llvm-4.0/include/llvm/IR/CFG.h:47:24: error: could not convert ‘(((((((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::atEnd() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::isa(((llvm::PredIterator >*)this)->llvm::PredIterator >::It.llvm::Value::user_iterator_impl::operator*()) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = char]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = char; unsigned int N = 0]’ /usr/lib/llvm-4.0/include/llvm/Support/raw_ostream.h:538:71: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(KeyT&&) [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:283:28: required from ‘ValueT& llvm::DenseMapBase::operator[](KeyT&&) [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:131:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:276:24: error: could not convert ‘((llvm::DenseMapBase >, unsigned int, std::__cxx11::basic_string, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >*)this)->llvm::DenseMapBase >, unsigned int, std::__cxx11::basic_string, llvm::DenseMapInfo, llvm::detail::DenseMapPair > >::LookupBucketFor((*(const unsigned int*)(& Key)), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Key, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = unsigned int; DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:135:24: required from ‘llvm::DenseMapBase::const_iterator llvm::DenseMapBase::find(const KeyT&) const [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::const_iterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 1>]’ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:289:36: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:518:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:536:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:545:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:550:67: error: could not convert ‘(((llvm::DenseMapInfo::isEqual((* & ThisBucket->llvm::detail::DenseMapPair >::getFirst()), TombstoneKey) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((FoundTombstone == 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !FoundTombstone) ~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:30:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringRef.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:17, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h: In instantiation of ‘void llvm::Optional::reset() [with T = llvm::TargetLibraryInfoImpl]’: /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:116:10: required from ‘llvm::Optional::~Optional() [with T = llvm::TargetLibraryInfoImpl]’ /usr/lib/llvm-4.0/include/llvm/Analysis/TargetLibraryInfo.h:338:27: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:109:9: error: could not convert ‘((llvm::Optional*)this)->llvm::Optional::hasVal’ from ‘__vector(4) __bool int’ to ‘bool’ if (hasVal) { ^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Optional.h:111:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment hasVal = false; ~~~~~~~^~~~~~~ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o -c /<>/lib/CL/clReleaseKernel.c In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h: In instantiation of ‘llvm::AnalysisManager::ResultConceptT& llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = llvm::Function; ExtraArgTs = {}; llvm::AnalysisManager::ResultConceptT = llvm::detail::AnalysisResultConcept::Invalidator>]’: /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:657:22: required from ‘typename PassT::Result& llvm::AnalysisManager::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = llvm::TargetLibraryAnalysis; IRUnitT = llvm::Function; ExtraArgTs = {}; typename PassT::Result = llvm::TargetLibraryInfo]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:922:51: required from here /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:821:5: error: could not convert ‘Inserted’ from ‘__vector(4) __bool int’ to ‘bool’ if (Inserted) { ^~ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:823:11: error: could not convert ‘((llvm::AnalysisManager*)this)->llvm::AnalysisManager::DebugLogging’ from ‘__vector(4) __bool int’ to ‘bool’ if (DebugLogging) ^~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::WeakVH]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::WeakVH; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:88:53: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:88:53: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::DenseMapInfo >*)this)->llvm::DenseMap, llvm::DenseMapInfo >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:88:53: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)EmptyKey.llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)TombstoneKey.llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = llvm::Value]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:29: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:105:26: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:684:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:199:69: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCacheTracker::FunctionCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)EmptyKey.llvm::AssumptionCacheTracker::FunctionCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& P->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCacheTracker::FunctionCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)TombstoneKey.llvm::AssumptionCacheTracker::FunctionCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:199:69: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::DenseMapInfo >*)this)->llvm::DenseMap, llvm::DenseMapInfo >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::AllocaInst*]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::AllocaInst*; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:182:54: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ : SmallVectorTemplateBase::value>(N*sizeof(T)) { ^ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::CallSite]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:848:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::CallSite; unsigned int N = 8]’ /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:182:54: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:332:66: error: could not convert template argument ‘llvm::isPodLike::value’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/User.h:25:0, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/Value.h: In instantiation of ‘unsigned int llvm::Value::use_iterator_impl::operator==(const llvm::Value::use_iterator_impl&) const [with UseT = llvm::Use]’: /usr/lib/llvm-4.0/include/llvm/IR/Value.h:131:75: required from ‘unsigned int llvm::Value::use_iterator_impl::operator!=(const llvm::Value::use_iterator_impl&) const [with UseT = llvm::Use]’ /<>/lib/llvmopencl/Barrier.h:47:19: required from here /usr/lib/llvm-4.0/include/llvm/IR/Value.h:130:71: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return bool operator==(const use_iterator_impl &x) const { return U == x.U; } ^ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘ValueT llvm::DenseMapBase::lookup(const KeyT&) const [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:575:69: required from ‘LoopT* llvm::LoopInfoBase::getLoopFor(const BlockT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:706:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:164:24: error: could not convert ‘((const llvm::DenseMapBase, llvm::detail::DenseMapPair >, const llvm::BasicBlock*, llvm::Loop*, llvm::DenseMapInfo, llvm::detail::DenseMapPair >*)this)->llvm::DenseMapBase, llvm::detail::DenseMapPair >, const llvm::BasicBlock*, llvm::Loop*, llvm::DenseMapInfo, llvm::detail::DenseMapPair >::LookupBucketFor((* & Val), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Val, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:551:5: required from ‘void llvm::LoopInfoBase::releaseMemory() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:849:52: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In instantiation of ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: error: no matching function for call to ‘get_hashable_data(const unsigned int&)’ buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg)); ~~~~~~~~~~~~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: note: candidate: template typename std::enable_if::value, T>::type llvm::hashing::detail::get_hashable_data(const T&) get_hashable_data(const T &value) { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In substitution of ‘template typename std::enable_if::value, T>::type llvm::hashing::detail::get_hashable_data(const T&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: required from ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:366:1: error: ‘value’ is not a member of ‘llvm::hashing::detail::is_hashable_data’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In instantiation of ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:374:1: note: candidate: template typename std::enable_if<(! llvm::hashing::detail::is_hashable_data::value), long unsigned int>::type llvm::hashing::detail::get_hashable_data(const T&) get_hashable_data(const T &value) { ^~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:374:1: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h: In substitution of ‘template typename std::enable_if<(! llvm::hashing::detail::is_hashable_data::value), long unsigned int>::type llvm::hashing::detail::get_hashable_data(const T&) [with T = unsigned int]’: /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:557:80: required from ‘llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine(size_t, char*, char*, const T&, const Ts& ...) [with T = unsigned int; Ts = {unsigned int}; size_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:605:70: required from ‘llvm::hash_code llvm::hash_combine(const Ts& ...) [with Ts = {unsigned int, unsigned int}]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:70:60: required from here /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:373:25: error: ‘value’ is not a member of ‘llvm::hashing::detail::is_hashable_data’ typename std::enable_if::value, size_t>::type ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap::InfoRec, llvm::DenseMapInfo, llvm::detail::DenseMapPair::InfoRec> >; KeyT = llvm::BasicBlock*; ValueT = llvm::DominatorTreeBase::InfoRec; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair::InfoRec>]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = llvm::DominatorTreeBase::InfoRec; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair::InfoRec>]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::InfoRec>::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::InfoRec>::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:24:0, from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h: In instantiation of ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:265:11: error: ‘class llvm::DominatorTreeBase’ has no member named ‘Roots’ this->Roots.clear(); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:268:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment DFSInfoValid = false; ~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/c++/7/algorithm:62:0, from /<>/lib/llvmopencl/ParallelRegion.cc:28: /usr/include/c++/7/bits/stl_algo.h: In instantiation of ‘bool std::none_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’: /usr/include/c++/7/bits/stl_algo.h:544:27: required from ‘bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:744:21: required from ‘unsigned int llvm::any_of(R&&, UnaryPredicate) [with R = const llvm::SmallPtrSet&; UnaryPredicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:295:6: required from here /usr/include/c++/7/bits/stl_algo.h:526:71: error: cannot convert ‘__vector(4) __bool int’ to ‘bool’ in return { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); } ^ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::clear() [with T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:427:10: required from ‘void llvm::SmallVectorImpl::assign(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:868:5: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘destroy_range’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:31: error: ‘class llvm::SmallVectorImpl’ has no member named ‘begin’ this->destroy_range(this->begin(), this->end()); ~~~~~~^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:348:46: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->destroy_range(this->begin(), this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘EndX’ this->EndX = this->BeginX; ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:349:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘BeginX’ this->EndX = this->BeginX; ~~~~~~^~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = void]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = void*; ValueT = llvm::cl::Option*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/Options.h:80:20: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = const void]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const void*; ValueT = const llvm::PassInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/PassRegistry.h:54:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/CBindingWrapping.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Use.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/User.h:24, from /usr/lib/llvm-4.0/include/llvm/IR/Constant.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Casting.h: In instantiation of ‘typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = const llvm::Instruction; Y = const llvm::Value; typename llvm::cast_retty::ret_type = const llvm::Instruction*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:74:40: required from ‘static llvm::CallSiteBase llvm::CallSiteBase::get(ValTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:65:49: required from ‘llvm::CallSiteBase::CallSiteBase(ValTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:670:70: required from here /usr/lib/llvm-4.0/include/llvm/Support/Casting.h:298:22: error: inferred scalar type ‘llvm::cast_retty::ret_type {aka const llvm::Instruction*}’ is not an integer or floating point type of the same size as ‘__bool int’ return isa(Val) ? cast(Val) : nullptr; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:41:0, from /usr/lib/llvm-4.0/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:35: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h: In instantiation of ‘llvm::CallSiteBase::CallSiteBase() [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’: /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:80:12: required from ‘static llvm::CallSiteBase llvm::CallSiteBase::get(ValTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:65:49: required from ‘llvm::CallSiteBase::CallSiteBase(ValTy*) [with FunTy = const llvm::Function; BBTy = const llvm::BasicBlock; ValTy = const llvm::Value; UserTy = const llvm::User; UseTy = const llvm::Use; InstrTy = const llvm::Instruction; CallTy = const llvm::CallInst; InvokeTy = const llvm::InvokeInst; IterTy = const llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:670:70: required from here /usr/lib/llvm-4.0/include/llvm/IR/CallSite.h:62:36: error: no matching function for call to ‘llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(std::nullptr_t, bool)’ CallSiteBase() : I(nullptr, false) {} ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_node_base.h:13:0, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist_base.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/simple_ilist.h:13, from /usr/lib/llvm-4.0/include/llvm/ADT/ilist.h:27, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:54:12: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: candidate: llvm::PointerIntPair::PointerIntPair(PointerTy, IntType) [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair(PointerTy PtrVal, IntType IntVal) { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:51:3: note: no known conversion for argument 2 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate: llvm::PointerIntPair::PointerIntPair() [with PointerTy = const llvm::Instruction*; unsigned int IntBits = 1; IntType = __vector(4) __bool int; PtrTraits = llvm::PointerLikeTypeTraits; Info = llvm::PointerIntPairInfo >] PointerIntPair() : Value(0) {} ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:50:3: note: candidate expects 0 arguments, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(const llvm::PointerIntPair, llvm::PointerIntPairInfo > >&) class PointerIntPair { ^~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate: constexpr llvm::PointerIntPair, llvm::PointerIntPairInfo > >::PointerIntPair(llvm::PointerIntPair, llvm::PointerIntPairInfo > >&&) /usr/lib/llvm-4.0/include/llvm/ADT/PointerIntPair.h:46:7: note: candidate expects 1 argument, 2 provided In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:88:53: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = llvm::Value*; DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:564:10: required from ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, BucketT*&) [with LookupKeyT = llvm::Value*; DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:148:24: required from ‘llvm::DenseMapBase::iterator llvm::DenseMapBase::find_as(const LookupKeyT&) [with LookupKeyT = llvm::Value*; DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::iterator = llvm::DenseMapIterator, llvm::DenseMapInfo, llvm::detail::DenseMapPair >, 0>]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:128:61: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:518:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:536:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:545:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:550:67: error: could not convert ‘(((llvm::DenseMapInfo::isEqual(((const llvm::Value*)(& ThisBucket->llvm::detail::DenseMapPair >::getFirst())->llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*()), ((const llvm::Value*)TombstoneKey.llvm::AssumptionCache::AffectedValueCallbackVH::.llvm::CallbackVH::operator llvm::Value*())) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((FoundTombstone == 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !FoundTombstone) ~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AssumptionCache.h:199:69: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::detail::DenseMapPair >*)this)->llvm::DenseMap, llvm::detail::DenseMapPair >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:55: error: could not convert ‘(((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)EmptyKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((((llvm::DenseMapInfo::isEqual(P->llvm::detail::DenseMapPair::getFirst(), ((const llvm::BasicBlock*)TombstoneKey)) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = const llvm::BasicBlock*; DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:164:24: required from ‘ValueT llvm::DenseMapBase::lookup(const KeyT&) const [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:575:69: required from ‘LoopT* llvm::LoopInfoBase::getLoopFor(const BlockT*) const [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:706:45: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:518:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:536:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:545:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:550:67: error: could not convert ‘(((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)ThisBucket->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)TombstoneKey)) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((FoundTombstone == 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !FoundTombstone) ~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:17:0, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h: In instantiation of ‘static unsigned int llvm::DenseMapInfo::isEqual(const T*, const T*) [with T = llvm::BasicBlock]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:307:29: required from ‘void llvm::DenseMapBase::destroyAll() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:617:5: required from ‘llvm::DenseMap::~DenseMap() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:208:30: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMapInfo.h:50:67: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } ^~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair, std::default_delete > > >::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:108:7: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)EmptyKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) { ^~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:109:9: error: could not convert ‘((llvm::DenseMapInfo::isEqual(((const llvm::BasicBlock*)P->llvm::detail::DenseMapPair::getFirst()), ((const llvm::BasicBlock*)((llvm::BasicBlock*)TombstoneKey))) == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) { ^~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/Allocator.h:24:0, from /usr/lib/llvm-4.0/include/llvm/ADT/StringMap.h:18, from /usr/lib/llvm-4.0/include/llvm/Support/Host.h:17, from /usr/lib/llvm-4.0/include/llvm/ADT/Hashing.h:49, from /usr/lib/llvm-4.0/include/llvm/ADT/ArrayRef.h:13, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const llvm::cl::OptionEnumValue*; T = llvm::cl::OptionEnumValue]’: /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:415:11: required from ‘void llvm::SmallVectorImpl::append(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:428:11: required from ‘void llvm::SmallVectorImpl::assign(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue]’ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:868:5: required from ‘llvm::SmallVector::SmallVector(std::initializer_list<_Tp>) [with T = llvm::cl::OptionEnumValue; unsigned int N = 4]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:604:23: required from here /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:37: error: ‘class llvm::SmallVectorImpl’ has no member named ‘capacity_ptr’ if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:395:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? if (NumInputs > size_type(this->capacity_ptr()-this->end())) ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:13: error: ‘class llvm::SmallVectorImpl’ has no member named ‘grow’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:396:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ this->grow(this->size()+NumInputs); ~~~~~~^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘uninitialized_copy’ this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:399:54: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->uninitialized_copy(in_start, in_end, this->end()); ~~~~~~^~~ append /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:11: error: ‘class llvm::SmallVectorImpl’ has no member named ‘setEnd’ this->setEnd(this->end() + NumInputs); ~~~~~~^~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/SmallVector.h:400:24: error: ‘class llvm::SmallVectorImpl’ has no member named ‘end’; did you mean ‘append’? this->setEnd(this->end() + NumInputs); ~~~~~~^~~ append In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘std::pair, __vector(4) __bool int> llvm::DenseMapBase::try_emplace(KeyT&&, Ts&& ...) [with Ts = {std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >}; DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:180:23: required from ‘std::pair, __vector(4) __bool int> llvm::DenseMapBase::insert(std::pair<_Tp1, _Tp2>&&) [with DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:816:28: required from ‘llvm::AnalysisManager::ResultConceptT& llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = llvm::Function; ExtraArgTs = {}; llvm::AnalysisManager::ResultConceptT = llvm::detail::AnalysisResultConcept::Invalidator>]’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:657:22: required from ‘typename PassT::Result& llvm::AnalysisManager::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = llvm::TargetLibraryAnalysis; IRUnitT = llvm::Function; ExtraArgTs = {}; typename PassT::Result = llvm::TargetLibraryInfo]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:922:51: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:189:24: error: could not convert ‘((llvm::DenseMapBase, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >, std::pair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >*)this)->llvm::DenseMapBase, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >, std::pair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >::LookupBucketFor >((*(const std::pair*)(& Key)), TheBucket)’ from ‘__vector(4) __bool int’ to ‘bool’ if (LookupBucketFor(Key, TheBucket)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:190:29: error: no matching function for call to ‘llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*&, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*, llvm::DenseMapBase, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >, std::pair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >&, bool)’ return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: candidate: template llvm::DenseMapIterator::DenseMapIterator(const llvm::DenseMapIterator&) DenseMapIterator( ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:190:29: note: mismatched types ‘const llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, IsConstSrc>’ and ‘llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*’ return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator(llvm::DenseMapIterator::pointer, llvm::DenseMapIterator::pointer, const llvm::DebugEpochBase&, __vector(4) __bool int) [with KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; Bucket = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >; unsigned int IsConst = 0; llvm::DenseMapIterator::pointer = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*; llvm::DenseMapIterator::value_type = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >] DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator() [with KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; Bucket = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >; unsigned int IsConst = 0] DenseMapIterator() : Ptr(nullptr), End(nullptr) {} ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate expects 0 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(const llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>&) class DenseMapIterator : DebugEpochBase::HandleBase { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>&&) /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:196:27: error: no matching function for call to ‘llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*&, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*, llvm::DenseMapBase, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >, std::pair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >&, bool)’ return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: candidate: template llvm::DenseMapIterator::DenseMapIterator(const llvm::DenseMapIterator&) DenseMapIterator( ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1065:3: note: template argument deduction/substitution failed: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:196:27: note: mismatched types ‘const llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, IsConstSrc>’ and ‘llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*’ return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator(llvm::DenseMapIterator::pointer, llvm::DenseMapIterator::pointer, const llvm::DebugEpochBase&, __vector(4) __bool int) [with KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; Bucket = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >; unsigned int IsConst = 0; llvm::DenseMapIterator::pointer = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >*; llvm::DenseMapIterator::value_type = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >] DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1053:3: note: no known conversion for argument 4 from ‘bool’ to ‘__vector(4) __bool int’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate: llvm::DenseMapIterator::DenseMapIterator() [with KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; Bucket = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >; unsigned int IsConst = 0] DenseMapIterator() : Ptr(nullptr), End(nullptr) {} ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1051:3: note: candidate expects 0 arguments, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(const llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>&) class DenseMapIterator : DebugEpochBase::HandleBase { ^~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate: constexpr llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>::DenseMapIterator(llvm::DenseMapIterator, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >, 0>&&) /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:1034:7: note: candidate expects 1 argument, 4 provided /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:598:56: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:531:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-4.0/include/llvm/Analysis/LoopInfo.h:676:14: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ In file included from /usr/lib/llvm-4.0/include/llvm/Support/MD5.h:33:0, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalValue.h:26, from /usr/lib/llvm-4.0/include/llvm/IR/GlobalObject.h:19, from /usr/lib/llvm-4.0/include/llvm/IR/Function.h:28, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:29, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = short unsigned int; llvm::support::endianness E = (llvm::support::endianness)1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:308:27: required from ‘uint16_t llvm::support::endian::read16(const void*) [with llvm::support::endianness E = (llvm::support::endianness)1; uint16_t = short unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:317:66: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (endian != native && sys::IsBigEndianHost != (endian == big)) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)1; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = unsigned int; llvm::support::endianness E = (llvm::support::endianness)1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:311:27: required from ‘uint32_t llvm::support::endian::read32(const void*) [with llvm::support::endianness E = (llvm::support::endianness)1; uint32_t = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:318:66: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((1 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = short unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = short unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:308:27: required from ‘uint16_t llvm::support::endian::read16(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint16_t = short unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:320:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:311:27: required from ‘uint32_t llvm::support::endian::read32(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint32_t = unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:321:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h: In instantiation of ‘value_type llvm::support::endian::byte_swap(value_type) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0]’: /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:55:39: required from ‘value_type llvm::support::endian::read(const void*) [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:180:55: required from ‘llvm::support::detail::packed_endian_specific_integral::operator value_type() const [with value_type = long unsigned int; llvm::support::endianness endian = (llvm::support::endianness)0; long unsigned int alignment = 1]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:304:77: required from ‘T llvm::support::endian::read(const void*) [with T = long unsigned int; llvm::support::endianness E = (llvm::support::endianness)0]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:314:27: required from ‘uint64_t llvm::support::endian::read64(const void*) [with llvm::support::endianness E = (llvm::support::endianness)0; uint64_t = long unsigned int]’ /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:322:63: required from here /usr/lib/llvm-4.0/include/llvm/Support/Endian.h:39:24: error: could not convert ‘((0 != 2) ? ((((((__vector(4) __bool int)llvm::sys::IsBigEndianHost) != (__vector(4) __bool int){1, 1, 1, 1}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) != (__vector(4) int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ In file included from /usr/lib/llvm-4.0/include/llvm/IR/ConstantFolder.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1586:47: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:46: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1574:5: error: could not convert ‘((((llvm::CallInst*)((llvm::OperandBundleUser*)this))->llvm::CallInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1604:45: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:68: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::CallInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:1566:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1592:5: error: could not convert ‘((((llvm::CallInst*)((llvm::OperandBundleUser*)this))->llvm::CallInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1586:47: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_begin() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:46: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1574:5: error: could not convert ‘((((llvm::InvokeInst*)((llvm::OperandBundleUser*)this))->llvm::InvokeInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h: In instantiation of ‘llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::bundle_op_iterator = llvm::OperandBundleUser::BundleOpInfo*]’: /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1604:45: required from ‘const llvm::OperandBundleUser::BundleOpInfo* llvm::OperandBundleUser::bundle_op_info_end() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*; llvm::OperandBundleUser::const_bundle_op_iterator = const llvm::OperandBundleUser::BundleOpInfo*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1337:68: required from ‘unsigned int llvm::OperandBundleUser::getNumOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1341:63: required from ‘unsigned int llvm::OperandBundleUser::hasOperandBundles() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1364:27: required from ‘unsigned int llvm::OperandBundleUser::getNumTotalBundleOperands() const [with InstrTy = llvm::InvokeInst; OpIteratorTy = llvm::Use*]’ /usr/lib/llvm-4.0/include/llvm/IR/Instructions.h:3603:57: required from here /usr/lib/llvm-4.0/include/llvm/IR/InstrTypes.h:1592:5: error: could not convert ‘((((llvm::InvokeInst*)((llvm::OperandBundleUser*)this))->llvm::InvokeInst::hasDescriptor() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!static_cast(this)->hasDescriptor()) ^~ In file included from /usr/include/c++/7/algorithm:62:0, from /<>/lib/llvmopencl/ParallelRegion.cc:28: /usr/include/c++/7/bits/stl_algo.h: In instantiation of ‘_InputIterator std::__find_if(_InputIterator, _InputIterator, _Predicate, std::input_iterator_tag) [with _InputIterator = llvm::SmallPtrSetIterator; _Predicate = __gnu_cxx::__ops::_Iter_pred >]’: /usr/include/c++/7/bits/stl_algo.h:161:23: required from ‘_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = llvm::SmallPtrSetIterator; _Predicate = __gnu_cxx::__ops::_Iter_pred >]’ /usr/include/c++/7/bits/stl_algo.h:3932:28: required from ‘_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/include/c++/7/bits/stl_algo.h:526:47: required from ‘bool std::none_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/include/c++/7/bits/stl_algo.h:544:27: required from ‘bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = llvm::SmallPtrSetIterator; _Predicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/ADT/STLExtras.h:744:21: required from ‘unsigned int llvm::any_of(R&&, UnaryPredicate) [with R = const llvm::SmallPtrSet&; UnaryPredicate = llvm::cl::Option::isInAllSubCommands() const::]’ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:295:6: required from here /usr/include/c++/7/bits/stl_algo.h:104:32: error: could not convert ‘(((__first.llvm::SmallPtrSetIterator::.llvm::SmallPtrSetIteratorImpl::operator!=(__last.llvm::SmallPtrSetIterator::) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((! __pred.__gnu_cxx::__ops::_Iter_pred >::operator() >(__first)) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ while (__first != __last && !__pred(__first)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:20:0, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, const BucketT*&) const [with LookupKeyT = std::pair; DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:564:10: required from ‘unsigned int llvm::DenseMapBase::LookupBucketFor(const LookupKeyT&, BucketT*&) [with LookupKeyT = std::pair; DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:189:24: required from ‘std::pair, __vector(4) __bool int> llvm::DenseMapBase::try_emplace(KeyT&&, Ts&& ...) [with Ts = {std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >}; DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:180:23: required from ‘std::pair, __vector(4) __bool int> llvm::DenseMapBase::insert(std::pair<_Tp1, _Tp2>&&) [with DerivedT = llvm::DenseMap, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >, llvm::DenseMapInfo >, llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > > >; KeyT = std::pair; ValueT = std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > >; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >]’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:816:28: required from ‘llvm::AnalysisManager::ResultConceptT& llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = llvm::Function; ExtraArgTs = {}; llvm::AnalysisManager::ResultConceptT = llvm::detail::AnalysisResultConcept::Invalidator>]’ /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:657:22: required from ‘typename PassT::Result& llvm::AnalysisManager::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = llvm::TargetLibraryAnalysis; IRUnitT = llvm::Function; ExtraArgTs = {}; typename PassT::Result = llvm::TargetLibraryInfo]’ /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:922:51: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:518:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:536:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:545:16: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:550:67: error: could not convert ‘(((llvm::DenseMapInfo >::isEqual((* & ThisBucket->llvm::detail::DenseMapPair, std::_List_iterator::Invalidator>, std::default_delete::Invalidator> > > > > >::getFirst()), TombstoneKey) != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((FoundTombstone == 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !FoundTombstone) ~~~~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >*)this)->llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ if (allocateBuckets(InitBuckets)) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: error: could not convert ‘((llvm::DenseMap, llvm::detail::DenseMapPair >*)this)->llvm::DenseMap, llvm::detail::DenseMapPair >::allocateBuckets(InitBuckets)’ from ‘__vector(4) __bool int’ to ‘bool’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:263:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMap::allocateBuckets(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:657:24: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:696:9: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:444:5: required from ‘void llvm::DenseMapBase::shrink_and_clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:101:23: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:264:5: required from ‘void llvm::DominatorTreeBase::reset() [with NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/Support/GenericDomTree.h:770:10: required from ‘void llvm::DominatorTreeBase::recalculate(FT&) [with FT = llvm::Function; NodeT = llvm::BasicBlock]’ /usr/lib/llvm-4.0/include/llvm/IR/Dominators.h:102:18: required from here /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:726:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/ADT/DenseMap.h:730:12: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o -c /<>/lib/CL/clRetainKernel.c In file included from /usr/lib/llvm-4.0/include/llvm/Support/Options.h:41:0, from /usr/lib/llvm-4.0/include/llvm/IR/LLVMContext.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/Metadata.h:30, from /usr/lib/llvm-4.0/include/llvm/IR/TrackingMDRef.h:17, from /usr/lib/llvm-4.0/include/llvm/IR/DebugLoc.h:18, from /usr/lib/llvm-4.0/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/BasicBlock.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:32: /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘unsigned int llvm::cl::OptionValueCopy::compare(const llvm::cl::GenericOptionValue&) const [with DataType = std::__cxx11::basic_string]’: /<>/lib/llvmopencl/ParallelRegion.cc:851:1: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:507:5: error: could not convert ‘(((& VC)->llvm::cl::OptionValueCopy >::hasValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!VC.hasValue()) ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:508:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h: In instantiation of ‘unsigned int llvm::cl::OptionValueCopy::compare(const llvm::cl::GenericOptionValue&) const [with DataType = llvm::cl::boolOrDefault]’: /<>/lib/llvmopencl/ParallelRegion.cc:851:1: required from here /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:507:5: error: could not convert ‘(((& VC)->llvm::cl::OptionValueCopy::hasValue() == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!VC.hasValue()) ^~ /usr/lib/llvm-4.0/include/llvm/Support/CommandLine.h:508:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o -c /<>/lib/CL/clSetKernelArg.c lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make:89: recipe for target 'lib/llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o' failed make[3]: *** [lib/llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o] Error 1 make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' CMakeFiles/Makefile2:398: recipe for target 'lib/llvmopencl/CMakeFiles/llvmpasses.dir/all' failed make[2]: *** [lib/llvmopencl/CMakeFiles/llvmpasses.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o -c /<>/lib/CL/clEnqueueNDRangeKernel.c [ 15%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/cross.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/cross.cl.bc -c /<>/lib/kernel/cross.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o -c /<>/lib/CL/clEnqueueNativeKernel.c [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o -c /<>/lib/CL/clCreateKernelsInProgram.c [ 15%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/distance.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/distance.cl.bc -c /<>/lib/kernel/distance.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o -c /<>/lib/CL/clGetKernelInfo.c [ 16%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/dot.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/dot.cl.bc -c /<>/lib/kernel/dot.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o -c /<>/lib/CL/clGetKernelArgInfo.c [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o -c /<>/lib/CL/clGetPlatformIDs.c [ 16%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_distance.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_distance.cl.bc -c /<>/lib/kernel/fast_distance.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o -c /<>/lib/CL/clGetPlatformInfo.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o -c /<>/lib/CL/clGetDeviceIDs.c /<>/lib/kernel/convert_type.cl:38570:30: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float)(0x1.fffffep+62), convert_int(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38600:30: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float)(0x1.fffffep+62), convert_int(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38613:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float2)(0x1.fffffep+62), convert_int2(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38643:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float2)(0x1.fffffep+62), convert_int2(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38656:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float3)(0x1.fffffep+62), convert_int3(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38686:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float3)(0x1.fffffep+62), convert_int3(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38699:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float4)(0x1.fffffep+62), convert_int4(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38729:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float4)(0x1.fffffep+62), convert_int4(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38742:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float8)(0x1.fffffep+62), convert_int8(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38772:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float8)(0x1.fffffep+62), convert_int8(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38785:32: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float16)(0x1.fffffep+62), convert_int16(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:38815:32: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float16)(0x1.fffffep+62), convert_int16(x >= 0x7fffffffffffffffL)); ^ /<>/lib/kernel/convert_type.cl:39086:30: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float)(0x1.fffffep+63), convert_int(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39116:30: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float)(0x1.fffffep+63), convert_int(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39129:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float2)(0x1.fffffep+63), convert_int2(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39159:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float2)(0x1.fffffep+63), convert_int2(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39172:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float3)(0x1.fffffep+63), convert_int3(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39202:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float3)(0x1.fffffep+63), convert_int3(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39215:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float4)(0x1.fffffep+63), convert_int4(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39245:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float4)(0x1.fffffep+63), convert_int4(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39258:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float8)(0x1.fffffep+63), convert_int8(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39288:31: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float8)(0x1.fffffep+63), convert_int8(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39301:32: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float16)(0x1.fffffep+63), convert_int16(x >= 0xfffffffffffffffeUL)); ^ /<>/lib/kernel/convert_type.cl:39331:32: warning: double precision constant requires cl_khr_fp64, casting to single precision return select(res, (float16)(0x1.fffffep+63), convert_int16(x >= 0xfffffffffffffffeUL)); ^ [ 17%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_length.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_length.cl.bc -c /<>/lib/kernel/fast_length.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o -c /<>/lib/CL/clGetDeviceInfo.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o -c /<>/lib/CL/clCreateContext.c [ 18%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_normalize.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fast_normalize.cl.bc -c /<>/lib/kernel/fast_normalize.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 18%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fract.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/fract.cl.bc -c /<>/lib/kernel/fract.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o -c /<>/lib/CL/clGetProgramBuildInfo.c [ 18%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_id.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_id.c.bc -c /<>/lib/kernel/get_global_id.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o -c /<>/lib/CL/clEnqueueWriteBuffer.c [ 18%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_offset.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_offset.c.bc -c /<>/lib/kernel/get_global_offset.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o -c /<>/lib/CL/clEnqueueWriteBufferRect.c [ 19%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o -c /<>/lib/CL/clEnqueueCopyBuffer.c [ 20%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_size.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_global_size.c.bc -c /<>/lib/kernel/get_global_size.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o -c /<>/lib/CL/clEnqueueCopyBufferRect.c [ 20%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_group_id.c.bc [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_group_id.c.bc -c /<>/lib/kernel/get_group_id.c -include /<>/include/_kernel_c.h cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o -c /<>/lib/CL/clEnqueueCopyBufferToImage.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 20%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_array_size.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_array_size.cl.bc -c /<>/lib/kernel/get_image_array_size.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o -c /<>/lib/CL/clEnqueueCopyImageToBuffer.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 20%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_channel_data_type.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_channel_data_type.cl.bc -c /<>/lib/kernel/get_image_channel_data_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o -c /<>/lib/CL/clEnqueueMigrateMemObjects.c [ 20%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_channel_order.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_channel_order.cl.bc -c /<>/lib/kernel/get_image_channel_order.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 21%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o -c /<>/lib/CL/clFinish.c [ 21%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o -c /<>/lib/CL/clFlush.c [ 22%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_depth.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_depth.cl.bc -c /<>/lib/kernel/get_image_depth.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o -c /<>/lib/CL/clEnqueueBarrier.c [ 22%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_dim.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_dim.cl.bc -c /<>/lib/kernel/get_image_dim.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o -c /<>/lib/CL/clEnqueueMarker.c [ 22%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_height.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_height.cl.bc -c /<>/lib/kernel/get_image_height.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o -c /<>/lib/CL/clGetKernelWorkGroupInfo.c [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o -c /<>/lib/CL/clGetProgramInfo.c [ 23%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_width.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_image_width.cl.bc -c /<>/lib/kernel/get_image_width.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o -c /<>/lib/CL/clGetEventProfilingInfo.c [ 23%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_local_id.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_local_id.c.bc -c /<>/lib/kernel/get_local_id.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o -c /<>/lib/CL/clWaitForEvents.c [ 24%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_local_size.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_local_size.c.bc -c /<>/lib/kernel/get_local_size.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o -c /<>/lib/CL/clEnqueueWaitForEvents.c [ 24%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_num_groups.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_num_groups.c.bc -c /<>/lib/kernel/get_num_groups.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o -c /<>/lib/CL/clReleaseEvent.c [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o -c /<>/lib/CL/clRetainEvent.c [ 25%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_work_dim.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/get_work_dim.c.bc -c /<>/lib/kernel/get_work_dim.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o -c /<>/lib/CL/clSetEventCallback.c [ 25%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/hadd.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/hadd.cl.bc -c /<>/lib/kernel/hadd.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 25%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_cos.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_cos.cl.bc -c /<>/lib/kernel/half_cos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o -c /<>/lib/CL/clGetEventInfo.c [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o -c /<>/lib/CL/clCreateUserEvent.c [ 26%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_divide.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_divide.cl.bc -c /<>/lib/kernel/half_divide.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 26%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp10.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp10.cl.bc -c /<>/lib/kernel/half_exp10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o -c /<>/lib/CL/clSetUserEventStatus.c [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o -c /<>/lib/CL/clEnqueueTask.c [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o -c /<>/lib/CL/clCreateImage.c [ 27%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp2.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp2.cl.bc -c /<>/lib/kernel/half_exp2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o -c /<>/lib/CL/clCreateImage2D.c [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o -c /<>/lib/CL/clCreateImage3D.c [ 27%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_exp.cl.bc -c /<>/lib/kernel/half_exp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 28%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o -c /<>/lib/CL/clEnqueueReadImage.c [ 28%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o -c /<>/lib/CL/clEnqueueWriteImage.c [ 29%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log10.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log10.cl.bc -c /<>/lib/kernel/half_log10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o -c /<>/lib/CL/clCreateSampler.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o -c /<>/lib/CL/clReleaseSampler.c [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o -c /<>/lib/CL/clRetainSampler.c [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o -c /<>/lib/CL/clGetSamplerInfo.c [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o -c /<>/lib/CL/clEnqueueCopyImage.c [ 30%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log2.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log2.cl.bc -c /<>/lib/kernel/half_log2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 30%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_log.cl.bc -c /<>/lib/kernel/half_log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o -c /<>/lib/CL/clEnqueueMapImage.c [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o -c /<>/lib/CL/clGetImageInfo.c [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o -c /<>/lib/CL/clCreateFromGLTexture2D.c [ 30%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_powr.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_powr.cl.bc -c /<>/lib/kernel/half_powr.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] 24 warnings generated. [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o -c /<>/lib/CL/clCreateFromGLTexture3D.c [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o -c /<>/lib/CL/clUnloadCompiler.c [ 31%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_recip.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_recip.cl.bc -c /<>/lib/kernel/half_recip.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 32%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_rsqrt.cl.bc [ 32%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o -c /<>/lib/CL/clGetSupportedImageFormats.c cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_rsqrt.cl.bc -c /<>/lib/kernel/half_rsqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 32%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o -c /<>/lib/CL/clGetExtensionFunctionAddress.c [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o -c /<>/lib/CL/clGetExtensionFunctionAddressForPlatform.c [ 33%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_sin.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_sin.cl.bc -c /<>/lib/kernel/half_sin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 33%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_sqrt.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_sqrt.cl.bc -c /<>/lib/kernel/half_sqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 33%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_tan.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/half_tan.cl.bc -c /<>/lib/kernel/half_tan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o -c /<>/lib/CL/clIcdGetPlatformIDsKHR.c [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o -c /<>/lib/CL/clReleaseDevice.c [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o -c /<>/lib/CL/clRetainDevice.c [ 33%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isequal.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isequal.cl.bc -c /<>/lib/kernel/isequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o -c /<>/lib/CL/clCreateSubDevices.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 34%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isgreater.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isgreater.cl.bc -c /<>/lib/kernel/isgreater.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 34%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isgreaterequal.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isgreaterequal.cl.bc -c /<>/lib/kernel/isgreaterequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o -c /<>/lib/CL/clUnloadPlatformCompiler.c [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o -c /<>/lib/CL/pocl_util.c [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o -c /<>/lib/CL/pocl_image_util.c [ 35%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isless.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isless.cl.bc -c /<>/lib/kernel/isless.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /<>/lib/CL/pocl_image_util.c: In function ‘convert_char4_sat’: /<>/lib/CL/pocl_image_util.c:229:1: note: the ABI of passing aggregates with 16-byte alignment has changed in GCC 5 convert_char4_sat (cl_float4 x) ^~~~~~~~~~~~~~~~~ [ 35%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/islessequal.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/islessequal.cl.bc -c /<>/lib/kernel/islessequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o -c /<>/lib/CL/pocl_img_buf_cpy.c [ 35%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/islessgreater.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/islessgreater.cl.bc -c /<>/lib/kernel/islessgreater.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 36%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isnotequal.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isnotequal.cl.bc -c /<>/lib/kernel/isnotequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 36%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isordered.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isordered.cl.bc -c /<>/lib/kernel/isordered.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 36%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o [ 36%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isunordered.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o -c /<>/lib/CL/pocl_tracing.c cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/isunordered.cl.bc -c /<>/lib/kernel/isunordered.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 37%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o -c /<>/lib/CL/pocl_runtime_config.c [ 37%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad24.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad24.cl.bc -c /<>/lib/kernel/mad24.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 37%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad.cl.bc -c /<>/lib/kernel/mad.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 38%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad_hi.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad_hi.cl.bc -c /<>/lib/kernel/mad_hi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 38%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o -c /<>/lib/CL/pocl_mem_management.c [ 38%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o -c /<>/lib/CL/pocl_hash.c [ 38%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad_sat.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mad_sat.cl.bc -c /<>/lib/kernel/mad_sat.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 38%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/max.cl.bc clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/max.cl.bc -c /<>/lib/kernel/max.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 38%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/max_i.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/max_i.cl.bc -c /<>/lib/kernel/max_i.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 38%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o [ 39%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/maxmag.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o -c /<>/lib/CL/pocl_debug.c cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/maxmag.cl.bc -c /<>/lib/kernel/maxmag.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 39%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o -c /<>/lib/CL/pocl_timing.c [ 39%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/min.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/min.cl.bc -c /<>/lib/kernel/min.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 39%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/min_i.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/min_i.cl.bc -c /<>/lib/kernel/min_i.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o -c /<>/lib/CL/clSVMAlloc.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 40%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/minmag.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/minmag.cl.bc -c /<>/lib/kernel/minmag.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o -c /<>/lib/CL/clSVMFree.c [ 40%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mix.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mix.cl.bc -c /<>/lib/kernel/mix.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o -c /<>/lib/CL/clEnqueueSVMFree.c [ 41%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mul24.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mul24.cl.bc -c /<>/lib/kernel/mul24.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 41%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o -c /<>/lib/CL/clEnqueueSVMMap.c [ 41%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mul_hi.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/mul_hi.cl.bc -c /<>/lib/kernel/mul_hi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 41%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o -c /<>/lib/CL/clEnqueueSVMUnmap.c cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o -c /<>/lib/CL/clEnqueueSVMMemcpy.c [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o -c /<>/lib/CL/clEnqueueSVMMemFill.c [ 42%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/nan.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/nan.cl.bc -c /<>/lib/kernel/nan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o -c /<>/lib/CL/clSetKernelArgSVMPointer.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 42%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_divide.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_divide.cl.bc -c /<>/lib/kernel/native_divide.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o -c /<>/lib/CL/clSetKernelExecInfo.c [ 42%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp10.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp10.cl.bc -c /<>/lib/kernel/native_exp10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 43%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp2.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp2.cl.bc -c /<>/lib/kernel/native_exp2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 44%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o -c /<>/lib/CL/pocl_binary.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 44%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_exp.cl.bc -c /<>/lib/kernel/native_exp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 44%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log10.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log10.cl.bc -c /<>/lib/kernel/native_log10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 44%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log2.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log2.cl.bc -c /<>/lib/kernel/native_log2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 44%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_log.cl.bc -c /<>/lib/kernel/native_log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_get_kernel_metadata’: /<>/lib/CL/pocl_binary.c:513:10: warning: argument 1 null where non-null expected [-Wnonnull] size_t offset = strlen (basedir); ^~~~~~ In file included from /<>/lib/CL/pocl_binary.c:27:0: /usr/include/string.h:384:15: note: in a call to function ‘strlen’ declared here extern size_t strlen (const char *__s) ^~~~~~ [ 45%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_powr.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_powr.cl.bc -c /<>/lib/kernel/native_powr.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 45%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_recip.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_recip.cl.bc -c /<>/lib/kernel/native_recip.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 45%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_rsqrt.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_rsqrt.cl.bc -c /<>/lib/kernel/native_rsqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 45%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/cc -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o -c /<>/lib/CL/pocl_opengl.c clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 45%] Building CXX object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_build.cc.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/c++ -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_build.cc.o -c /<>/lib/CL/pocl_llvm_build.cc [ 45%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_sqrt.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/native_sqrt.cl.bc -c /<>/lib/kernel/native_sqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 45%] Building CXX object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_metadata.cc.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/c++ -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_metadata.cc.o -c /<>/lib/CL/pocl_llvm_metadata.cc clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] [ 45%] Building CXX object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_utils.cc.o cd /<>/obj-powerpc64le-linux-gnu/lib/CL && /usr/bin/c++ -I/<>/lib/CL/../../fix-include/OpenCL -I/<>/fix-include -I/<>/include -I/<>/obj-powerpc64le-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/llvm-4.0/include -std=c++0x -fuse-ld=gold -fPIC -fvisibility-inlines-hidden -std=c++11 -ffunction-sections -fdata-sections -O2 -DNDEBUG -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_utils.cc.o -c /<>/lib/CL/pocl_llvm_utils.cc [ 45%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/popcount.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/popcount.cl.bc -c /<>/lib/kernel/popcount.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] In file included from /usr/include/c++/7/bits/move.h:54:0, from /usr/include/c++/7/bits/stl_pair.h:59, from /usr/include/c++/7/utility:70, from /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:22, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:18, from /<>/lib/CL/pocl_llvm_api.h:27, from /<>/lib/CL/pocl_llvm_utils.cc:27: /usr/include/c++/7/type_traits:87:39: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter typedef integral_constant true_type; ^ /usr/include/c++/7/type_traits:90:40: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter typedef integral_constant false_type; ^ /usr/include/c++/7/type_traits:93:56: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter using __bool_constant = integral_constant; ^ /usr/include/c++/7/type_traits:112:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:135:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:154:29: error: expected template-name before ‘<’ token : public __bool_constant ^ /usr/include/c++/7/type_traits:154:29: error: expected ‘{’ before ‘<’ token /usr/include/c++/7/type_traits:206:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:210:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:220:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:224:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:228:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:232:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:236:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:241:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:246:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:250:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:254:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:258:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:262:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:266:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:270:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:274:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:278:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:282:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:331:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:335:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:339:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:343:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:360:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:364:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:368:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:372:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:376:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:387:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:391:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:396:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:400:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:407:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:411:62: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant::value> { }; ^ /usr/include/c++/7/type_traits:422:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:426:61: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant::value> { }; ^ /usr/include/c++/7/type_traits:438:52: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:444:53: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:450:53: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:456:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:460:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:464:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:468:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:472:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:476:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:480:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:484:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:488:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:492:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:496:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:500:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:504:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:508:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:512:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:516:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:520:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:524:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:528:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:532:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:536:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:540:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:544:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:548:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:552:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:558:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:562:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:618:65: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant::value> { }; ^ /usr/include/c++/7/type_traits:622:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:626:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:644:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:649:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:656:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:660:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:665:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:669:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:674:55: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:680:66: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:686:63: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:693:51: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:699:60: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:705:53: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:711:59: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:726:56: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:732:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:736:54: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:772:62: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant::value > 0)> ^ /usr/include/c++/7/type_traits:816:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:820:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:835:70: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter static integral_constant().~_Tp())> ^ /usr/include/c++/7/type_traits:864:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:868:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:962:30: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter _From, _To>::value)> ^ /usr/include/c++/7/type_traits:1028:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:1053:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:1138:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1156:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1171:53: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:1198:72: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant()...))> ^ /usr/include/c++/7/type_traits:1204:75: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter noexcept(static_cast<_Tp>(declval<_Arg>()))> ^ /usr/include/c++/7/type_traits:1224:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1242:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1282:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1300:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1315:79: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant() = declval<_Up>())> ^ /usr/include/c++/7/type_traits:1330:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1348:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1365:46: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_constructible(_Tp, _Args...)>> ^ /usr/include/c++/7/type_traits:1365:47: error: template argument 2 is invalid __is_trivially_constructible(_Tp, _Args...)>> ^~ /usr/include/c++/7/type_traits:1409:48: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_constructible(_Tp, const _Tp&)>> ^ /usr/include/c++/7/type_traits:1409:49: error: template argument 2 is invalid __is_trivially_constructible(_Tp, const _Tp&)>> ^~ /usr/include/c++/7/type_traits:1417:43: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_constructible(_Tp, _Tp&&)>> ^ /usr/include/c++/7/type_traits:1417:44: error: template argument 2 is invalid __is_trivially_constructible(_Tp, _Tp&&)>> ^~ /usr/include/c++/7/type_traits:1425:38: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_assignable(_Tp, _Up)>> ^ /usr/include/c++/7/type_traits:1425:39: error: template argument 2 is invalid __is_trivially_assignable(_Tp, _Up)>> ^~ /usr/include/c++/7/type_traits:1433:46: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_assignable(_Tp&, const _Tp&)>> ^ /usr/include/c++/7/type_traits:1433:47: error: template argument 2 is invalid __is_trivially_assignable(_Tp&, const _Tp&)>> ^~ /usr/include/c++/7/type_traits:1441:41: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __is_trivially_assignable(_Tp&, _Tp&&)>> ^ /usr/include/c++/7/type_traits:1441:42: error: template argument 2 is invalid __is_trivially_assignable(_Tp&, _Tp&&)>> ^~ /usr/include/c++/7/type_traits:1448:38: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter __has_trivial_destructor(_Tp)>> ^ /usr/include/c++/7/type_traits:1448:39: error: template argument 2 is invalid __has_trivial_destructor(_Tp)>> ^~ /usr/include/c++/7/type_traits:1455:67: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:1504:25: error: expected class-name before ‘{’ token : public false_type { }; ^ /usr/include/c++/7/type_traits:1508:24: error: expected class-name before ‘{’ token : public true_type { }; ^ /usr/include/c++/7/type_traits:1513:67: error: ‘__vector(4) __bool int’ is not a valid type for a template non-type parameter : public integral_constant ^ /usr/include/c++/7/type_traits:1792:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::__make_unsigned_selector<_Tp, 0, 1>::__b0’ of non-integral type [-fpermissive] static const bool __b0 = sizeof(_Tp) <= sizeof(__smallest); ^~~~ /usr/include/c++/7/type_traits:1793:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::__make_unsigned_selector<_Tp, 0, 1>::__b1’ of non-integral type [-fpermissive] static const bool __b1 = sizeof(_Tp) <= sizeof(unsigned short); ^~~~ /usr/include/c++/7/type_traits:1794:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::__make_unsigned_selector<_Tp, 0, 1>::__b2’ of non-integral type [-fpermissive] static const bool __b2 = sizeof(_Tp) <= sizeof(unsigned int); ^~~~ /usr/include/c++/7/type_traits:1795:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::__make_unsigned_selector<_Tp, 0, 1>::__b3’ of non-integral type [-fpermissive] static const bool __b3 = sizeof(_Tp) <= sizeof(unsigned long); ^~~~ /usr/include/c++/7/type_traits:1796:66: error: could not convert template argument ‘std::__make_unsigned_selector<_Tp, 0, 1>::__b3’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef conditional<__b3, unsigned long, unsigned long long> __cond3; ^ /usr/include/c++/7/type_traits:1797:24: error: ‘__cond3’ is not a class, namespace, or enumeration typedef typename __cond3::type __cond3_type; ^~~~~~~ /usr/include/c++/7/type_traits:1798:59: error: could not convert template argument ‘std::__make_unsigned_selector<_Tp, 0, 1>::__b2’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef conditional<__b2, unsigned int, __cond3_type> __cond2; ^ /usr/include/c++/7/type_traits:1799:24: error: ‘__cond2’ is not a class, namespace, or enumeration typedef typename __cond2::type __cond2_type; ^~~~~~~ /usr/include/c++/7/type_traits:1800:61: error: could not convert template argument ‘std::__make_unsigned_selector<_Tp, 0, 1>::__b1’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef conditional<__b1, unsigned short, __cond2_type> __cond1; ^ /usr/include/c++/7/type_traits:1801:24: error: ‘__cond1’ is not a class, namespace, or enumeration typedef typename __cond1::type __cond1_type; ^~~~~~~ /usr/include/c++/7/type_traits:1803:66: error: could not convert template argument ‘std::__make_unsigned_selector<_Tp, 0, 1>::__b0’ from ‘const __vector(4) __bool int’ to ‘unsigned int’ typedef typename conditional<__b0, __smallest, __cond1_type>::type ^ /usr/include/c++/7/type_traits:2248:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const __vector(4) __bool int std::__declval_protector<_Tp>::__stop’ of non-integral type [-fpermissive] static const bool __stop = false; ^~~~~~ /usr/include/c++/7/type_traits:2559:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:2563:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/type_traits:2603:16: error: ‘__bool_constant’ does not name a type; did you mean ‘integral_constant’? static __bool_constant< ^~~~~~~~~~~~~~~ integral_constant /usr/include/c++/7/type_traits:2754:45: error: expected class-name before ‘{’ token struct __is_invocable_impl : false_type { }; ^ /usr/include/c++/7/type_traits:2802:22: error: expected template-name before ‘<’ token : __bool_constant< ^ /usr/include/c++/7/type_traits:2802:22: error: expected ‘{’ before ‘<’ token /usr/include/c++/7/type_traits:2803:68: error: expected unqualified-id before ‘)’ token std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{}) ^ In file included from /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:22:0, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:18, from /<>/lib/CL/pocl_llvm_api.h:27, from /<>/lib/CL/pocl_llvm_utils.cc:27: /usr/include/c++/7/utility:169:5: error: expected class-name before ‘{’ token { }; ^ /usr/include/c++/7/bits/cpp_type_traits.h:89:24: error: expected primary-expression before ‘__attribute__’ enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; ^ /usr/include/c++/7/bits/cpp_type_traits.h:89:24: error: expected ‘}’ before ‘__attribute__’ In file included from /usr/include/c++/7/bits/stl_iterator.h:63:0, from /usr/include/c++/7/iterator:63, from /usr/lib/llvm-4.0/include/llvm/ADT/iterator_range.h:23, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:18, from /<>/lib/CL/pocl_llvm_api.h:27, from /<>/lib/CL/pocl_llvm_utils.cc:27: /usr/include/c++/7/bits/cpp_type_traits.h:89:41: error: invalid use of qualified-name ‘_Sp::__value’ enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; ^ /usr/include/c++/7/bits/cpp_type_traits.h:89:41: error: expected ‘;’ at end of member declaration /usr/include/c++/7/bits/cpp_type_traits.h:89:43: error: expected unqualified-id before ‘||’ token enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; ^~ /usr/include/c++/7/bits/cpp_type_traits.h:90:37: error: ‘__value’ was not declared in this scope typedef typename __truth_type<__value>::__type __type; ^~~~~~~ /usr/include/c++/7/bits/cpp_type_traits.h:90:44: error: template argument 1 is invalid typedef typename __truth_type<__value>::__type __type; ^ /usr/include/c++/7/bits/cpp_type_traits.h:98:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:105:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:113:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:120:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:130:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:141:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:148:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:155:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:162:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:170:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:179:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:186:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:194:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:201:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:208:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:215:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:222:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:229:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:236:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:243:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:282:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:290:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:297:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:304:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same [ 46%] Building CL to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/prefetch.cl.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -x cl -fno-stack-protector -fno-PIC -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/prefetch.cl.bc -c /<>/lib/kernel/prefetch.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/include/c++/7/bits/cpp_type_traits.h:314:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:321:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:329:23: error: expected template-name before ‘<’ token : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > ^ /usr/include/c++/7/bits/cpp_type_traits.h:329:23: error: expected ‘{’ before ‘<’ token /usr/include/c++/7/bits/cpp_type_traits.h:337:23: error: expected template-name before ‘<’ token : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > ^ /usr/include/c++/7/bits/cpp_type_traits.h:337:23: error: expected ‘{’ before ‘<’ token /usr/include/c++/7/bits/cpp_type_traits.h:347:15: error: ‘__false_type’ does not name a type; did you mean ‘__are_same’? typedef __false_type __type; ^~~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:354:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:362:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] /usr/include/c++/7/bits/cpp_type_traits.h:370:15: error: ‘__false_type’ does not name a type; did you mean ‘__is_byte’? typedef __false_type __type; ^~~~~~~~~~~~ __is_byte /usr/include/c++/7/bits/cpp_type_traits.h:377:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:384:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:391:15: error: ‘__true_type’ does not name a type; did you mean ‘__are_same’? typedef __true_type __type; ^~~~~~~~~~~ __are_same /usr/include/c++/7/bits/cpp_type_traits.h:401:15: error: ‘__false_type’ does not name a type; did you mean ‘__is_byte’? typedef __false_type __type; ^~~~~~~~~~~~ __is_byte /usr/include/c++/7/bits/cpp_type_traits.h:413:1: error: expected declaration before ‘}’ token } // extern "C++" ^ lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make:2825: recipe for target 'lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_utils.cc.o' failed make[3]: *** [lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_utils.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 46%] Building C to LLVM bitcode /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/printf.c.bc cd /<>/obj-powerpc64le-linux-gnu/lib/kernel/host && /usr/bin/clang-4.0 --target=powerpc64le-unknown-linux-gnu -D_CL_DISABLE_HALF -march=ppc64le -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes, -xc -D__CBUILD__ -fno-stack-protector -fno-PIC -o /<>/obj-powerpc64le-linux-gnu/lib/kernel/host/ppc64le/printf.c.bc -c /<>/lib/kernel/printf.c -include /<>/include/_kernel_c.h clang: warning: argument unused during compilation: '-march=ppc64le' [-Wunused-command-line-argument] In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:224: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:55: error: expected ')' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:27: note: to match this '(' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:55: error: expected ')' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:27: note: to match this '(' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:244: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:55: error: expected ')' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:27: note: to match this '(' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:55: error: expected ')' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:267:27: note: to match this '(' __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__)); ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:289: /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:21:46: error: expected ')' __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:21:35: note: to match this '(' __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:25:43: error: expected ')' __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value)) ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:25:32: note: to match this '(' __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value)) ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:30:41: error: expected ')' __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:30:30: note: to match this '(' __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:33:42: error: expected ')' __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:33:31: note: to match this '(' __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:36:41: error: expected ')' __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:36:30: note: to match this '(' __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:39:43: error: expected ')' __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:39:32: note: to match this '(' __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:42:47: error: expected ')' __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value)) ^ /usr/include/powerpc64le-linux-gnu/bits/mathcalls-helper-functions.h:42:36: note: to match this '(' __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value)) ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:53:1: error: redefinition of 'error_undefined_type_double' as different kind of symbol __MATHCALL (acos,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:15: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:284:22: note: expanded from macro '_Mdouble_' # define _Mdouble_ _Mlong_double_ ^ /usr/include/math.h:282:32: note: expanded from macro '_Mlong_double_' # define _Mlong_double_ long double ^ /<>/include/pocl_types.h:51:18: note: expanded from macro 'double' # define double error_undefined_type_double ^ /<>/include/pocl_types.h:50:44: note: previous definition is here typedef struct error_undefined_type_double error_undefined_type_double; ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:53:1: error: expected ';' after top level declarator __MATHCALL (acos,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:3: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:209:3: note: expanded from macro '__MATHDECL' __MATHDECL_1(type, function,suffix, args); \ ^ /usr/include/math.h:217:15: note: expanded from macro '__MATHDECL_1' extern type __MATH_PRECNAME(function,suffix) args __THROW ^ /usr/include/math.h:285:35: note: expanded from macro '__MATH_PRECNAME' # define __MATH_PRECNAME(name,r) name##l##r ^ :333:1: note: expanded from here acosl ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:53:1: error: redefinition of 'error_undefined_type_double' as different kind of symbol /usr/include/math.h:207:15: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:284:22: note: expanded from macro '_Mdouble_' # define _Mdouble_ _Mlong_double_ ^ /usr/include/math.h:282:32: note: expanded from macro '_Mlong_double_' # define _Mlong_double_ long double ^ /<>/include/pocl_types.h:51:18: note: expanded from macro 'double' # define double error_undefined_type_double ^ /<>/include/pocl_types.h:50:44: note: previous definition is here typedef struct error_undefined_type_double error_undefined_type_double; ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:53:1: error: expected ';' after top level declarator __MATHCALL (acos,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:3: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:210:3: note: expanded from macro '__MATHDECL' __MATHDECL_1(type, __CONCAT(__,function),suffix, args) ^ /usr/include/math.h:217:15: note: expanded from macro '__MATHDECL_1' extern type __MATH_PRECNAME(function,suffix) args __THROW ^ /usr/include/math.h:285:35: note: expanded from macro '__MATH_PRECNAME' # define __MATH_PRECNAME(name,r) name##l##r ^ :333:1: note: expanded from here __acosl ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:55:1: error: redefinition of 'error_undefined_type_double' as different kind of symbol __MATHCALL (asin,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:15: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:284:22: note: expanded from macro '_Mdouble_' # define _Mdouble_ _Mlong_double_ ^ /usr/include/math.h:282:32: note: expanded from macro '_Mlong_double_' # define _Mlong_double_ long double ^ /<>/include/pocl_types.h:51:18: note: expanded from macro 'double' # define double error_undefined_type_double ^ /<>/include/pocl_types.h:50:44: note: previous definition is here typedef struct error_undefined_type_double error_undefined_type_double; ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:55:1: error: expected ';' after top level declarator __MATHCALL (asin,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:3: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:209:3: note: expanded from macro '__MATHDECL' __MATHDECL_1(type, function,suffix, args); \ ^ /usr/include/math.h:217:15: note: expanded from macro '__MATHDECL_1' extern type __MATH_PRECNAME(function,suffix) args __THROW ^ /usr/include/math.h:285:35: note: expanded from macro '__MATH_PRECNAME' # define __MATH_PRECNAME(name,r) name##l##r ^ :333:1: note: expanded from here asinl ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:55:1: error: redefinition of 'error_undefined_type_double' as different kind of symbol /usr/include/math.h:207:15: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:284:22: note: expanded from macro '_Mdouble_' # define _Mdouble_ _Mlong_double_ ^ /usr/include/math.h:282:32: note: expanded from macro '_Mlong_double_' # define _Mlong_double_ long double ^ /<>/include/pocl_types.h:51:18: note: expanded from macro 'double' # define double error_undefined_type_double ^ /<>/include/pocl_types.h:50:44: note: previous definition is here typedef struct error_undefined_type_double error_undefined_type_double; ^ In file included from /<>/lib/kernel/printf.c:31: In file included from /usr/include/math.h:290: /usr/include/powerpc64le-linux-gnu/bits/mathcalls.h:55:1: error: expected ';' after top level declarator __MATHCALL (asin,, (_Mdouble_ __x)); ^ /usr/include/math.h:207:3: note: expanded from macro '__MATHCALL' __MATHDECL (_Mdouble_,function,suffix, args) ^ /usr/include/math.h:210:3: note: expanded from macro '__MATHDECL' __MATHDECL_1(type, __CONCAT(__,function),suffix, args) ^ /usr/include/math.h:217:15: note: expanded from macro '__MATHDECL_1' extern type __MATH_PRECNAME(function,suffix) args __THROW ^ /usr/include/math.h:285:35: note: expanded from macro '__MATH_PRECNAME' # define __MATH_PRECNAME(name,r) name##l##r ^ :333:1: note: expanded from here __asinl ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/build.make:1200: recipe for target 'lib/kernel/host/ppc64le/printf.c.bc' failed make[3]: *** [lib/kernel/host/ppc64le/printf.c.bc] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' CMakeFiles/Makefile2:309: recipe for target 'lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/all' failed make[2]: *** [lib/kernel/host/CMakeFiles/kernel_host_ppc64le.dir/all] Error 2 In file included from /<>/lib/CL/../llvmopencl/LLVMUtils.h:35:0, from /<>/lib/CL/pocl_llvm_metadata.cc:45: /<>/lib/CL/../llvmopencl/TargetAddressSpaces.h:46:18: error: conflicting return type specified for ‘virtual __vector(4) __bool int pocl::TargetAddressSpaces::runOnModule(llvm::Module&)’ virtual bool runOnModule(llvm::Module &M); ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:20, from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-4.0/include/llvm/Pass.h:243:16: error: overriding ‘virtual bool llvm::ModulePass::runOnModule(llvm::Module&)’ virtual bool runOnModule(Module &M) = 0; ^~~~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_metadata.cc:45:0: /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::isAutomaticLocal(const string&, llvm::GlobalVariable&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:69:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return llvm::isa(Var.getType()) && !Var.isConstant(); ^ /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::is_image_type(const llvm::Type&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:80:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h:82:10: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::is_sampler_type(const llvm::Type&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:91:55: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (name.startswith("opencl.sampler_t")) return true; ^~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h:93:10: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/CL/pocl_llvm_metadata.cc: In function ‘int pocl_get_kernel_arg_module_metadata(const char*, llvm::Module*, cl_kernel)’: /<>/lib/CL/pocl_llvm_metadata.cc:131:31: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment SPIRAddressSpaceIDs = true; ^~~~ /<>/lib/CL/pocl_llvm_metadata.cc:134:32: error: could not convert ‘SPIRAddressSpaceIDs’ from ‘__vector(4) __bool int’ to ‘bool’ if (SPIRAddressSpaceIDs) { ^ /<>/lib/CL/pocl_llvm_metadata.cc: In function ‘int pocl_get_kernel_arg_function_metadata(const char*, llvm::Module*, cl_kernel)’: /<>/lib/CL/pocl_llvm_metadata.cc:373:27: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment SPIRAddressSpaceIDs = true; ^~~~ /<>/lib/CL/pocl_llvm_metadata.cc:375:28: error: could not convert ‘SPIRAddressSpaceIDs’ from ‘__vector(4) __bool int’ to ‘bool’ if (SPIRAddressSpaceIDs) { ^ /<>/lib/CL/pocl_llvm_metadata.cc: In function ‘int pocl_llvm_get_kernel_metadata(cl_program, cl_kernel, int, const char*, int*)’: /<>/lib/CL/pocl_llvm_metadata.cc:585:31: error: could not convert ‘pocl::isAutomaticLocal(funcName, (* & i.llvm::ilist_iterator, false, false>::operator*()))’ from ‘__vector(4) __bool int’ to ‘bool’ if (pocl::isAutomaticLocal(funcName, *i)) { ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/CL/pocl_llvm_metadata.cc:646:28: error: could not convert ‘pocl::is_image_type((*(const llvm::Type*)t))’ from ‘__vector(4) __bool int’ to ‘bool’ if (pocl::is_image_type(*t)) { ~~~~~~~~~~~~~~~~~~~^~~~ /<>/lib/CL/pocl_llvm_metadata.cc:648:37: error: could not convert ‘pocl::is_sampler_type((*(const llvm::Type*)t))’ from ‘__vector(4) __bool int’ to ‘bool’ } else if (pocl::is_sampler_type(*t)) { ~~~~~~~~~~~~~~~~~~~~~^~~~ lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make:2801: recipe for target 'lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_metadata.cc.o' failed make[3]: *** [lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_metadata.cc.o] Error 1 In file included from /<>/lib/CL/../llvmopencl/LLVMUtils.h:35:0, from /<>/lib/CL/pocl_llvm_build.cc:65: /<>/lib/CL/../llvmopencl/TargetAddressSpaces.h:46:18: error: conflicting return type specified for ‘virtual __vector(4) __bool int pocl::TargetAddressSpaces::runOnModule(llvm::Module&)’ virtual bool runOnModule(llvm::Module &M); ^~~~~~~~~~~ In file included from /usr/lib/llvm-4.0/include/llvm/IR/DataLayout.h:27:0, from /usr/lib/llvm-4.0/include/llvm/IR/Module.h:20, from /usr/lib/llvm-4.0/include/llvm/IR/PassManager.h:46, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasAnalysis.h:43, from /usr/lib/llvm-4.0/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-4.0/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:42: /usr/lib/llvm-4.0/include/llvm/Pass.h:243:16: error: overriding ‘virtual bool llvm::ModulePass::runOnModule(llvm::Module&)’ virtual bool runOnModule(Module &M) = 0; ^~~~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_build.cc:65:0: /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::isAutomaticLocal(const string&, llvm::GlobalVariable&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:69:68: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return llvm::isa(Var.getType()) && !Var.isConstant(); ^ /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::is_image_type(const llvm::Type&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:80:14: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return true; ^~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h:82:10: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h: In function ‘__vector(4) __bool int pocl::is_sampler_type(const llvm::Type&)’: /<>/lib/CL/../llvmopencl/LLVMUtils.h:91:55: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return if (name.startswith("opencl.sampler_t")) return true; ^~~~ /<>/lib/CL/../llvmopencl/LLVMUtils.h:93:10: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in return return false; ^~~~~ /<>/lib/CL/pocl_llvm_build.cc: In function ‘int pocl_llvm_build_program(cl_program, unsigned int, const char*, char*, cl_uint, _cl_program* const*, const char**, int)’: /<>/lib/CL/pocl_llvm_build.cc:348:8: error: expected unqualified-id before ‘__attribute__’ std::vector itemcstrs; ^ /<>/lib/CL/pocl_llvm_build.cc:349:8: error: expected unqualified-id before ‘__attribute__’ std::vector itemstrs; ^ /<>/lib/CL/pocl_llvm_build.cc:351:5: error: ‘itemstrs’ was not declared in this scope itemstrs.push_back(*i); ^~~~~~~~ /<>/lib/CL/pocl_llvm_build.cc:351:5: note: suggested alternative: ‘strstr’ itemstrs.push_back(*i); ^~~~~~~~ strstr /<>/lib/CL/pocl_llvm_build.cc:355:32: error: ‘itemstrs’ was not declared in this scope for (unsigned idx = 0; idx < itemstrs.size(); idx++) { ^~~~~~~~ /<>/lib/CL/pocl_llvm_build.cc:355:32: note: suggested alternative: ‘strstr’ for (unsigned idx = 0; idx < itemstrs.size(); idx++) { ^~~~~~~~ strstr /<>/lib/CL/pocl_llvm_build.cc:358:7: error: ‘itemcstrs’ was not declared in this scope itemcstrs.push_back(itemstrs[idx].c_str()); ^~~~~~~~~ /<>/lib/CL/pocl_llvm_build.cc:372:20: error: ‘itemcstrs’ was not declared in this scope (pocl_build, itemcstrs.data(), itemcstrs.data() + itemcstrs.size(), ^~~~~~~~~ /<>/lib/CL/pocl_llvm_build.cc:482:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization bool success = true; ^~~~ /<>/lib/CL/pocl_llvm_build.cc:484:40: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment success = CI.ExecuteAction(Preprocess); ^ /<>/lib/CL/pocl_llvm_build.cc:488:14: error: could not convert ‘success’ from ‘__vector(4) __bool int’ to ‘bool’ if (success) { ^ /<>/lib/CL/pocl_llvm_build.cc:519:38: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment success = CI.ExecuteAction(EmitLLVM); ^ /<>/lib/CL/pocl_llvm_build.cc:525:7: error: could not convert ‘((success == (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0})’ from ‘__vector(4) int’ to ‘bool’ if (!success) ^~~~~~~~ /<>/lib/CL/pocl_llvm_build.cc: In function ‘llvm::Module* kernel_library(cl_device_id)’: /<>/lib/CL/pocl_llvm_build.cc:775:18: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in initialization bool is_host = true; ^~~~ /<>/lib/CL/pocl_llvm_build.cc:816:16: error: could not convert ‘is_host’ from ‘__vector(4) __bool int’ to ‘bool’ if (is_host) { ^ /<>/lib/CL/pocl_llvm_build.cc:833:16: error: could not convert ‘is_host’ from ‘__vector(4) __bool int’ to ‘bool’ if (is_host) { ^ /<>/lib/CL/pocl_llvm_build.cc:859:19: error: could not convert ‘(((is_host != (__vector(4) __bool int){0, 0, 0, 0}) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}) & ((pocl_exists(kernellib_fallback.std::__cxx11::basic_string::c_str()) != 0) ? (__vector(4) int){-1, -1, -1, -1} : (__vector(4) int){0, 0, 0, 0}))’ from ‘__vector(4) int’ to ‘bool’ if (is_host && pocl_exists(kernellib_fallback.c_str())) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make:2777: recipe for target 'lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_build.cc.o' failed make[3]: *** [lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_llvm_build.cc.o] Error 1 make[3]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' CMakeFiles/Makefile2:459: recipe for target 'lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/all' failed make[2]: *** [lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/all] Error 2 make[2]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' Makefile:143: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/<>/obj-powerpc64le-linux-gnu' dh_auto_build: cd obj-powerpc64le-linux-gnu && make -j4 returned exit code 2 debian/rules:44: recipe for target 'binary-arch' failed make: *** [binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 20180131-0842 Finished -------- E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build-Space: 36352 Build-Time: 31 Distribution: bionic-proposed Fail-Stage: build Host Architecture: ppc64el Install-Time: 36 Job: pocl_1.0-2.dsc Machine Architecture: ppc64el Package: pocl Package-Time: 68 Source-Version: 1.0-2 Space: 36352 Status: attempted Version: 1.0-2 -------------------------------------------------------------------------------- Finished at 20180131-0842 Build needed 00:01:08, 36352k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 Scanning for processes to kill in build PACKAGEBUILD-14253344 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 Stopping target for build PACKAGEBUILD-14253344 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=bionic --arch=ppc64el PACKAGEBUILD-14253344 Removing build PACKAGEBUILD-14253344