reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3223 assert(Func->getFunctionType() == flattenPointerTypes(FullFTy) && 3225 FunctionTypes[Func] = cast<FunctionType>(FullFTy); 3227 Func->setCallingConv(CC); 3230 Func->setLinkage(getDecodedLinkage(RawLinkage)); 3231 Func->setAttributes(getAttributes(Record[4])); 3236 for (unsigned i = 0; i != Func->arg_size(); ++i) { 3237 if (!Func->hasParamAttribute(i, Attribute::ByVal)) 3241 Func->removeParamAttr(i, Attribute::ByVal); 3242 Func->addParamAttr(i, Attribute::getWithByValType( 3249 Func->setAlignment(Alignment); 3253 Func->setSection(SectionTable[Record[6] - 1]); 3256 if (!Func->hasLocalLinkage()) 3258 Func->setVisibility(getDecodedVisibility(Record[7])); 3262 Func->setGC(GCTable[Record[8] - 1]); 3267 Func->setUnnamedAddr(UnnamedAddr); 3269 FunctionPrologues.push_back(std::make_pair(Func, Record[10] - 1)); 3272 Func->setDLLStorageClass(getDecodedDLLStorageClass(Record[11])); 3274 upgradeDLLImportExportLinkage(Func, RawLinkage); 3280 Func->setComdat(ComdatList[ComdatID - 1]); 3283 Func->setComdat(reinterpret_cast<Comdat *>(1)); 3287 FunctionPrefixes.push_back(std::make_pair(Func, Record[13] - 1)); 3290 FunctionPersonalityFns.push_back(std::make_pair(Func, Record[14] - 1)); 3293 Func->setDSOLocal(getDecodedDSOLocal(Record[15])); 3295 inferDSOLocal(Func); 3301 Func->setPartition(StringRef(Strtab.data() + Record[17], Record[18])); 3304 assert(Func->getType() == flattenPointerTypes(FullTy) && 3306 ValueList.push_back(Func, FullTy); 3311 Func->setIsMaterializable(true); 3312 FunctionsWithBodies.push_back(Func); 3313 DeferredFunctionInfo[Func] = 0;