# Changeset View

Changeset View

# Standalone View

Standalone View

# include/llvm/CodeGen/ISDOpcodes.h

Show First 20 Lines • Show All 489 Lines • ▼ Show 20 Line(s) | 39 | enum NodeType { | |||
---|---|---|---|---|---|

490 | /// result type must have fewer elements than the operand type, and those | 490 | /// result type must have fewer elements than the operand type, and those | ||

491 | /// elements must be larger integer types such that the total size of the | 491 | /// elements must be larger integer types such that the total size of the | ||

492 | /// operand type and the result type match. Each of the low operand | 492 | /// operand type and the result type match. Each of the low operand | ||

493 | /// elements is zero-extended into the corresponding, wider result | 493 | /// elements is zero-extended into the corresponding, wider result | ||

494 | /// elements. | 494 | /// elements. | ||

495 | ZERO_EXTEND_VECTOR_INREG, | 495 | ZERO_EXTEND_VECTOR_INREG, | ||

496 | 496 | | |||

497 | /// FP_TO_[US]INT - Convert a floating point value to a signed or unsigned | 497 | /// FP_TO_[US]INT - Convert a floating point value to a signed or unsigned | ||

498 | /// integer. | 498 | /// integer. These have the same semantics as fptosi and fptoui in IR. If | ||

499 | /// the FP value cannot fit in the integer type, the results are undefined. | ||||

499 | FP_TO_SINT, | 500 | FP_TO_SINT, | ||

500 | FP_TO_UINT, | 501 | FP_TO_UINT, | ||

501 | 502 | | |||

502 | /// X = FP_ROUND(Y, TRUNC) - Rounding 'Y' from a larger floating point type | 503 | /// X = FP_ROUND(Y, TRUNC) - Rounding 'Y' from a larger floating point type | ||

503 | /// down to the precision of the destination VT. TRUNC is a flag, which is | 504 | /// down to the precision of the destination VT. TRUNC is a flag, which is | ||

504 | /// always an integer that is zero or one. If TRUNC is 0, this is a | 505 | /// always an integer that is zero or one. If TRUNC is 0, this is a | ||

505 | /// normal rounding, if it is 1, this FP_ROUND is known to not change the | 506 | /// normal rounding, if it is 1, this FP_ROUND is known to not change the | ||

506 | /// value of Y. | 507 | /// value of Y. | ||

▲ Show 20 Lines • Show All 491 Lines • Show Last 20 Lines |