/external/v8/src/interpreter/ |
D | bytecodes.h | 469 static const char* ToString(Bytecode bytecode); 472 static std::string ToString(Bytecode bytecode, OperandScale operand_scale); 475 static uint8_t ToByte(Bytecode bytecode) { in ToByte() argument 476 DCHECK_LE(bytecode, Bytecode::kLast); in ToByte() 477 return static_cast<uint8_t>(bytecode); in ToByte() 482 Bytecode bytecode = static_cast<Bytecode>(value); in FromByte() local 483 DCHECK_LE(bytecode, Bytecode::kLast); in FromByte() 484 return bytecode; in FromByte() 507 static OperandScale PrefixBytecodeToOperandScale(Bytecode bytecode) { in PrefixBytecodeToOperandScale() argument 508 switch (bytecode) { in PrefixBytecodeToOperandScale() [all …]
|
D | bytecode-node.h | 21 V8_INLINE BytecodeNode(Bytecode bytecode, 23 : bytecode_(bytecode), in bytecode_() argument 27 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), operand_count()); in bytecode_() 30 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 32 : bytecode_(bytecode), in bytecode_() argument 36 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), operand_count()); in bytecode_() 40 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 43 : bytecode_(bytecode), in bytecode_() argument 47 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), operand_count()); in bytecode_() 52 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, [all …]
|
D | bytecodes.cc | 98 const char* Bytecodes::ToString(Bytecode bytecode) { in ToString() argument 99 switch (bytecode) { in ToString() 110 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString() argument 113 std::string value(ToString(bytecode)); in ToString() 124 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() argument 125 DCHECK(!IsDebugBreak(bytecode)); in GetDebugBreak() 126 if (bytecode == Bytecode::kWide) { in GetDebugBreak() 129 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak() 132 int bytecode_size = Size(bytecode, OperandScale::kSingle); in GetDebugBreak() 143 int Bytecodes::GetOperandOffset(Bytecode bytecode, int i, in GetOperandOffset() argument [all …]
|
D | bytecode-array-writer.cc | 62 DCHECK(!Bytecodes::IsJump(node->bytecode())); in Write() 65 UpdateExitSeenInBlock(node->bytecode()); in Write() 66 MaybeElideLastBytecode(node->bytecode(), node->source_info().is_valid()); in Write() 73 DCHECK(Bytecodes::IsJump(node->bytecode())); in WriteJump() 78 UpdateExitSeenInBlock(node->bytecode()); in WriteJump() 79 MaybeElideLastBytecode(node->bytecode(), node->source_info().is_valid()); in WriteJump() 87 DCHECK(Bytecodes::IsSwitch(node->bytecode())); in WriteSwitch() 92 UpdateExitSeenInBlock(node->bytecode()); in WriteSwitch() 93 MaybeElideLastBytecode(node->bytecode(), node->source_info().is_valid()); in WriteSwitch() 153 void BytecodeArrayWriter::UpdateExitSeenInBlock(Bytecode bytecode) { in UpdateExitSeenInBlock() argument [all …]
|
D | bytecode-decoder.cc | 106 Bytecode bytecode = Bytecodes::FromByte(bytecode_start[0]); in Decode() local 109 if (Bytecodes::IsPrefixScalingBytecode(bytecode)) { in Decode() 111 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(bytecode); in Decode() 112 bytecode = Bytecodes::FromByte(bytecode_start[1]); in Decode() 121 int bytecode_size = Bytecodes::Size(bytecode, operand_scale); in Decode() 132 os << Bytecodes::ToString(bytecode, operand_scale) << " "; in Decode() 135 if (Bytecodes::IsDebugBreak(bytecode)) return os; in Decode() 137 int number_of_operands = Bytecodes::NumberOfOperands(bytecode); in Decode() 139 OperandType op_type = Bytecodes::GetOperandType(bytecode, i); in Decode() 141 Bytecodes::GetOperandOffset(bytecode, i, operand_scale); in Decode() [all …]
|
D | setup-interpreter-internal.cc | 18 void PrintBuiltinSize(Bytecode bytecode, OperandScale operand_scale, in PrintBuiltinSize() argument 21 Bytecodes::ToString(bytecode, operand_scale).c_str(), in PrintBuiltinSize() 78 Bytecode bytecode, in InstallBytecodeHandler() argument 80 if (!Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) return; in InstallBytecodeHandler() 82 size_t index = Interpreter::GetDispatchTableIndex(bytecode, operand_scale); in InstallBytecodeHandler() 86 Handle<Code> code = GenerateBytecodeHandler(isolate, bytecode, operand_scale, in InstallBytecodeHandler() 90 if (FLAG_print_builtin_size) PrintBuiltinSize(bytecode, operand_scale, code); in InstallBytecodeHandler() 94 std::string name = Bytecodes::ToString(bytecode, operand_scale); in InstallBytecodeHandler()
|
D | interpreter.cc | 63 Bytecode bytecode, OperandScale operand_scale) { in GetAndMaybeDeserializeBytecodeHandler() argument 64 Code* code = GetBytecodeHandler(bytecode, operand_scale); in GetAndMaybeDeserializeBytecodeHandler() 70 DCHECK(Bytecodes::BytecodeHasHandler(bytecode, operand_scale)); in GetAndMaybeDeserializeBytecodeHandler() 71 code = Snapshot::DeserializeHandler(isolate_, bytecode, operand_scale); in GetAndMaybeDeserializeBytecodeHandler() 77 SetBytecodeHandler(bytecode, operand_scale, code); in GetAndMaybeDeserializeBytecodeHandler() 82 Code* Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() argument 85 DCHECK(Bytecodes::BytecodeHasHandler(bytecode, operand_scale)); in GetBytecodeHandler() 86 size_t index = GetDispatchTableIndex(bytecode, operand_scale); in GetBytecodeHandler() 91 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() argument 95 size_t index = GetDispatchTableIndex(bytecode, operand_scale); in SetBytecodeHandler() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | eg_asm.c | 36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build() 37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build() 45 bc->bytecode[id++] = in eg_bytecode_cf_build() 53 bc->bytecode[id++] = in eg_bytecode_cf_build() 61 bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) | in eg_bytecode_cf_build() 65 bc->bytecode[id++] = S_SQ_CF_ALU_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build() 73 bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in eg_bytecode_cf_build() 74 bc->bytecode[id] = S_SQ_CF_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build() 79 bc->bytecode[id] |= S_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(cf->end_of_program); in eg_bytecode_cf_build() 83 bc->bytecode[id++] = S_SQ_CF_ALLOC_EXPORT_WORD0_RW_GPR(cf->output.gpr) | in eg_bytecode_cf_build() [all …]
|
D | r600_asm.c | 1513 bc->bytecode[id] = S_SQ_VTX_WORD0_VTX_INST(vtx->op) | in r600_bytecode_vtx_build() 1519 bc->bytecode[id] |= S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(vtx->mega_fetch_count); in r600_bytecode_vtx_build() 1521 bc->bytecode[id++] = S_SQ_VTX_WORD1_DST_SEL_X(vtx->dst_sel_x) | in r600_bytecode_vtx_build() 1531 bc->bytecode[id] = S_SQ_VTX_WORD2_OFFSET(vtx->offset)| in r600_bytecode_vtx_build() 1534 …bc->bytecode[id] |= ((vtx->buffer_index_mode & 0x3) << 21); // S_SQ_VTX_WORD2_BIM(vtx->buffer_inde… in r600_bytecode_vtx_build() 1536 bc->bytecode[id] |= S_SQ_VTX_WORD2_MEGA_FETCH(1); in r600_bytecode_vtx_build() 1538 bc->bytecode[id++] = 0; in r600_bytecode_vtx_build() 1545 bc->bytecode[id] = S_SQ_TEX_WORD0_TEX_INST( in r600_bytecode_tex_build() 1552 …bc->bytecode[id] |= ((tex->sampler_index_mode & 0x3) << 27) | // S_SQ_TEX_WORD0_SIM(tex->sampler_i… in r600_bytecode_tex_build() 1555 bc->bytecode[id++] = S_SQ_TEX_WORD1_DST_GPR(tex->dst_gpr) | in r600_bytecode_tex_build() [all …]
|
/external/v8/src/compiler/ |
D | bytecode-analysis.cc | 95 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState& in_liveness, in UpdateInLiveness() argument 97 int num_operands = Bytecodes::NumberOfOperands(bytecode); in UpdateInLiveness() 98 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in UpdateInLiveness() 101 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness() 105 DCHECK(Bytecodes::ReadsAccumulator(bytecode)); in UpdateInLiveness() 109 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness() 115 if (Bytecodes::WritesAccumulator(bytecode)) { in UpdateInLiveness() 164 if (Bytecodes::ReadsAccumulator(bytecode)) { in UpdateInLiveness() 203 void UpdateOutLiveness(Bytecode bytecode, BytecodeLivenessState& out_liveness, in UpdateOutLiveness() argument 211 if (bytecode == Bytecode::kSuspendGenerator || in UpdateOutLiveness() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | ttProgram.py | 213 def fromBytecode(self, bytecode): argument 214 self.bytecode = array.array("B", bytecode) 221 del self.bytecode 226 return self.bytecode.tostring() 288 bytecode = self.getBytecode() 289 if not bytecode: 293 writer.dumphex(bytecode) 310 bytecode = [] 311 push = bytecode.append 425 if bytecode: [all …]
|
/external/turbine/java/com/google/turbine/bytecode/ |
D | AnnotationWriter.java | 17 package com.google.turbine.bytecode; 21 import com.google.turbine.bytecode.ClassFile.AnnotationInfo; 22 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 23 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.AnnotationValue; 24 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue; 25 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 26 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue; 27 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 28 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo; 29 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo.FormalParameterTarget; [all …]
|
D | AttributeWriter.java | 17 package com.google.turbine.bytecode; 21 import com.google.turbine.bytecode.Attribute.Annotations; 22 import com.google.turbine.bytecode.Attribute.ConstantValue; 23 import com.google.turbine.bytecode.Attribute.ExceptionsAttribute; 24 import com.google.turbine.bytecode.Attribute.InnerClasses; 25 import com.google.turbine.bytecode.Attribute.MethodParameters; 26 import com.google.turbine.bytecode.Attribute.Signature; 27 import com.google.turbine.bytecode.Attribute.TypeAnnotations; 28 import com.google.turbine.bytecode.ClassFile.AnnotationInfo; 29 import com.google.turbine.bytecode.ClassFile.MethodInfo.ParameterInfo; [all …]
|
D | LowerAttributes.java | 17 package com.google.turbine.bytecode; 20 import com.google.turbine.bytecode.Attribute.AnnotationDefault; 21 import com.google.turbine.bytecode.Attribute.ConstantValue; 22 import com.google.turbine.bytecode.Attribute.ExceptionsAttribute; 23 import com.google.turbine.bytecode.Attribute.InnerClasses; 24 import com.google.turbine.bytecode.Attribute.MethodParameters; 25 import com.google.turbine.bytecode.Attribute.Signature; 26 import com.google.turbine.bytecode.ClassFile.AnnotationInfo; 27 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo;
|
/external/v8/src/snapshot/ |
D | builtin-deserializer.cc | 95 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in DeserializeEagerBuiltinsAndHandlers() argument 97 if (!Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) return; in DeserializeEagerBuiltinsAndHandlers() 103 IsLazyDeserializationEnabled() && Bytecodes::IsLazy(bytecode)) in DeserializeEagerBuiltinsAndHandlers() 105 : DeserializeHandlerRaw(bytecode, operand_scale); in DeserializeEagerBuiltinsAndHandlers() 107 interpreter->SetBytecodeHandler(bytecode, operand_scale, code); in DeserializeEagerBuiltinsAndHandlers() 115 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in DeserializeEagerBuiltinsAndHandlers() argument 116 if (Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) return; in DeserializeEagerBuiltinsAndHandlers() 117 interpreter->SetBytecodeHandler(bytecode, operand_scale, illegal_handler); in DeserializeEagerBuiltinsAndHandlers() 138 Code* BuiltinDeserializer::DeserializeHandler(Bytecode bytecode, in DeserializeHandler() argument 140 allocator()->ReserveForHandler(bytecode, operand_scale); in DeserializeHandler() [all …]
|
D | builtin-deserializer-allocator.cc | 97 [=, &result](Bytecode bytecode, OperandScale operand_scale) { in CreateReservationsForEagerBuiltinsAndHandlers() argument 98 if (!Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) { in CreateReservationsForEagerBuiltinsAndHandlers() 103 Bytecodes::IsLazy(bytecode)) { in CreateReservationsForEagerBuiltinsAndHandlers() 110 const int index = BSU::BytecodeToIndex(bytecode, operand_scale); in CreateReservationsForEagerBuiltinsAndHandlers() 134 const Heap::Chunk& chunk, interpreter::Bytecode bytecode, in InitializeHandlerFromReservation() argument 137 BSU::BytecodeToIndex(bytecode, operand_scale)), in InitializeHandlerFromReservation() 145 HandlerAllocationIndex(BSU::BytecodeToIndex(bytecode, operand_scale)); in InitializeHandlerFromReservation() 149 RegisterCodeObjectReservation(BSU::BytecodeToIndex(bytecode, operand_scale)); in InitializeHandlerFromReservation() 190 [=, &reservation_index](Bytecode bytecode, OperandScale operand_scale) { in InitializeFromReservations() argument 191 if (!Bytecodes::BytecodeHasHandler(bytecode, operand_scale)) { in InitializeFromReservations() [all …]
|
D | builtin-snapshot-utils.cc | 23 int BuiltinSnapshotUtils::BytecodeToIndex(Bytecode bytecode, in BytecodeToIndex() argument 26 BuiltinSnapshotUtils::kNumberOfBuiltins + static_cast<int>(bytecode); in BytecodeToIndex() 41 Bytecode bytecode = Bytecodes::FromByte(x % Bytecodes::kBytecodeCount); in BytecodeFromIndex() local 43 case 0: return {bytecode, OperandScale::kSingle}; in BytecodeFromIndex() 44 case 1: return {bytecode, OperandScale::kDouble}; in BytecodeFromIndex() 45 case 2: return {bytecode, OperandScale::kQuadruple}; in BytecodeFromIndex()
|
/external/turbine/java/com/google/turbine/bytecode/sig/ |
D | SigWriter.java | 17 package com.google.turbine.bytecode.sig; 19 import com.google.turbine.bytecode.sig.Sig.ArrayTySig; 20 import com.google.turbine.bytecode.sig.Sig.BaseTySig; 21 import com.google.turbine.bytecode.sig.Sig.ClassSig; 22 import com.google.turbine.bytecode.sig.Sig.ClassTySig; 23 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig; 24 import com.google.turbine.bytecode.sig.Sig.MethodSig; 25 import com.google.turbine.bytecode.sig.Sig.SimpleClassTySig; 26 import com.google.turbine.bytecode.sig.Sig.TyParamSig; 27 import com.google.turbine.bytecode.sig.Sig.TySig; [all …]
|
D | SigParser.java | 17 package com.google.turbine.bytecode.sig; 20 import com.google.turbine.bytecode.sig.Sig.ArrayTySig; 21 import com.google.turbine.bytecode.sig.Sig.BaseTySig; 22 import com.google.turbine.bytecode.sig.Sig.ClassSig; 23 import com.google.turbine.bytecode.sig.Sig.ClassTySig; 24 import com.google.turbine.bytecode.sig.Sig.LowerBoundTySig; 25 import com.google.turbine.bytecode.sig.Sig.MethodSig; 26 import com.google.turbine.bytecode.sig.Sig.SimpleClassTySig; 27 import com.google.turbine.bytecode.sig.Sig.TyParamSig; 28 import com.google.turbine.bytecode.sig.Sig.TySig; [all …]
|
/external/bcc/src/lua/bpf/spec/ |
D | decoder_spec.lua | 4 local bytecode = require('bpf.ljbytecode') 9 local bc = bytecode.decoder(f) 24 assert.has_error(function() bytecode.decoder(nil)() end) 25 assert.has_error(function() bytecode.decoder(5)() end) 26 assert.has_error(function() bytecode.decoder('test')() end) 29 bytecode.dump(f)
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javassistmodel_JavassistUtils.txt | 7 …Attribute.toMethodSignature(method.getGenericSignature()) ==> javassist.bytecode.SignatureAttribut… 11 …Line 55) classSignature.getReturnType() ==> javassist.bytecode.SignatureAttribute.MethodSignature.… 37 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType… 42 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType… 43 …symbolsolver.javassistmodel.JavassistUtils.typeArgumentToType(javassist.bytecode.SignatureAttribut… 45 …Line 126) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec… 46 …Line 127) classType.getDeclaringClass().getName() ==> javassist.bytecode.SignatureAttribute.ClassT… 47 …Line 127) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec… 48 Line 127) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName() 49 Line 128) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName() [all …]
|
/external/v8/tools/ignition/ |
D | bytecode_dispatches_report.py | 81 for bytecode, counters_from_bytecode in iteritems(dispatches_table): 82 top_bytecodes.append((bytecode, sum(itervalues(counters_from_bytecode)))) 91 for bytecode, counter in top_bytecodes: 92 print "{:>12d}\t{}".format(counter, bytecode) 96 dispatches_table, bytecode, top_count, sort_source_relative): argument 100 if bytecode in destinations: 101 count = destinations[bytecode] 105 bytecode_destinations = dispatches_table[bytecode] 115 def print_top_dispatch_sources_and_destinations(dispatches_table, bytecode, argument 118 dispatches_table, bytecode, top_count, sort_relative) [all …]
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBinder.java | 17 package com.google.turbine.binder.bytecode; 28 import com.google.turbine.bytecode.ClassFile; 29 import com.google.turbine.bytecode.ClassFile.AnnotationInfo; 30 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 31 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue; 32 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 33 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue; 34 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 35 import com.google.turbine.bytecode.ClassReader; 36 import com.google.turbine.bytecode.sig.Sig; [all …]
|
/external/v8/src/ |
D | DEPS | 18 "+src/interpreter/bytecode-array-accessor.h", 19 "+src/interpreter/bytecode-array-iterator.h", 20 "+src/interpreter/bytecode-array-random-iterator.h", 21 "+src/interpreter/bytecode-decoder.h", 22 "+src/interpreter/bytecode-flags.h", 23 "+src/interpreter/bytecode-register.h",
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | DefaultMethodClassFixer.java | 245 ClassReader bytecode; in stubMissingDefaultAndBridgeMethods() local 251 bytecode = checkNotNull(bootclasspath.readIfKnown(implemented), implemented); in stubMissingDefaultAndBridgeMethods() 259 bytecode = in stubMissingDefaultAndBridgeMethods() 265 bytecode.accept( in stubMissingDefaultAndBridgeMethods() 294 ClassReader bytecode = bootclasspath.readIfKnown(internalName); in recordInheritedMethods() local 295 if (bytecode == null) { in recordInheritedMethods() 296 bytecode = in recordInheritedMethods() 300 bytecode.accept(recorder, ClassReader.SKIP_CODE | ClassReader.SKIP_DEBUG); in recordInheritedMethods() 301 internalName = bytecode.getSuperName(); in recordInheritedMethods() 340 ClassReader bytecode = classpath.readIfKnown(anInterface); in collectOrderedCompanionsToTriggerInterfaceClinit() local [all …]
|