Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp779 ConstantInt *AndCst, *SmallCst = 0, *BigCst = 0; in FoldAndOfICmps() local
785 BigCst = LHSCst; in FoldAndOfICmps()
791 BigCst = RHSCst; in FoldAndOfICmps()
794 if (SmallCst && BigCst) { in FoldAndOfICmps()
795 unsigned BigBitSize = BigCst->getType()->getBitWidth(); in FoldAndOfICmps()
800 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { in FoldAndOfICmps()
802 APInt N = SmallCst->getValue().zext(BigBitSize) | BigCst->getValue(); in FoldAndOfICmps()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp920 ConstantInt *AndCst, *SmallCst = nullptr, *BigCst = nullptr; in FoldAndOfICmps() local
927 BigCst = LHSCst; in FoldAndOfICmps()
931 BigCst = RHSCst; in FoldAndOfICmps()
934 if (SmallCst && BigCst) { in FoldAndOfICmps()
935 unsigned BigBitSize = BigCst->getType()->getBitWidth(); in FoldAndOfICmps()
940 if ((Low & AndCst->getValue()) == 0 && (Low & BigCst->getValue()) == 0) { in FoldAndOfICmps()
942 APInt N = SmallCst->getValue().zext(BigBitSize) | BigCst->getValue(); in FoldAndOfICmps()