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

References

lib/Transforms/Scalar/ConstantHoisting.cpp
  568     auto Value = ConstCand->ConstInt->getValue();
  569     Type *Ty = ConstCand->ConstInt->getType();
  572     LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue()
  583                                    C2->ConstInt->getValue(),
  584                                    ConstCand->ConstInt->getValue());
  599       LLVM_DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue()
  618   ConstantInt *ConstInt = MaxCostItr->ConstInt;
  627     APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
  650     if (LHS.ConstInt->getType() != RHS.ConstInt->getType())
  650     if (LHS.ConstInt->getType() != RHS.ConstInt->getType())
  651       return LHS.ConstInt->getType()->getBitWidth() <
  652              RHS.ConstInt->getType()->getBitWidth();
  653     return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
  653     return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
  661     if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) {
  661     if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) {
  678       APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
  678       APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();