Home
last modified time | relevance | path

Searched refs:bytecode (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/external/v8/src/interpreter/
Dbytecodes.h484 static const char* ToString(Bytecode bytecode);
488 static std::string ToString(Bytecode bytecode, OperandScale operand_scale,
492 static uint8_t ToByte(Bytecode bytecode) { in ToByte() argument
493 DCHECK_LE(bytecode, Bytecode::kLast); in ToByte()
494 return static_cast<uint8_t>(bytecode); in ToByte()
499 Bytecode bytecode = static_cast<Bytecode>(value); in FromByte() local
500 DCHECK_LE(bytecode, Bytecode::kLast); in FromByte()
501 return bytecode; in FromByte()
524 static OperandScale PrefixBytecodeToOperandScale(Bytecode bytecode) { in PrefixBytecodeToOperandScale() argument
525 switch (bytecode) { in PrefixBytecodeToOperandScale()
[all …]
Dbytecode-node.h21 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 …]
Dbytecodes.cc98 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
112 std::string value(ToString(bytecode)); in ToString()
123 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() argument
124 DCHECK(!IsDebugBreak(bytecode)); in GetDebugBreak()
125 if (bytecode == Bytecode::kWide) { in GetDebugBreak()
128 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak()
131 int bytecode_size = Size(bytecode, OperandScale::kSingle); in GetDebugBreak()
142 int Bytecodes::GetOperandOffset(Bytecode bytecode, int i, in GetOperandOffset() argument
[all …]
Dbytecode-array-writer.cc85 int BytecodeArrayWriter::CheckBytecodeMatches(BytecodeArray bytecode) { in CheckBytecodeMatches() argument
89 if (bytecode_size != bytecode.length()) mismatches = true; in CheckBytecodeMatches()
93 int first_mismatch = std::min(bytecode_size, bytecode.length()); in CheckBytecodeMatches()
95 if (bytecode_ptr[i] != bytecode.get(i)) { in CheckBytecodeMatches()
110 DCHECK(!Bytecodes::IsJump(node->bytecode())); in Write()
113 UpdateExitSeenInBlock(node->bytecode()); in Write()
114 MaybeElideLastBytecode(node->bytecode(), node->source_info().is_valid()); in Write()
121 DCHECK(Bytecodes::IsForwardJump(node->bytecode())); in WriteJump()
124 UpdateExitSeenInBlock(node->bytecode()); in WriteJump()
125 MaybeElideLastBytecode(node->bytecode(), node->source_info().is_valid()); in WriteJump()
[all …]
Dbytecode-decoder.cc98 Bytecode bytecode = Bytecodes::FromByte(bytecode_start[0]); in Decode() local
101 if (Bytecodes::IsPrefixScalingBytecode(bytecode)) { in Decode()
103 operand_scale = Bytecodes::PrefixBytecodeToOperandScale(bytecode); in Decode()
104 bytecode = Bytecodes::FromByte(bytecode_start[1]); in Decode()
113 int bytecode_size = Bytecodes::Size(bytecode, operand_scale); in Decode()
124 os << Bytecodes::ToString(bytecode, operand_scale) << " "; in Decode()
127 if (Bytecodes::IsDebugBreak(bytecode)) return os; in Decode()
129 int number_of_operands = Bytecodes::NumberOfOperands(bytecode); in Decode()
131 OperandType op_type = Bytecodes::GetOperandType(bytecode, i); in Decode()
133 Bytecodes::GetOperandOffset(bytecode, i, operand_scale); in Decode()
[all …]
Dinterpreter.cc54 Handle<BytecodeArray> bytecode);
81 int BuiltinIndexFromBytecode(Bytecode bytecode, OperandScale operand_scale) { in BuiltinIndexFromBytecode() argument
82 int index = static_cast<int>(bytecode); in BuiltinIndexFromBytecode()
101 Code Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() argument
103 int builtin_index = BuiltinIndexFromBytecode(bytecode, operand_scale); in GetBytecodeHandler()
108 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() argument
112 size_t index = GetDispatchTableIndex(bytecode, operand_scale); in SetBytecodeHandler()
117 size_t Interpreter::GetDispatchTableIndex(Bytecode bytecode, in GetDispatchTableIndex() argument
120 size_t index = static_cast<size_t>(bytecode); in GetDispatchTableIndex()
191 Handle<BytecodeArray> bytecode) { in CheckAndPrintBytecodeMismatch() argument
[all …]
/external/v8/src/regexp/
Dregexp-bytecode-peephole.cc61 BytecodeSequenceNode(int bytecode, Zone* zone);
63 BytecodeSequenceNode& FollowedBy(int bytecode);
66 BytecodeSequenceNode& ReplaceWith(int bytecode);
120 bool CheckArguments(const byte* bytecode, int pc);
131 BytecodeSequenceNode* Find(int bytecode) const;
181 bool OptimizeBytecode(const byte* bytecode, int length);
191 BytecodeSequenceNode& CreateSequence(int bytecode);
194 int TryOptimizeSequence(const byte* bytecode, int bytecode_length,
199 void EmitOptimization(int start_pc, const byte* bytecode,
224 void EmitArgument(int start_pc, const byte* bytecode,
[all …]
Dregexp-bytecodes.h233 inline constexpr int RegExpBytecodeLength(int bytecode) { in RegExpBytecodeLength() argument
234 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeLength()
235 return kRegExpBytecodeLengths[bytecode]; in RegExpBytecodeLength()
244 inline constexpr const char* RegExpBytecodeName(int bytecode) { in RegExpBytecodeName() argument
245 CONSTEXPR_DCHECK(base::IsInRange(bytecode, 0, kRegExpBytecodeCount - 1)); in RegExpBytecodeName()
246 return kRegExpBytecodeNames[bytecode]; in RegExpBytecodeName()
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c36 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 …]
Dr700_asm.c26 void r700_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf) in r700_bytecode_cf_vtx_build() argument
29 *bytecode++ = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in r700_bytecode_cf_vtx_build()
30 *bytecode++ = S_SQ_CF_WORD1_CF_INST(r600_isa_cf_opcode(ISA_CC_R700, cf->op)) | in r700_bytecode_cf_vtx_build()
39 bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) | in r700_bytecode_alu_build()
53 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build()
64 bc->bytecode[id++] = S_SQ_ALU_WORD1_DST_GPR(alu->dst.sel) | in r700_bytecode_alu_build()
132 bc->bytecode[id++] = S_SQ_MEM_RD_WORD0_MEM_INST(2) | in r700_bytecode_fetch_mem_build()
146 bc->bytecode[id++] = S_SQ_MEM_RD_WORD1_DST_GPR(mem->dst_gpr) | in r700_bytecode_fetch_mem_build()
157 bc->bytecode[id++] = S_SQ_MEM_RD_WORD2_ARRAY_BASE(mem->array_base) | in r700_bytecode_fetch_mem_build()
162 bc->bytecode[id++] = 0; /* MEM ops are 4 word aligned */ in r700_bytecode_fetch_mem_build()
Dr600_asm.c1552 bc->bytecode[id] = S_SQ_VTX_WORD0_VTX_INST(r600_isa_fetch_opcode(bc->isa->hw_class, vtx->op)) | in r600_bytecode_vtx_build()
1558 bc->bytecode[id] |= S_SQ_VTX_WORD0_MEGA_FETCH_COUNT(vtx->mega_fetch_count); in r600_bytecode_vtx_build()
1560 bc->bytecode[id++] = S_SQ_VTX_WORD1_DST_SEL_X(vtx->dst_sel_x) | in r600_bytecode_vtx_build()
1570 bc->bytecode[id] = S_SQ_VTX_WORD2_OFFSET(vtx->offset)| in r600_bytecode_vtx_build()
1573 …bc->bytecode[id] |= ((vtx->buffer_index_mode & 0x3) << 21); // S_SQ_VTX_WORD2_BIM(vtx->buffer_inde… in r600_bytecode_vtx_build()
1575 bc->bytecode[id] |= S_SQ_VTX_WORD2_MEGA_FETCH(1); in r600_bytecode_vtx_build()
1577 bc->bytecode[id++] = 0; in r600_bytecode_vtx_build()
1584 bc->bytecode[id] = S_SQ_TEX_WORD0_TEX_INST( in r600_bytecode_tex_build()
1591 …bc->bytecode[id] |= ((tex->sampler_index_mode & 0x3) << 27) | // S_SQ_TEX_WORD0_SIM(tex->sampler_i… in r600_bytecode_tex_build()
1594 bc->bytecode[id++] = S_SQ_TEX_WORD1_DST_GPR(tex->dst_gpr) | in r600_bytecode_tex_build()
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DAnnotationWriter.java17 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 …]
DAttributeWriter.java17 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 …]
DLowerAttributes.java17 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/fonttools/Lib/fontTools/ttLib/tables/
DttProgram.py213 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/v8/src/compiler/
Dbytecode-analysis.cc100 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState* in_liveness, in UpdateInLiveness() argument
102 int num_operands = Bytecodes::NumberOfOperands(bytecode); in UpdateInLiveness()
103 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in UpdateInLiveness()
106 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness()
110 DCHECK(Bytecodes::ReadsAccumulator(bytecode)); in UpdateInLiveness()
114 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness()
120 if (Bytecodes::WritesAccumulator(bytecode)) { in UpdateInLiveness()
169 if (Bytecodes::ReadsAccumulator(bytecode)) { in UpdateInLiveness()
208 void UpdateOutLiveness(Bytecode bytecode, BytecodeLivenessState* out_liveness, in UpdateOutLiveness() argument
216 if (bytecode == Bytecode::kSuspendGenerator || in UpdateOutLiveness()
[all …]
/external/turbine/java/com/google/turbine/bytecode/sig/
DSigWriter.java17 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 …]
DSigParser.java17 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/
Ddecoder_spec.lua4 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/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistUtils.txt7 …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 …]
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistTypeParameter.txt8 Line 69) wrapped.getName() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getName()
9 Line 75) wrapped.getName() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getName()
13 …Line 101) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
16 …Line 101) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
19 …Line 102) wrapped.getClassBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getClass…
20 …Line 104) wrapped.getInterfaceBound() ==> javassist.bytecode.SignatureAttribute.TypeParameter.getI…
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java17 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/desugar/java/com/google/devtools/build/android/desugar/
DDefaultMethodClassFixer.java245 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 …]
/external/v8/src/regexp/experimental/
Dexperimental.cc61 Handle<ByteArray> bytecode; member
89 ZoneList<RegExpInstruction> bytecode = in CompileImpl() local
93 result.bytecode = VectorToByteArray(isolate, bytecode.ToVector()); in CompileImpl()
120 *compilation_result->bytecode); in Compile()
122 *compilation_result->bytecode); in Compile()
144 ByteArray bytecode, String subject, int capture_count, in ExecRawImpl() argument
157 isolate, call_origin, bytecode, register_count_per_match, subject, in ExecRawImpl()
181 ByteArray bytecode = in ExecRaw() local
184 return ExecRawImpl(isolate, call_origin, bytecode, subject, in ExecRaw()
278 *compilation_result->bytecode, *subject, in OneshotExecRaw()
/external/v8/src/
DDEPS35 "+src/interpreter/bytecode-array-accessor.h",
36 "+src/interpreter/bytecode-array-iterator.h",
37 "+src/interpreter/bytecode-array-random-iterator.h",
38 "+src/interpreter/bytecode-decoder.h",
39 "+src/interpreter/bytecode-flags.h",
40 "+src/interpreter/bytecode-register.h",

12345678910>>...19