Home
last modified time | relevance | path

Searched refs:REG (Results 1 – 25 of 133) sorted by relevance

123456

/NextBSD/contrib/binutils/opcodes/
HDarc-opc.c313 #define REG (MODDOT + 1) macro
317 #define AUXREG (REG + 1)
1056 if (type == REG) in lookup_register()
1139 const struct arc_operand_value *reg = lookup_register (REG, regno); in extract_reg()
1421 { "r0", 0, REG, 0 }, { "r1", 1, REG, 0 }, { "r2", 2, REG, 0 },
1422 { "r3", 3, REG, 0 }, { "r4", 4, REG, 0 }, { "r5", 5, REG, 0 },
1423 { "r6", 6, REG, 0 }, { "r7", 7, REG, 0 }, { "r8", 8, REG, 0 },
1424 { "r9", 9, REG, 0 }, { "r10", 10, REG, 0 }, { "r11", 11, REG, 0 },
1425 { "r12", 12, REG, 0 }, { "r13", 13, REG, 0 }, { "r14", 14, REG, 0 },
1426 { "r15", 15, REG, 0 }, { "r16", 16, REG, 0 }, { "r17", 17, REG, 0 },
[all …]
HDcr16-opc.c463 #define REG(NAME, N, TYPE) {STRINGX(NAME), {NAME}, N, TYPE} macro
469 #define REG_R(N) REG(CONCAT2(r,N), N, CR16_R_REGTYPE)
475 REG(r12_L, 12, CR16_R_REGTYPE),
476 REG(r13_L, 13, CR16_R_REGTYPE),
477 REG(ra, 0xe, CR16_R_REGTYPE),
478 REG(sp, 0xf, CR16_R_REGTYPE),
479 REG(sp_L, 0xf, CR16_R_REGTYPE),
480 REG(RA, 0xe, CR16_R_REGTYPE),
491 REG((r12), 0xc, CR16_RP_REGTYPE),
492 REG((r13), 0xd, CR16_RP_REGTYPE),
[all …]
/NextBSD/sys/dev/uart/
HDuart_dev_imx.c92 GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)),
93 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
94 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
124 i = (GETREG(bas, REG(UFCR)) & IMXUART_UFCR_RFDIV_MASK) >> in imx_uart_getbaud()
127 ubir = GETREG(bas, REG(UBIR)) + 1; in imx_uart_getbaud()
128 ubmr = GETREG(bas, REG(UBMR)) + 1; in imx_uart_getbaud()
151 SET(bas, REG(UCR1), FLD(UCR1, UARTEN)); in imx_uart_init()
152 SET(bas, REG(UCR2), FLD(UCR2, RXEN) | FLD(UCR2, TXEN)); in imx_uart_init()
196 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
198 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
[all …]
HDuart_dev_imx.h201 #define REG(_r) IMXUART_ ## _r ## _REG macro
216 #define ENA(_bas, _r, _b) SET((_bas), REG(_r), FLD(_r, _b))
217 #define DIS(_bas, _r, _b) CLR((_bas), REG(_r), FLD(_r, _b))
218 #define IS(_bas, _r, _b) IS_SET((_bas), REG(_r), FLD(_r, _b))
/NextBSD/sys/dev/utopia/
HDutopia_priv.h38 #define UTP_READREGS(UTOPIA, REG, VALP, NP) \ argument
39 (UTOPIA)->methods->readregs((UTOPIA)->ifatm, REG, VALP, NP)
40 #define UTP_WRITEREG(UTOPIA, REG, MASK, VAL) \ argument
41 (UTOPIA)->methods->writereg((UTOPIA)->ifatm, REG, MASK, VAL)
/NextBSD/contrib/binutils/bfd/
HDcpu-ia64-opc.c427 #define REG IA64_OPND_CLASS_REG macro
454 { REG, ins_reg, ext_reg, "ar", {{ 7, 20}}, 0, /* AR3 */
456 { REG, ins_reg, ext_reg, "b", {{ 3, 6}}, 0, /* B1 */
458 { REG, ins_reg, ext_reg, "b", {{ 3, 13}}, 0, /* B2 */
460 { REG, ins_reg, ext_reg, "cr", {{ 7, 20}}, 0, /* CR */
462 { REG, ins_reg, ext_reg, "f", {{ 7, 6}}, 0, /* F1 */
464 { REG, ins_reg, ext_reg, "f", {{ 7, 13}}, 0, /* F2 */
466 { REG, ins_reg, ext_reg, "f", {{ 7, 20}}, 0, /* F3 */
468 { REG, ins_reg, ext_reg, "f", {{ 7, 27}}, 0, /* F4 */
470 { REG, ins_reg, ext_reg, "p", {{ 6, 6}}, 0, /* P1 */
[all …]
/NextBSD/contrib/gcc/
HDdf.h446 #define DF_REG_DEF_GET(DF, REG) ((DF)->def_info.regs[(REG)]) argument
447 #define DF_REG_DEF_SET(DF, REG, VAL) ((DF)->def_info.regs[(REG)]=(VAL)) argument
448 #define DF_REG_DEF_COUNT(DF, REG) ((DF)->def_info.regs[(REG)]->n_refs) argument
449 #define DF_REG_USE_GET(DF, REG) ((DF)->use_info.regs[(REG)]) argument
450 #define DF_REG_USE_SET(DF, REG, VAL) ((DF)->use_info.regs[(REG)]=(VAL)) argument
451 #define DF_REG_USE_COUNT(DF, REG) ((DF)->use_info.regs[(REG)]->n_refs) argument
HDaddresses.h34 if (index_code == REG) in base_reg_class()
59 if (index_code == REG) in ok_for_base_p_1()
HDregrename.c572 else if (code0 == REG && code1 == REG) in scan_rtx_address()
578 && regno_ok_for_base_p (regno1, mode, PLUS, REG)) in scan_rtx_address()
581 && regno_ok_for_base_p (regno0, mode, PLUS, REG)) in scan_rtx_address()
583 else if (regno_ok_for_base_p (regno1, mode, PLUS, REG)) in scan_rtx_address()
585 else if (regno_ok_for_base_p (regno0, mode, PLUS, REG)) in scan_rtx_address()
596 else if (code0 == REG) in scan_rtx_address()
602 else if (code1 == REG) in scan_rtx_address()
637 case REG: in scan_rtx_address()
678 case REG: in scan_rtx()
1496 else if (code0 == REG && code1 == REG) in replace_oldest_value_addr()
[all …]
HDregclass.c2022 else if (code0 == REG && code1 == REG in record_address_regs()
2024 && (ok_for_base_p_nonstrict (arg0, mode, PLUS, REG) in record_address_regs()
2027 ok_for_base_p_nonstrict (arg0, mode, PLUS, REG) in record_address_regs()
2029 PLUS, REG, scale); in record_address_regs()
2030 else if (code0 == REG && code1 == REG in record_address_regs()
2032 && (ok_for_base_p_nonstrict (arg1, mode, PLUS, REG) in record_address_regs()
2035 ok_for_base_p_nonstrict (arg1, mode, PLUS, REG) in record_address_regs()
2037 PLUS, REG, scale); in record_address_regs()
2043 else if ((code0 == REG && REG_POINTER (arg0)) in record_address_regs()
2049 else if ((code1 == REG && REG_POINTER (arg1)) in record_address_regs()
[all …]
HDgensupport.c1329 LABEL_REF, SUBREG, REG, MEM }},
1331 LABEL_REF, SUBREG, REG, MEM,
1333 {"register_operand", false, {SUBREG, REG}},
1334 {"pmode_register_operand", true, {SUBREG, REG}},
1335 {"scratch_operand", false, {SCRATCH, REG}},
1340 {"nonimmediate_operand", false, {SUBREG, REG, MEM}},
1342 LABEL_REF, SUBREG, REG}},
1379 if (code != REG in init_predicate_table()
HDbasic-block.h75 #define CLEAR_REGNO_REG_SET(HEAD, REG) bitmap_clear_bit (HEAD, REG) argument
78 #define SET_REGNO_REG_SET(HEAD, REG) bitmap_set_bit (HEAD, REG) argument
81 #define REGNO_REG_SET_P(TO, REG) bitmap_bit_p (TO, REG) argument
/NextBSD/contrib/gcc/config/arm/
HDpredicates.md30 return (GET_CODE (op) == REG
49 return (GET_CODE (op) == REG
62 return (GET_CODE (op) == REG
125 || (GET_CODE (op) == REG
292 if (GET_CODE (SET_DEST (elt)) != REG
293 || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG
302 || GET_CODE (SET_DEST (XVECEXP (op, 0, i - 1))) != REG
314 || GET_CODE (SET_DEST (elt)) != REG
349 if (GET_CODE (SET_DEST (elt)) != REG
350 || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG
[all …]
HDarm.c1683 || (GET_CODE (target) == REG && GET_CODE (source) == REG in arm_split_constant()
3486 if (GET_CODE (x) != REG) in arm_address_register_rtx_p()
3544 && GET_CODE (addend) == REG) in arm_legitimate_address_p()
3696 if (GET_CODE (x) != REG) in thumb_base_register_rtx_p()
3801 else if (GET_CODE (XEXP (x, 0)) == REG in thumb_legitimate_address_p()
3810 else if (GET_CODE (XEXP (x, 0)) == REG in thumb_legitimate_address_p()
4274 (GET_CODE (X) == REG \
4275 || (GET_CODE (X) == SUBREG && GET_CODE (SUBREG_REG (X)) == REG))
4278 (GET_CODE (X) == REG ? (X) : SUBREG_REG (X))
4425 if (mode == SImode && GET_CODE (XEXP (x, 1)) == REG) in arm_rtx_costs_1()
[all …]
HDarm.h1121 || ((GET_CODE (X) == REG || GET_CODE (X) == SUBREG) \
1137 && GET_CODE (XEXP (X, 0)) == REG \
1968 (GET_CODE (X) == REG && ARM_REG_OK_FOR_BASE_P (X))
1971 (GET_CODE (X) == REG && ARM_REG_OK_FOR_INDEX_P (X))
2284 if (GET_CODE (X) == REG) \
2291 if (GET_CODE (base) != REG) \
2309 case REG: \
2338 gcc_assert (GET_CODE (XEXP (X, 0)) == REG); \
2376 if (GET_CODE (X) == REG) \
2382 gcc_assert (GET_CODE (XEXP (X, 0)) == REG); \
/NextBSD/contrib/gcc/config/s390/
HDpredicates.md168 if (GET_CODE (XEXP (op, 0)) != REG
188 if (GET_CODE (XEXP (op, 0)) != REG
233 if (GET_CODE (XEXP (op, 0)) != REG
281 || GET_CODE (SET_DEST (XVECEXP (op, 0, 0))) != REG
291 if (GET_CODE (src_addr) == REG)
294 && GET_CODE (XEXP (src_addr, 0)) == REG
308 || GET_CODE (SET_DEST (elt)) != REG
340 || GET_CODE (SET_SRC (XVECEXP (op, 0, 0))) != REG)
349 if (GET_CODE (dest_addr) == REG)
352 && GET_CODE (XEXP (dest_addr, 0)) == REG
[all …]
/NextBSD/sys/dev/pci/
HDpci.c583 #define REG(n, w) PCIB_READ_CONFIG(pcib, b, s, f, n, w) in pci_hdrtypedata() macro
586 cfg->subvendor = REG(PCIR_SUBVEND_0, 2); in pci_hdrtypedata()
587 cfg->subdevice = REG(PCIR_SUBDEV_0, 2); in pci_hdrtypedata()
588 cfg->mingnt = REG(PCIR_MINGNT, 1); in pci_hdrtypedata()
589 cfg->maxlat = REG(PCIR_MAXLAT, 1); in pci_hdrtypedata()
593 cfg->bridge.br_seclat = REG(PCIR_SECLAT_1, 1); in pci_hdrtypedata()
594 cfg->bridge.br_subbus = REG(PCIR_SUBBUS_1, 1); in pci_hdrtypedata()
595 cfg->bridge.br_secbus = REG(PCIR_SECBUS_1, 1); in pci_hdrtypedata()
596 cfg->bridge.br_pribus = REG(PCIR_PRIBUS_1, 1); in pci_hdrtypedata()
597 cfg->bridge.br_control = REG(PCIR_BRIDGECTL_1, 2); in pci_hdrtypedata()
[all …]
/NextBSD/sys/dev/ncr/
HDncrreg.h260 #define REG(r) REGJ (nc_, r) macro
426 (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | ((data)<<8ul))
429 (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | ((data)<<8ul))
432 (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | ((data)<<8ul))
/NextBSD/contrib/gcc/config/rs6000/
HDpredicates.md38 (match_test "GET_CODE (op) != REG
87 (match_test "(GET_CODE (op) != REG
97 (match_test "GET_CODE (op) != REG
104 (match_test "GET_CODE (op) != REG
832 || GET_CODE (SET_DEST (XVECEXP (op, 0, 0))) != REG
844 || GET_CODE (SET_DEST (elt)) != REG
873 || GET_CODE (SET_SRC (XVECEXP (op, 0, 0))) != REG)
884 || GET_CODE (SET_SRC (elt)) != REG
923 || GET_CODE (SET_SRC (elt)) != REG
933 || GET_CODE (SET_SRC (elt)) != REG
[all …]
/NextBSD/sys/dev/sym/
HDsym_defs.h550 #define REG(r) REGJ (nc_, r) macro
729 (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
732 (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
735 (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
801 (0xe1000000 | (how) | (SCR_REG_OFS2(REG(reg))) | (n))
804 (0xe0000000 | (how) | (SCR_REG_OFS2(REG(reg))) | (n))
HDsym_fw.h200 #define RADDR_1(label) (RELOC_REGISTER | REG(label))
201 #define RADDR_2(label,ofs) (RELOC_REGISTER | ((REG(label))+(ofs)))
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDMemRegion.cpp642 template <typename REG>
643 const REG *MemRegionManager::LazyAllocate(REG*& region) { in LazyAllocate()
645 region = (REG*) A.Allocate<REG>(); in LazyAllocate()
646 new (region) REG(this); in LazyAllocate()
652 template <typename REG, typename ARG>
653 const REG *MemRegionManager::LazyAllocate(REG*& region, ARG a) { in LazyAllocate()
655 region = (REG*) A.Allocate<REG>(); in LazyAllocate()
656 new (region) REG(this, a); in LazyAllocate()
/NextBSD/contrib/binutils/include/opcode/
HDarc.h278 #define ARC_REG_CONSTANT_P(REG) ((REG) >= 61) argument
/NextBSD/contrib/gcc/config/sparc/
HDsparc.h1301 || ((GET_CODE (IN) == REG || GET_CODE (IN) == SUBREG) \
1320 || ((GET_CODE (IN) == REG || GET_CODE (IN) == SUBREG) \
1938 ((GET_CODE (X) == REG && REG_OK_FOR_BASE_P (X)) \
1940 && GET_CODE (SUBREG_REG (X)) == REG \
1944 ((GET_CODE (X) == REG && REG_OK_FOR_INDEX_P (X)) \
1946 && GET_CODE (SUBREG_REG (X)) == REG \
2397 if (GET_CODE (addr) == REG) \
2422 else if (GET_CODE (index) == REG) \
/NextBSD/sys/dev/pccbb/
HDpccbb_pci.c114 #define PCI_MASK_CONFIG(DEV,REG,MASK,SIZE) \ argument
115 pci_write_config(DEV, REG, pci_read_config(DEV, REG, SIZE) MASK, SIZE)
116 #define PCI_MASK2_CONFIG(DEV,REG,MASK1,MASK2,SIZE) \ argument
117 pci_write_config(DEV, REG, ( \
118 pci_read_config(DEV, REG, SIZE) MASK1) MASK2, SIZE)

123456