Searched refs:kOverflow (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/ftl/ |
D | cast_test.cpp | 44 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/ |
D | cast.h | 26 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/ |
D | insn_folding.cc | 344 case Cond::kOverflow: in FoldWriteFlags() 346 flags_mask = PseudoWriteFlags::Flags::kOverflow; in FoldWriteFlags() 350 flags_mask = PseudoWriteFlags::Flags::kOverflow; in FoldWriteFlags()
|
D | insn_folding_test.cc | 553 TestFoldCond(Cond::kOverflow, Cond::kNotEqual, PseudoWriteFlags::Flags::kOverflow); in TEST() 554 TestFoldCond(Cond::kNoOverflow, Cond::kEqual, PseudoWriteFlags::Flags::kOverflow); in TEST()
|
D | code_emit.cc | 313 as->Setcc(CodeEmitter::Condition::kOverflow, as->rax); in Emit()
|
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/ |
D | text_assembler_common.h | 43 kOverflow = 0, enumerator 429 case Condition::kOverflow: in Instruction()
|
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/ |
D | common_x86.h | 52 kOverflow = 0, enumerator 666 case Condition::kOverflow: in GetCondName()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/ |
D | machine_ir.h | 579 kOverflow = 1, enumerator
|