Lines Matching refs:F
451 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in WriteModuleInfo() local
452 MaxAlignment = std::max(MaxAlignment, F->getAlignment()); in WriteModuleInfo()
453 if (F->hasSection()) { in WriteModuleInfo()
455 unsigned &Entry = SectionMap[F->getSection()]; in WriteModuleInfo()
457 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, F->getSection(), in WriteModuleInfo()
462 if (F->hasGC()) { in WriteModuleInfo()
464 unsigned &Entry = GCMap[F->getGC()]; in WriteModuleInfo()
466 WriteStringRecord(bitc::MODULE_CODE_GCNAME, F->getGC(), in WriteModuleInfo()
531 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in WriteModuleInfo() local
534 Vals.push_back(VE.getTypeID(F->getType())); in WriteModuleInfo()
535 Vals.push_back(F->getCallingConv()); in WriteModuleInfo()
536 Vals.push_back(F->isDeclaration()); in WriteModuleInfo()
537 Vals.push_back(getEncodedLinkage(F)); in WriteModuleInfo()
538 Vals.push_back(VE.getAttributeID(F->getAttributes())); in WriteModuleInfo()
539 Vals.push_back(Log2_32(F->getAlignment())+1); in WriteModuleInfo()
540 Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0); in WriteModuleInfo()
541 Vals.push_back(getEncodedVisibility(F)); in WriteModuleInfo()
542 Vals.push_back(F->hasGC() ? GCMap[F->getGC()] : 0); in WriteModuleInfo()
543 Vals.push_back(F->hasUnnamedAddr()); in WriteModuleInfo()
666 static void WriteFunctionLocalMetadata(const Function &F, in WriteFunctionLocalMetadata() argument
674 if (N->isFunctionLocal() && N->getFunction() == &F) { in WriteFunctionLocalMetadata()
686 static void WriteMetadataAttachment(const Function &F, in WriteMetadataAttachment() argument
697 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) in WriteMetadataAttachment()
1329 static void WriteFunction(const Function &F, llvm_2_9::ValueEnumerator &VE, in WriteFunction() argument
1332 VE.incorporateFunction(F); in WriteFunction()
1348 WriteFunctionLocalMetadata(F, VE, Stream); in WriteFunction()
1358 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) in WriteFunction()
1392 WriteValueSymbolTable(F.getValueSymbolTable(), VE, Stream); in WriteFunction()
1395 WriteMetadataAttachment(F, VE, Stream); in WriteFunction()
1597 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) in WriteModule() local
1598 if (!F->isDeclaration()) in WriteModule()
1599 WriteFunction(*F, VE, Stream); in WriteModule()