reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/Reassociate.cpp
  453   assert((isa<UnaryOperator>(I) || isa<BinaryOperator>(I)) &&
  453   assert((isa<UnaryOperator>(I) || isa<BinaryOperator>(I)) &&
  455   LLVM_DEBUG(dbgs() << "LINEARIZE: " << *I << '\n');
  456   unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits();
  457   unsigned Opcode = I->getOpcode();
  458   assert(I->isAssociative() && I->isCommutative() &&
  458   assert(I->isAssociative() && I->isCommutative() &&
  472   Worklist.push_back(std::make_pair(I, APInt(Bitwidth, 1)));
  499     I = P.first; // We examine the operands of this binary operator.
  501     for (unsigned OpIdx = 0; OpIdx < I->getNumOperands(); ++OpIdx) { // Visit operands.
  502       Value *Op = I->getOperand(OpIdx);
  624     Constant *Identity = ConstantExpr::getBinOpIdentity(Opcode, I->getType());