{"id":4462,"date":"2019-08-31T15:51:10","date_gmt":"2019-08-31T07:51:10","guid":{"rendered":"https:\/\/www.xttblog.com\/?p=4462"},"modified":"2019-08-31T15:51:10","modified_gmt":"2019-08-31T07:51:10","slug":"%e5%8d%8e%e4%b8%ba%e6%96%b9%e8%88%9f%e7%bc%96%e8%af%91%e5%99%a8openarkcompiler%e6%ad%a3%e5%bc%8f%e5%bc%80%e6%ba%90%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=4462","title":{"rendered":"\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668(OpenArkCompiler)\u6b63\u5f0f\u5f00\u6e90\uff01"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4ece\u6628\u5929\u76fc\u5230\u4eca\u5929\uff0c\u4ece\u65e9\u4e0a\u76fc\u5230\u73b0\u5728\u3002\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668\u7ec8\u4e8e\u6b63\u5f0f\u5f00\u6e90\u4e86\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx4.sinaimg.cn\/mw690\/8fa5dcfcgy1g6iwf2i4raj20rs0ifq4l.jpg\" alt=\"\" \/><figcaption>\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668(OpenArkCompiler)\u5f00\u6e90<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u662f\uff0c\u5728\u5f00\u6e90\u540e\uff0c\u6ca1\u8fc7\u591a\u4e45\u5c31\u88ab private \u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u80fd\u5b9e\u5728\u662f\u51c6\u5907\u4e0d\u5145\u5206\uff0c\u592a\u4ed3\u4fc3\u4e86\u3002\u88ab\u7f51\u53cb\u62d4\u51fa\u5f88\u591a\u201cbug\u201d\u3002\u622a\u6b62\u53d1\u7a3f\u524d\u4e86\uff0chttps:\/\/code.opensource.huaweicloud.com \u4e0a\u53ea\u5269\u4e00\u4e2a example \u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u867d\u7136\uff0c\u65b9\u821f\u7f16\u8bd1\u5668\u53ea\u5f00\u6e90\u4e86 3 \u5206\u949f\uff0c\u4f46\u8fd8\u662f\u88ab\u773c\u5c16\u624b\u5feb\u7684\u7f51\u53cb get \u5230\u4e86\u4ee3\u7801\u3002\u88ab\u540e\u8005\u4e0a\u4f20\u5230\u4e86 github\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e9\u5728\u534e\u4e3a\u5ba3\u4f20\u65b9\u821f\u7f16\u8bd1\u5668\u671f\u95f4\uff0c\u5c31\u8868\u793a\u5c06\u6765\u5f00\u6e90\u4f1a\u9996\u9009\u56fd\u5185\u5f00\u6e90\u793e\u533a\uff0c\u4e3a\u6b64\u7ea2\u85af\u4e5f\u5728\u4e0d\u7559\u4f59\u529b\u7684\u8fdb\u884c\u5ba3\u4f20\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx3.sinaimg.cn\/mw690\/8fa5dcfcgy1g6iwf2htwbj20rq0a4js8.jpg\" alt=\"\" \/><figcaption>\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668 gitee \u5730\u5740<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ea2\u85af\u5b98\u65b9\u4eba\u5458\u4e5f\u5728\u6700\u8fd1\u7684\u4e92\u52a8\u4e2d\uff0c\u8868\u793a\u534e\u4e3a\u7684\u65b9\u821f\u7f16\u8bd1\u5668\u5373\u5c06\u653e\u51fa\u4ee3\u7801\u3002\u4f46\u662f\u622a\u6b62\u76ee\u524d\uff0c\u6211\u5230\u4e86\u4e0a\u9762\u6240\u8ff0\u7684\u5730\u5740\uff0c\u6ca1\u6709\u53d1\u73b0\u4efb\u4f55\u65b9\u821f\u7f16\u8bd1\u5668\u4ee3\u7801\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx3.sinaimg.cn\/mw690\/8fa5dcfcgy1g6iwf2jqmij20rt08kdgz.jpg\" alt=\"\" \/><figcaption>OpenArkCompiler \u5f00\u6e90<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u81f3\u4e8e\u539f\u56e0\uff0c\u53ef\u80fd\u771f\u7684\u662f\u51c6\u5907\u4e0d\u5145\u5206\uff0c\u65f6\u95f4\u592a\u4ed3\u4fc3\u3002\u6211\u4eec\u4ece\u6cc4\u9732\u51fa\u6765\u7684\u6e90\u7801\u53d1\u73b0\uff0c\u65b9\u821f\u7f16\u8bd1\u5668\u4e2d\uff0c\u4f7f\u7528\u7684 license \u8fd9\u4e2a\u6709\u70b9\u626f\u4e86\uff0c\u72af\u4e86\u592a\u4f4e\u7ea7\u7684\u9519\u8bef\uff0c\u4e5f\u53ef\u80fd\u5c31\u662f\u56e0\u4e3a\u8fd9\u4e2a\u88ab\u7d27\u6025\u5173\u95ed\u4e86\u5427\uff01<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx3.sinaimg.cn\/mw690\/8fa5dcfcgy1g6iwf2kawxj20rt0actax.jpg\" alt=\"\" \/><figcaption>\u65b9\u821f\u7f16\u8bd1\u5668 license<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5de6\u8fb9\u662f\u65b9\u821f\u91cc\u7684 zlib\uff0c\u53f3\u8fb9\u662f\u539f\u7248 zlib\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668\u91c7\u7528\u7684\u662f\u6728\u5170\u534f\u8bae\uff08\u4e0d\u6e05\u695a\u6728\u5170\u5f00\u6e90\u534f\u8bae\u7684\u53ef\u4ee5\u770b\u6211\u7684\u8fd9\u7bc7\u6587\u7ae0\uff1a<a href=\"https:\/\/mp.weixin.qq.com\/s\/K2xLAtRTy7cO5aO2RR-SDg\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"\u534e\u4e3a\u53c2\u4e0e\u7684\u4e2d\u56fd\u5b98\u65b9\u9996\u4e2a\u5f00\u6e90\u8f6f\u4ef6\u534f\u8bae\uff0c\u6728\u5170\u534f\u8bae\u8bde\u751f\uff01\uff08\u5728\u65b0\u7a97\u53e3\u6253\u5f00\uff09\">\u534e\u4e3a\u53c2\u4e0e\u7684\u4e2d\u56fd\u5b98\u65b9\u9996\u4e2a\u5f00\u6e90\u8f6f\u4ef6\u534f\u8bae\uff0c\u6728\u5170\u534f\u8bae\u8bde\u751f\uff01<\/a>\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668\u7684\u601d\u8def\u662f\uff1aJava\u3001JavaScript\u3001Python\u3001C\u3001C++ \u90fd\u8981\u7ffb\u8bd1\u5230 Maple IR\uff0c\u5e76\u4e14 Maple IR \u662f\u4e3a\u4e86\u5728\u82af\u7247\u4e0a\u8fd0\u884c\u505a\u4f18\u5316\u4e3a\u76ee\u7684\u7684\u8bed\u8a00\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6839\u636e\u8fd9\u4e2a\u601d\u8def\u6765\u770b\uff0c\u5f88\u591a\u7f51\u53cb\u53cd\u6620\u8fd9\u4e2a\u5de5\u4f5c\u91cf\u592a\u5927\u4e86\u3002\u4e5f\u5c31\u534e\u4e3a\u6562\u884c\u52a8\uff0c\u5e76\u914d\u5408\u82af\u7247\u8fdb\u884c\u4f18\u5316\u3002\u867d\u7136\u8fd9\u6b21\u5728\u5f00\u6e90\u4e0a\u6709\u70b9\u5c0f\u5931\u8bef\uff0c\u4f46\u662f\u6211\u8fd8\u662f\u5f88\u770b\u597d\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8981\u641e\u5b9a\u65b9\u821f\u7f16\u8bd1\u5668\u7684\u539f\u7406\uff0c\u300a\u7f16\u8bd1\u539f\u7406\u300b\u8fd9\u672c\u4e66\uff0c\u4ee5\u53ca\u6781\u5ba2\u65f6\u95f4\u4e0a\u7684\u300a\u7f16\u8bd1\u539f\u7406\u4e4b\u7f8e\u300b\u8fd8\u662f\u9700\u8981\u8ba4\u771f\u5b66\u4e00\u5b66\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709\u4e9b\u7f51\u53cb\u901a\u8fc7\u9605\u8bfb\u6e90\u7801\uff0c\u5df2\u7ecf\u628a\u65b9\u821f\u7f16\u8bd1\u5668\u4e2d\u7684 Maple IR \u8bbe\u8ba1\u5de7\u5999\u7684\u5730\u65b9\u88ab\u6316\u4e86\u51fa\u6765\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/wx3.sinaimg.cn\/mw690\/8fa5dcfcgy1g6iwf2mzx2j20u00khn19.jpg\" alt=\"\" \/><figcaption>\u65b9\u821f\u7f16\u8bd1\u5668\u6e90\u7801\u89e3\u8bfb<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f8\u4fe1\u5728\u6574\u4e2a\u5f00\u6e90\u8fd0\u52a8\u7684\u5e2e\u52a9\u4e0b\uff0c\u65b9\u821f\u7f16\u8bd1\u5668\u4f1a\u8d8a\u6765\u8d8a\u597d\uff01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u534e\u4e3a\u4efb\u91cd\u9053\u8fdc\uff0c\u4e2d\u56fd\u4ea6\u7136\uff01<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=4462\">\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668(OpenArkCompiler)\u6b63\u5f0f\u5f00\u6e90\uff01<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u4ece\u6628\u5929\u76fc\u5230\u4eca\u5929\uff0c\u4ece\u65e9\u4e0a\u76fc\u5230\u73b0\u5728\u3002\u534e\u4e3a\u65b9\u821f\u7f16\u8bd1\u5668\u7ec8\u4e8e\u6b63\u5f0f\u5f00\u6e90\u4e86\uff01 \u53ef\u662f\uff0c\u5728\u5f00\u6e90\u540e\uff0c\u6ca1\u8fc7\u591a\u4e45\u5c31\u88ab private  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[2000,1999,15,1987,1988],"class_list":["post-4462","post","type-post","status-publish","format-standard","hentry","category-yyzt","tag-harmonyos","tag-openarkcompiler","tag-15","tag-1987","tag-1988"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4462"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4462\/revisions"}],"predecessor-version":[{"id":4463,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/4462\/revisions\/4463"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}