Home
last modified time | relevance | path

Searched defs:isSigned (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmpl_int_val.h29 IntVal(uint64 val, uint8 bitWidth, bool isSigned) : value(val), width(bitWidth), sign(isSigned) in IntVal()
44 …IntVal(const IntVal &val, uint8 bitWidth, bool isSigned) : IntVal(val.value, bitWidth, isSigned) {} in IntVal()
46 IntVal(const IntVal &val, bool isSigned) : IntVal(val.value, val.width, isSigned) {} in IntVal()
428 IntVal TruncOrExtend(uint8 newWidth, bool isSigned) const in TruncOrExtend()
440 IntVal Trunc(uint8 newWidth, bool isSigned) const in Trunc()
445 IntVal Extend(uint8 newWidth, bool isSigned) const in Extend()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_isa_tbl.h85 static inline X64MOP_t GetSetCCMop(maple::Opcode opcode, Operand::OperandType dTy, bool isSigned, b… in GetSetCCMop()
117 static inline X64MOP_t GetCMovCCMop(maple::Opcode opcode, int32 bitSize, bool isSigned) in GetCMovCCMop()
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
Dencoder64_test_2.cpp281 bool isSigned = std::is_signed<T>::value; in TestDiv() local
354 bool isSigned = std::is_signed<T>::value; in TestDivImm() local
411 bool isSigned = std::is_signed<T>::value; in TestMod() local
485 bool isSigned = std::is_signed<T>::value; in TestModImm() local
597 bool isSigned = std::is_signed<T>::value; in TestParam() local
Dencoder64_test_1.cpp501 bool isSigned = std::is_signed<T>::value; in TestJumpCC() local
594 bool isSigned = std::is_signed<T>::value; in TestLdr() local
/arkcompiler/runtime_core/static_core/compiler/tests/aarch64/
Dencoder64_test_2.cpp425 bool isSigned = std::is_signed<T>::value; in TestDiv() local
496 bool isSigned = std::is_signed_v<T>; in TestDivImm() local
554 bool isSigned = std::is_signed_v<T>; in TestModImm() local
660 bool isSigned = std::is_signed<T>::value; in TestMod() local
759 bool isSigned = std::is_signed<T>::value; in TestParam() local
Dencoder64_test_1.cpp468 bool isSigned = std::is_signed<T>::value; in TestJumpCC() local
581 bool isSigned = std::is_signed<T>::value; in TestLdr() local
/arkcompiler/runtime_core/static_core/compiler/tests/aarch32/
Dencoder32_test_2.cpp345 bool isSigned = std::is_signed<T>::value; in TestDiv() local
473 bool isSigned = std::is_signed<T>::value; in TestMod() local
578 bool isSigned = std::is_signed<T>::value; in TestParam() local
Dencoder32_test_1.cpp487 bool isSigned = std::is_signed<T>::value; in TestLdr() local
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dassembler_aarch64.h392 inline uint32_t LoadAndStoreImm(uint32_t imm, bool isSigned) in LoadAndStoreImm()
Dassembler_aarch64.cpp283 bool isSigned = operand.GetAddrMode() != AddrMode::OFFSET; in Ldr() local
324 bool isSigned = true; in Str() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dencode.h460 static constexpr bool CanOptimizeImmDivModCommon(uint64_t imm, bool isSigned) in CanOptimizeImmDivModCommon()
Dcodegen-inl.h140 bool isSigned = DataType::IsTypeSigned(inst->GetType()); in CallEntrypoint() local
Dencode.cpp133 [[maybe_unused]] bool isSigned) in EncodeDiv()
139 [[maybe_unused]] bool isSigned) in EncodeMod()
Dcodegen.cpp1430 bool isSigned = DataType::IsTypeSigned(returnType); in CreateCallIntrinsic() local
1845 bool isSigned = DataType::IsTypeSigned(returnType); in FinalizeCall() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Disel.cpp98 static MOperator GetFastCvtMopI(uint32 fromSize, uint32 toSize, bool isSigned) in GetFastCvtMopI()
662 PrimType MPISel::GetIntegerPrimTypeFromSize(bool isSigned, uint32 bitSize) in GetIntegerPrimTypeFromSize()
1031 bool isSigned = IsSignedInteger(primType); in SelectExtractbits() local
1103 bool isSigned = !IsPrimitiveUnsigned(toType); in SelectCvtFloat2Int() local
1128 bool isSigned = !IsPrimitiveUnsigned(fromType); in SelectCvtInt2Float() local
1168 bool isSigned = !IsPrimitiveUnsigned(fromType); in SelectIntCvt() local
Dcg_irbuilder.cpp97 ImmOperand &OperandBuilder::CreateImm(uint32 size, int64 value, bool isSigned, MemPool *mp) in CreateImm()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cgfunc.h409 ImmOperand &CreateImmOperand(Operand::OperandType type, int64 val, uint32 size, bool isSigned) in CreateImmOperand()
931 PrimType GetOperandTy(bool isIntty, uint32 dsize, bool isSigned) const in GetOperandTy()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_prop.cpp26 …erflow(const ImmOperand &value1, const ImmOperand &value2, bool is64Bit, bool isAdd, bool isSigned) in MayOverflow()
363 bool isSigned = (newValue < 0); in ArithmeticConstReplace() local
518 bool isSigned = value1.IsSignedValue(); in CanDoConstFold() local
922 …64StrLdrProp::SelectReplaceExt(const Insn &defInsn, RegOperand &base, uint32 amount, bool isSigned, in SelectReplaceExt()
Daarch64_strldr.cpp332 …perand *AArch64StoreLoadOpt::SelectReplaceExt(const Insn &defInsn, RegOperand &base, bool isSigned) in SelectReplaceExt()
Daarch64_cgfunc.cpp1428 bool isSigned = scale < 0; in SelectAsm() local
3310 …bool isSigned = IsPrimitiveInteger(primType) ? IsSignedInteger(primType) : (signedCond ? true : fa… in SelectCondGoto() local
3349 bool isSigned = in SelectCondSpecialCase1() local
3433 bool isSigned = IsSignedInteger(dtype); in SelectAdd() local
3570 bool isSigned = IsSignedInteger(dtype); in SelectMadd() local
3727 bool isSigned = IsSignedInteger(dtype); in SelectSub() local
3749 bool isSigned = IsSignedInteger(dtype); in SelectMpy() local
3916 bool isSigned = IsSignedInteger(dtype); in SelectDiv() local
3929 …::SelectRem(Operand &resOpnd, Operand &lhsOpnd, Operand &rhsOpnd, PrimType primType, bool isSigned, in SelectRem()
4064 bool isSigned = IsSignedInteger(dtype); in SelectRem() local
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dlowering.cpp352 bool isSigned = DataType::IsTypeSigned(input0->GetType()); in TryReplaceDivPowerOfTwo() local
382 bool isSigned = DataType::IsTypeSigned(input0->GetType()); in TryReplaceDivModNonPowerOfTwo() local
415 bool isSigned = DataType::IsTypeSigned(input0->GetType()); in TryReplaceModPowerOfTwo() local
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_MPIsel.cpp1045 static X64MOP_t PickJmpInsn(Opcode brOp, Opcode cmpOp, bool isFloat, bool isSigned) in PickJmpInsn()
1253 bool isSigned = IsSignedInteger(primType); in SelectDivRem() local
1401 bool isSigned = (!IsPrimitiveUnsigned(primOpndType) && !IsPrimitiveFloat(primOpndType)); in SelectCmpResult() local
1442 bool isSigned = !IsPrimitiveUnsigned(primType); in SelectSelect() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
Dencode.cpp97 static vixl::aarch32::DataType Convert(const TypeInfo info, const bool isSigned = false) in Convert()
762 bool Aarch32Encoder::IsNeedToPrepareMemLdS(MemRef mem, const TypeInfo &memType, bool isSigned) in IsNeedToPrepareMemLdS()
840 … vixl::aarch32::Register tmp, bool isSigned, bool copySp) in PrepareMemLdS()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
Dencode.cpp1131 auto extendTo32bit = [this](Reg reg, bool isSigned) { in EncodeCastScalar()
1573 void Amd64Encoder::EncodeDiv(Reg dst, Reg src0, Imm imm, bool isSigned) in EncodeDiv()
1584 void Amd64Encoder::EncodeMod(Reg dst, Reg src0, Imm imm, bool isSigned) in EncodeMod()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dconstantfold.cpp1139 bool isSigned = IsSignedInteger(resultType.GetPrimType()); in CalIntValueFromFloatValue() local
1380 bool isSigned = IsSignedInteger(ptyp); in GetNearestSizePtyp() local

12