Home
last modified time | relevance | path

Searched refs:addInstruction (Results 1 – 25 of 63) sorted by relevance

123

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DPayloadAlignmentTest.java53 implBuilder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testPayloadAlignmentRemoveNop()
54 implBuilder.addInstruction(new BuilderArrayPayload(4, null)); in testPayloadAlignmentRemoveNop()
70 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentAddNop()
71 implBuilder.addInstruction(new BuilderArrayPayload(4, null)); in testPayloadAlignmentAddNop()
93 implBuilder.addInstruction(new BuilderInstruction31t(Opcode.FILL_ARRAY_DATA, 0, label)); in testPayloadAlignmentRemoveNopWithReferent()
94 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentRemoveNopWithReferent()
95 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentRemoveNopWithReferent()
96 implBuilder.addInstruction(new BuilderInstruction12x(Opcode.MOVE, 0, 0)); in testPayloadAlignmentRemoveNopWithReferent()
97 implBuilder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testPayloadAlignmentRemoveNopWithReferent()
99 implBuilder.addInstruction(new BuilderArrayPayload(4, null)); in testPayloadAlignmentRemoveNopWithReferent()
[all …]
DMutableMethodImplementationTest.java48 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testTryEndAtEndOfMethod()
49 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testTryEndAtEndOfMethod()
50 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testTryEndAtEndOfMethod()
51 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testTryEndAtEndOfMethod()
52 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testTryEndAtEndOfMethod()
53 builder.addInstruction(new BuilderInstruction32x(Opcode.MOVE_16, 0, 0)); in testTryEndAtEndOfMethod()
73 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testNewLabelByAddress()
74 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testNewLabelByAddress()
75 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testNewLabelByAddress()
76 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testNewLabelByAddress()
[all …]
DFixGotoTest.java22 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, gotoTarget)); in testFixGotoToGoto16()
25 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixGotoToGoto16()
29 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixGotoToGoto16()
45 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, gotoTarget)); in testFixGotoToGoto32()
48 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixGotoToGoto32()
52 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixGotoToGoto32()
68 builder.addInstruction(new BuilderInstruction20t(Opcode.GOTO_16, gotoTarget)); in testFixGoto16ToGoto32()
71 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixGoto16ToGoto32()
75 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixGoto16ToGoto32()
91 builder.addInstruction(new BuilderInstruction20t(Opcode.GOTO_16, goto16Target)); in testFixGotoCascading()
[all …]
DFixOffsetsTest.java56 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, firstGotoTarget)); in testFixOffsets()
61 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixOffsets()
69 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixOffsets()
75 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, secondGotoTarget)); in testFixOffsets()
82 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP)); in testFixOffsets()
91 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testFixOffsets()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DInstructionsBuilderTest.java42 builder.addInstruction(i1); in current_line_number_should_be_applied_to_instructions()
46 builder.addInstruction(i2); in current_line_number_should_be_applied_to_instructions()
48 builder.addInstruction(i3); in current_line_number_should_be_applied_to_instructions()
52 builder.addInstruction(i4); in current_line_number_should_be_applied_to_instructions()
66 builder.addInstruction(i1); in null_probearray_should_not_mark_instruction_as_covered()
77 builder.addInstruction(i1); in unexecuted_probe_should_not_mark_instruction_as_covered()
88 builder.addInstruction(i1); in executed_probe_should_mark_instruction_as_covered()
99 builder.addInstruction(i1); in subsequent_instructions_should_be_linked_by_default()
102 builder.addInstruction(i2); in subsequent_instructions_should_be_linked_by_default()
116 builder.addInstruction(i1); in subsequent_instructions_should_not_be_linked_when_noSuccessor_was_called()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DMethodAnalyzerTest.java67 builder.addInstruction(new BuilderInstruction22c(Opcode.INSTANCE_OF, 0, 1, in testInstanceOfNarrowingEqz_art()
69 …builder.addInstruction(new BuilderInstruction21t(Opcode.IF_EQZ, 0, builder.getLabel("not_instance_… in testInstanceOfNarrowingEqz_art()
70 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testInstanceOfNarrowingEqz_art()
73 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testInstanceOfNarrowingEqz_art()
98 builder.addInstruction(new BuilderInstruction22c(Opcode.INSTANCE_OF, 0, 1, in testInstanceOfNarrowingEqz_dalvik()
100 …builder.addInstruction(new BuilderInstruction21t(Opcode.IF_EQZ, 0, builder.getLabel("not_instance_… in testInstanceOfNarrowingEqz_dalvik()
101 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testInstanceOfNarrowingEqz_dalvik()
104 builder.addInstruction(new BuilderInstruction10x(Opcode.RETURN_VOID)); in testInstanceOfNarrowingEqz_dalvik()
130 builder.addInstruction(new BuilderInstruction22c(Opcode.INSTANCE_OF, 0, 1, in testInstanceOfNarrowingNez_art()
132 …builder.addInstruction(new BuilderInstruction21t(Opcode.IF_NEZ, 0, builder.getLabel("instance_of")… in testInstanceOfNarrowingNez_art()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DMethodAnalyzer.java69 builder.addInstruction(currentNode); in visitInsn()
74 builder.addInstruction(currentNode); in visitIntInsn()
79 builder.addInstruction(currentNode); in visitVarInsn()
84 builder.addInstruction(currentNode); in visitTypeInsn()
90 builder.addInstruction(currentNode); in visitFieldInsn()
96 builder.addInstruction(currentNode); in visitMethodInsn()
102 builder.addInstruction(currentNode); in visitInvokeDynamicInsn()
107 builder.addInstruction(currentNode); in visitJumpInsn()
113 builder.addInstruction(currentNode); in visitLdcInsn()
118 builder.addInstruction(currentNode); in visitIincInsn()
[all …]
/external/llvm-project/mlir/unittests/Dialect/SPIRV/
DDeserializationTest.cpp70 void addInstruction(spirv::Opcode op, ArrayRef<uint32_t> operands) { in addInstruction() function in DeserializationTest
78 addInstruction(spirv::Opcode::OpTypeVoid, {id}); in addVoidType()
84 addInstruction(spirv::Opcode::OpTypeInt, {id, bitwidth, /*signedness=*/1}); in addIntType()
93 addInstruction(spirv::Opcode::OpTypeStruct, words); in addStructType()
103 addInstruction(spirv::Opcode::OpTypeFunction, operands); in addFunctionType()
109 addInstruction(spirv::Opcode::OpFunction, in addFunction()
116 void addFunctionEnd() { addInstruction(spirv::Opcode::OpFunctionEnd, {}); } in addFunctionEnd()
118 void addReturn() { addInstruction(spirv::Opcode::OpReturn, {}); } in addReturn()
172 addInstruction(spirv::Opcode::OpTypeInt, {nextID++, 32}); in TEST_F()
193 addInstruction(spirv::Opcode::OpMemberName, operands1); in TEST_F()
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DCode.java351 addInstruction(new PlainInsn(Rops.GOTO, sourcePosition, null, RegisterSpecList.EMPTY), in jump()
390 addInstruction(new ThrowingInsn(Rops.THROW, sourcePosition, in throwValue()
402 private void addInstruction(Insn insn) { in addInstruction() method in Code
403 addInstruction(insn, null); in addInstruction()
410 private void addInstruction(Insn insn, Label branch) { in addInstruction() method in Code
483 addInstruction(new PlainCstInsn(rop, sourcePosition, target.spec(), in loadConstant()
486 addInstruction(new ThrowingCstInsn(rop, sourcePosition, in loadConstant()
496 addInstruction(new PlainInsn(Rops.opMove(source.type.ropType), in move()
506 addInstruction(new PlainInsn(op.rop(source.type), sourcePosition, in op()
521 addInstruction(new PlainInsn(rop, sourcePosition, target.spec(), sources)); in op()
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp82 void addInstruction(uint8_t Opcode) { in addInstruction() function in llvm::FrameEntry
86 void addInstruction(uint8_t Opcode, uint64_t Operand1) { in addInstruction() function in llvm::FrameEntry
91 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { in addInstruction() function in llvm::FrameEntry
118 addInstruction(Primary, Op1); in parseInstructions()
121 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parseInstructions()
133 addInstruction(Opcode); in parseInstructions()
137 addInstruction(Opcode, Data.getAddress(Offset)); in parseInstructions()
141 addInstruction(Opcode, Data.getU8(Offset)); in parseInstructions()
145 addInstruction(Opcode, Data.getU16(Offset)); in parseInstructions()
149 addInstruction(Opcode, Data.getU32(Offset)); in parseInstructions()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp55 addInstruction(Primary, Op1); in parse()
58 addInstruction(Primary, Op1, Data.getULEB128(Offset)); in parse()
73 addInstruction(Opcode); in parse()
77 addInstruction(Opcode, Data.getRelocatedAddress(Offset)); in parse()
81 addInstruction(Opcode, Data.getRelocatedValue(1, Offset)); in parse()
85 addInstruction(Opcode, Data.getRelocatedValue(2, Offset)); in parse()
89 addInstruction(Opcode, Data.getRelocatedValue(4, Offset)); in parse()
98 addInstruction(Opcode, Data.getULEB128(Offset)); in parse()
102 addInstruction(Opcode, Data.getSLEB128(Offset)); in parse()
114 addInstruction(Opcode, op1, op2); in parse()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp66 addInstruction(Primary, Op1); in parse()
69 addInstruction(Primary, Op1, Data.getULEB128(C)); in parse()
87 addInstruction(Opcode); in parse()
91 addInstruction(Opcode, Data.getRelocatedAddress(C)); in parse()
95 addInstruction(Opcode, Data.getRelocatedValue(C, 1)); in parse()
99 addInstruction(Opcode, Data.getRelocatedValue(C, 2)); in parse()
103 addInstruction(Opcode, Data.getRelocatedValue(C, 4)); in parse()
112 addInstruction(Opcode, Data.getULEB128(C)); in parse()
116 addInstruction(Opcode, Data.getSLEB128(C)); in parse()
128 addInstruction(Opcode, op1, op2); in parse()
[all …]
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g814 $method::methodBuilder.addInstruction(new BuilderInstruction10t(opcode, $label_ref.label));
822 $method::methodBuilder.addInstruction(new BuilderInstruction10x(opcode));
835 $method::methodBuilder.addInstruction(new BuilderInstruction11n(opcode, regA, litB));
845 $method::methodBuilder.addInstruction(new BuilderInstruction11x(opcode, regA));
856 $method::methodBuilder.addInstruction(new BuilderInstruction12x(opcode, regA, regB));
868 $method::methodBuilder.addInstruction(new BuilderInstruction20bc(opcode, verificationError,
877 $method::methodBuilder.addInstruction(new BuilderInstruction20t(opcode, $label_ref.label));
889 $method::methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA,
902 $method::methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA,
915 $method::methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA,
[all …]
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.cpp132 buildPoint->addInstruction(std::unique_ptr<Instruction>(line)); in addLine()
1448 buildPoint->addInstruction(std::unique_ptr<Instruction>(inst)); in makeReturn()
1450 …buildPoint->addInstruction(std::unique_ptr<Instruction>(new Instruction(NoResult, NoType, OpReturn… in makeReturn()
1476 buildPoint->addInstruction(std::unique_ptr<Instruction>(new Instruction(opcode))); in makeStatementTerminator()
1512 buildPoint->addInstruction(std::unique_ptr<Instruction>(inst)); in createUndefined()
1556 buildPoint->addInstruction(std::unique_ptr<Instruction>(store)); in createStore()
1578 buildPoint->addInstruction(std::unique_ptr<Instruction>(load)); in createLoad()
1605 buildPoint->addInstruction(std::unique_ptr<Instruction>(chain)); in createAccessChain()
1616 buildPoint->addInstruction(std::unique_ptr<Instruction>(length)); in createArrayLength()
1633 buildPoint->addInstruction(std::unique_ptr<Instruction>(length)); in createCooperativeMatrixLength()
[all …]
DspvIR.h205 void addInstruction(std::unique_ptr<Instruction> inst);
239 addInstruction(std::unique_ptr<Instruction>(new Instruction(OpUnreachable))); in rewriteAsCanonicalUnreachableMerge()
255 addInstruction(std::unique_ptr<Instruction>(branch)); in rewriteAsCanonicalUnreachableContinue()
497 __inline void Block::addInstruction(std::unique_ptr<Instruction> inst) in addInstruction() function
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
DSpvBuilder.cpp132 buildPoint->addInstruction(std::unique_ptr<Instruction>(line)); in addLine()
1448 buildPoint->addInstruction(std::unique_ptr<Instruction>(inst)); in makeReturn()
1450 …buildPoint->addInstruction(std::unique_ptr<Instruction>(new Instruction(NoResult, NoType, OpReturn… in makeReturn()
1476 buildPoint->addInstruction(std::unique_ptr<Instruction>(new Instruction(opcode))); in makeStatementTerminator()
1512 buildPoint->addInstruction(std::unique_ptr<Instruction>(inst)); in createUndefined()
1556 buildPoint->addInstruction(std::unique_ptr<Instruction>(store)); in createStore()
1578 buildPoint->addInstruction(std::unique_ptr<Instruction>(load)); in createLoad()
1605 buildPoint->addInstruction(std::unique_ptr<Instruction>(chain)); in createAccessChain()
1616 buildPoint->addInstruction(std::unique_ptr<Instruction>(length)); in createArrayLength()
1633 buildPoint->addInstruction(std::unique_ptr<Instruction>(length)); in createCooperativeMatrixLength()
[all …]
DspvIR.h205 void addInstruction(std::unique_ptr<Instruction> inst);
239 addInstruction(std::unique_ptr<Instruction>(new Instruction(OpUnreachable))); in rewriteAsCanonicalUnreachableMerge()
255 addInstruction(std::unique_ptr<Instruction>(branch)); in rewriteAsCanonicalUnreachableContinue()
497 __inline void Block::addInstruction(std::unique_ptr<Instruction> inst) in addInstruction() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DLSUnit.cpp85 NewGroup.addInstruction(); in dispatch()
127 NewGroup.addInstruction(); in dispatch()
149 Group.addInstruction(); in dispatch()
/external/llvm-project/llvm/tools/llvm-mca/
DCodeRegion.h68 void addInstruction(const llvm::MCInst &Instruction) { in addInstruction() function
111 void addInstruction(const llvm::MCInst &Instruction);
DCodeRegion.cpp109 void CodeRegions::addInstruction(const MCInst &Instruction) { in addInstruction() function in llvm::mca::CodeRegions
113 Region->addInstruction(Instruction); in addInstruction()
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
DLSUnit.cpp82 NewGroup.addInstruction(); in dispatch()
152 NewGroup.addInstruction(); in dispatch()
191 Group.addInstruction(); in dispatch()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSnippetRepetitor.cpp35 Entry.addInstruction(Instructions[I % Instructions.size()]); in Repeat()
69 Entry.addInstruction(Inst); in Repeat()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMethodImplementationBuilder.java149 public void addInstruction(@Nullable BuilderInstruction instruction) { in addInstruction() method in MethodImplementationBuilder
150 impl.addInstruction(instruction); in addInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugFrame.h84 void addInstruction(uint8_t Opcode) { in addInstruction() function
89 void addInstruction(uint8_t Opcode, uint64_t Operand1) { in addInstruction() function
95 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { in addInstruction() function
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugFrame.h84 void addInstruction(uint8_t Opcode) { in addInstruction() function
89 void addInstruction(uint8_t Opcode, uint64_t Operand1) { in addInstruction() function
95 void addInstruction(uint8_t Opcode, uint64_t Operand1, uint64_t Operand2) { in addInstruction() function

123