Searched refs:InitializerValue (Results 1 – 1 of 1) sorted by relevance
446 llvm::APSInt &InitializerValue = *OptInitializerValue; in getNarrowingKind() local451 if (InitializerValue.isSigned() && InitializerValue.isNegative()) in getNarrowingKind()456 InitializerValue = InitializerValue.extend( in getNarrowingKind()457 InitializerValue.getBitWidth() + 1); in getNarrowingKind()459 llvm::APSInt ConvertedValue = InitializerValue; in getNarrowingKind()462 ConvertedValue = ConvertedValue.extend(InitializerValue.getBitWidth()); in getNarrowingKind()463 ConvertedValue.setIsSigned(InitializerValue.isSigned()); in getNarrowingKind()465 if (ConvertedValue != InitializerValue) in getNarrowingKind()470 ConstantValue = APValue(InitializerValue); in getNarrowingKind()