Lines Matching refs:CodeOffset
32 class CodeOffset {
34 ALWAYS_INLINE static CodeOffset FromOffset(uint32_t offset, InstructionSet isa = kRuntimeISA) {
35 return CodeOffset(offset / GetInstructionSetInstructionAlignment(isa));
38 ALWAYS_INLINE static CodeOffset FromCompressedOffset(uint32_t offset) { in FromCompressedOffset()
39 return CodeOffset(offset); in FromCompressedOffset()
53 ALWAYS_INLINE CodeOffset() = default;
54 ALWAYS_INLINE CodeOffset(const CodeOffset&) = default;
55 ALWAYS_INLINE CodeOffset& operator=(const CodeOffset&) = default;
56 ALWAYS_INLINE CodeOffset& operator=(CodeOffset&&) = default;
59 ALWAYS_INLINE explicit CodeOffset(uint32_t value) : value_(value) {} in CodeOffset() function
64 inline bool operator==(const CodeOffset& a, const CodeOffset& b) {
68 inline bool operator!=(const CodeOffset& a, const CodeOffset& b) {
72 inline bool operator<(const CodeOffset& a, const CodeOffset& b) {
76 inline bool operator<=(const CodeOffset& a, const CodeOffset& b) {
80 inline bool operator>(const CodeOffset& a, const CodeOffset& b) {
84 inline bool operator>=(const CodeOffset& a, const CodeOffset& b) {
88 inline std::ostream& operator<<(std::ostream& os, const CodeOffset& offset) {