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

References

lib/Transforms/Utils/CloneFunction.cpp
  100   AttributeList NewAttrs = NewFunc->getAttributes();
  101   NewFunc->copyAttributesFrom(OldFunc);
  102   NewFunc->setAttributes(NewAttrs);
  106     NewFunc->setPersonalityFn(
  111   SmallVector<AttributeSet, 4> NewArgAttrs(NewFunc->arg_size());
  122   NewFunc->setAttributes(
  123       AttributeList::get(NewFunc->getContext(), OldAttrs.getFnAttributes(),
  127       OldFunc->getParent() && OldFunc->getParent() == NewFunc->getParent();
  146     NewFunc->addMetadata(
  169     BasicBlock *CBB = CloneBasicBlock(&BB, VMap, NameSuffix, NewFunc, CodeInfo,
  184       VMap[OldBBAddr] = BlockAddress::get(NewFunc, CBB);
  206                           BE = NewFunc->end();
  216   auto* NewModule = NewFunc->getParent();