Lines Matching defs:bitWidth
1368 unsigned bitWidth = llvm::cast<IntegerType>(resType).getWidth();
1371 [bitWidth](const APInt &a, bool &castStatus) {
1372 return a.zext(bitWidth);
1395 unsigned bitWidth = llvm::cast<IntegerType>(resType).getWidth();
1398 [bitWidth](const APInt &a, bool &castStatus) {
1399 return a.sext(bitWidth);
1490 unsigned bitWidth = llvm::cast<IntegerType>(resType).getWidth();
1493 [bitWidth](const APInt &a, bool &castStatus) {
1494 return a.trunc(bitWidth);
1634 unsigned bitWidth = llvm::cast<IntegerType>(resType).getWidth();
1637 [&bitWidth](const APFloat &a, bool &castStatus) {
1639 APSInt api(bitWidth, /*isUnsigned=*/true);
1656 unsigned bitWidth = llvm::cast<IntegerType>(resType).getWidth();
1659 [&bitWidth](const APFloat &a, bool &castStatus) {
1661 APSInt api(bitWidth, /*isUnsigned=*/false);