/external/llvm/lib/Target/XCore/ |
D | XCoreInstrFormats.td | 36 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/llvm/lib/Target/Hexagon/ |
D | HexagonInstrEnc.td | 1 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/ |
D | milenage.c | 36 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 …]
|
D | milenage.h | 12 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/swiftshader/third_party/LLVM/test/TableGen/ |
D | DefmInsideMultiClass.td | 4 class Instruction<bits<4> opc, string Name> { 5 bits<4> opcode = opc; 9 multiclass basic_r<bits<4> opc> { 10 def rr : Instruction<opc, "rr">; 11 def rm : Instruction<opc, "rm">; 14 multiclass basic_s<bits<4> opc> { 15 defm SS : basic_r<opc>; 16 defm SD : basic_r<opc>; 19 multiclass basic_p<bits<4> opc> { 20 defm PS : basic_r<opc>; [all …]
|
D | LetInsideMultiClasses.td | 4 class Instruction<bits<4> opc, string Name> { 5 bits<4> opcode = opc; 10 multiclass basic_r<bits<4> opc> { 12 def rr : Instruction<opc, "rr">; 13 def rm : Instruction<opc, "rm">; 17 def rx : Instruction<opc, "rx">; 20 multiclass basic_ss<bits<4> opc> { 22 defm SS : basic_r<opc>; 25 defm SD : basic_r<opc>;
|
/external/llvm/test/TableGen/ |
D | DefmInsideMultiClass.td | 7 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 …]
|
D | LetInsideMultiClasses.td | 9 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>;
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUInstrInfo.cpp | 33 unsigned opc = I->getOpcode(); in isUncondBranch() local 35 return (opc == SPU::BR in isUncondBranch() 36 || opc == SPU::BRA in isUncondBranch() 37 || opc == SPU::BI); in isUncondBranch() 42 unsigned opc = I->getOpcode(); in isCondBranch() local 44 return (opc == SPU::BRNZr32 in isCondBranch() 45 || opc == SPU::BRNZv4i32 in isCondBranch() 46 || opc == SPU::BRZr32 in isCondBranch() 47 || opc == SPU::BRZv4i32 in isCondBranch() 48 || opc == SPU::BRHNZr16 in isCondBranch() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrAVX512.td | 798 multiclass avx512_broadcast_scalar<bits<8> opc, string OpcodeStr, 802 def r_s : I< opc, MRMSrcReg, (outs DestInfo.RC:$dst), 808 def rk_s : I< opc, MRMSrcReg, (outs DestInfo.RC:$dst), 817 def rkz_s : I< opc, MRMSrcReg, (outs DestInfo.RC:$dst), 828 multiclass avx512_broadcast_rm<bits<8> opc, string OpcodeStr, 831 defm r : AVX512_maskable<opc, MRMSrcReg, DestInfo, (outs DestInfo.RC:$dst), 835 defm m : AVX512_maskable<opc, MRMSrcMem, DestInfo, (outs DestInfo.RC:$dst), 842 defm m_Int : AVX512_maskable<opc, MRMSrcMem, DestInfo, (outs DestInfo.RC:$dst), 851 multiclass avx512_fp_broadcast_vl<bits<8> opc, string OpcodeStr, 853 defm Z : avx512_broadcast_rm<opc, OpcodeStr, _.info512, _.info128>, [all …]
|
D | X86InstrXOP.td | 14 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 …]
|
D | X86Instr3DNow.td | 36 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 …]
|
D | X86InstrMPX.td | 16 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),
|
D | X86InstrFMA.td | 38 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 …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 430 string opc, string asm, string cstr, 437 let AsmString = !strconcat(opc, "${p}", asm); 445 string opc, string asm, string cstr, 450 let AsmString = !strconcat(opc, asm); 461 string opc, string asm, string cstr, 471 let AsmString = !strconcat(opc, "${s}${p}", asm); 489 string opc, string asm, list<dag> pattern> 491 opc, asm, "", pattern>; 493 string opc, string asm, list<dag> pattern> 495 opc, asm, "", pattern>; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMInstrFormats.td | 348 string opc, string asm, string cstr, 355 let AsmString = !strconcat(opc, "${p}", asm); 363 string opc, string asm, string cstr, 368 let AsmString = !strconcat(opc, asm); 379 string opc, string asm, string cstr, 389 let AsmString = !strconcat(opc, "${s}${p}", asm); 407 string opc, string asm, list<dag> pattern> 409 opc, asm, "", pattern>; 411 string opc, string asm, list<dag> pattern> 413 opc, asm, "", pattern>; [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64InstrFormats.td | 879 class CRmSystemI<Operand crmtype, bits<3> opc, string asm, 886 let Inst{7-5} = opc; 1045 // case opc of 1052 class BaseBranchReg<bits<4> opc, dag oops, dag iops, string asm, 1056 let Inst{24-21} = opc; 1062 class BranchReg<bits<4> opc, string asm, list<dag> pattern> 1063 : BaseBranchReg<opc, (outs), (ins GPR64:$Rn), asm, "\t$Rn", pattern> { 1069 class SpecialReturn<bits<4> opc, string asm> 1070 : BaseBranchReg<opc, (outs), (ins), asm, "", []> { 1270 class BaseOneOperandData<bits<3> opc, RegisterClass regtype, string asm, [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | disasm-a2xx.c | 129 #define INSTR(opc, num_srcs) [opc] = { num_srcs, #opc } argument 439 #define INSTR(opc, name, fxn) [opc] = { name, fxn } argument 464 printf("%s", fetch_instructions[fetch->opc].name); in disasm_fetch() 465 fetch_instructions[fetch->opc].fxn(fetch); in disasm_fetch() 477 return (cf->opc == EXEC) || in cf_exec() 478 (cf->opc == EXEC_END) || in cf_exec() 479 (cf->opc == COND_EXEC) || in cf_exec() 480 (cf->opc == COND_EXEC_END) || in cf_exec() 481 (cf->opc == COND_PRED_EXEC) || in cf_exec() 482 (cf->opc == COND_PRED_EXEC_END) || in cf_exec() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | instr-a3xx.h | 35 #define _OPC(cat, opc) (((cat) << NOPC_BITS) | opc) argument 212 #define opc_cat(opc) ((int)((opc) >> NOPC_BITS)) argument 213 #define opc_op(opc) ((unsigned)((opc) & ((1 << NOPC_BITS) - 1))) argument 312 uint32_t opc : 4; member 418 uint32_t opc : 6; member 478 uint32_t opc : 4; member 486 switch (_OPC(3, cat3->opc)) { in instr_cat3_full() 535 uint32_t opc : 6; member 584 uint32_t opc : 5; member 666 uint32_t opc : 5; member [all …]
|
D | ir3_cp.c | 68 if (src_instr->opc == OPC_META_FO) in is_eligible_mov() 75 if (src_instr->opc == OPC_META_PHI) in is_eligible_mov() 115 switch (opc_cat(instr->opc)) { in valid_flags() 145 valid_flags = ir3_cat2_absneg(instr->opc) | in valid_flags() 148 if (ir3_cat2_int(instr->opc)) in valid_flags() 173 valid_flags = ir3_cat3_absneg(instr->opc) | in valid_flags() 320 if (instr->opc == OPC_META_PHI) in reg_cp() 366 if ((n == 1) && is_mad(instr->opc) && in reg_cp() 400 if ((opc_cat(instr->opc) == 3) && (n == 2) && in reg_cp() 436 debug_assert((opc_cat(instr->opc) == 1) || in reg_cp() [all …]
|
D | ir3.h | 133 opc_t opc; member 467 struct ir3_instruction * ir3_instr_create(struct ir3_block *block, opc_t opc); 469 opc_t opc, int nreg); 530 return (opc_cat(instr->opc) == 0); in is_flow() 535 return instr->opc == OPC_KILL; in is_kill() 540 return instr->opc == OPC_NOP; in is_nop() 560 switch (instr->opc) { in is_same_type_mov() 573 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3); in is_alu() 578 return (opc_cat(instr->opc) == 4); in is_sfu() 583 return (opc_cat(instr->opc) == 5); in is_tex() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disasm.c | 38 uint32_t opc : 6; member 459 #define OPC(opc) [INST_OPCODE_##opc] = {#opc, print_opc_default} argument 460 #define OPC_MOV(opc) [INST_OPCODE_##opc] = {#opc, print_opc_mov} argument 461 #define OPC_TEX(opc) [INST_OPCODE_##opc] = {#opc, print_opc_tex} argument 462 #define OPC_IMM(opc) [INST_OPCODE_##opc] = {#opc, print_opc_imm} argument 522 const unsigned opc = instr->opc | (instr->opcode_bit6 << 6); in print_instr() local 523 const char *name = opcs[opc].name; in print_instr() 595 opcs[opc].print(&operands); in print_instr() 597 printf("unknown (%d)", instr->opc); in print_instr()
|
/external/libunwind/src/ia64/ |
D | Gscript.c | 267 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/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86Instr3DNow.td | 36 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 …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 83 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()
|