Searched refs:Negator (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 103 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() 468 LLVM_NODISCARD Value *Negator::negate(Value *V, unsigned Depth) { in negate() 505 LLVM_NODISCARD Optional<Negator::Result> Negator::run(Value *Root) { in run() 517 LLVM_NODISCARD Value *Negator::Negate(bool LHSIsZero, Value *Root, in Negate() 526 Negator N(Root->getContext(), IC.getDataLayout(), IC.getAssumptionCache(), in Negate()
|
| H A D | InstCombineInternal.h | 765 class Negator final { 780 Negator(LLVMContext &C, const DataLayout &DL, AssumptionCache &AC, 785 ~Negator(); 801 Negator(const Negator &) = delete; 802 Negator(Negator &&) = delete; 803 Negator &operator=(const Negator &) = delete; 804 Negator &operator=(Negator &&) = delete;
|
| H A D | InstCombineMulDivRem.cpp | 211 if (Value *NegOp0 = Negator::Negate(/*IsNegation*/ true, Op0, *this)) in visitMul()
|
| H A D | InstCombineAddSub.cpp | 1875 if (Value *NegOp1 = Negator::Negate(IsNegation, Op1, *this)) in visitSub()
|