Lines Matching refs:F
422 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in WriteModuleInfo() local
423 MaxAlignment = std::max(MaxAlignment, F->getAlignment()); in WriteModuleInfo()
424 if (F->hasSection()) { in WriteModuleInfo()
426 unsigned &Entry = SectionMap[F->getSection()]; in WriteModuleInfo()
428 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, F->getSection(), in WriteModuleInfo()
433 if (F->hasGC()) { in WriteModuleInfo()
435 unsigned &Entry = GCMap[F->getGC()]; in WriteModuleInfo()
437 WriteStringRecord(bitc::MODULE_CODE_GCNAME, F->getGC(), in WriteModuleInfo()
503 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) { in WriteModuleInfo() local
506 Vals.push_back(VE.getTypeID(F->getType())); in WriteModuleInfo()
507 Vals.push_back(F->getCallingConv()); in WriteModuleInfo()
508 Vals.push_back(F->isDeclaration()); in WriteModuleInfo()
509 Vals.push_back(getEncodedLinkage(F)); in WriteModuleInfo()
510 Vals.push_back(VE.getAttributeID(F->getAttributes())); in WriteModuleInfo()
511 Vals.push_back(Log2_32(F->getAlignment())+1); in WriteModuleInfo()
512 Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0); in WriteModuleInfo()
513 Vals.push_back(getEncodedVisibility(F)); in WriteModuleInfo()
514 Vals.push_back(F->hasGC() ? GCMap[F->getGC()] : 0); in WriteModuleInfo()
515 Vals.push_back(F->hasUnnamedAddr()); in WriteModuleInfo()
654 static void WriteFunctionLocalMetadata(const Function &F, in WriteFunctionLocalMetadata() argument
662 if (N->isFunctionLocal() && N->getFunction() == &F) { in WriteFunctionLocalMetadata()
674 static void WriteMetadataAttachment(const Function &F, in WriteMetadataAttachment() argument
685 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) in WriteMetadataAttachment()
906 union { float F; uint32_t I; }; in WriteConstants() member
907 F = CDS->getElementAsFloat(i); in WriteConstants()
913 union { double F; uint64_t I; }; in WriteConstants() member
914 F = CDS->getElementAsDouble(i); in WriteConstants()
1403 static void WriteFunction(const Function &F, llvm_3_2::ValueEnumerator &VE, in WriteFunction() argument
1406 VE.incorporateFunction(F); in WriteFunction()
1422 WriteFunctionLocalMetadata(F, VE, Stream); in WriteFunction()
1432 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) in WriteFunction()
1466 WriteValueSymbolTable(F.getValueSymbolTable(), VE, Stream); in WriteFunction()
1469 WriteMetadataAttachment(F, VE, Stream); in WriteFunction()
1669 static void WriteFunctionUseList(const Function *F, in WriteFunctionUseList() argument
1672 VE.incorporateFunction(*F); in WriteFunctionUseList()
1674 for (Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end(); in WriteFunctionUseList()
1677 for (Function::const_iterator BB = F->begin(), FE = F->end(); BB != FE; in WriteFunctionUseList()
1778 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) in WriteModule() local
1779 if (!F->isDeclaration()) in WriteModule()
1780 WriteFunction(*F, VE, Stream); in WriteModule()