Searched refs:Negator (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineNegator.cpp | 97 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() 496 [[nodiscard]] Value *Negator::negate(Value *V, bool IsNSW, unsigned Depth) { in negate() 533 [[nodiscard]] std::optional<Negator::Result> Negator::run(Value *Root, in run() 546 [[nodiscard]] Value *Negator::Negate(bool LHSIsZero, bool IsNSW, Value *Root, in Negate() 555 Negator N(Root->getContext(), IC.getDataLayout(), LHSIsZero); in Negate()
|
H A D | InstCombineInternal.h | 778 class Negator final { 789 Negator(LLVMContext &C, const DataLayout &DL, bool IsTrulyNegation); 793 ~Negator(); 809 Negator(const Negator &) = delete; 810 Negator(Negator &&) = delete; 811 Negator &operator=(const Negator &) = delete; 812 Negator &operator=(Negator &&) = delete;
|
H A D | InstCombineMulDivRem.cpp | 268 Negator::Negate(/*IsNegation*/ true, HasNSW, Op0, *this)) { in visitMul() 368 if (Value *NegOp0 = Negator::Negate(false, /*IsNSW*/ false, Op0, *this)) in visitMul()
|
H A D | InstCombineAddSub.cpp | 2198 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub()
|