Home
last modified time | relevance | path

Searched refs:opc (Results 1 – 25 of 104) sorted by relevance

12345

/external/llvm/lib/Target/XCore/
DXCoreInstrFormats.td36 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
38 let Inst{15-11} = opc;
45 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
46 : _F3R<opc, outs, ins, asmstr, pattern> {
50 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
52 let Inst{31-27} = opc{8-4};
54 let Inst{19-16} = opc{3-0};
61 class _FL3RSrcDst<bits<9> opc, dag outs, dag ins, string asmstr,
62 list<dag> pattern> : _FL3R<opc, outs, ins, asmstr, pattern> {
66 class _F2RUS<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern>
[all …]
/external/valgrind/auxprogs/
Ds390-check-opcodes.pl202 foreach my $opc (keys %opc_desc) {
203 if (! $csv_desc{$opc}) {
204 print "*** opcode $opc not listed in $csv_file\n";
207 foreach my $opc (keys %csv_desc) {
208 if (! $opc_desc{$opc}) {
209 print "*** opcode $opc not listed in $opc_file\n";
216 foreach my $opc (keys %opc_desc) {
217 if (defined $csv_desc{$opc}) {
218 if ($opc_desc{$opc} ne $csv_desc{$opc}) {
219 print "*** opcode $opc differs:\n";
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonInstrEnc.td1 class Enc_COPROC_VX_3op_v<bits<15> opc> : OpcodeHexagon {
6 let Inst{31-16} = { opc{14-4}, src2};
7 let Inst{13-0} = { opc{3}, src1, opc{2-0}, dst};
196 class Enc_COPROC_VX_cmp<bits<13> opc> : OpcodeHexagon {
201 let Inst{31-16} = { 0b00011, opc{12-7}, src2{4-0} };
202 let Inst{13-0} = { opc{6}, src1{4-0}, opc{5-0}, dst{1-0} };
244 class Enc_COPROC_VX_p2op<bits<5> opc> : OpcodeHexagon {
249 let Inst{31-16} = { 0b00011110, src1{1-0}, 0b0000, opc{4-3} };
250 let Inst{13-0} = { 1, src2{4-0}, opc{2-0}, dst{4-0} };
266 class Enc_COPROC_VX_2op<bits<6> opc> : OpcodeHexagon {
[all …]
/external/wpa_supplicant_8/src/crypto/
Dmilenage.c36 int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, in milenage_f1() argument
44 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f1()
57 tmp3[(i + 8) % 16] = tmp2[i] ^ opc[i]; in milenage_f1()
67 tmp1[i] ^= opc[i]; in milenage_f1()
88 int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, in milenage_f2345() argument
96 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f2345()
108 tmp1[i] = tmp2[i] ^ opc[i]; in milenage_f2345()
114 tmp3[i] ^= opc[i]; in milenage_f2345()
124 tmp1[(i + 12) % 16] = tmp2[i] ^ opc[i]; in milenage_f2345()
129 ck[i] ^= opc[i]; in milenage_f2345()
[all …]
Dmilenage.h12 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
15 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
17 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
19 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
22 int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand,
24 int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand,
/external/llvm/test/TableGen/
DDefmInsideMultiClass.td7 class Instruction<bits<4> opc, string Name> {
8 bits<4> opcode = opc;
12 multiclass basic_r<bits<4> opc> {
13 def rr : Instruction<opc, "rr">;
14 def rm : Instruction<opc, "rm">;
17 multiclass basic_s<bits<4> opc> {
18 defm SS : basic_r<opc>;
19 defm SD : basic_r<opc>;
22 multiclass basic_p<bits<4> opc> {
23 defm PS : basic_r<opc>;
[all …]
DLetInsideMultiClasses.td9 class Instruction<bits<4> opc, string Name> {
10 bits<4> opcode = opc;
15 multiclass basic_r<bits<4> opc> {
17 def rr : Instruction<opc, "rr">;
18 def rm : Instruction<opc, "rm">;
22 def rx : Instruction<opc, "rx">;
25 multiclass basic_ss<bits<4> opc> {
27 defm SS : basic_r<opc>;
30 defm SD : basic_r<opc>;
DBitsInit.td6 bits<2> opc = { 0, 1 };
9 bits<2> a = { opc, opc2 }; // error!
10 bits<2> b = { opc{0}, opc2{0} };
11 bits<2> c = { opc{1}, opc2{1} };
16 // CHECK: bits<2> opc = { 0, 1 };
/external/llvm/lib/Target/X86/
DX86InstrAVX512.td827 multiclass avx512_broadcast_rm<bits<8> opc, string OpcodeStr,
830 defm r : AVX512_maskable<opc, MRMSrcReg, DestInfo, (outs DestInfo.RC:$dst),
835 defm m : AVX512_maskable<opc, MRMSrcMem, DestInfo, (outs DestInfo.RC:$dst),
842 multiclass avx512_fp_broadcast_vl<bits<8> opc, string OpcodeStr,
844 defm Z : avx512_broadcast_rm<opc, OpcodeStr, _.info512, _.info128>,
848 defm Z256 : avx512_broadcast_rm<opc, OpcodeStr, _.info256, _.info128>,
916 multiclass avx512_int_broadcast_reg<bits<8> opc, X86VectorVTInfo _,
918 defm r : AVX512_maskable_in_asm<opc, MRMSrcReg, _, (outs _.RC:$dst),
923 multiclass avx512_int_broadcast_reg_vl<bits<8> opc, AVX512VLVectorVTInfo _,
926 defm Z : avx512_int_broadcast_reg<opc, _.info512, SrcRC>, EVEX_V512;
[all …]
DX86InstrXOP.td14 multiclass xop2op<bits<8> opc, string OpcodeStr, Intrinsic Int, PatFrag memop> {
15 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
18 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins i128mem:$src),
42 multiclass xop2opsld<bits<8> opc, string OpcodeStr, Intrinsic Int,
44 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
47 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins memop:$src),
52 multiclass xop2op128<bits<8> opc, string OpcodeStr, Intrinsic Int,
54 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
57 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins f128mem:$src),
62 multiclass xop2op256<bits<8> opc, string OpcodeStr, Intrinsic Int,
[all …]
DX86Instr3DNow.td36 multiclass I3DNow_binop_rm<bits<8> opc, string Mn> {
37 def rr : I3DNow_binop<opc, MRMSrcReg, (ins VR64:$src1, VR64:$src2), Mn, []>;
38 def rm : I3DNow_binop<opc, MRMSrcMem, (ins VR64:$src1, i64mem:$src2), Mn, []>;
41 multiclass I3DNow_binop_rm_int<bits<8> opc, string Mn, string Ver = ""> {
42 def rr : I3DNow_binop<opc, MRMSrcReg, (ins VR64:$src1, VR64:$src2), Mn,
45 def rm : I3DNow_binop<opc, MRMSrcMem, (ins VR64:$src1, i64mem:$src2), Mn,
51 multiclass I3DNow_conv_rm<bits<8> opc, string Mn> {
52 def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src1), Mn, []>;
53 def rm : I3DNow_conv<opc, MRMSrcMem, (ins i64mem:$src1), Mn, []>;
56 multiclass I3DNow_conv_rm_int<bits<8> opc, string Mn, string Ver = ""> {
[all …]
DX86InstrMPX.td16 multiclass mpx_bound_make<bits<8> opc, string OpcodeStr> {
17 def 32rm: I<opc, MRMSrcMem, (outs BNDR:$dst), (ins i32mem:$src),
20 def 64rm: RI<opc, MRMSrcMem, (outs BNDR:$dst), (ins i64mem:$src),
27 multiclass mpx_bound_check<bits<8> opc, string OpcodeStr> {
28 def 32rm: I<opc, MRMSrcMem, (outs), (ins BNDR:$src1, i32mem:$src2),
31 def 64rm: RI<opc, MRMSrcMem, (outs), (ins BNDR:$src1, i64mem:$src2),
34 def 32rr: I<opc, MRMSrcReg, (outs), (ins BNDR:$src1, GR32:$src2),
37 def 64rr: RI<opc, MRMSrcReg, (outs), (ins BNDR:$src1, GR64:$src2),
DX86InstrFMA.td38 multiclass fma3p_rm<bits<8> opc, string OpcodeStr,
43 def r : FMA3<opc, MRMSrcReg, (outs VR128:$dst),
51 def m : FMA3<opc, MRMSrcMem, (outs VR128:$dst),
59 def rY : FMA3<opc, MRMSrcReg, (outs VR256:$dst),
67 def mY : FMA3<opc, MRMSrcMem, (outs VR256:$dst),
143 multiclass fma3s_rm<bits<8> opc, string OpcodeStr,
147 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst),
154 def m : FMA3<opc, MRMSrcMem, (outs RC:$dst),
177 multiclass fma3s_rm_int<bits<8> opc, string OpcodeStr,
179 def r_Int : FMA3<opc, MRMSrcReg, (outs RC:$dst),
[all …]
DX86InstrCMovSetCC.td17 multiclass CMOV<bits<8> opc, string Mnemonic, PatLeaf CondNode> {
21 : I<opc, MRMSrcReg, (outs GR16:$dst), (ins GR16:$src1, GR16:$src2),
27 : I<opc, MRMSrcReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2),
33 :RI<opc, MRMSrcReg, (outs GR64:$dst), (ins GR64:$src1, GR64:$src2),
43 : I<opc, MRMSrcMem, (outs GR16:$dst), (ins GR16:$src1, i16mem:$src2),
49 : I<opc, MRMSrcMem, (outs GR32:$dst), (ins GR32:$src1, i32mem:$src2),
55 :RI<opc, MRMSrcMem, (outs GR64:$dst), (ins GR64:$src1, i64mem:$src2),
83 multiclass SETCC<bits<8> opc, string Mnemonic, PatLeaf OpNode> {
85 def r : I<opc, MRMXr, (outs GR8:$dst), (ins),
89 def m : I<opc, MRMXm, (outs), (ins i8mem:$dst),
DX86InstrMMX.td96 multiclass MMXI_binop_rm_int<bits<8> opc, string OpcodeStr, Intrinsic IntId,
98 def irr : MMXI<opc, MRMSrcReg, (outs VR64:$dst),
105 def irm : MMXI<opc, MRMSrcMem, (outs VR64:$dst),
113 multiclass MMXI_binop_rmi_int<bits<8> opc, bits<8> opc2, Format ImmForm,
116 def rr : MMXI<opc, MRMSrcReg, (outs VR64:$dst),
121 def rm : MMXI<opc, MRMSrcMem, (outs VR64:$dst),
136 multiclass SS3I_unop_rm_int_mm<bits<8> opc, string OpcodeStr,
138 def rr64 : MMXSS38I<opc, MRMSrcReg, (outs VR64:$dst), (ins VR64:$src),
143 def rm64 : MMXSS38I<opc, MRMSrcMem, (outs VR64:$dst), (ins i64mem:$src),
152 multiclass SS3I_binop_rm_int_mm<bits<8> opc, string OpcodeStr,
[all …]
DX86InstrSSE.td242 multiclass sse12_fp_scalar<bits<8> opc, string OpcodeStr, SDNode OpNode,
246 def rr : SI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2),
253 def rm : SI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2),
262 multiclass sse12_fp_scalar_int<bits<8> opc, string OpcodeStr, RegisterClass RC,
267 def rr_Int : SI_Int<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2),
275 def rm_Int : SI_Int<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, memopr:$src2),
287 multiclass sse12_fp_packed<bits<8> opc, string OpcodeStr, SDNode OpNode,
292 def rr : PI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2),
299 def rm : PI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2),
309 multiclass sse12_fp_packed_logical_rm<bits<8> opc, RegisterClass RC, Domain d,
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrFormats.td420 string opc, string asm, string cstr,
427 let AsmString = !strconcat(opc, "${p}", asm);
435 string opc, string asm, string cstr,
440 let AsmString = !strconcat(opc, asm);
451 string opc, string asm, string cstr,
461 let AsmString = !strconcat(opc, "${s}${p}", asm);
479 string opc, string asm, list<dag> pattern>
481 opc, asm, "", pattern>;
483 string opc, string asm, list<dag> pattern>
485 opc, asm, "", pattern>;
[all …]
DARMInstrThumb2.td296 string opc, string asm, list<dag> pattern>
297 : T2I<oops, iops, itin, opc, asm, pattern> {
309 string opc, string asm, list<dag> pattern>
310 : T2sI<oops, iops, itin, opc, asm, pattern> {
322 string opc, string asm, list<dag> pattern>
323 : T2I<oops, iops, itin, opc, asm, pattern> {
335 string opc, string asm, list<dag> pattern>
336 : T2I<oops, iops, itin, opc, asm, pattern> {
348 string opc, string asm, list<dag> pattern>
349 : T2sI<oops, iops, itin, opc, asm, pattern> {
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td879 class CRmSystemI<Operand crmtype, bits<3> opc, string asm,
886 let Inst{7-5} = opc;
1048 // case opc of
1055 class BaseBranchReg<bits<4> opc, dag oops, dag iops, string asm,
1059 let Inst{24-21} = opc;
1065 class BranchReg<bits<4> opc, string asm, list<dag> pattern>
1066 : BaseBranchReg<opc, (outs), (ins GPR64:$Rn), asm, "\t$Rn", pattern> {
1072 class SpecialReturn<bits<4> opc, string asm>
1073 : BaseBranchReg<opc, (outs), (ins), asm, "", []> {
1273 class BaseOneOperandData<bits<3> opc, RegisterClass regtype, string asm,
[all …]
/external/libunwind/src/ia64/
DGscript.c267 enum ia64_script_insn_opcode opc; in compile_reg() local
275 opc = IA64_INSN_MOVE; in compile_reg()
286 opc = IA64_INSN_MOVE_STACKED_NAT; in compile_reg()
288 opc = IA64_INSN_MOVE_STACKED; in compile_reg()
296 opc = IA64_INSN_MOVE_NAT; in compile_reg()
302 opc = IA64_INSN_MOVE_SCRATCH_NAT; in compile_reg()
304 opc = IA64_INSN_MOVE_SCRATCH; in compile_reg()
323 opc = IA64_INSN_MOVE_SCRATCH; in compile_reg()
333 opc = IA64_INSN_MOVE_NO_NAT; in compile_reg()
337 opc = IA64_INSN_MOVE_SCRATCH; in compile_reg()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp83 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument() local
85 if (mulop == nullptr && opc == BO_Mul) in CheckMallocArgument()
87 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl) in CheckMallocArgument()
95 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument()
97 } else if ((opc == BO_Add || opc == BO_Mul) && in CheckMallocArgument()
100 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument()
/external/valgrind/none/tests/tilegx/
Dgen_insn_test.c179 const struct tilegx_opcode *opc = in encode_insn_tilegx_X() local
185 int op_num = opc->num_operands; in encode_insn_tilegx_X()
188 if ((opc->pipes & 3) == 0) in encode_insn_tilegx_X()
198 insn |= opc->fixed_bit_values[p]; in encode_insn_tilegx_X()
232 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
279 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
340 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
382 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
417 const struct tilegx_opcode *opc = in encode_insn_tilegx_Y() local
424 Int op_num = opc->num_operands; in encode_insn_tilegx_Y()
[all …]
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver_test_noautorun.py43 self._get_idns_and_verify(instruments=[instr], opc=True)
66 self._get_idns_and_verify(instruments=[instr], opc=True)
158 self._get_idns_and_verify(instruments=scpi_instruments, opc=True)
164 self._get_idns_and_verify(instruments=scpi_instruments, opc=False)
184 def _get_idns_and_verify(self, instruments, opc=False): argument
190 scpi_connection = self._open_prologix(instr, opc_on_stanza=opc)
/external/llvm/docs/TableGen/
DLangIntro.rst387 class inst<int opc, string asmstr, dag operandlist>;
389 multiclass ri_inst<int opc, string asmstr> {
390 def _rr : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
392 def _ri : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
413 class inst<int opc, string asmstr, dag operandlist>;
415 class rrinst<int opc, string asmstr>
416 : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
419 class riinst<int opc, string asmstr>
420 : inst<opc, !strconcat(asmstr, " $dst, $src1, $src2"),
437 class Instruction<bits<4> opc, string Name> {
[all …]
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_emit_nvc0.cpp294 CodeEmitterNVC0::emitForm_A(const Instruction *i, uint64_t opc) in emitForm_A() argument
296 code[0] = opc; in emitForm_A()
297 code[1] = opc >> 32; in emitForm_A()
334 CodeEmitterNVC0::emitForm_B(const Instruction *i, uint64_t opc) in emitForm_B() argument
336 code[0] = opc; in emitForm_B()
337 code[1] = opc >> 32; in emitForm_B()
363 CodeEmitterNVC0::emitForm_S(const Instruction *i, uint32_t opc, bool pred) in emitForm_S() argument
365 code[0] = opc; in emitForm_S()
368 if (opc == 0x0d || opc == 0x0e) in emitForm_S()
1397 uint32_t opc; in emitSTORE() local
[all …]

12345