Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp97 Negator::Negator(LLVMContext &C, const DataLayout &DL, bool IsTrulyNegation_) in Negator() function in Negator
106 Negator::~Negator() { in ~Negator()
115 std::array<Value *, 2> Negator::getSortedOperandsOfBinOp(Instruction *I) { in getSortedOperandsOfBinOp()
126 [[nodiscard]] Value *Negator::visitImpl(Value *V, bool IsNSW, unsigned Depth) { in visitImpl()
479 [[nodiscard]] Value *Negator::negate(Value *V, bool IsNSW, unsigned Depth) { in negate()
516 [[nodiscard]] std::optional<Negator::Result> Negator::run(Value *Root, in run()
529 [[nodiscard]] Value *Negator::Negate(bool LHSIsZero, bool IsNSW, Value *Root, in Negate()
538 Negator N(Root->getContext(), IC.getDataLayout(), LHSIsZero); in Negate()
H A DInstCombineInternal.h750 class Negator final {
761 Negator(LLVMContext &C, const DataLayout &DL, bool IsTrulyNegation);
765 ~Negator();
781 Negator(const Negator &) = delete;
782 Negator(Negator &&) = delete;
783 Negator &operator=(const Negator &) = delete;
784 Negator &operator=(Negator &&) = delete;
H A DInstCombineMulDivRem.cpp262 Negator::Negate(/*IsNegation*/ true, HasNSW, Op0, *this)) { in visitMul()
369 if (Value *NegOp0 = Negator::Negate(false, /*IsNSW*/ false, Op0, *this)) in visitMul()
H A DInstCombineAddSub.cpp2205 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub()