Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp103 Negator::Negator(LLVMContext &C, const DataLayout &DL_, AssumptionCache &AC_, in Negator() function in Negator
113 Negator::~Negator() { in ~Negator()
122 std::array<Value *, 2> Negator::getSortedOperandsOfBinOp(Instruction *I) { in getSortedOperandsOfBinOp()
133 LLVM_NODISCARD Value *Negator::visitImpl(Value *V, unsigned Depth) { in visitImpl()
440 LLVM_NODISCARD Value *Negator::negate(Value *V, unsigned Depth) { in negate()
477 LLVM_NODISCARD Optional<Negator::Result> Negator::run(Value *Root) { in run()
489 LLVM_NODISCARD Value *Negator::Negate(bool LHSIsZero, Value *Root, in Negate()
498 Negator N(Root->getContext(), IC.getDataLayout(), IC.getAssumptionCache(), in Negate()
H A DInstCombineInternal.h737 class Negator final {
752 Negator(LLVMContext &C, const DataLayout &DL, AssumptionCache &AC,
757 ~Negator();
773 Negator(const Negator &) = delete;
774 Negator(Negator &&) = delete;
775 Negator &operator=(const Negator &) = delete;
776 Negator &operator=(Negator &&) = delete;
H A DInstCombineMulDivRem.cpp208 if (Value *NegOp0 = Negator::Negate(/*IsNegation*/ true, Op0, *this)) in visitMul()
H A DInstCombineAddSub.cpp1803 if (Value *NegOp1 = Negator::Negate(IsNegation, Op1, *this)) in visitSub()