Searched refs:ExtendAmt (Results 1 – 3 of 3) sorted by relevance
118 unsigned ExtendAmt = 0; in visitAdd() local123 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()125 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()128 if (ExtendAmt) { in visitAdd()129 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()131 ExtendAmt = 0; in visitAdd()134 if (ExtendAmt) { in visitAdd()135 Constant *ShAmt = ConstantInt::get(I.getType(), ExtendAmt); in visitAdd()
1065 unsigned ExtendAmt = 0; in visitAdd() local1070 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()1072 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()1075 if (ExtendAmt) { in visitAdd()1076 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()1078 ExtendAmt = 0; in visitAdd()1081 if (ExtendAmt) { in visitAdd()1082 Constant *ShAmt = ConstantInt::get(I.getType(), ExtendAmt); in visitAdd()
1157 unsigned ExtendAmt = 0; in visitAdd() local1162 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()1164 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()1167 if (ExtendAmt) { in visitAdd()1168 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()1170 ExtendAmt = 0; in visitAdd()1173 if (ExtendAmt) { in visitAdd()1174 Constant *ShAmt = ConstantInt::get(Ty, ExtendAmt); in visitAdd()