-
declare_target_codegen.cpp -
declare_target_link_codegen.cpp 2/2
nvptx_target_requires_unified_shared_memory.cpp
| | Authored by gtbercea on Jun 10 2019, 4:47 PM. Event TimelineHerald added a project: Restricted Project. gtbercea marked 6 inline comments as done. gtbercea marked an inline comment as done. gtbercea marked an inline comment as done. This revision is now accepted and ready to land. This revision was automatically updated to reflect the committed changes. Herald added a project: Restricted Project. Path | Size |
---|
| | | 2 lines | | 19 lines | | 4 lines | | 73 lines | | 14 lines | | | | 8 lines | | 18 lines | | 80 lines |
Commit | Tree | Parents | Author | Summary | Date |
---|
1e5fdb2c6183 | 0da79e7ab4c5 | a9618b01bcd1 | Doru Bercea | Address comments. | Jun 20 2019, 8:43 AM | a9618b01bcd1 | 9989c527fc52 | 4132cd336ef2 | Doru Bercea | Fix declare target attribute checks. | Jun 19 2019, 2:06 PM | 4132cd336ef2 | e88e7050768e | be160332f59e | Doru Bercea | Transform switch into if statements. | Jun 19 2019, 1:58 PM | be160332f59e | 4c5f0da87b29 | cb3700878f8d | Doru Bercea | Consolidate declare target to and declare target link cases. | Jun 19 2019, 1:47 PM | cb3700878f8d | 982d65b9ca29 | e839c191982d ca2fadd50c71 | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 19 2019, 9:04 AM | ca2fadd50c71 | 982d65b9ca29 | ff0464201b91 | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | ff0464201b91 | 88652137d724 | a77240086639 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | a77240086639 | ec35cce66fbf | 04493b46e7b1 | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | 04493b46e7b1 | 982d65b9ca29 | 5747cb321d9f | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | 5747cb321d9f | 6ebadde8cb29 | 038a82ddc492 | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 038a82ddc492 | 71ed2361a37f | 16450d1ccec8 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | 16450d1ccec8 | ceb52bb8ea9d | 36b3bc414cce | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 36b3bc414cce | e7146c0c3998 | 775504fe447c | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | e839c191982d | ea5e25f56b9f | aec2cd7e62ac 3394186c91d0 | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 19 2019, 8:23 AM | 3394186c91d0 | ea5e25f56b9f | e8b71260349f | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | e8b71260349f | a1f783a7d367 | af70fdc3d535 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | af70fdc3d535 | 81c937a73312 | 884d8a5d7f65 | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | 884d8a5d7f65 | ea5e25f56b9f | 8bbe1099c053 | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | 8bbe1099c053 | ca60a98cdefa | bd1e7d3eec2d | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | bd1e7d3eec2d | ce63272b7010 | 345dcaabbfc9 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | 345dcaabbfc9 | 3f7c2e584e1d | 3435303fcbc6 | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 3435303fcbc6 | 347774c2ae6b | f3d2f03451af | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | aec2cd7e62ac | 7833d238e55e | 8de6a479fc04 d9b2b7497ba5 | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 18 2019, 6:43 AM | d9b2b7497ba5 | 7833d238e55e | 1d51bc7fb52e | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | 1d51bc7fb52e | f93554b5578a | 36b227fd9a20 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | 36b227fd9a20 | 4b5aef311178 | cb01384be8e7 | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | cb01384be8e7 | 7833d238e55e | 7ec60a7466b8 | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | 7ec60a7466b8 | 0bcba7d9ebf2 | 2545f2e533f3 | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 2545f2e533f3 | b977188a703b | c55773b2aed0 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | c55773b2aed0 | 4c35aeb14ff7 | 7c933123f6f3 | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 7c933123f6f3 | 00fe74723d2c | ea908cd3b444 | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | 8de6a479fc04 | 6a1dcb0e6640 | 86153ba7ddca a6f42c0189fa | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 14 2019, 11:40 AM | a6f42c0189fa | 6a1dcb0e6640 | 0113dffaafae | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | 0113dffaafae | 1b9bc7fee7d3 | a78380142783 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | a78380142783 | a1ffbbafc14d | 309073fcc11a | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | 309073fcc11a | 6a1dcb0e6640 | ba4dd5cf76e8 | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | ba4dd5cf76e8 | 27391ba0460e | 02fd8ef9ead3 | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 02fd8ef9ead3 | 4d41ca96239c | ae1aff792575 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | ae1aff792575 | 14f84469357e | 675adeded209 | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 675adeded209 | ae8dd8d361e3 | 8860439498bb | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | 86153ba7ddca | 7a3c3f23e7a2 | 13a6ca1e3b3e ba8b0b93c49b | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 14 2019, 7:58 AM | ba8b0b93c49b | 7a3c3f23e7a2 | d59b60738463 | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | d59b60738463 | 4421c020590d | ecb675fbfa6a | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | ecb675fbfa6a | c33ed26119f6 | 507836391d25 | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | 507836391d25 | 7a3c3f23e7a2 | e632e0b6aecc | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | e632e0b6aecc | b93837cfecee | 2e432b12b046 | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 2e432b12b046 | 7a58ddea3aa6 | 5750b807bd94 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | 5750b807bd94 | 824a9fa8f383 | 2d260bedc615 | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 2d260bedc615 | 7d47208594d8 | 50d3f29b72b8 | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | 50d3f29b72b8 | 7e5849b8e8b8 | 49403705caee | Doru Bercea | Fix test. | May 24 2019, 11:31 AM | 49403705caee | 06c9b76bfb79 | 5b97ba06331c | Doru Bercea | Include sema check. | May 22 2019, 2:07 PM | 5b97ba06331c | c85169e474cf | e5ee820063fd | Doru Bercea | Fix function call. | May 21 2019, 1:30 PM | e5ee820063fd | 9fe640d6658d | 11ae5a85fb29 | Doru Bercea | Apply patch old-target-link-1. | May 7 2019, 12:27 PM | 13a6ca1e3b3e | 34206b065e5e | 1fe586eb99eb 23016f53a711 | Doru Bercea | Merge branch 'trunk-target-to' of ibmgithub:/CORAL-LLVM-Compilers/clang into… (Show More…) | Jun 12 2019, 10:27 AM | 23016f53a711 | 34206b065e5e | 3c33fe19ed48 | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | 3c33fe19ed48 | 50e971b064a3 | e511751f8442 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | e511751f8442 | 9a5185459ff5 | 7e7fd46ab109 | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | 7e7fd46ab109 | 34206b065e5e | 54c12454c3f6 | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | 54c12454c3f6 | b36dd531bc27 | 8ef3adf647dd | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 8ef3adf647dd | 9f7019c198dd | d76915c787f6 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | d76915c787f6 | 55a475faaabd | ffe33d00dac1 | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | ffe33d00dac1 | e69861f37b76 | 234bef4cc5b8 | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | 234bef4cc5b8 | f33dd83f8fe7 | fa8bd06243e4 | Doru Bercea | Fix test. | May 24 2019, 11:31 AM | fa8bd06243e4 | 58b9bed8a32d | d8d5cb8adb9a | Doru Bercea | Include sema check. | May 22 2019, 2:07 PM | d8d5cb8adb9a | 806c3ca3df90 | f044c8627dfc | Doru Bercea | Fix function call. | May 21 2019, 1:30 PM | f044c8627dfc | 21d19d1a956c | 343b85e96fd9 | Doru Bercea | Apply patch old-target-link-1. | May 7 2019, 12:27 PM | 1fe586eb99eb | 540917cec0c4 | 0de1f53178a0 | Doru Bercea | Fix declare target type. | Jun 10 2019, 1:17 PM | 0de1f53178a0 | ffc0eec7c59c | 4922449aac05 | Doru Bercea | Make TO look like LINK. | Jun 10 2019, 1:04 PM | 4922449aac05 | 701a9f039e0e | e8821cba398d | Doru Bercea | Replace switch with more elaborate conditional code. | Jun 10 2019, 12:51 PM | e8821cba398d | 540917cec0c4 | a82a3557435c | Doru Bercea | Add test. | Jun 10 2019, 11:43 AM | a82a3557435c | 1dc52d79a0fc | 2ccc98d568bd | Doru Bercea | Clean-up code. | Jun 7 2019, 2:40 PM | 2ccc98d568bd | e62d3dce0b3b | 71ac2e552d04 | Doru Bercea | Remove code duplication. | Jun 7 2019, 2:26 PM | 71ac2e552d04 | d5902697de61 | 7b451fed9e6b | Doru Bercea | Fix support for non requires. | Jun 7 2019, 1:49 PM | 7b451fed9e6b | c9711833235e | 6cec9f29323c | Doru Bercea | Add support for declare target to. | Jun 6 2019, 1:16 PM | 6cec9f29323c | 88a09b48ff8b | 77dae4f9d832 | Doru Bercea | Fix test. | May 24 2019, 11:31 AM | 77dae4f9d832 | 70a08ff070b4 | b6f03ebf9a4b | Doru Bercea | Include sema check. | May 22 2019, 2:07 PM | b6f03ebf9a4b | a23e0129d24e | cee03fee8a10 | Doru Bercea | Fix function call. | May 21 2019, 1:30 PM | cee03fee8a10 | 64e7db195916 | a979683ca3b6 | Doru Bercea | Apply patch old-target-link-1. | May 7 2019, 12:27 PM |
|
I think it would be better to merge these 2 functions into 1 emitDeclTargetVarDeclLValue. It should return the correct address for link vars and to vars with unified memory.