• Home
  • Raw
  • Download

Lines Matching refs:mode

113   static constexpr bool IsRealRelocMode(Mode mode) {  in IsRealRelocMode()  argument
114 return mode >= FIRST_REAL_RELOC_MODE && mode <= LAST_REAL_RELOC_MODE; in IsRealRelocMode()
117 static constexpr bool IsGCRelocMode(Mode mode) { in IsGCRelocMode() argument
118 return mode <= LAST_GCED_ENUM; in IsGCRelocMode()
120 static constexpr bool IsShareableRelocMode(Mode mode) { in IsShareableRelocMode() argument
124 return mode >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE; in IsShareableRelocMode()
126 static constexpr bool IsCodeTarget(Mode mode) { return mode == CODE_TARGET; } in IsCodeTarget() argument
127 static constexpr bool IsCodeTargetMode(Mode mode) { in IsCodeTargetMode() argument
128 return mode <= LAST_CODE_TARGET_MODE; in IsCodeTargetMode()
130 static constexpr bool IsRelativeCodeTarget(Mode mode) { in IsRelativeCodeTarget() argument
131 return mode == RELATIVE_CODE_TARGET; in IsRelativeCodeTarget()
133 static constexpr bool IsEmbeddedObject(Mode mode) { in IsEmbeddedObject() argument
134 return mode == EMBEDDED_OBJECT; in IsEmbeddedObject()
136 static constexpr bool IsRuntimeEntry(Mode mode) { in IsRuntimeEntry() argument
137 return mode == RUNTIME_ENTRY; in IsRuntimeEntry()
139 static constexpr bool IsWasmCall(Mode mode) { return mode == WASM_CALL; } in IsWasmCall() argument
140 static constexpr bool IsWasmStubCall(Mode mode) { in IsWasmStubCall() argument
141 return mode == WASM_STUB_CALL; in IsWasmStubCall()
143 static constexpr bool IsComment(Mode mode) { return mode == COMMENT; } in IsComment() argument
144 static constexpr bool IsConstPool(Mode mode) { return mode == CONST_POOL; } in IsConstPool() argument
145 static constexpr bool IsVeneerPool(Mode mode) { return mode == VENEER_POOL; } in IsVeneerPool() argument
146 static constexpr bool IsDeoptPosition(Mode mode) { in IsDeoptPosition() argument
147 return mode == DEOPT_SCRIPT_OFFSET || mode == DEOPT_INLINING_ID; in IsDeoptPosition()
149 static constexpr bool IsDeoptReason(Mode mode) { in IsDeoptReason() argument
150 return mode == DEOPT_REASON; in IsDeoptReason()
152 static constexpr bool IsDeoptId(Mode mode) { return mode == DEOPT_ID; } in IsDeoptId() argument
153 static constexpr bool IsExternalReference(Mode mode) { in IsExternalReference() argument
154 return mode == EXTERNAL_REFERENCE; in IsExternalReference()
156 static constexpr bool IsInternalReference(Mode mode) { in IsInternalReference() argument
157 return mode == INTERNAL_REFERENCE; in IsInternalReference()
159 static constexpr bool IsInternalReferenceEncoded(Mode mode) { in IsInternalReferenceEncoded() argument
160 return mode == INTERNAL_REFERENCE_ENCODED; in IsInternalReferenceEncoded()
162 static constexpr bool IsOffHeapTarget(Mode mode) { in IsOffHeapTarget() argument
163 return mode == OFF_HEAP_TARGET; in IsOffHeapTarget()
165 static constexpr bool IsNone(Mode mode) { return mode == NONE; } in IsNone() argument
166 static constexpr bool IsWasmReference(Mode mode) { in IsWasmReference() argument
167 return IsWasmPtrReference(mode); in IsWasmReference()
169 static constexpr bool IsJsToWasmCall(Mode mode) { in IsJsToWasmCall() argument
170 return mode == JS_TO_WASM_CALL; in IsJsToWasmCall()
172 static constexpr bool IsWasmPtrReference(Mode mode) { in IsWasmPtrReference() argument
173 return mode == WASM_CALL || mode == JS_TO_WASM_CALL; in IsWasmPtrReference()
176 static bool IsOnlyForSerializer(Mode mode) { in IsOnlyForSerializer() argument
181 return mode == EXTERNAL_REFERENCE; in IsOnlyForSerializer()
185 return mode == EXTERNAL_REFERENCE || mode == OFF_HEAP_TARGET; in IsOnlyForSerializer()
189 static constexpr int ModeMask(Mode mode) { return 1 << mode; } in ModeMask() argument
439 bool SetMode(RelocInfo::Mode mode) { in SetMode() argument
440 return (mode_mask_ & (1 << mode)) ? (rinfo_.rmode_ = mode, true) : false; in SetMode()