Lines Matching full:bitwidth
542 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
543 if (BitWidth == 1)
544 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)());
545 else if (BitWidth <= 8)
546 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)());
547 else if (BitWidth <= 16)
548 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)());
549 else if (BitWidth <= 32)
550 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)());
551 else if (BitWidth <= 64)
552 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)());