/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_regexp_stub_builder.cpp | 44 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_GLOBAL)); in GetFlags() 57 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_IGNORECASE)); in GetFlags() 70 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_MULTILINE)); in GetFlags() 83 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_DOTALL)); in GetFlags() 96 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_UTF16)); in GetFlags() 109 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_STICKY)); in GetFlags() 122 bitFlagsStr = Int32Or(*bitFlagsStr, Int32(RegExpParser::FLAG_HASINDICES)); in GetFlags()
|
H A D | builtins_proxy_stub_builder.h | 66 GateRef newVal = Int32Or(Int32And(bitfield, Int32Not(mask)),
in SetIsRevoked()
|
H A D | builtins_array_stub_builder.cpp | 4711 elementKind = Int32Or(TaggedToElementKind(*value), *elementKind); in FastCreateArrayWithArgv()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_builder-inl.h | 483 inline GateRef StubBuilder::Int32Or(GateRef x, GateRef y) in Int32Or() function in panda::ecmascript::kungfu::StubBuilder 485 return env_->GetBuilder()->Int32Or(x, y); in Int32Or() 2105 GateRef newVal = Int32Or(Int32And(bitfield1, Int32Not(mask)), in SetIsAllTaggedProp() 2155 GateRef newVal = Int32Or(Int32And(bitfield, Int32Not(mask)), in SetIsProtoTypeToHClass() 2167 GateRef newVal = Int32Or(Int32And(bitfield, Int32Not(mask)), in SetIsTS() 2249 Int32Or(oldWithMask, newValue)); in SetNumberOfPropsToHClass() 2270 GateRef newBitfield = Int32Or(oldWithMask, newValue); in SetElementsKindToTrackInfo() 2280 GateRef newBitfield = Int32Or(oldWithMask, newValue); in SetSpaceFlagToTrackInfo() 2878 GateRef newVal = Int32Or(Int32And(bitfield, Int32Not(mask)), in SetHClassBit() 3256 GateRef newVal = Int32Or(Int32An in SetCompiledCodeFlagToFunction() [all...] |
H A D | profiler_stub_builder.cpp | 447 newTrackType = Int32Or(oldTrackType, *newTrackType); in UpdateTrackTypeInPropAttr() 618 Int32Or(*oldPrama, Int32LSL(*newTrue, Int32(PGOSampleType::WEIGHT_TRUE_START_BIT))); in ProfileBranch() 619 newSlotValue = Int32Or(newSlotValue, Int32LSL(*newFalse, Int32(PGOSampleType::WEIGHT_START_BIT))); in ProfileBranch()
|
H A D | typed_hcr_lowering.cpp | 1975 GateRef mixLength = builder_.Int32Or(len, in LowerStringAdd() 2002 GateRef mixLength = builder_.Int32Or(len, in LowerStringAdd() 2035 GateRef mixLength = builder_.Int32Or(len, in LowerStringAdd() 2056 GateRef mixLength = builder_.Int32Or(len, in LowerStringAdd() 2106 mixLength = builder_.Int32Or(len, builder_.Int32(EcmaString::STRING_COMPRESSED)); in AllocateLineString() 2113 mixLength = builder_.Int32Or(len, builder_.Int32(EcmaString::STRING_UNCOMPRESSED)); in AllocateLineString() 2147 mixLength = builder_.Int32Or(len, builder_.Int32(EcmaString::STRING_COMPRESSED)); in AllocateSlicedString() 2152 mixLength = builder_.Int32Or(len, builder_.Int32(EcmaString::STRING_UNCOMPRESSED)); in AllocateSlicedString()
|
H A D | hcr_circuit_builder.cpp | 700 bitfield = Int32Or(Int32And(bitfield, Int32Not(mask)), encodeValue); in SetExtensibleToBitfield()
|
H A D | number_speculative_lowering.cpp | 836 value = builder_.Int32Or(left, right, GateType::NJSValue()); in LogicalInts()
|
H A D | mcr_circuit_builder.cpp | 1231 hash = Int32Or(rawHashcode, Int32(EcmaString::IS_INTEGER_MASK)); in SetRawHashcode() 1254 return Int32Or(Int32LSL(word, Int32(shift)), Int32LSR(word, Int32(MAX_BITS - shift))); in Rotl()
|
H A D | operations_stub_builder.cpp | 1142 GateRef val = Int32Or(*opNumber0, *opNumber1); in Or()
|
H A D | stub_builder.cpp | 1933 GateRef newMapValue = Int32Or(oldsetValue, mask); in SetSValueWithBarrier() 2005 GateRef newmapValue = Int32Or(oldsetValue, GetBitMask(bitOffset)); in SetNonSValueWithBarrier() 2043 GateRef newmapValue = Int32Or(oldsetValue, GetBitMask(bitOffset)); in SetNonSValueWithBarrier() 3783 newKind = Int32Or(newKind, kind); in TransitToElementsKind() 3784 newKind = Int32Or(newKind, elementsKind); in TransitToElementsKind() 10190 GateRef compiledCodeFlag = Int32Or(compiledCodeField, Int32LSL(ZExtInt1ToInt32(isFastCall), in SetCompiledCodeFlagToFunctionFromMethod()
|
H A D | circuit_builder.h | 85 V(Int32Or, Or, MachineType::I32) \
|
H A D | stub_builder.h | 231 GateRef Int32Or(GateRef x, GateRef y);
|
H A D | typed_native_inline_lowering.cpp | 1832 return builder->Int32Or(valueShifted, nz); in BuildMathSignInt()
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | instruction_combine_test.cpp | 1068 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(x, zero)), x); // x | 0 => x in HWTEST_F_L0() 1069 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(x, neg_one)), neg_one); // x | -1 => -1 in HWTEST_F_L0() 1070 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(two, one)), three); // 2 | 1 => 3 in HWTEST_F_L0() 1071 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(x, x)), x); // x | x => x in HWTEST_F_L0() 1073 auto result = instcombie.VisitGate(b.Int32Or(b.Int32And(x, b.Int32(-1431655765)), b.Int32(1431655765))); in HWTEST_F_L0()
|