| /freebsd-12.1/crypto/openssh/ |
| H A D | chacha.c | 42 #define XOR(v,w) ((v) ^ (w)) macro 50 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 167 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 168 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 169 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 170 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 171 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() 172 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes() 173 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes() 174 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes() [all …]
|
| /freebsd-12.1/sys/crypto/chacha20/ |
| H A D | chacha.c | 46 #define XOR(v,w) ((v) ^ (w)) macro 54 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 172 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 173 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 174 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 175 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 176 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() 177 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes() 178 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes() 179 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes() [all …]
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | chacha_private.h | 41 #define XOR(v,w) ((v) ^ (w)) macro 49 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 167 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 168 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 169 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 170 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 171 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() 172 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes() 173 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes() 174 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes() [all …]
|
| /freebsd-12.1/contrib/unbound/compat/ |
| H A D | chacha_private.h | 41 #define XOR(v,w) ((v) ^ (w)) macro 49 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 167 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 168 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 169 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 170 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 171 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() 172 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes() 173 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes() 174 x7 = XOR(x7,U8TO32_LITTLE(m + 28)); in chacha_encrypt_bytes() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/ref/ |
| H A D | chacha20_ref.c | 31 #define XOR(v, w) ((v) ^ (w)) macro 37 d = ROTATE(XOR(d, a), 16); \ 39 b = ROTATE(XOR(b, c), 12); \ 41 d = ROTATE(XOR(d, a), 8); \ 43 b = ROTATE(XOR(b, c), 7); 168 x0 = XOR(x0, LOAD32_LE(m + 0)); in chacha20_encrypt_bytes() 169 x1 = XOR(x1, LOAD32_LE(m + 4)); in chacha20_encrypt_bytes() 170 x2 = XOR(x2, LOAD32_LE(m + 8)); in chacha20_encrypt_bytes() 171 x3 = XOR(x3, LOAD32_LE(m + 12)); in chacha20_encrypt_bytes() 172 x4 = XOR(x4, LOAD32_LE(m + 16)); in chacha20_encrypt_bytes() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
| H A D | blake2b-compress-avx2.h | 33 #define XOR(a, b) _mm256_xor_si256(a, b) macro 46 d = XOR(d, a); \ 49 b = XOR(b, c); \ 57 d = XOR(d, a); \ 60 b = XOR(b, c); \ 129 XOR(LOAD(&blake2b_IV[4]), _mm256_set_epi64x(f1, f0, t1, t0)); \ 131 a = XOR(a, c); \ 132 b = XOR(b, d); \ 133 a = XOR(a, iv0); \ 134 b = XOR(b, iv1); \
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/ |
| H A D | LanaiAluCode.h | 30 XOR = 0x06, enumerator 91 case XOR: in lanaiAluCodeToString() 112 .Case("xor", XOR) in stringToLanaiAluCode() 133 case ISD::XOR: in isdToLanaiAluCode() 134 return AluCode::XOR; in isdToLanaiAluCode()
|
| H A D | LanaiMemAluCombiner.cpp | 218 return LPAC::XOR; in mergedAluCode()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsCondMov.td | 200 defm : MovzPats1<GPR32, GPR32, MOVZ_I_I, XOR>, INSN_MIPS4_32_NOT_32R6_64R6; 209 defm : MovzPats1<GPR32, GPR64, MOVZ_I_I64, XOR>, 222 defm : MovnPats<GPR32, GPR32, MOVN_I_I, XOR>, INSN_MIPS4_32_NOT_32R6_64R6; 224 defm : MovnPats<GPR32, GPR64, MOVN_I_I64, XOR>, INSN_MIPS4_32_NOT_32R6_64R6, 233 defm : MovzPats1<GPR32, FGR32, MOVZ_I_S, XOR>, INSN_MIPS4_32_NOT_32R6_64R6; 234 defm : MovnPats<GPR32, FGR32, MOVN_I_S, XOR>, INSN_MIPS4_32_NOT_32R6_64R6; 245 defm : MovzPats1<GPR32, AFGR64, MOVZ_I_D32, XOR>, INSN_MIPS4_32_NOT_32R6_64R6, 247 defm : MovnPats<GPR32, AFGR64, MOVN_I_D32, XOR>, INSN_MIPS4_32_NOT_32R6_64R6, 254 defm : MovzPats1<GPR32, FGR64, MOVZ_I_D64, XOR>, INSN_MIPS4_32_NOT_32R6_64R6, 258 defm : MovnPats<GPR32, FGR64, MOVN_I_D64, XOR>, INSN_MIPS4_32_NOT_32R6_64R6,
|
| H A D | MipsInstructionSelector.cpp | 256 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select() 260 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | simplify-rtx.c | 1609 && GET_CODE (op0) == XOR in simplify_binary_operation_1() 2087 case XOR: in simplify_binary_operation_1() 2302 case XOR: in simplify_binary_operation_1() 2756 || code == XOR) in simplify_const_binary_operation() 2777 case XOR: in simplify_const_binary_operation() 2939 case XOR: in simplify_const_binary_operation() 3094 case XOR: in simplify_const_binary_operation() 3653 && op0code == XOR) in simplify_relational_operation_1() 3659 && op0code == XOR in simplify_relational_operation_1() 3667 && op0code == XOR in simplify_relational_operation_1() [all …]
|
| H A D | combine.c | 5046 || GET_CODE (t) == XOR) in simplify_if_then_else() 5053 || GET_CODE (XEXP (t, 0)) == XOR in simplify_if_then_else() 5072 || GET_CODE (XEXP (t, 0)) == XOR) in simplify_if_then_else() 5089 || GET_CODE (XEXP (t, 0)) == XOR in simplify_if_then_else() 5108 || GET_CODE (XEXP (t, 0)) == XOR) in simplify_if_then_else() 7046 case XOR: in force_to_mode() 8452 case XOR: in merge_outer_ops() 8487 case XOR: in merge_outer_ops() 8936 case XOR: in simplify_shift_const_1() 10217 case XOR: in simplify_comparison() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 130 case ISD::XOR: in getArithmeticInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 2490 case ISD::XOR: in Select() 3610 case ISD::XOR: { in tryIntCompareInGPR() 4685 case ISD::XOR: { in Select() 5273 XOR = XOR.getOperand(0); in combineToCMPB() 5274 if (XOR.getOpcode() != ISD::XOR) in combineToCMPB() 5277 LHS = XOR.getOperand(0); in combineToCMPB() 5278 RHS = XOR.getOperand(1); in combineToCMPB() 5291 XOR = XOR.getOperand(0); in combineToCMPB() 5292 if (XOR.getOpcode() != ISD::XOR) in combineToCMPB() 5295 LHS = XOR.getOperand(0); in combineToCMPB() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | TGLexer.h | 53 XConcat, XADD, XAND, XOR, XSRA, XSRL, XSHL, XListConcat, XStrConcat, XCast, enumerator
|
| /freebsd-12.1/libexec/rtld-elf/sparc64/ |
| H A D | reloc.c | 524 #define XOR 0x82c06000 /* xor %g1, 0, %g1 */ macro 676 where[2] = XOR | ((~target) & 0x00001fff); in reloc_jmpslot() 749 where[2] = XOR | (((~offset) >> 12) & 0x00001fff); in reloc_jmpslot()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructions.td | 733 // ((x & z) | (y & (x | z))) -> BFI_INT (XOR x, y), z, y 734 multiclass SHA256MaPattern <Instruction BFI_INT, Instruction XOR, RegisterClass RC64> { 737 (BFI_INT (XOR i32:$x, i32:$y), i32:$z, i32:$y) 743 (BFI_INT (XOR (i32 (EXTRACT_SUBREG $x, sub0)), 747 (BFI_INT (XOR (i32 (EXTRACT_SUBREG $x, sub1)),
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 361 case ISD::XOR: in ShrinkDemandedConstant() 370 if (Opcode == ISD::XOR && Demanded.isSubsetOf(C)) in ShrinkDemandedConstant() 704 case ISD::XOR: { in SimplifyDemandedBits() 1810 case ISD::XOR: in SimplifyDemandedVectorElts() 2532 if ((N0.getOpcode() == ISD::XOR || in SimplifySetCC() 2546 if (N0.getOpcode() == ISD::XOR) { in SimplifySetCC() 2568 if ((Op0.getOpcode() == ISD::XOR) && in SimplifySetCC() 2910 N0.getOpcode() == ISD::XOR) { in SimplifySetCC() 2943 if (N0.getOpcode() == ISD::XOR) in SimplifySetCC() 3003 N1.getOpcode() == ISD::XOR) { in SimplifySetCC() [all …]
|
| H A D | LegalizeVectorOps.cpp | 357 case ISD::XOR: in LegalizeOp() 836 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand || in ExpandSELECT() 863 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT() 1054 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand || in ExpandVSELECT() 1074 SDValue NotMask = DAG.getNode(ISD::XOR, DL, VT, Mask, AllOnes); in ExpandVSELECT()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 387 AND, OR, XOR, enumerator
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | p-exp.y | 216 %left XOR 426 exp : exp XOR exp 1035 {"xor", XOR, BINOP_END}
|
| H A D | ada-exp.y | 188 %left _AND_ OR XOR THEN ELSE 457 exp : exp XOR exp /* Fix for Ada elementwise XOR */
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCVExpandPseudoInsts.cpp | 207 BuildMI(MBB, DL, TII->get(RISCV::XOR), ScratchReg) in insertMaskedMerge() 213 BuildMI(MBB, DL, TII->get(RISCV::XOR), DestReg) in insertMaskedMerge()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 542 case X86ISD::XOR: in IsProfitableToFold() 548 case ISD::XOR: { in IsProfitableToFold() 596 if (U->getOpcode() == ISD::OR || U->getOpcode() == ISD::XOR) { in IsProfitableToFold() 2603 case X86ISD::XOR: in foldLoadStoreIntoMemOperand() 2670 case X86ISD::XOR: { in foldLoadStoreIntoMemOperand() 2690 case X86ISD::XOR: in foldLoadStoreIntoMemOperand() 2711 case X86ISD::XOR: in foldLoadStoreIntoMemOperand() 2737 case X86ISD::XOR: in foldLoadStoreIntoMemOperand() 3426 case ISD::XOR: { in Select() 3481 case ISD::XOR: Op = X86::XOR32ri8; break; in Select() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 79 setOperationAction(ISD::XOR, T, Legal); in initializeHVXLowering() 156 setOperationAction(ISD::XOR, T, Custom); in initializeHVXLowering() 182 setOperationAction(ISD::XOR, BoolW, Custom); in initializeHVXLowering() 195 setOperationAction(ISD::XOR, BoolV, Legal); in initializeHVXLowering() 1259 {DAG.getNode(ISD::XOR, dl, ResTy, {InpV, VecN1}), in LowerHvxCttz() 1539 case ISD::XOR: in LowerHvxOperation()
|