Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp92 Negator::Negator(LLVMContext &C, const DataLayout &DL, const DominatorTree &DT_, in Negator() function in Negator
102 Negator::~Negator() { in ~Negator()
111 std::array<Value *, 2> Negator::getSortedOperandsOfBinOp(Instruction *I) { in getSortedOperandsOfBinOp()
122 [[nodiscard]] Value *Negator::visitImpl(Value *V, bool IsNSW, unsigned Depth) { in visitImpl()
495 [[nodiscard]] Value *Negator::negate(Value *V, bool IsNSW, unsigned Depth) { in negate()
532 [[nodiscard]] std::optional<Negator::Result> Negator::run(Value *Root, in run()
545 [[nodiscard]] Value *Negator::Negate(bool LHSIsZero, bool IsNSW, Value *Root, in Negate()
554 Negator N(Root->getContext(), IC.getDataLayout(), IC.getDominatorTree(), in Negate()
H A DInstCombineInternal.h844 class Negator final {
857 Negator(LLVMContext &C, const DataLayout &DL, const DominatorTree &DT,
862 ~Negator();
878 Negator(const Negator &) = delete;
879 Negator(Negator &&) = delete;
880 Negator &operator=(const Negator &) = delete;
881 Negator &operator=(Negator &&) = delete;
H A DInstCombineMulDivRem.cpp289 Negator::Negate(/*IsNegation*/ true, HasNSW, Op0, *this)) { in visitMul()
389 if (Value *NegOp0 = Negator::Negate(false, /*IsNSW*/ false, Op0, *this)) in visitMul()
H A DInstCombineAddSub.cpp2322 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub()