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

References

include/llvm/Transforms/IPO/Attributor.h
  245     return (AnchorVal == RHS.AnchorVal) && (KindOrArgNo == RHS.KindOrArgNo);
  245     return (AnchorVal == RHS.AnchorVal) && (KindOrArgNo == RHS.KindOrArgNo);
  260     return *AnchorVal;
  271     if (auto *CB = dyn_cast<CallBase>(AnchorVal))
  365     if (getArgNo() < 0 || isa<Argument>(AnchorVal))
  366       return *AnchorVal;
  367     assert(isa<CallBase>(AnchorVal) && "Expected a call base!");
  368     return *cast<CallBase>(AnchorVal)->getArgOperand(getArgNo());
lib/Transforms/IPO/Attributor.cpp
  473     assert((isa<CallBase>(AnchorVal) || isa<Argument>(AnchorVal)) &&
  473     assert((isa<CallBase>(AnchorVal) || isa<Argument>(AnchorVal)) &&
  475     if (isa<Argument>(AnchorVal)) {
  476       assert(cast<Argument>(AnchorVal)->getArgNo() == unsigned(getArgNo()) &&
  478       assert(cast<Argument>(AnchorVal) == &getAssociatedValue() &&
  481       assert(cast<CallBase>(*AnchorVal).arg_size() > unsigned(getArgNo()) &&
  483       assert(cast<CallBase>(*AnchorVal).getArgOperand(getArgNo()) ==
  489     assert(!AnchorVal && "Expected no value for an invalid position!");
  497     assert(isa<Function>(AnchorVal) &&
  499     assert(AnchorVal == &getAssociatedValue() && "Associated value mismatch!");
  502     assert((isa<CallBase>(AnchorVal)) &&
  504     assert(AnchorVal == &getAssociatedValue() && "Associated value mismatch!");
  507     assert((isa<CallBase>(AnchorVal)) &&
  509     assert(AnchorVal == &getAssociatedValue() && "Associated value mismatch!");
  512     assert(isa<Function>(AnchorVal) &&
  514     assert(AnchorVal == &getAssociatedValue() && "Associated value mismatch!");