/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreInstrFormats.td | 35 class _F3R<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 37 let Inst{15-11} = opc; 44 class _F3RImm<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 45 : _F3R<opc, outs, ins, asmstr, pattern> { 49 class _FL3R<bits<9> opc, dag outs, dag ins, string asmstr, list<dag> pattern> 51 let Inst{31-27} = opc{8-4}; 53 let Inst{19-16} = opc{3-0}; 60 class _FL3RSrcDst<bits<9> opc, dag outs, dag ins, string asmstr, 61 list<dag> pattern> : _FL3R<opc, outs, ins, asmstr, pattern> { 65 class _F2RUS<bits<5> opc, dag outs, dag ins, string asmstr, list<dag> pattern> [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A 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 …]
|
H A 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,
|
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vnops.c | 43 dtfs_node_lookup(struct puffs_usermount *pu, void *opc, in dtfs_node_lookup() argument 46 struct puffs_node *pn_dir = opc; in dtfs_node_lookup() 47 struct dtfs_file *df = DTFS_CTOF(opc); in dtfs_node_lookup() 99 dtfs_node_access(struct puffs_usermount *pu, void *opc, int acc_mode, in dtfs_node_access() argument 102 struct puffs_node *pn = opc; in dtfs_node_access() 109 dtfs_node_setattr(struct puffs_usermount *pu, void *opc, in dtfs_node_setattr() argument 112 struct puffs_node *pn = opc; in dtfs_node_setattr() 167 dtfs_node_create(struct puffs_usermount *pu, void *opc, in dtfs_node_create() argument 171 struct puffs_node *pn_parent = opc; in dtfs_node_create() 186 dtfs_node_remove(struct puffs_usermount *pu, void *opc, void *targ, in dtfs_node_remove() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEInstrVec.td | 129 multiclass VLDbm<string opcStr, bits<8>opc, RegisterClass RC, dag dag_in, 132 def "" : RVM<opc, (outs RC:$vx), dag_in, 136 def _v : RVM<opc, (outs RC:$vx), !con(dag_in, (ins RC:$base)), 139 multiclass VLDlm<string opcStr, bits<8>opc, RegisterClass RC, dag dag_in> { 140 defm "" : VLDbm<opcStr, opc, RC, dag_in>; 142 defm l : VLDbm<opcStr, opc, RC, !con(dag_in, (ins I32:$vl)), "$vl,">; 143 defm L : VLDbm<opcStr, opc, RC, !con(dag_in, (ins VLS:$vl)), "$vl,">; 147 multiclass VLDtgm<string opcStr, bits<8>opc, RegisterClass RC> { 148 defm rr : VLDlm<opcStr, opc, RC, (ins I64:$sy, I64:$sz)>; 150 defm ir : VLDlm<opcStr, opc, RC, (ins simm7:$sy, I64:$sz)>; [all …]
|
H A D | VEInstrInfo.td | 542 multiclass RRbm<string opcStr, bits<8>opc, 548 def rr : RR<opc, (outs RCo:$sx), (ins RCi:$sy, RCi:$sz), 554 def ri : RR<opc, (outs RCo:$sx), (ins RCi:$sz, immOp:$sy), 558 def rm : RR<opc, (outs RCo:$sx), (ins RCi:$sy, mOp:$sz), 562 def im : RR<opc, (outs RCo:$sx), (ins immOp:$sy, mOp:$sz), 574 multiclass RRNCbm<string opcStr, bits<8>opc, 579 def rr : RR<opc, (outs RCo:$sx), (ins RCi:$sy, RCi:$sz), 583 def ir : RR<opc, (outs RCo:$sx), (ins immOp:$sy, RCi:$sz), 587 def rm : RR<opc, (outs RCo:$sx), (ins RCi:$sy, mOp:$sz), 591 def im : RR<opc, (outs RCo:$sx), (ins immOp:$sy, mOp:$sz), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | SVEInstrFormats.td | 356 class sve_int_ptrue<bits<2> sz8_64, bits<3> opc, string asm, PPRRegOp pprty, 367 let Inst{18-17} = opc{2-1}; 368 let Inst{16} = opc{0}; 374 let Defs = !if(!eq (opc{0}, 1), [NZCV], []); 381 multiclass sve_int_ptrue<bits<3> opc, string asm, SDPatternOperator op> { 382 def _B : sve_int_ptrue<0b00, opc, asm, PPR8, nxv16i1, op>; 383 def _H : sve_int_ptrue<0b01, opc, asm, PPR16, nxv8i1, op>; 384 def _S : sve_int_ptrue<0b10, opc, asm, PPR32, nxv4i1, op>; 385 def _D : sve_int_ptrue<0b11, opc, asm, PPR64, nxv2i1, op>; 734 class sve_int_pfalse<bits<6> opc, string asm> [all …]
|
H A D | AArch64InstrFormats.td | 1751 class CRmSystemI<Operand crmtype, bits<3> opc, string asm, 1758 let Inst{7-5} = opc; 1980 // case opc of 1987 class BaseBranchReg<bits<4> opc, dag oops, dag iops, string asm, 1991 let Inst{24-21} = opc; 1997 class BranchReg<bits<4> opc, string asm, list<dag> pattern> 1998 : BaseBranchReg<opc, (outs), (ins GPR64:$Rn), asm, "\t$Rn", pattern> { 2004 class SpecialReturn<bits<4> opc, string asm> 2005 : BaseBranchReg<opc, (outs), (ins), asm, "", []> { 2041 class AuthOneOperand<bits<3> opc, bits<1> M, string asm> [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMInstrFormats.td | 571 string opc, string asm, string cstr, 578 let AsmString = !strconcat(opc, "${p}", asm); 586 string opc, string asm, string cstr, 591 let AsmString = !strconcat(opc, asm); 602 string opc, string asm, string cstr, 612 let AsmString = !strconcat(opc, "${s}${p}", asm); 630 string opc, string asm, list<dag> pattern> 632 opc, asm, "", pattern>; 634 string opc, string asm, list<dag> pattern> 636 opc, asm, "", pattern>; [all …]
|
H A D | ARMInstrThumb2.td | 443 string opc, string asm, list<dag> pattern> 444 : T2I<oops, iops, itin, opc, asm, pattern> { 456 string opc, string asm, list<dag> pattern> 457 : T2sI<oops, iops, itin, opc, asm, pattern> { 469 string opc, string asm, list<dag> pattern> 470 : T2I<oops, iops, itin, opc, asm, pattern> { 482 string opc, string asm, list<dag> pattern> 483 : T2I<oops, iops, itin, opc, asm, pattern> { 495 string opc, string asm, list<dag> pattern> 496 : T2sI<oops, iops, itin, opc, asm, pattern> { [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_decoder_function.c | 224 uint8_t opc, ext, ext2; in pt_df_fetch() local 241 opc = *pos++; in pt_df_fetch() 242 switch (opc) { in pt_df_fetch() 245 if ((opc & pt_opm_tnt_8) == pt_opc_tnt_8) { in pt_df_fetch() 250 if ((opc & pt_opm_cyc) == pt_opc_cyc) { in pt_df_fetch() 255 if ((opc & pt_opm_tip) == pt_opc_tip) { in pt_df_fetch() 260 if ((opc & pt_opm_fup) == pt_opc_fup) { in pt_df_fetch() 265 if ((opc & pt_opm_tip) == pt_opc_tip_pge) { in pt_df_fetch() 270 if ((opc & pt_opm_tip) == pt_opc_tip_pgd) { in pt_df_fetch()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrAVX512.td | 1038 multiclass avx512_broadcast_rm_split<bits<8> opc, string OpcodeStr, 1047 def rr : AVX512PI<opc, MRMSrcReg, (outs MaskInfo.RC:$dst), (ins SrcInfo.RC:$src), 1055 def rrkz : AVX512PI<opc, MRMSrcReg, (outs MaskInfo.RC:$dst), 1068 def rrk : AVX512PI<opc, MRMSrcReg, (outs MaskInfo.RC:$dst), 1083 def rm : AVX512PI<opc, MRMSrcMem, (outs MaskInfo.RC:$dst), 1094 def rmkz : AVX512PI<opc, MRMSrcMem, (outs MaskInfo.RC:$dst), 1110 def rmk : AVX512PI<opc, MRMSrcMem, (outs MaskInfo.RC:$dst), 1127 multiclass avx512_broadcast_rm<bits<8> opc, string OpcodeStr, 1132 avx512_broadcast_rm_split<opc, OpcodeStr, SchedRR, SchedRM, 1136 multiclass avx512_fp_broadcast_sd<bits<8> opc, string OpcodeStr, [all …]
|
H A D | X86InstrXOP.td | 13 multiclass xop2op<bits<8> opc, string OpcodeStr, Intrinsic Int> { 14 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src), 17 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins i128mem:$src), 42 multiclass xop2opsld<bits<8> opc, string OpcodeStr, Intrinsic Int, 45 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src), 48 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins memop:$src), 54 multiclass xop2op128<bits<8> opc, string OpcodeStr, Intrinsic Int, 56 def rr : IXOP<opc, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src), 59 def rm : IXOP<opc, MRMSrcMem, (outs VR128:$dst), (ins f128mem:$src), 65 multiclass xop2op256<bits<8> opc, strin [all...] |
H A D | X86InstrFMA.td | 36 multiclass fma3p_rm_213<bits<8> opc, string OpcodeStr, RegisterClass RC, 39 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst), 47 def m : FMA3<opc, MRMSrcMem, (outs RC:$dst), 56 multiclass fma3p_rm_231<bits<8> opc, string OpcodeStr, RegisterClass RC, 60 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst), 67 def m : FMA3<opc, MRMSrcMem, (outs RC:$dst), 76 multiclass fma3p_rm_132<bits<8> opc, string OpcodeStr, RegisterClass RC, 80 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst), 89 def m : FMA3<opc, MRMSrcMem, (outs RC:$dst), 177 multiclass fma3s_rm_213<bits<8> opc, string OpcodeStr, [all …]
|
H A D | X86Instr3DNow.td | 28 multiclass I3DNow_binop_rm<bits<8> opc, string Mn, 32 def rr : I3DNow_binop<opc, MRMSrcReg, (ins VR64:$src1, VR64:$src2), Mn, 35 def rm : I3DNow_binop<opc, MRMSrcMem, (ins VR64:$src1, i64mem:$src2), Mn, 40 multiclass I3DNow_conv_rm<bits<8> opc, string Mn, 44 def rr : I3DNow_conv<opc, MRMSrcReg, (ins VR64:$src), Mn, 47 def rm : I3DNow_conv<opc, MRMSrcMem, (ins i64mem:$src), Mn,
|
H A D | X86InstrTBM.td | 18 multiclass tbm_bextri<bits<8> opc, RegisterClass RC, string OpcodeStr, 23 def ri : Ii32<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, immtype:$cntl), 28 def mi : Ii32<opc, MRMSrcMem, (outs RC:$dst), 43 multiclass tbm_binary_rm<bits<8> opc, Format FormReg, Format FormMem, 47 def rr : I<opc, FormReg, (outs RC:$dst), (ins RC:$src), 51 def rm : I<opc, FormMem, (outs RC:$dst), (ins x86memop:$src), 57 multiclass tbm_binary_intr<bits<8> opc, string OpcodeStr, 60 defm NAME#32 : tbm_binary_rm<opc, FormReg, FormMem, GR32, OpcodeStr#"{l}", 62 defm NAME#64 : tbm_binary_rm<opc, FormReg, FormMem, GR64, OpcodeStr#"{q}",
|
H A D | X86InstrMMX.td | 34 multiclass MMXI_binop_rm_int<bits<8> opc, string OpcodeStr, Intrinsic IntId, 37 def rr : MMXI<opc, MRMSrcReg, (outs VR64:$dst), 44 def rm : MMXI<opc, MRMSrcMem, (outs VR64:$dst), 51 multiclass MMXI_binop_rmi_int<bits<8> opc, bits<8> opc2, Format ImmForm, 55 def rr : MMXI<opc, MRMSrcReg, (outs VR64:$dst), 60 def rm : MMXI<opc, MRMSrcMem, (outs VR64:$dst), 74 multiclass SS3I_unop_rm_int_mm<bits<8> opc, string OpcodeStr, 76 def rr : MMXSS38I<opc, MRMSrcReg, (outs VR64:$dst), (ins VR64:$src), 81 def rm : MMXSS38I<opc, MRMSrcMem, (outs VR64:$dst), (ins i64mem:$src), 89 multiclass SS3I_binop_rm_int_mm<bits<8> opc, strin [all...] |
H A D | X86InstrSSE.td | 20 multiclass sse12_fp_scalar<bits<8> opc, string OpcodeStr, SDPatternOperator OpNode, 26 def rr : SI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2), 33 def rm : SI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2), 43 multiclass sse12_fp_scalar_int<bits<8> opc, 49 def rr_Int : SI_Int<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2), 56 def rm_Int : SI_Int<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, memopr:$src2), 66 multiclass sse12_fp_packed<bits<8> opc, string OpcodeStr, SDPatternOperator OpNode, 72 def rr : PI<opc, MRMSrcReg, (outs RC:$dst), (ins RC:$src1, RC:$src2), 79 def rm : PI<opc, MRMSrcMem, (outs RC:$dst), (ins RC:$src1, x86memop:$src2), 89 multiclass sse12_fp_packed_logical_rm<bits<8> opc, RegisterClass RC, Domain d, [all …]
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_test.c | 50 enum nvme_nvm_opcode opc; 60 enum nvme_nvm_opcode opc; 105 bio->bio_cmd = (io_test->opc == NVME_OPC_READ) ? in nvme_ns_bio_test() 181 switch (tth->opc) { in nvme_ns_io_test_cb() 207 tth->opc = io_test->opc; in nvme_ns_io_test() 245 if ((io_test->opc != NVME_OPC_READ) && in nvme_ns_test() 246 (io_test->opc != NVME_OPC_WRITE)) in nvme_ns_test() 254 io_test_internal->opc = io_test->opc; in nvme_ns_test() 49 enum nvme_nvm_opcode opc; global() member 59 enum nvme_nvm_opcode opc; global() member [all...] |
H A D | nvme_ctrlr_cmd.c | 43 cmd->opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_controller() 65 cmd->opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_namespace() 85 cmd->opc = NVME_OPC_CREATE_IO_CQ; in nvme_ctrlr_cmd_create_io_cq() 109 cmd->opc = NVME_OPC_CREATE_IO_SQ; in nvme_ctrlr_cmd_create_io_sq() 133 cmd->opc = NVME_OPC_DELETE_IO_CQ; in nvme_ctrlr_cmd_delete_io_cq() 154 cmd->opc = NVME_OPC_DELETE_IO_SQ; in nvme_ctrlr_cmd_delete_io_sq() 177 cmd->opc = NVME_OPC_SET_FEATURES; in nvme_ctrlr_cmd_set_feature() 199 cmd->opc = NVME_OPC_GET_FEATURES; in nvme_ctrlr_cmd_get_feature() 270 cmd->opc = NVME_OPC_GET_LOG_PAGE; in nvme_ctrlr_cmd_get_log_page() 334 cmd->opc = NVME_OPC_ABORT; in nvme_ctrlr_cmd_abort()
|
H A D | nvme_qpair.c | 102 get_opcode_string(const char *op[DEFAULT_INDEX + 1], uint16_t opc) in get_opcode_string() argument 104 const char *nm = opc < DEFAULT_INDEX ? op[opc] : op[DEFAULT_INDEX]; in get_opcode_string() 110 get_admin_opcode_string(uint16_t opc) in get_admin_opcode_string() argument 112 return (get_opcode_string(admin_opcode, opc)); in get_admin_opcode_string() 116 get_io_opcode_string(uint16_t opc) in get_io_opcode_string() argument 118 return (get_opcode_string(io_opcode, opc)); in get_io_opcode_string() 128 get_admin_opcode_string(cmd->opc), cmd->opc, qpair->id, cmd->cid, in nvme_admin_qpair_print_command() 137 switch (cmd->opc) { in nvme_io_qpair_print_command() 146 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid, le32toh(cmd->nsid), in nvme_io_qpair_print_command() 157 get_io_opcode_string(cmd->opc), qpair->id, cmd->cid, le32toh(cmd->nsid)); in nvme_io_qpair_print_command() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 84 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument() local 86 if (mulop == nullptr && opc == BO_Mul) in CheckMallocArgument() 88 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl) in CheckMallocArgument() 96 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument() 98 } else if ((opc == BO_Add || opc == BO_Mul) && in CheckMallocArgument() 101 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_all.c | 69 nvmeio->cmd.opc = cmd; in nvme_ns_cmd() 143 if (cmd->opc >= nitems(nvme_opc2str)) in nvme_op_string() 145 return nvme_opc2str[cmd->opc]; in nvme_op_string() 183 cmd->opc, cmd->fuse, cmd->nsid, in nvme_cmd_sbuf()
|
/freebsd/usr.sbin/nvmfd/ |
H A D | controller.c | 194 cmd->opc != NVME_OPC_FABRICS_COMMANDS) { in controller_handle_admin_commands() 196 cmd->opc); in controller_handle_admin_commands() 208 switch (cmd->opc) { in controller_handle_admin_commands() 217 warnx("Unsupported admin opcode %#x", cmd->opc); in controller_handle_admin_commands()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 46 unsigned opc, ///< opcode of the second cast constant expression in foldConstantCastPair() argument 52 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair() 58 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair() 123 static Constant *foldMaybeUndesirableCast(unsigned opc, Constant *V, in foldMaybeUndesirableCast() argument 125 return ConstantExpr::isDesirableCastOp(opc) in foldMaybeUndesirableCast() 126 ? ConstantExpr::getCast(opc, V, DestTy) in foldMaybeUndesirableCast() 127 : ConstantFoldCastInstruction(opc, V, DestTy); in foldMaybeUndesirableCast() 130 Constant *llvm::ConstantFoldCastInstruction(unsigned opc, Constant *V, in ConstantFoldCastInstruction() argument 139 if (opc == Instruction::ZExt || opc == Instruction::SExt || in ConstantFoldCastInstruction() 140 opc == Instruction::UIToFP || opc == Instruction::SIToFP) in ConstantFoldCastInstruction() [all …]
|