Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp939 ConstantInt *AndCst, *SmallCst = nullptr, *BigCst = nullptr; in FoldAndOfICmps() local
946 BigCst = LHSCst; in FoldAndOfICmps()
950 BigCst = RHSCst; in FoldAndOfICmps()
953 if (SmallCst && BigCst) { in FoldAndOfICmps()
954 unsigned BigBitSize = BigCst->getType()->getBitWidth(); in FoldAndOfICmps()
959 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { in FoldAndOfICmps()
961 APInt N = SmallCst->getValue().zext(BigBitSize) | BigCst->getValue(); in FoldAndOfICmps()