Home
last modified time | relevance | path

Searched refs:SmallCst (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
784 SmallCst = RHSCst; in FoldAndOfICmps()
790 SmallCst = LHSCst; in FoldAndOfICmps()
794 if (SmallCst && BigCst) { in FoldAndOfICmps()
796 unsigned SmallBitSize = SmallCst->getType()->getBitWidth(); 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
926 SmallCst = RHSCst; in FoldAndOfICmps()
930 SmallCst = LHSCst; in FoldAndOfICmps()
934 if (SmallCst && BigCst) { in FoldAndOfICmps()
936 unsigned SmallBitSize = SmallCst->getType()->getBitWidth(); in FoldAndOfICmps()
942 APInt N = SmallCst->getValue().zext(BigBitSize) | BigCst->getValue(); in FoldAndOfICmps()