Searched refs:Negator (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 92 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 D | InstCombineInternal.h | 844 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 D | InstCombineMulDivRem.cpp | 289 Negator::Negate(/*IsNegation*/ true, HasNSW, Op0, *this)) { in visitMul() 389 if (Value *NegOp0 = Negator::Negate(false, /*IsNSW*/ false, Op0, *this)) in visitMul()
|
| H A D | InstCombineAddSub.cpp | 2322 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub()
|