Lines Matching refs:Literal
1197 bool isInlinableLiteral64(int64_t Literal, bool HasInv2Pi) {
1198 if (isInlinableIntLiteral(Literal))
1201 uint64_t Val = static_cast<uint64_t>(Literal);
1214 bool isInlinableLiteral32(int32_t Literal, bool HasInv2Pi) {
1215 if (isInlinableIntLiteral(Literal))
1227 uint32_t Val = static_cast<uint32_t>(Literal);
1240 bool isInlinableLiteral16(int16_t Literal, bool HasInv2Pi) {
1244 if (isInlinableIntLiteral(Literal))
1247 uint16_t Val = static_cast<uint16_t>(Literal);
1259 bool isInlinableLiteralV216(int32_t Literal, bool HasInv2Pi) {
1262 if (isInt<16>(Literal) || isUInt<16>(Literal)) {
1263 int16_t Trunc = static_cast<int16_t>(Literal);
1266 if (!(Literal & 0xffff))
1267 return AMDGPU::isInlinableLiteral16(Literal >> 16, HasInv2Pi);
1269 int16_t Lo16 = static_cast<int16_t>(Literal);
1270 int16_t Hi16 = static_cast<int16_t>(Literal >> 16);
1274 bool isInlinableIntLiteralV216(int32_t Literal) {
1275 int16_t Lo16 = static_cast<int16_t>(Literal);
1276 if (isInt<16>(Literal) || isUInt<16>(Literal))
1279 int16_t Hi16 = static_cast<int16_t>(Literal >> 16);
1280 if (!(Literal & 0xffff))
1285 bool isFoldableLiteralV216(int32_t Literal, bool HasInv2Pi) {
1288 int16_t Lo16 = static_cast<int16_t>(Literal);
1289 if (isInt<16>(Literal) || isUInt<16>(Literal))
1292 int16_t Hi16 = static_cast<int16_t>(Literal >> 16);
1293 if (!(Literal & 0xffff))