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

References

lib/IR/AsmWriter.cpp
 3402   if (AnnotationWriter) AnnotationWriter->emitFunctionAnnot(F, Out);
 3404   if (F->isMaterializable())
 3407   const AttributeList &Attrs = F->getAttributes();
 3423   Machine.incorporateFunction(F);
 3425   if (F->isDeclaration()) {
 3428     F->getAllMetadata(MDs);
 3434   Out << getLinkageNameWithSpace(F->getLinkage());
 3435   PrintDSOLocation(*F, Out);
 3436   PrintVisibility(F->getVisibility(), Out);
 3437   PrintDLLStorageClass(F->getDLLStorageClass(), Out);
 3440   if (F->getCallingConv() != CallingConv::C) {
 3441     PrintCallingConv(F->getCallingConv(), Out);
 3445   FunctionType *FT = F->getFunctionType();
 3448   TypePrinter.print(F->getReturnType(), Out);
 3450   WriteAsOperandInternal(Out, F, &TypePrinter, &Machine, F->getParent());
 3450   WriteAsOperandInternal(Out, F, &TypePrinter, &Machine, F->getParent());
 3454   if (F->isDeclaration() && !IsForDebug) {
 3469     for (const Argument &Arg : F->args()) {
 3483   StringRef UA = getUnnamedAddrEncoding(F->getUnnamedAddr());
 3489   const Module *Mod = F->getParent();
 3490   if (F->getAddressSpace() != 0 || !Mod ||
 3492     Out << " addrspace(" << F->getAddressSpace() << ")";
 3495   if (F->hasSection()) {
 3497     printEscapedString(F->getSection(), Out);
 3500   if (F->hasPartition()) {
 3502     printEscapedString(F->getPartition(), Out);
 3505   maybePrintComdat(Out, *F);
 3506   if (F->getAlignment())
 3507     Out << " align " << F->getAlignment();
 3508   if (F->hasGC())
 3509     Out << " gc \"" << F->getGC() << '"';
 3510   if (F->hasPrefixData()) {
 3512     writeOperand(F->getPrefixData(), true);
 3514   if (F->hasPrologueData()) {
 3516     writeOperand(F->getPrologueData(), true);
 3518   if (F->hasPersonalityFn()) {
 3520     writeOperand(F->getPersonalityFn(), /*PrintType=*/true);
 3523   if (F->isDeclaration()) {
 3527     F->getAllMetadata(MDs);
 3532     for (const BasicBlock &BB : *F)
 3536     printUseLists(F);