Home
last modified time | relevance | path

Searched refs:kOverflow (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/ftl/
Dcast_test.cpp44 static_assert(cast_safety<int8_t>(128u) == CastSafety::kOverflow);
47 static_assert(cast_safety<int32_t>(static_cast<float>(INT32_MAX)) == CastSafety::kOverflow);
57 static_assert(cast_safety<uint32_t>(max<uint64_t>) == CastSafety::kOverflow);
59 CastSafety::kOverflow);
65 static_assert(cast_safety<int16_t>(max<uint16_t>) == CastSafety::kOverflow);
70 CastSafety::kOverflow);
79 static_assert(cast_safety<uint32_t>(max<int64_t>) == CastSafety::kOverflow);
84 CastSafety::kOverflow);
91 static_assert(cast_safety<int8_t>(128) == CastSafety::kOverflow);
97 static_assert(cast_safety<int32_t>(max<int64_t>) == CastSafety::kOverflow);
[all …]
/frameworks/native/include/ftl/
Dcast.h26 enum class CastSafety { kSafe, kUnderflow, kOverflow }; enumerator
63 return v <= L::max() ? CastSafety::kSafe : CastSafety::kOverflow; in cast_safety()
68 : CastSafety::kOverflow; in cast_safety()
76 : CastSafety::kOverflow; in cast_safety()
79 return v <= L::max() ? CastSafety::kSafe : CastSafety::kOverflow; in cast_safety()
/frameworks/libs/binary_translation/backend/x86_64/
Dinsn_folding.cc344 case Cond::kOverflow: in FoldWriteFlags()
346 flags_mask = PseudoWriteFlags::Flags::kOverflow; in FoldWriteFlags()
350 flags_mask = PseudoWriteFlags::Flags::kOverflow; in FoldWriteFlags()
Dinsn_folding_test.cc553 TestFoldCond(Cond::kOverflow, Cond::kNotEqual, PseudoWriteFlags::Flags::kOverflow); in TEST()
554 TestFoldCond(Cond::kNoOverflow, Cond::kEqual, PseudoWriteFlags::Flags::kOverflow); in TEST()
Dcode_emit.cc313 as->Setcc(CodeEmitter::Condition::kOverflow, as->rax); in Emit()
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/
Dtext_assembler_common.h43 kOverflow = 0, enumerator
429 case Condition::kOverflow: in Instruction()
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/
Dcommon_x86.h52 kOverflow = 0, enumerator
666 case Condition::kOverflow: in GetCondName()
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dmachine_ir.h579 kOverflow = 1, enumerator