• Home
  • Raw
  • Download

Lines Matching refs:mode

127   static constexpr bool IsRealRelocMode(Mode mode) {  in IsRealRelocMode()  argument
128 return mode >= FIRST_REAL_RELOC_MODE && mode <= LAST_REAL_RELOC_MODE; in IsRealRelocMode()
131 static constexpr bool IsGCRelocMode(Mode mode) { in IsGCRelocMode() argument
132 return mode <= LAST_GCED_ENUM; in IsGCRelocMode()
134 static constexpr bool IsShareableRelocMode(Mode mode) { in IsShareableRelocMode() argument
135 return mode == RelocInfo::NO_INFO || in IsShareableRelocMode()
136 mode >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE; in IsShareableRelocMode()
138 static constexpr bool IsCodeTarget(Mode mode) { return mode == CODE_TARGET; } in IsCodeTarget() argument
139 static constexpr bool IsCodeTargetMode(Mode mode) { in IsCodeTargetMode() argument
140 return mode <= LAST_CODE_TARGET_MODE; in IsCodeTargetMode()
142 static constexpr bool IsRelativeCodeTarget(Mode mode) { in IsRelativeCodeTarget() argument
143 return mode == RELATIVE_CODE_TARGET; in IsRelativeCodeTarget()
145 static constexpr bool IsFullEmbeddedObject(Mode mode) { in IsFullEmbeddedObject() argument
146 return mode == FULL_EMBEDDED_OBJECT; in IsFullEmbeddedObject()
148 static constexpr bool IsCompressedEmbeddedObject(Mode mode) { in IsCompressedEmbeddedObject() argument
149 return COMPRESS_POINTERS_BOOL && mode == COMPRESSED_EMBEDDED_OBJECT; in IsCompressedEmbeddedObject()
151 static constexpr bool IsDataEmbeddedObject(Mode mode) { in IsDataEmbeddedObject() argument
152 return mode == DATA_EMBEDDED_OBJECT; in IsDataEmbeddedObject()
154 static constexpr bool IsEmbeddedObjectMode(Mode mode) { in IsEmbeddedObjectMode() argument
155 return base::IsInRange(mode, FIRST_EMBEDDED_OBJECT_RELOC_MODE, in IsEmbeddedObjectMode()
159 static constexpr bool IsRuntimeEntry(Mode mode) { in IsRuntimeEntry() argument
160 return mode == RUNTIME_ENTRY; in IsRuntimeEntry()
162 static constexpr bool IsWasmCall(Mode mode) { return mode == WASM_CALL; } in IsWasmCall() argument
163 static constexpr bool IsWasmReference(Mode mode) { return mode == WASM_CALL; } in IsWasmReference() argument
164 static constexpr bool IsWasmStubCall(Mode mode) { in IsWasmStubCall() argument
165 return mode == WASM_STUB_CALL; in IsWasmStubCall()
167 static constexpr bool IsConstPool(Mode mode) { return mode == CONST_POOL; } in IsConstPool() argument
168 static constexpr bool IsVeneerPool(Mode mode) { return mode == VENEER_POOL; } in IsVeneerPool() argument
169 static constexpr bool IsDeoptPosition(Mode mode) { in IsDeoptPosition() argument
170 return mode == DEOPT_SCRIPT_OFFSET || mode == DEOPT_INLINING_ID; in IsDeoptPosition()
172 static constexpr bool IsDeoptReason(Mode mode) { in IsDeoptReason() argument
173 return mode == DEOPT_REASON; in IsDeoptReason()
175 static constexpr bool IsDeoptId(Mode mode) { return mode == DEOPT_ID; } in IsDeoptId() argument
176 static constexpr bool IsLiteralConstant(Mode mode) { in IsLiteralConstant() argument
177 return mode == LITERAL_CONSTANT; in IsLiteralConstant()
179 static constexpr bool IsDeoptNodeId(Mode mode) { in IsDeoptNodeId() argument
180 return mode == DEOPT_NODE_ID; in IsDeoptNodeId()
182 static constexpr bool IsExternalReference(Mode mode) { in IsExternalReference() argument
183 return mode == EXTERNAL_REFERENCE; in IsExternalReference()
185 static constexpr bool IsInternalReference(Mode mode) { in IsInternalReference() argument
186 return mode == INTERNAL_REFERENCE; in IsInternalReference()
188 static constexpr bool IsInternalReferenceEncoded(Mode mode) { in IsInternalReferenceEncoded() argument
189 return mode == INTERNAL_REFERENCE_ENCODED; in IsInternalReferenceEncoded()
191 static constexpr bool IsOffHeapTarget(Mode mode) { in IsOffHeapTarget() argument
192 return mode == OFF_HEAP_TARGET; in IsOffHeapTarget()
194 static constexpr bool IsNoInfo(Mode mode) { return mode == NO_INFO; } in IsNoInfo() argument
196 static bool IsOnlyForSerializer(Mode mode) { in IsOnlyForSerializer() argument
201 return mode == EXTERNAL_REFERENCE; in IsOnlyForSerializer()
205 return mode == EXTERNAL_REFERENCE || mode == OFF_HEAP_TARGET; in IsOnlyForSerializer()
209 static constexpr int ModeMask(Mode mode) { return 1 << mode; } in ModeMask() argument
315 Mode mode = rmode(); in Visit() local
316 if (IsEmbeddedObjectMode(mode)) { in Visit()
318 } else if (IsCodeTargetMode(mode)) { in Visit()
320 } else if (IsExternalReference(mode)) { in Visit()
322 } else if (IsInternalReference(mode) || IsInternalReferenceEncoded(mode)) { in Visit()
324 } else if (IsRuntimeEntry(mode)) { in Visit()
326 } else if (IsOffHeapTarget(mode)) { in Visit()
483 bool SetMode(RelocInfo::Mode mode) { in SetMode() argument
484 return (mode_mask_ & (1 << mode)) ? (rinfo_.rmode_ = mode, true) : false; in SetMode()