Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/IR/
DConstantRange.cpp891 const APInt *IntMinIsPoison = Ops[1].getSingleElement(); in intrinsic() local
892 assert(IntMinIsPoison && "Must be known (immarg)"); in intrinsic()
893 assert(IntMinIsPoison->getBitWidth() == 1 && "Must be boolean"); in intrinsic()
894 return Ops[0].abs(IntMinIsPoison->getBoolValue()); in intrinsic()
1501 ConstantRange ConstantRange::abs(bool IntMinIsPoison) const { in abs()
1514 if (IntMinIsPoison) in abs()
1523 if (IntMinIsPoison && SMin.isMinSignedValue()) { in abs()
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp271 KnownBits KnownBits::abs(bool IntMinIsPoison) const { in abs()
283 if (IntMinIsPoison || (!One.isNullValue() && !One.isMinSignedValue())) in abs()
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h482 ConstantRange abs(bool IntMinIsPoison = false) const;
/external/llvm-project/llvm/include/llvm/Support/
DKnownBits.h333 KnownBits abs(bool IntMinIsPoison = false) const;
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp800 bool IntMinIsPoison = cast<Constant>(II->getArgOperand(1))->isOneValue(); in visitCallInst() local
818 if (IntMinIsPoison) in visitCallInst()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp1520 bool IntMinIsPoison = match(II->getArgOperand(1), m_One()); in computeKnownBitsFromOperator() local
1521 Known = Known2.abs(IntMinIsPoison); in computeKnownBitsFromOperator()