Home
last modified time | relevance | path

Searched refs:CR2 (Results 1 – 25 of 130) sorted by relevance

123456

/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp47 EnumerateConstantRanges(Bits, [&](const ConstantRange &CR2) { in EnumerateTwoConstantRanges() argument
48 TestFn(CR1, CR2); in EnumerateTwoConstantRanges()
135 Bits, [&](const ConstantRange &CR1, const ConstantRange &CR2) { in TestUnsignedBinOpExhaustive() argument
138 ForeachNumInConstantRange(CR2, [&](const APInt &N2) { in TestUnsignedBinOpExhaustive()
145 ConstantRange CR = RangeFn(CR1, CR2); in TestUnsignedBinOpExhaustive()
167 Bits, [&](const ConstantRange &CR1, const ConstantRange &CR2) { in TestSignedBinOpExhaustive() argument
170 ForeachNumInConstantRange(CR2, [&](const APInt &N2) { in TestSignedBinOpExhaustive()
178 ConstantRange CR = RangeFn(CR1, CR2); in TestSignedBinOpExhaustive()
346 ConstantRange CR2(APInt(8, 42), APInt::getSignedMinValue(8)); in TEST_F() local
347 EXPECT_FALSE(CR2.isSignWrappedSet()); in TEST_F()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pwr_ex.c329 SET_BIT(PWR->CR2, PWR_CR2_USV); in HAL_PWREx_EnableVddUSB()
339 CLEAR_BIT(PWR->CR2, PWR_CR2_USV); in HAL_PWREx_DisableVddUSB()
351 SET_BIT(PWR->CR2, PWR_CR2_IOSV); in HAL_PWREx_EnableVddIO2()
361 CLEAR_BIT(PWR->CR2, PWR_CR2_IOSV); in HAL_PWREx_DisableVddIO2()
805 SET_BIT(PWR->CR2, PWR_PVM_1); in HAL_PWREx_EnablePVM1()
814 CLEAR_BIT(PWR->CR2, PWR_PVM_1); in HAL_PWREx_DisablePVM1()
826 SET_BIT(PWR->CR2, PWR_PVM_2); in HAL_PWREx_EnablePVM2()
835 CLEAR_BIT(PWR->CR2, PWR_PVM_2); in HAL_PWREx_DisablePVM2()
846 SET_BIT(PWR->CR2, PWR_PVM_3); in HAL_PWREx_EnablePVM3()
855 CLEAR_BIT(PWR->CR2, PWR_PVM_3); in HAL_PWREx_DisablePVM3()
[all …]
Dstm32l4xx_hal_uart_ex.c379 MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, AddressLength); in HAL_MultiProcessorEx_AddressLength_Set()
535 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UARTEx_EnableSlaveMode()
539 SET_BIT(huart->Instance->CR2, USART_CR2_SLVEN); in HAL_UARTEx_EnableSlaveMode()
581 CLEAR_BIT(huart->Instance->CR2, USART_CR2_SLVEN); in HAL_UARTEx_DisableSlaveMode()
630 MODIFY_REG(huart->Instance->CR2, USART_CR2_DIS_NSS, NSSConfig); in HAL_UARTEx_ConfigNSS()
846 MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, WakeUpSelection.AddressLength); in UARTEx_Wakeup_AddressConfig()
849 …MODIFY_REG(huart->Instance->CR2, USART_CR2_ADD, ((uint32_t)WakeUpSelection.Address << UART_CR2_ADD… in UARTEx_Wakeup_AddressConfig()
Dstm32l4xx_hal_tim_ex.c197 htim->Instance->CR2 |= TIM_CR2_TI1S; in HAL_TIMEx_HallSensor_Init()
220 htim->Instance->CR2 &= ~TIM_CR2_MMS; in HAL_TIMEx_HallSensor_Init()
221 htim->Instance->CR2 |= TIM_TRGO_OC2REF; in HAL_TIMEx_HallSensor_Init()
1468 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent()
1470 htim->Instance->CR2 &= ~TIM_CR2_CCUS; in HAL_TIMEx_ConfigCommutationEvent()
1471 htim->Instance->CR2 |= CommutationSource; in HAL_TIMEx_ConfigCommutationEvent()
1517 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent_IT()
1519 htim->Instance->CR2 &= ~TIM_CR2_CCUS; in HAL_TIMEx_ConfigCommutationEvent_IT()
1520 htim->Instance->CR2 |= CommutationSource; in HAL_TIMEx_ConfigCommutationEvent_IT()
1570 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent_DMA()
[all …]
Dstm32l4xx_hal_pwr.c335 MODIFY_REG(PWR->CR2, PWR_CR2_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD()
376 SET_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_EnablePVD()
385 CLEAR_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_DisablePVD()
Dstm32l4xx_hal_i2c.c458 hi2c->Instance->CR2 = (I2C_CR2_ADD10); in HAL_I2C_Init()
461 hi2c->Instance->CR2 |= (I2C_CR2_AUTOEND | I2C_CR2_NACK); in HAL_I2C_Init()
900 hi2c->Instance->CR2 &= ~I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
906 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
920 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
932 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
942 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
963 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
984 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
989 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
[all …]
Dstm32l4xx_hal_uart.c301 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UART_Init()
356 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_HalfDuplex_Init()
432 CLEAR_BIT(huart->Instance->CR2, USART_CR2_CLKEN); in HAL_LIN_Init()
436 SET_BIT(huart->Instance->CR2, USART_CR2_LINEN); in HAL_LIN_Init()
439 MODIFY_REG(huart->Instance->CR2, USART_CR2_LBDL, BreakDetectLength); in HAL_LIN_Init()
506 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_MultiProcessor_Init()
512 … MODIFY_REG(huart->Instance->CR2, USART_CR2_ADD, ((uint32_t)Address << UART_CR2_ADDRESS_LSB_POS)); in HAL_MultiProcessor_Init()
548 huart->Instance->CR2 = 0x0U; in HAL_UART_DeInit()
2315 MODIFY_REG(huart->Instance->CR2, USART_CR2_STOP, huart->Init.StopBits); in UART_SetConfig()
2583 MODIFY_REG(huart->Instance->CR2, USART_CR2_TXINV, huart->AdvancedInit.TxPinLevelInvert); in UART_AdvFeatureConfig()
[all …]
Dstm32l4xx_hal_tim.c4282 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input()
4291 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input()
4806 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig()
4850 TIMx->CR2 = tmpcr2; in TIM_OC1_SetConfig()
4880 tmpcr2 = TIMx->CR2; in TIM_OC2_SetConfig()
4926 TIMx->CR2 = tmpcr2; in TIM_OC2_SetConfig()
4956 tmpcr2 = TIMx->CR2; in TIM_OC3_SetConfig()
5000 TIMx->CR2 = tmpcr2; in TIM_OC3_SetConfig()
5030 tmpcr2 = TIMx->CR2; in TIM_OC4_SetConfig()
5058 TIMx->CR2 = tmpcr2; in TIM_OC4_SetConfig()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pwr_ex.c329 SET_BIT(PWR->CR2, PWR_CR2_USV); in HAL_PWREx_EnableVddUSB()
339 CLEAR_BIT(PWR->CR2, PWR_CR2_USV); in HAL_PWREx_DisableVddUSB()
351 SET_BIT(PWR->CR2, PWR_CR2_IOSV); in HAL_PWREx_EnableVddIO2()
361 CLEAR_BIT(PWR->CR2, PWR_CR2_IOSV); in HAL_PWREx_DisableVddIO2()
805 SET_BIT(PWR->CR2, PWR_PVM_1); in HAL_PWREx_EnablePVM1()
814 CLEAR_BIT(PWR->CR2, PWR_PVM_1); in HAL_PWREx_DisablePVM1()
826 SET_BIT(PWR->CR2, PWR_PVM_2); in HAL_PWREx_EnablePVM2()
835 CLEAR_BIT(PWR->CR2, PWR_PVM_2); in HAL_PWREx_DisablePVM2()
846 SET_BIT(PWR->CR2, PWR_PVM_3); in HAL_PWREx_EnablePVM3()
855 CLEAR_BIT(PWR->CR2, PWR_PVM_3); in HAL_PWREx_DisablePVM3()
[all …]
Dstm32l4xx_hal_uart_ex.c379 MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, AddressLength); in HAL_MultiProcessorEx_AddressLength_Set()
535 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UARTEx_EnableSlaveMode()
539 SET_BIT(huart->Instance->CR2, USART_CR2_SLVEN); in HAL_UARTEx_EnableSlaveMode()
581 CLEAR_BIT(huart->Instance->CR2, USART_CR2_SLVEN); in HAL_UARTEx_DisableSlaveMode()
630 MODIFY_REG(huart->Instance->CR2, USART_CR2_DIS_NSS, NSSConfig); in HAL_UARTEx_ConfigNSS()
846 MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, WakeUpSelection.AddressLength); in UARTEx_Wakeup_AddressConfig()
849 …MODIFY_REG(huart->Instance->CR2, USART_CR2_ADD, ((uint32_t)WakeUpSelection.Address << UART_CR2_ADD… in UARTEx_Wakeup_AddressConfig()
Dstm32l4xx_hal_tim_ex.c197 htim->Instance->CR2 |= TIM_CR2_TI1S; in HAL_TIMEx_HallSensor_Init()
220 htim->Instance->CR2 &= ~TIM_CR2_MMS; in HAL_TIMEx_HallSensor_Init()
221 htim->Instance->CR2 |= TIM_TRGO_OC2REF; in HAL_TIMEx_HallSensor_Init()
1468 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent()
1470 htim->Instance->CR2 &= ~TIM_CR2_CCUS; in HAL_TIMEx_ConfigCommutationEvent()
1471 htim->Instance->CR2 |= CommutationSource; in HAL_TIMEx_ConfigCommutationEvent()
1517 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent_IT()
1519 htim->Instance->CR2 &= ~TIM_CR2_CCUS; in HAL_TIMEx_ConfigCommutationEvent_IT()
1520 htim->Instance->CR2 |= CommutationSource; in HAL_TIMEx_ConfigCommutationEvent_IT()
1570 htim->Instance->CR2 |= TIM_CR2_CCPC; in HAL_TIMEx_ConfigCommutationEvent_DMA()
[all …]
Dstm32l4xx_hal_pwr.c335 MODIFY_REG(PWR->CR2, PWR_CR2_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD()
376 SET_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_EnablePVD()
385 CLEAR_BIT(PWR->CR2, PWR_CR2_PVDE); in HAL_PWR_DisablePVD()
Dstm32l4xx_hal_i2c.c458 hi2c->Instance->CR2 = (I2C_CR2_ADD10); in HAL_I2C_Init()
461 hi2c->Instance->CR2 |= (I2C_CR2_AUTOEND | I2C_CR2_NACK); in HAL_I2C_Init()
900 hi2c->Instance->CR2 &= ~I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
906 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
920 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
932 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
942 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
963 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
984 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
989 hi2c->Instance->CR2 |= I2C_CR2_NACK; in HAL_I2C_Slave_Transmit()
[all …]
Dstm32l4xx_hal_uart.c301 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UART_Init()
356 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_HalfDuplex_Init()
432 CLEAR_BIT(huart->Instance->CR2, USART_CR2_CLKEN); in HAL_LIN_Init()
436 SET_BIT(huart->Instance->CR2, USART_CR2_LINEN); in HAL_LIN_Init()
439 MODIFY_REG(huart->Instance->CR2, USART_CR2_LBDL, BreakDetectLength); in HAL_LIN_Init()
506 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_MultiProcessor_Init()
512 … MODIFY_REG(huart->Instance->CR2, USART_CR2_ADD, ((uint32_t)Address << UART_CR2_ADDRESS_LSB_POS)); in HAL_MultiProcessor_Init()
548 huart->Instance->CR2 = 0x0U; in HAL_UART_DeInit()
2315 MODIFY_REG(huart->Instance->CR2, USART_CR2_STOP, huart->Init.StopBits); in UART_SetConfig()
2583 MODIFY_REG(huart->Instance->CR2, USART_CR2_TXINV, huart->AdvancedInit.TxPinLevelInvert); in UART_AdvFeatureConfig()
[all …]
Dstm32l4xx_hal_tim.c4282 tmpcr2 = htim->Instance->CR2; in HAL_TIM_ConfigTI1Input()
4291 htim->Instance->CR2 = tmpcr2; in HAL_TIM_ConfigTI1Input()
4806 tmpcr2 = TIMx->CR2; in TIM_OC1_SetConfig()
4850 TIMx->CR2 = tmpcr2; in TIM_OC1_SetConfig()
4880 tmpcr2 = TIMx->CR2; in TIM_OC2_SetConfig()
4926 TIMx->CR2 = tmpcr2; in TIM_OC2_SetConfig()
4956 tmpcr2 = TIMx->CR2; in TIM_OC3_SetConfig()
5000 TIMx->CR2 = tmpcr2; in TIM_OC3_SetConfig()
5030 tmpcr2 = TIMx->CR2; in TIM_OC4_SetConfig()
5058 TIMx->CR2 = tmpcr2; in TIM_OC4_SetConfig()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DValueTrackingTest.cpp1588 ConstantRange CR2 = computeConstantRange(Stride, true, &AC, I); in TEST_F() local
1589 EXPECT_EQ(5, CR2.getLower()); in TEST_F()
1590 EXPECT_EQ(10, CR2.getUpper()); in TEST_F()
1661 ConstantRange CR2 = computeConstantRange(Stride, true, &AC, I); in TEST_F() local
1662 EXPECT_EQ(50, CR2.getLower()); in TEST_F()
1663 EXPECT_EQ(100, CR2.getUpper()); in TEST_F()
1722 ConstantRange CR2 = computeConstantRange(X2, true, &AC, I, 6); in TEST_F() local
1723 EXPECT_TRUE(CR2.isFullSet()); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1108 [BO, NoWrapKind](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp() argument
1109 return CR1.overflowingBinaryOp(BO->getOpcode(), CR2, NoWrapKind); in solveBlockValueBinaryOp()
1114 BBLV, BO, BB, [BO](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp() argument
1115 return CR1.binaryOp(BO->getOpcode(), CR2); in solveBlockValueBinaryOp()
1122 [WO](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueOverflowIntrinsic() argument
1123 return CR1.binaryOp(WO->getBinaryOp(), CR2); in solveBlockValueOverflowIntrinsic()
1132 BBLV, SI, BB, [](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueSaturatingIntrinsic() argument
1133 return CR1.uadd_sat(CR2); in solveBlockValueSaturatingIntrinsic()
1137 BBLV, SI, BB, [](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueSaturatingIntrinsic() argument
1138 return CR1.usub_sat(CR2); in solveBlockValueSaturatingIntrinsic()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_i2c.h510 …_GENERATE_NACK(__HANDLE__) (SET_BIT((__HANDLE__)->Instance->CR2, I2C_CR2_NACK))
664 #define I2C_RESET_CR2(__HANDLE__) ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint…
668 #define I2C_GET_STOP_MODE(__HANDLE__) ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_i2c.h510 …_GENERATE_NACK(__HANDLE__) (SET_BIT((__HANDLE__)->Instance->CR2, I2C_CR2_NACK))
664 #define I2C_RESET_CR2(__HANDLE__) ((__HANDLE__)->Instance->CR2 &= (uint32_t)~((uint…
668 #define I2C_GET_STOP_MODE(__HANDLE__) ((__HANDLE__)->Instance->CR2 & I2C_CR2_AUTOEND)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCCallingConv.td290 F27, F28, F29, F30, F31, CR2, CR3, CR4
298 R28, R29, R30, R31, CR2, CR3, CR4
316 F27, F28, F29, F30, F31, CR2, CR3, CR4
323 F27, F28, F29, F30, F31, CR2, CR3, CR4
332 F27, F28, F29, F30, F31, CR2, CR3, CR4
339 F27, F28, F29, F30, F31, CR2, CR3, CR4
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp428 const ConstantRange &CR1, const ConstantRange &CR2, in getPreferredRange() argument
431 if (!CR1.isWrappedSet() && CR2.isWrappedSet()) in getPreferredRange()
433 if (CR1.isWrappedSet() && !CR2.isWrappedSet()) in getPreferredRange()
434 return CR2; in getPreferredRange()
436 if (!CR1.isSignWrappedSet() && CR2.isSignWrappedSet()) in getPreferredRange()
438 if (CR1.isSignWrappedSet() && !CR2.isSignWrappedSet()) in getPreferredRange()
439 return CR2; in getPreferredRange()
442 if (CR1.isSizeStrictlySmallerThan(CR2)) in getPreferredRange()
444 return CR2; in getPreferredRange()
/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp444 const ConstantRange &CR1, const ConstantRange &CR2, in getPreferredRange() argument
447 if (!CR1.isWrappedSet() && CR2.isWrappedSet()) in getPreferredRange()
449 if (CR1.isWrappedSet() && !CR2.isWrappedSet()) in getPreferredRange()
450 return CR2; in getPreferredRange()
452 if (!CR1.isSignWrappedSet() && CR2.isSignWrappedSet()) in getPreferredRange()
454 if (CR1.isSignWrappedSet() && !CR2.isSignWrappedSet()) in getPreferredRange()
455 return CR2; in getPreferredRange()
458 if (CR1.isSizeStrictlySmallerThan(CR2)) in getPreferredRange()
460 return CR2; in getPreferredRange()
/external/llvm/lib/Target/PowerPC/
DPPCCallingConv.td226 F27, F28, F29, F30, F31, CR2, CR3, CR4
235 F27, F28, F29, F30, F31, CR2, CR3, CR4
244 F27, F28, F29, F30, F31, CR2, CR3, CR4
253 F27, F28, F29, F30, F31, CR2, CR3, CR4
DPPCFrameLowering.cpp159 {PPC::CR2, -4}, in getCalleeSavedSpillSlots()
1069 if (isSVR4ABI && (PPC::CR2 <= Reg && Reg <= PPC::CR4) in emitPrologue()
1075 if (isSVR4ABI && isPPC64 && (PPC::CR2 <= Reg && Reg <= PPC::CR4)) { in emitPrologue()
1079 unsigned CRReg = isELFv2ABI? Reg : (unsigned) PPC::CR2; in emitPrologue()
1433 (SavedRegs.test(PPC::CR2) || in determineCalleeSaves()
1626 if ((Subtarget.isSVR4ABI() && Reg == PPC::CR2) in processFunctionBeforeFrameFinalized()
1738 bool IsCRField = PPC::CR2 <= Reg && Reg <= PPC::CR4; in spillCalleeSavedRegisters()
1802 MBB.insert(MI, BuildMI(*MF, DL, TII.get(RestoreOp), PPC::CR2) in restoreCRs()
1890 if (Reg == PPC::CR2) { in restoreCalleeSavedRegisters()
1906 && !(PPC::CR2 <= Reg && Reg <= PPC::CR4)) { in restoreCalleeSavedRegisters()
/external/kernel-headers/original/uapi/asm-generic/
Dtermbits.h94 #define CR2 0002000 macro

123456