Home
last modified time | relevance | path

Searched refs:Instr (Results 1 – 25 of 2983) sorted by relevance

12345678910>>...120

/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/_pydevd_frame_eval/vendored/bytecode/tests/
H A Dtest_peephole_opt.py54 [Instr("LOAD_CONST", value), Instr(op), Instr("STORE_NAME", "x")]
56 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
72 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
99 self.check(code, Instr("LOAD_CONST", 11), Instr("STORE_NAME", "x"))
110 self.check(code, Instr("LOAD_CONST", 5), Instr("STORE_NAME", "x"))
153 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
172 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
294 self.check(code, Instr("LOAD_NAME", "a"), Instr("STORE_NAME", "x"))
908 [Instr("LOAD_NAME", "x"), Instr("NOP"), Instr("STORE_NAME", "test")]
911 self.check(code, Instr("LOAD_NAME", "x"), Instr("STORE_NAME", "test"))
[all …]
H A Dtest_cfg.py15 Instr,
58 block.extend([Instr("JUMP_ABSOLUTE", block2), Instr("NOP")])
135 self.assertBlocksEqual(code, [Instr("LOAD_CONST", 0)], [Instr("LOAD_CONST", 2)])
282 [Instr("LOAD_CONST", 9), Instr("STORE_NAME", "y")],
320 [Instr("LOAD_CONST", 7, lineno=4), Instr("STORE_NAME", "x", lineno=4)],
321 [Instr("LOAD_CONST", None, lineno=4), Instr("RETURN_VALUE", lineno=4)],
473 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
503 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
514 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
558 [Instr("LOAD_FAST", "arg", lineno=5), Instr("STORE_FAST", "x", lineno=5)]
[all …]
H A Dtest_bytecode.py38 Instr("LOAD_CONST", 7),
39 Instr("STORE_NAME", "x"),
41 Instr("STORE_NAME", "y"),
45 Instr("STORE_NAME", "z"),
68 Instr("LOAD_CONST", 7),
71 Instr("LOAD_CONST", 8),
74 Instr("LOAD_CONST", 9),
101 Instr("LOAD_CONST", 7),
104 Instr("LOAD_CONST", 8),
107 Instr("LOAD_CONST", 9),
[all …]
H A Dtest_instr.py12 Instr,
76 Instr(1)
78 Instr("xxx")
145 Instr("NOP")
150 i = Instr("NOP")
189 instr = Instr("NOP")
232 self.assertEqual(Instr("LOAD_CONST", value), Instr("LOAD_CONST", value))
253 self.assertNotEqual(Instr("LOAD_CONST", 0), Instr("LOAD_CONST", 0.0))
257 Instr("LOAD_CONST", neg_zero), Instr("LOAD_CONST", pos_zero)
271 self.assertNotEqual(Instr("LOAD_CONST", (0,)), Instr("LOAD_CONST", (0.0,)))
[all …]
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode/tests/
H A Dtest_peephole_opt.py55 [Instr("LOAD_CONST", value), Instr(op), Instr("STORE_NAME", "x")]
57 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
73 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
100 self.check(code, Instr("LOAD_CONST", 11), Instr("STORE_NAME", "x"))
111 self.check(code, Instr("LOAD_CONST", 5), Instr("STORE_NAME", "x"))
154 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
173 self.check(code, Instr("LOAD_CONST", result), Instr("STORE_NAME", "x"))
295 self.check(code, Instr("LOAD_NAME", "a"), Instr("STORE_NAME", "x"))
909 [Instr("LOAD_NAME", "x"), Instr("NOP"), Instr("STORE_NAME", "test")]
912 self.check(code, Instr("LOAD_NAME", "x"), Instr("STORE_NAME", "test"))
[all …]
H A Dtest_cfg.py15 Instr,
59 block.extend([Instr("JUMP_ABSOLUTE", block2), Instr("NOP")])
136 self.assertBlocksEqual(code, [Instr("LOAD_CONST", 0)], [Instr("LOAD_CONST", 2)])
283 [Instr("LOAD_CONST", 9), Instr("STORE_NAME", "y")],
321 [Instr("LOAD_CONST", 7, lineno=4), Instr("STORE_NAME", "x", lineno=4)],
322 [Instr("LOAD_CONST", None, lineno=4), Instr("RETURN_VALUE", lineno=4)],
474 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
504 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
515 [Instr("LOAD_CONST", 1, lineno=1), Instr("STORE_NAME", "x", lineno=1)],
559 [Instr("LOAD_FAST", "arg", lineno=5), Instr("STORE_FAST", "x", lineno=5)]
[all …]
H A Dtest_bytecode.py39 Instr("LOAD_CONST", 7),
69 Instr("LOAD_CONST", 7),
332 code.extend([Instr("LOAD_CONST", 1), Instr(opname)])
357 code.extend([Instr("LOAD_CONST", 1), Instr(opname)])
401 code.extend([Instr("LOAD_CONST", 1), Instr("BUILD_MAP", 1)])
408 code.extend([Instr("LOAD_CONST", 1), Instr("BUILD_MAP", 1)])
416 code.extend([Instr("LOAD_CONST", ("a",)), Instr("BUILD_CONST_KEY_MAP", 1)])
424 code.extend([Instr("LOAD_CONST", ("a",)), Instr("BUILD_CONST_KEY_MAP", 1)])
438 code.extend([Instr("LOAD_CONST", 1), Instr("DUP_TOP_TWO")])
450 code.extend([Instr("LOAD_CONST", 1), Instr(opname)])
[all …]
H A Dtest_instr.py12 Instr,
76 Instr(1)
78 Instr("xxx")
145 Instr("NOP")
150 i = Instr("NOP")
189 instr = Instr("NOP")
232 self.assertEqual(Instr("LOAD_CONST", value), Instr("LOAD_CONST", value))
253 self.assertNotEqual(Instr("LOAD_CONST", 0), Instr("LOAD_CONST", 0.0))
257 Instr("LOAD_CONST", neg_zero), Instr("LOAD_CONST", pos_zero)
271 self.assertNotEqual(Instr("LOAD_CONST", (0,)), Instr("LOAD_CONST", (0.0,)))
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/lld/ELF/
H A DAArch64ErrataFix.cpp121 return (Instr & 0xbfff0000) == 0x0d000000 && isST1SingleOpcode(Instr); in isST1Single()
126 return (Instr & 0xbfe00000) == 0x0d800000 && isST1SingleOpcode(Instr); in isST1SinglePost()
130 return isST1Multiple(Instr) || isST1MultiplePost(Instr) || in isST1()
131 isST1Single(Instr) || isST1SinglePost(Instr); in isST1()
183 return isSTPPost(Instr) || isSTPOffset(Instr) || isSTPPre(Instr); in isSTP()
224 static uint32_t getRt(uint32_t Instr) { return (Instr & 0x1f); } in getRt() argument
227 static uint32_t getRn(uint32_t Instr) { return (Instr >> 5) & 0x1f; } in getRn() argument
245 isLoadStoreUnpriv(Instr) || isLoadStoreImmediatePre(Instr) || in isV8SingleRegisterNonStructureLoadStore()
281 isSTPPre(Instr) || isSTPPost(Instr) || isST1SinglePost(Instr) || in hasWriteback()
289 return (isV8NonStructureLoad(Instr) && getRt(Instr) == Reg) || in doesLoadStoreWriteToReg()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/lld/ELF/
H A DAArch64ErrataFix.cpp121 return (Instr & 0xbfff0000) == 0x0d000000 && isST1SingleOpcode(Instr); in isST1Single()
126 return (Instr & 0xbfe00000) == 0x0d800000 && isST1SingleOpcode(Instr); in isST1SinglePost()
130 return isST1Multiple(Instr) || isST1MultiplePost(Instr) || in isST1()
131 isST1Single(Instr) || isST1SinglePost(Instr); in isST1()
183 return isSTPPost(Instr) || isSTPOffset(Instr) || isSTPPre(Instr); in isSTP()
224 static uint32_t getRt(uint32_t Instr) { return (Instr & 0x1f); } in getRt() argument
227 static uint32_t getRn(uint32_t Instr) { return (Instr >> 5) & 0x1f; } in getRn() argument
245 isLoadStoreUnpriv(Instr) || isLoadStoreImmediatePre(Instr) || in isV8SingleRegisterNonStructureLoadStore()
281 isSTPPre(Instr) || isSTPPost(Instr) || isST1SinglePost(Instr) || in hasWriteback()
289 return (isV8NonStructureLoad(Instr) && getRt(Instr) == Reg) || in doesLoadStoreWriteToReg()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/subzero/src/
H A DIceConverter.cpp207 if (OpNum >= Instr->getNumOperands()) { in convertOperand()
210 const Value *Op = Instr->getOperand(OpNum); in convertOperand()
225 switch (Instr->getOpcode()) { in convertInstruction()
364 if (Instr->isConditional()) { in convertBrInstruction()
411 switch (Instr->getPredicate()) { in convertICmpInstruction()
455 switch (Instr->getPredicate()) { in convertFCmpInstruction()
540 unsigned NumCases = Instr->getNumCases(); in convertSwitchInstruction()
544 for (SwitchInst::ConstCaseIt I = Instr->case_begin(), E = Instr->case_end(); in convertSwitchInstruction()
581 NewInst->addArg(convertOperand(Instr, i)); in convertCallInstruction()
592 uint32_t Align = Instr->getAlignment(); in convertAllocaInstruction()
[all …]
H A DIceInstrumentation.cpp61 Inst *Instr = iteratorToInst(Context.getCur()); in instrumentInst() local
62 switch (Instr->getKind()) { in instrumentInst()
70 instrumentBr(Context, llvm::cast<InstBr>(Instr)); in instrumentInst()
73 instrumentCall(Context, llvm::cast<InstCall>(Instr)); in instrumentInst()
76 instrumentCast(Context, llvm::cast<InstCast>(Instr)); in instrumentInst()
82 instrumentFcmp(Context, llvm::cast<InstFcmp>(Instr)); in instrumentInst()
85 instrumentIcmp(Context, llvm::cast<InstIcmp>(Instr)); in instrumentInst()
94 instrumentLoad(Context, llvm::cast<InstLoad>(Instr)); in instrumentInst()
97 instrumentPhi(Context, llvm::cast<InstPhi>(Instr)); in instrumentInst()
100 instrumentRet(Context, llvm::cast<InstRet>(Instr)); in instrumentInst()
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/hipe/rtl/
H A Dhipe_rtl_cfg.erl57 is_comment(Instr) ->
62 is_goto(Instr) ->
65 is_label(Instr) ->
68 label_name(Instr) ->
78 case Instr of
92 fails_to(Instr) ->
93 case Instr of
98 is_branch(Instr) ->
99 case Instr of
118 is_pure_branch(Instr) ->
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/hipe/rtl/
H A Dhipe_rtl_cfg.erl57 is_comment(Instr) ->
62 is_goto(Instr) ->
65 is_label(Instr) ->
68 label_name(Instr) ->
78 case Instr of
92 fails_to(Instr) ->
93 case Instr of
98 is_branch(Instr) ->
99 case Instr of
118 is_pure_branch(Instr) ->
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/hipe/rtl/
H A Dhipe_rtl_cfg.erl57 is_comment(Instr) ->
62 is_goto(Instr) ->
65 is_label(Instr) ->
68 label_name(Instr) ->
78 case Instr of
92 fails_to(Instr) ->
93 case Instr of
98 is_branch(Instr) ->
99 case Instr of
118 is_pure_branch(Instr) ->
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazdebuggergdbmi/test/
H A Dtestinstructionqueue.pas200 Instr: TTestGDBInstruction;
207 Instr.AddReference;
215 Instr.ReleaseReference;
219 Instr.AddReference;
227 Instr.ReleaseReference;
231 Instr.AddReference;
239 Instr.ReleaseReference;
243 Instr.AddReference;
251 Instr.ReleaseReference;
255 Instr.AddReference;
[all …]
/dports/editors/lazarus/lazarus/components/lazdebuggergdbmi/test/
H A Dtestinstructionqueue.pas200 Instr: TTestGDBInstruction;
207 Instr.AddReference;
215 Instr.ReleaseReference;
219 Instr.AddReference;
227 Instr.ReleaseReference;
231 Instr.AddReference;
239 Instr.ReleaseReference;
243 Instr.AddReference;
251 Instr.ReleaseReference;
255 Instr.AddReference;
[all …]
/dports/editors/lazarus-qt5/lazarus/components/lazdebuggergdbmi/test/
H A Dtestinstructionqueue.pas200 Instr: TTestGDBInstruction;
207 Instr.AddReference;
215 Instr.ReleaseReference;
219 Instr.AddReference;
227 Instr.ReleaseReference;
231 Instr.AddReference;
239 Instr.ReleaseReference;
243 Instr.AddReference;
251 Instr.ReleaseReference;
255 Instr.AddReference;
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazdebuggergdbmi/test/
H A Dtestinstructionqueue.pas200 Instr: TTestGDBInstruction;
207 Instr.AddReference;
215 Instr.ReleaseReference;
219 Instr.AddReference;
227 Instr.ReleaseReference;
231 Instr.AddReference;
239 Instr.ReleaseReference;
243 Instr.AddReference;
251 Instr.ReleaseReference;
255 Instr.AddReference;
[all …]
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazdebuggers/lazdebuggerlldb/
H A Dlldbdebugger.pas573 Instr: TLldbInstruction;
1029 Instr := nil;
1243 Instr.ReleaseReference;
1255 Instr.ReleaseReference;
1266 Instr.ReleaseReference;
1392 Instr.ReleaseReference;
1423 s := Instr.Res[i];
1461 if (Instr <> nil) and Instr.IsSuccess then begin
1524 s := Instr.Res[i];
1565 Instr.ReleaseReference;
[all …]
/dports/editors/lazarus/lazarus/components/lazdebuggers/lazdebuggerlldb/
H A Dlldbdebugger.pas564 Instr: TLldbInstruction;
1020 Instr := nil;
1234 Instr.ReleaseReference;
1246 Instr.ReleaseReference;
1257 Instr.ReleaseReference;
1383 Instr.ReleaseReference;
1414 s := Instr.Res[i];
1452 if (Instr <> nil) and Instr.IsSuccess then begin
1515 s := Instr.Res[i];
1556 Instr.ReleaseReference;
[all …]
/dports/editors/lazarus-qt5/lazarus/components/lazdebuggers/lazdebuggerlldb/
H A Dlldbdebugger.pas564 Instr: TLldbInstruction;
1020 Instr := nil;
1234 Instr.ReleaseReference;
1246 Instr.ReleaseReference;
1257 Instr.ReleaseReference;
1383 Instr.ReleaseReference;
1414 s := Instr.Res[i];
1452 if (Instr <> nil) and Instr.IsSuccess then begin
1515 s := Instr.Res[i];
1556 Instr.ReleaseReference;
[all …]
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazdebuggers/lazdebuggerlldb/
H A Dlldbdebugger.pas573 Instr: TLldbInstruction;
1029 Instr := nil;
1243 Instr.ReleaseReference;
1255 Instr.ReleaseReference;
1266 Instr.ReleaseReference;
1392 Instr.ReleaseReference;
1423 s := Instr.Res[i];
1461 if (Instr <> nil) and Instr.IsSuccess then begin
1524 s := Instr.Res[i];
1565 Instr.ReleaseReference;
[all …]
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/compiler/
H A Dclausegen.ml1044 ([Instr.Ins_set_nil], Instr.getSize_set_nil)
1053 (Instr.Ins_set_p_const(c), Instr.getSize_set_p_const)
1133 ([Instr.Ins_set_float(r)], Instr.getSize_set_float)
1297 then (Instr.Ins_unify_nil, Instr.getSize_unify_nil)
1840 ([Instr.Ins_proceed], Instr.getSize_proceed)
1903 (Instr.Ins_execute(ref 0), Instr.getSize_execute)
1916 ([Instr.Ins_fail], Instr.getSize_fail, goalNum)
2032 ([Instr.Ins_decr_universe ; Instr.Ins_deallocate; Instr.Ins_proceed],
2036 ([Instr.Ins_decr_universe ; Instr.Ins_proceed],
2111 ([Instr.Ins_pop_impl_point ; Instr.Ins_deallocate; Instr.Ins_proceed],
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.h78 struct Instr { struct
98 const Instr *getInstruction(uint64_t Address) const;
107 const Instr *getPrevInstructionSequential(const Instr &InstrMeta) const;
108 const Instr *getNextInstructionSequential(const Instr &InstrMeta) const;
111 bool isCFITrap(const Instr &InstrMeta) const;
121 bool canFallThrough(const Instr &InstrMeta) const;
130 const Instr *getDefiniteNextInstruction(const Instr &InstrMeta) const;
135 std::set<const Instr *>
139 bool usesRegisterOperand(const Instr &InstrMeta) const;
177 void addInstruction(const Instr &Instruction);
[all …]

12345678910>>...120