Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp118 unsigned ExtendAmt = 0; in visitAdd() local
123 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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1065 unsigned ExtendAmt = 0; in visitAdd() local
1070 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1157 unsigned ExtendAmt = 0; in visitAdd() local
1162 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()