src/share/vm/opto/graphKit.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File valhalla Sdiff src/share/vm/opto

src/share/vm/opto/graphKit.hpp

Print this page




 849   Node* gen_instanceof(Node *subobj, Node* superkls, bool safe_for_replace = false);
 850 
 851   // Generate a check-cast idiom.  Used by both the check-cast bytecode
 852   // and the array-store bytecode
 853   Node* gen_checkcast( Node *subobj, Node* superkls,
 854                        Node* *failure_control = NULL );
 855 
 856   Node* gen_subtype_check(Node* subklass, Node* superklass) {
 857     MergeMemNode* mem = merged_memory();
 858     Node* ctrl = control();
 859     Node* n = Phase::gen_subtype_check(subklass, superklass, &ctrl, mem, &_gvn);
 860     set_control(ctrl);
 861     return n;
 862   }
 863 
 864   // Exact type check used for predicted calls and casts.
 865   // Rewrites (*casted_receiver) to be casted to the stronger type.
 866   // (Caller is responsible for doing replace_in_map.)
 867   Node* type_check_receiver(Node* receiver, ciKlass* klass, float prob,
 868                             Node* *casted_receiver);

 869 
 870   // implementation of object creation
 871   Node* set_output_for_allocation(AllocateNode* alloc,
 872                                   const TypeOopPtr* oop_type,
 873                                   bool deoptimize_on_exception=false);
 874   Node* get_layout_helper(Node* klass_node, jint& constant_value);
 875   Node* new_instance(Node* klass_node,
 876                      Node* slow_test = NULL,
 877                      Node* *return_size_val = NULL,
 878                      bool deoptimize_on_exception = false);
 879   Node* new_array(Node* klass_node, Node* count_val, int nargs,
 880                   Node* *return_size_val = NULL,
 881                   bool deoptimize_on_exception = false);
 882   void initialize_value_type_array(Node* array, Node* length, ciValueKlass* vk, int nargs);
 883 
 884   // java.lang.String helpers
 885   Node* load_String_length(Node* ctrl, Node* str);
 886   Node* load_String_value(Node* ctrl, Node* str);
 887   Node* load_String_coder(Node* ctrl, Node* str);
 888   void store_String_value(Node* ctrl, Node* str, Node* value);




 849   Node* gen_instanceof(Node *subobj, Node* superkls, bool safe_for_replace = false);
 850 
 851   // Generate a check-cast idiom.  Used by both the check-cast bytecode
 852   // and the array-store bytecode
 853   Node* gen_checkcast( Node *subobj, Node* superkls,
 854                        Node* *failure_control = NULL );
 855 
 856   Node* gen_subtype_check(Node* subklass, Node* superklass) {
 857     MergeMemNode* mem = merged_memory();
 858     Node* ctrl = control();
 859     Node* n = Phase::gen_subtype_check(subklass, superklass, &ctrl, mem, &_gvn);
 860     set_control(ctrl);
 861     return n;
 862   }
 863 
 864   // Exact type check used for predicted calls and casts.
 865   // Rewrites (*casted_receiver) to be casted to the stronger type.
 866   // (Caller is responsible for doing replace_in_map.)
 867   Node* type_check_receiver(Node* receiver, ciKlass* klass, float prob,
 868                             Node* *casted_receiver);
 869   Node* type_check(Node* recv_klass, const TypeKlassPtr* tklass, float prob);
 870 
 871   // implementation of object creation
 872   Node* set_output_for_allocation(AllocateNode* alloc,
 873                                   const TypeOopPtr* oop_type,
 874                                   bool deoptimize_on_exception=false);
 875   Node* get_layout_helper(Node* klass_node, jint& constant_value);
 876   Node* new_instance(Node* klass_node,
 877                      Node* slow_test = NULL,
 878                      Node* *return_size_val = NULL,
 879                      bool deoptimize_on_exception = false);
 880   Node* new_array(Node* klass_node, Node* count_val, int nargs,
 881                   Node* *return_size_val = NULL,
 882                   bool deoptimize_on_exception = false);
 883   void initialize_value_type_array(Node* array, Node* length, ciValueKlass* vk, int nargs);
 884 
 885   // java.lang.String helpers
 886   Node* load_String_length(Node* ctrl, Node* str);
 887   Node* load_String_value(Node* ctrl, Node* str);
 888   Node* load_String_coder(Node* ctrl, Node* str);
 889   void store_String_value(Node* ctrl, Node* str, Node* value);


src/share/vm/opto/graphKit.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File