{"id":2921,"date":"2013-08-21T11:42:50","date_gmt":"2013-08-21T02:42:50","guid":{"rendered":"http:\/\/peta.okechan.net\/blog\/?p=2921"},"modified":"2013-08-21T11:42:50","modified_gmt":"2013-08-21T02:42:50","slug":"2-9-%e5%85%a8%e3%82%b3%e3%83%bc%e3%83%89","status":"publish","type":"post","link":"https:\/\/peta.okechan.net\/blog\/archives\/2921","title":{"rendered":"2.9. \u5168\u30b3\u30fc\u30c9"},"content":{"rendered":"<p><a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2836\" title=\"LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\">LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u65e5\u672c\u8a9e\u8a33<\/a><br \/>\n\u7b2c2\u7ae0 \u4e07\u83ef\u93e1: \u69cb\u6587\u89e3\u6790\u5668\u3068AST\u306e\u5b9f\u88c5<br \/>\n<a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl02.html#full-code-listing\" target=\"_blank\">\u7b2c9\u7bc0 \u5168\u30b3\u30fc\u30c9<\/a><\/p>\n<p>\u3053\u306e\u7ae0\u3068\u3053\u306e\u524d\u306e\u7ae0\u3067\u4f5c\u3063\u305f\u3082\u306e\u306e\u5168\u30b3\u30fc\u30c9\u3092\u3053\u3053\u306b\u8f09\u305b\u308b\u3002<br \/>\n\u3053\u308c\u306f\u5b8c\u5168\u306b\u72ec\u7acb\u306a\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3002<br \/>\nLLVM\u3084\u4ed6\u306e\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3053\u306e\u6642\u70b9\u3067\u306f\u5168\u304f\u5fc5\u8981\u306a\u3044\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093C\u3084C++\u306e\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u9664\u304f\u3002\uff09<br \/>\n\u3053\u308c\u3092\u30d3\u30eb\u30c9\u3059\u308b\u306b\u306f\u3001\u5358\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3060\u3051\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># \u30b3\u30f3\u30d1\u30a4\u30eb\r\nclang++ -g -O3 toy.cpp\r\n# \u5b9f\u884c\r\n.\/a.out<\/pre>\n<p>\u4ee5\u4e0b\u30b3\u30fc\u30c9\u3002<br \/>\n<em>\u8a33\u6ce8: <a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl02.html#full-code-listing\" target=\"_blank\">\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u539f\u6587\u3092\u53c2\u7167\u3055\u308c\u305f\u3057\u3002<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2836\" title=\"LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\">LLVM\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u5b9f\u88c5\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u65e5\u672c\u8a9e\u8a33<\/a><br \/>\n\u7b2c2\u7ae0 \u4e07\u83ef\u93e1: \u69cb\u6587\u89e3\u6790\u5668\u3068AST\u306e\u5b9f\u88c5<br \/>\n<a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl02.html#full-code-listing\" target=\"_blank\">\u7b2c9\u7bc0 \u5168\u30b3\u30fc\u30c9<\/a><\/p>\n<p>\u3053\u306e\u7ae0\u3068\u3053\u306e\u524d\u306e\u7ae0\u3067\u4f5c\u3063\u305f\u3082\u306e\u306e\u5168\u30b3\u30fc\u30c9\u3092\u3053\u3053\u306b\u8f09\u305b\u308b\u3002<br \/>\n\u3053\u308c\u306f\u5b8c\u5168\u306b\u72ec\u7acb\u306a\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3002<br \/>\nLLVM\u3084\u4ed6\u306e\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3053\u306e\u6642\u70b9\u3067\u306f\u5168\u304f\u5fc5\u8981\u306a\u3044\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093C\u3084C++\u306e\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u9664\u304f\u3002\uff09<br \/>\n\u3053\u308c\u3092\u30d3\u30eb\u30c9\u3059\u308b\u306b\u306f\u3001\u5358\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3060\u3051\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># \u30b3\u30f3\u30d1\u30a4\u30eb\r\nclang++ -g -O3 toy.cpp\r\n# \u5b9f\u884c\r\n.\/a.out<\/pre>\n<p>\u4ee5\u4e0b\u30b3\u30fc\u30c9\u3002<br \/>\n<em>\u8a33\u6ce8: <a href=\"http:\/\/llvm.org\/docs\/tutorial\/LangImpl02.html#full-code-listing\" target=\"_blank\">\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u539f\u6587\u3092\u53c2\u7167\u3055\u308c\u305f\u3057\u3002<\/a><\/em><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[466,467],"class_list":["post-2921","post","type-post","status-publish","format-standard","hentry","category-tech","tag-kaleidoscope","tag-llvm"],"_links":{"self":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/2921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/comments?post=2921"}],"version-history":[{"count":0,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/2921\/revisions"}],"wp:attachment":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/media?parent=2921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/categories?post=2921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/tags?post=2921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}