Commit Graph

100 Commits

Author SHA1 Message Date
a47cab4dfa Replicates all needed state between expanded functions
commit 5e6f06cf59
Author: Aaron Gutierrez <gutierrez.aaron.m@gmail.com>
Date:   Thu May 11 15:42:11 2017 -0400

    Fixed issue with aliasing local variables

    ISPC++ now produces valid code, or an appropriate error message, for all
    of my test cases.

commit bfe723e1b7
Author: Aaron Gutierrez <gutierrez.aaron.m@gmail.com>
Date:   Thu May 11 03:09:38 2017 -0400

    Actually copy the AST.

    Type replacement works except for function parameters.

commit f65b3e6300
Author: Aaron Gutierrez <gutierrez.aaron.m@gmail.com>
Date:   Thu May 11 01:19:50 2017 -0400

    [WIP] Remove cases for ForeachStmt and SymbolExpr

commit 2e28640860
Merge: 6a91c5d d020107
Author: Aaron Gutierrez <gutierrez.aaron.m@gmail.com>
Date:   Wed May 10 23:13:40 2017 -0400

    Merge branch 'master' into copy_ast

commit 6a91c5d5ac
Author: Aaron Gutierrez <gutierrez.aaron.m@gmail.com>
Date:   Wed May 10 11:11:39 2017 -0400

    Attempt to replicate AST when expanding polytypes
2017-05-11 15:43:29 -04:00
d020107d91 Typechecking fixes, moved some printing behind debug flag 2017-05-10 23:12:48 -04:00
192b99f21d Translates polymorphic function to a single instance 2017-05-09 23:41:36 -04:00
aeb4c0b6f9 [WIP] replace polymorphic types from expressions 2017-05-09 01:46:36 -04:00
0f17514eb0 remove trailing whitespace 2017-05-08 17:45:17 -04:00
46ed9bdb3c [WIP] Plumbing to expand polymorphic functions 2017-05-04 21:26:43 -04:00
b3b02df569 [WIP] add check for polymorphic functions 2017-05-02 14:59:04 -04:00
Dmitry Babokin
455a29c491 Renaming AttributeSet to AttributeList to follow trunk changes. 2017-03-28 16:58:49 -07:00
Dmitry Babokin
f6dbffd58c Updating copyright dates for recently modified files 2016-02-04 15:14:19 +03:00
Vsevolod Livinskiy
f6773a318f Add no-frame-pointer-elim attribute to all functions 2016-01-27 15:54:40 +03:00
Anton Mitrokhin
e2efcb50f3 Fix ISPC build fail after LLVM commit 252380 2015-11-10 14:44:17 +03:00
Evghenii Gaburov
ad2238e880 fix ptx 2015-07-10 13:46:54 +02:00
Anton Mitrokhin
26a93bc733 Id's fo Expr-inherited classes 2015-07-09 12:38:58 +03:00
Anton Mitrokhin
ebc47d00a1 remove several redundant #if - clauses 2015-06-17 17:40:02 +03:00
Anton Mitrokhin
0afa3f5713 New LLVM version macro 2015-06-17 10:14:28 +03:00
Dmitry Babokin
0a8fab0737 Merge pull request #1024 from Vsevolod-Livinskij/multitarget
Support of *-generic-16 target
2015-04-24 18:16:45 +03:00
Vsevolod Livinskiy
c2039da7b8 Support of *-generic-16 target 2015-04-24 15:56:06 +03:00
Dmitry Babokin
8e47273186 Copyright refresh 2015-04-22 16:39:11 +03:00
Andrey Guskov
dd567654e7 Fixed ISPC debug info generator, added debug tests 2015-03-27 14:52:18 +03:00
Anton Mitrokhin
4dff88d4c5 fix buildfail after LLVM trunk commit 229094 2015-02-19 13:01:50 +03:00
evghenii
8745888ce9 merged with master 2014-08-11 10:04:54 +02:00
Anton Mitrokhin
60fa76ccc1 reversed macros LLVM_3_6 to LLVM_3_5+ in .cpp and .h files 2014-08-01 15:40:48 +04:00
Anton Mitrokhin
d0c9b7c9b5 wiped out all LLVM 3.1 support 2014-08-01 14:54:08 +04:00
Anton Mitrokhin
725be222ac added LLVM_3_6 var 2014-07-30 11:50:15 +04:00
evghenii
b3c5a9c4d6 added #ifdef ISPC_NVPTX_ENALED ... #endif guards 2014-07-09 12:32:18 +02:00
Evghenii
4641a15287 Merge branch 'master' into nvptx 2014-03-19 10:53:07 +01:00
Ilia Filippov
02d55f24f6 adding const to Atomic::Void type 2014-03-17 14:42:55 +04:00
Dmitry Babokin
31b95b665b Copyright update 2014-03-12 20:19:16 +04:00
Ilia Filippov
9ab8f4e10e support LLVM trunk after 202814-202842 revisions 2014-03-05 10:12:30 +04:00
Evghenii
6bf2ad27d1 merge with master 2014-02-01 11:53:57 +01:00
Bertie Wheen
a78d75f185 Minor fix in a comment 2014-01-27 03:50:35 +00:00
Evghenii
98fc43d859 Merge branch 'master' into nvptx 2014-01-21 20:05:27 +01:00
Evghenii
bc99897fbb +fixed some example, found some bugs, and bugs in ptxas/cuda 2014-01-21 14:51:27 +01:00
Ilia Filippov
aa31957d84 supporting LLVM trunk 2014-01-21 14:21:26 +04:00
Evghenii
63d3ac6679 Merge branch 'master' into nvptx 2014-01-20 13:47:24 +01:00
Ilia Filippov
9552fc0724 adding noalias attribute to uniform pointer parameters of export function 2014-01-15 17:39:47 +04:00
Dmitry Babokin
0f56c11101 Merge pull request #716 from ifilippov/export_alias
Adding noalias attribute to uniform pointer parameters of export functions
2014-01-15 03:51:16 -08:00
Ilia Filippov
741dfaa2ea adding noalias attribute to uniform pointer parameters of export function 2014-01-15 15:15:42 +04:00
Ilia Filippov
5fa8bd3c78 changes for support LLVM trunk 2014-01-15 14:17:35 +04:00
Evghenii
3972d740a6 added mask for tasking function 2014-01-06 16:18:28 +01:00
Evghenii
91d4ae46f6 sort --fails 2014-01-06 15:38:30 +01:00
Evghenii
546f9cb409 MAJOR CHANGE--- STOP WITH THIS BRANCH-- 2014-01-06 13:51:02 +01:00
Evghenii
fd429e4fda added common_gpu makefile helper 2014-01-05 10:00:44 +01:00
evghenii
71481150c7 in PTX mode, add ___export to exported function unmangled name 2014-01-01 10:35:25 +01:00
Evghenii
406aad78fe first support for integration with NVCC/CUDART API 2013-11-22 13:06:51 +01:00
Evghenii
55bf0d23c2 resotred non-ptx functionality 2013-11-13 11:08:58 +01:00
Evghenii
fd17ad236a export functions are now also generated... next add proper CDP calls.. 2013-11-12 14:05:12 +01:00
Evghenii
dbb96c1885 need to fix launch code 2013-11-12 13:41:03 +01:00
Evghenii
4cd7e10ad3 reversed to original changes. Here is the plan to use CDP and genarate only device code with host wrapper.. 2013-11-12 12:51:56 +01:00
Evghenii
cb6614da42 fixed the code that non-task code is also emitted for the host 2013-11-04 11:33:37 +01:00