Lines Matching refs:Zone
21 #include "src/zone.h"
223 Range* CopyClearLower(Zone* zone) const {
224 return new(zone) Range(kMinInt, upper_);
226 Range* CopyClearUpper(Zone* zone) const {
227 return new(zone) Range(lower_, kMaxInt);
229 Range* Copy(Zone* zone) const {
230 Range* result = new(zone) Range(lower_, upper_);
677 void AddNewRange(Range* r, Zone* zone);
679 void ComputeInitialRange(Zone* zone);
794 virtual Range* InferRange(Zone* zone);
890 static I* New(Isolate* isolate, Zone* zone, HValue* context) { \
891 return new (zone) I(); \
895 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1) { \
896 return new (zone) I(p1); \
900 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2) { \
901 return new (zone) I(p1, p2); \
905 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
907 return new (zone) I(p1, p2, p3); \
911 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
913 return new (zone) I(p1, p2, p3, p4); \
917 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
919 return new (zone) I(p1, p2, p3, p4, p5); \
923 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
925 return new (zone) I(p1, p2, p3, p4, p5, p6); \
929 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
931 return new (zone) I(p1, p2, p3, p4, p5, p6, p7); \
935 static I* New(Isolate* isolate, Zone* zone, HValue* context) { \
936 return new (zone) I(context); \
940 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1) { \
941 return new (zone) I(context, p1); \
945 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2) { \
946 return new (zone) I(context, p1, p2); \
950 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
952 return new (zone) I(context, p1, p2, p3); \
956 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
958 return new (zone
962 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
964 return new (zone) I(context, p1, p2, p3, p4, p5); \
968 static I* New(Isolate* isolate, Zone* zone, HValue* context, P1 p1, P2 p2, \
970 return new (zone) I(context, p1, p2, p3, p4, p5, p6); \
1000 void ensure_storage_for_operand_positions(Zone* zone, int operand_count) {
1006 SourcePosition* positions = zone->NewArray<SourcePosition>(length);
1108 void set_operand_position(Zone* zone, int index, SourcePosition pos) {
1110 position_.ensure_storage_for_operand_positions(zone, OperandCount());
1289 static HPrologue* New(Zone* zone) { return new (zone) HPrologue(); }
1322 static HDeoptimize* New(Isolate* isolate, Zone* zone, HValue* context,
1326 return new(zone) HDeoptimize(reason, type, unreachable_continuation);
1476 static HContext* New(Zone* zone) {
1477 return new(zone) HContext();
1574 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
1643 Range* InferRange(Zone* zone) override;
1751 HSimulate(BailoutId ast_id, int pop_count, Zone* zone,
1755 values_(2, zone),
1756 assigned_indexes_(2, zone),
1757 zone_(zone),
1851 Zone* zone_;
1956 static HEnterInlined* New(Isolate* isolate, Zone* zone, HValue* context,
1962 return new (zone) HEnterInlined(return_id, closure, closure_context,
1964 arguments_var, arguments_object, zone);
1967 void RegisterReturnTarget(HBasicBlock* return_target, Zone* zone);
1998 Zone* zone)
2010 return_targets_(2, zone) {}
2052 static HPushArguments* New(Isolate* isolate, Zone* zone, HValue* context) {
2053 return new(zone) HPushArguments(zone);
2055 static HPushArguments* New(Isolate* isolate, Zone* zone, HValue* context,
2057 HPushArguments* instr = new(zone) HPushArguments(zone);
2061 static HPushArguments* New(Isolate* isolate, Zone* zone, HValue* context,
2063 HPushArguments* instr = new(zone) HPushArguments(zone);
2068 static HPushArguments* New(Isolate* isolate, Zone* zone, HValue* context,
2070 HPushArguments* instr = new(zone) HPushArguments(zone);
2076 static HPushArguments* New(Isolate* isolate, Zone* zone
2079 HPushArguments* instr = new(zone) HPushArguments(zone);
2105 explicit HPushArguments(Zone* zone)
2106 : HInstruction(HType::Tagged()), inputs_(4, zone) {
2229 static HCallJSFunction* New(Isolate* isolate, Zone* zone, HValue* context,
2264 static HCallWithDescriptor* New(Isolate* isolate, Zone* zone, HValue* context,
2269 HCallWithDescriptor* res = new (zone) HCallWithDescriptor(
2270 target, argument_count, descriptor, operands, call_mode, zone);
2314 Zone* zone)
2316 values_(GetParameterCount() + 1, zone),
2321 AddOperand(target, zone);
2323 AddOperand(operands[i], zone);
2329 void AddOperand(HValue* v, Zone* zone) {
2330 values_.Add(NULL, zone);
2368 static HInvokeFunction* New(Isolate* isolate, Zone* zone, HValue* context,
2372 return new(zone) HInvokeFunction(context, function,
2523 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
2555 Range* InferRange(Zone* zone) override;
2672 static HCheckMaps* New(Isolate* isolate, Zone* zone, HValue* context,
2675 return new(zone) HCheckMaps(value, new(zone) UniqueSet<Map>(
2676 Unique<Map>::CreateImmovable(map), zone), typecheck);
2678 static HCheckMaps* New(Isolate* isolate, Zone* zone, HValue* context,
2681 UniqueSet<Map>* maps = new(zone) UniqueSet<Map>(map_list->length(), zone);
2683 maps->Add(Unique<Map>::CreateImmovable(map_list->at(i)), zone);
2685 return new(zone) HCheckMaps(value, maps, typecheck);
2728 static HCheckMaps* CreateAndInsertAfter(Zone* zone,
2733 return instr->Append(new(zone) HCheckMaps(
2734 value, new(zone) UniqueSet<Map>(map, zone), map_is_stable));
2737 static HCheckMaps* CreateAndInsertBefore(Zone* zone,
2742 return instr->Prepend(new(zone) HCheckMaps(value, maps, maps_are_stable));
2808 static HCheckValue* New(Isolate* isolate, Zone* zone, HValue* context,
2816 HCheckValue* check = new(zone) HCheckValue(value, target, in_new_space);
2819 static HCheckValue* New(Isolate* isolate, Zone* zone, HValue* context,
2822 return new(zone) HCheckValue(value, target, object_in_new_space);
3247 HPhi(int merged_index, Zone* zone)
3248 : inputs_(2, zone), merged_index_(merged_index) {
3256 Range* InferRange(Zone* zone) override;
3352 HDematerializedObject(int count, Zone* zone) : values_(count, zone) {}
3374 static HArgumentsObject* New(Isolate* isolate, Zone* zone, HValue* context,
3376 return new(zone) HArgumentsObject(count, zone);
3384 void AddArgument(HValue* argument, Zone* zone) {
3385 values_.Add(NULL, zone); // Resize list.
3392 HArgumentsObject(int count, Zone* zone)
3393 : HDematerializedObject(count, zone) {
3402 HCapturedObject(int length, int id, Zone* zone)
3403 : HDematerializedObject(length, zone), capture_id_(id) {
3405 values_.AddBlock(NULL, length, zone); // Resize list.
3452 static HConstant* CreateAndInsertAfter(Isolate* isolate, Zone* zone,
3457 HConstant::New(isolate, zone, context, value, representation));
3468 static HConstant* CreateAndInsertBefore(Isolate* isolate, Zone* zone,
3473 HConstant::New(isolate, zone, context, value, representation));
3476 static HConstant* CreateAndInsertBefore(Zone* zone,
3480 return instruction->Prepend(new(zone) HConstant(
3486 static HConstant* CreateAndInsertAfter(Zone* zone,
3490 return instruction->Append(new(zone) HConstant(
3539 HConstant* CopyToRepresentation(Representation r, Zone* zone) const;
3540 Maybe<HConstant*> CopyToTruncatedInt32(Zone* zone);
3541 Maybe<HConstant*> CopyToTruncatedNumber(Isolate* isolate, Zone* zone);
3688 Range* InferRange(Zone* zone) override;
3835 void SetOperandPositions(Zone* zone, SourcePosition left_pos,
3837 set_operand_position(zone, 1, left_pos);
3838 set_operand_position(zone, 2, right_pos);
4067 Range* InferRange(Zone* zone) override;
4196 Range* InferRange(Zone* zone) override;
4234 static HCompareGeneric* New(Isolate* isolate, Zone* zone, HValue* context,
4237 return new (zone) HCompareGeneric(context, left, right, token, strength);
4267 static HCompareNumericAndBranch* New(Isolate* isolate, Zone* zone,
4273 return new (zone) HCompareNumericAndBranch(left, right, token, true_target,
4276 static HCompareNumericAndBranch* New(Isolate* isolate, Zone* zone,
4280 return new (zone)
4309 void SetOperandPositions(Zone* zone, SourcePosition left_pos,
4311 set_operand_position(zone, 0, left_pos);
4312 set_operand_position(zone, 1, right_pos);
4724 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4768 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4771 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4831 Range* InferRange(Zone* zone) override;
4870 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4890 Range* InferRange(Zone* zone) override;
4902 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4906 static HInstruction* NewImul(Isolate* isolate, Zone* zone, HValue* context,
4910 HMul::New(isolate, zone, context, left, right, strength);
4937 Range* InferRange(Zone* zone) override;
4949 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4967 Range* InferRange(Zone* zone) override;
4981 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
4999 Range* InferRange(Zone* zone) override;
5014 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5045 Range* InferRange(Zone* zone) override;
5058 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5077 Range* InferRange(Zone* zone) override;
5115 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5119 Range* InferRange(Zone* zone) override;
5145 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5161 Range* InferRange(Zone* zone) override;
5183 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5199 Range* InferRange(Zone* zone) override;
5221 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
5224 return new (zone) HRor(context, left, right, strength);
5430 Isolate* isolate, Zone* zone, HValue* context, HValue* size, HType type,
5433 return new(zone) HAllocate(context, size, type, pretenure_flag,
5598 static HStoreCodeEntry* New(Isolate* isolate, Zone* zone, HValue* context,
5600 return new(zone) HStoreCodeEntry(function, code);
5622 static HInnerAllocatedObject* New(Isolate* isolate, Zone* zone,
5625 return new(zone) HInnerAllocatedObject(value, offset, type);
6312 Range* InferRange(Zone* zone) override;
6579 Range* InferRange(Zone* zone) override;
7204 inline static HTransitionElementsKind* New(Isolate* isolate, Zone* zone,
7208 return new(zone) HTransitionElementsKind(context, object,
7275 Isolate* isolate, Zone* zone, HValue* context, HValue* left,
7353 Range* InferRange(Zone* zone) override {
7354 return new(zone) Range(0, String::kMaxUtf16CodeUnit);
7376 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
7536 static HInstruction* New(Isolate* isolate, Zone* zone, HValue* context,
7556 Range* InferRange(Zone* zone) override {
7558 return new(zone) Range(0, String::kMaxOneByteCharCode);
7561 return new(zone) Range(0, String::kMaxUtf16CodeUnit);