Home
last modified time | relevance | path

Searched refs:ExtendAmt (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1236 unsigned ExtendAmt = 0; in visitAdd() local
1241 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd()
1243 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()
1246 if (ExtendAmt) { in visitAdd()
1247 APInt Mask = APInt::getHighBitsSet(TySizeBits, ExtendAmt); in visitAdd()
1249 ExtendAmt = 0; in visitAdd()
1252 if (ExtendAmt) { in visitAdd()
1253 Constant *ShAmt = ConstantInt::get(Ty, ExtendAmt); in visitAdd()