Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: src/IceTargetLowering.h

Issue 961413002: Subzero: Clean up the runtime implementation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change static helper strings to be char* instead of IceString Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/szrt_ll.ll ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 350b5c7d0cb725a89b653e88e7f37818f769381c..8b4bd270548f094f8c4777db5aa5cf0b673c125f 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -252,6 +252,40 @@ protected:
int32_t StackAdjustment;
LoweringContext Context;
+ // Runtime helper function names
+ const static constexpr char *H_bitcast_16xi1_i16 = "__Sz_bitcast_16xi1_i16";
+ const static constexpr char *H_bitcast_8xi1_i8 = "__Sz_bitcast_8xi1_i8";
+ const static constexpr char *H_bitcast_i16_16xi1 = "__Sz_bitcast_i16_16xi1";
+ const static constexpr char *H_bitcast_i8_8xi1 = "__Sz_bitcast_i8_8xi1";
+ const static constexpr char *H_call_ctpop_i32 = "__popcountsi2";
+ const static constexpr char *H_call_ctpop_i64 = "__popcountdi2";
+ const static constexpr char *H_call_longjmp = "longjmp";
+ const static constexpr char *H_call_memcpy = "memcpy";
+ const static constexpr char *H_call_memmove = "memmove";
+ const static constexpr char *H_call_memset = "memset";
+ const static constexpr char *H_call_read_tp = "__nacl_read_tp";
+ const static constexpr char *H_call_setjmp = "setjmp";
+ const static constexpr char *H_fptosi_f32_i64 = "__Sz_fptosi_f32_i64";
+ const static constexpr char *H_fptosi_f64_i64 = "__Sz_fptosi_f64_i64";
+ const static constexpr char *H_fptoui_4xi32_f32 = "__Sz_fptoui_4xi32_f32";
+ const static constexpr char *H_fptoui_f32_i32 = "__Sz_fptoui_f32_i32";
+ const static constexpr char *H_fptoui_f32_i64 = "__Sz_fptoui_f32_i64";
+ const static constexpr char *H_fptoui_f64_i32 = "__Sz_fptoui_f64_i32";
+ const static constexpr char *H_fptoui_f64_i64 = "__Sz_fptoui_f64_i64";
+ const static constexpr char *H_frem_f32 = "fmodf";
+ const static constexpr char *H_frem_f64 = "fmod";
+ const static constexpr char *H_sdiv_i64 = "__divdi3";
+ const static constexpr char *H_sitofp_i64_f32 = "__Sz_sitofp_i64_f32";
+ const static constexpr char *H_sitofp_i64_f64 = "__Sz_sitofp_i64_f64";
+ const static constexpr char *H_srem_i64 = "__moddi3";
+ const static constexpr char *H_udiv_i64 = "__udivdi3";
+ const static constexpr char *H_uitofp_4xi32_4xf32 = "__Sz_uitofp_4xi32_4xf32";
+ const static constexpr char *H_uitofp_i32_f32 = "__Sz_uitofp_i32_f32";
+ const static constexpr char *H_uitofp_i32_f64 = "__Sz_uitofp_i32_f64";
+ const static constexpr char *H_uitofp_i64_f32 = "__Sz_uitofp_i64_f32";
+ const static constexpr char *H_uitofp_i64_f64 = "__Sz_uitofp_i64_f64";
+ const static constexpr char *H_urem_i64 = "__umoddi3";
+
private:
int32_t SnapshotStackAdjustment;
};
« no previous file with comments | « runtime/szrt_ll.ll ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698