reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2268 if (F->hasFnAttribute(Attribute::Naked)) 2272 if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage()) 2272 if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage()) 2272 if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage()) 2273 F->setLinkage(GlobalValue::InternalLinkage); 2275 if (deleteIfDead(*F, NotDiscardableComdats)) { 2288 if (!F->isDeclaration()) { 2289 auto &DT = LookupDomTree(*F); 2291 Changed |= removeUnreachableBlocks(*F, &DTU); 2294 Changed |= processGlobal(*F, GetTLI, LookupDomTree); 2296 if (!F->hasLocalLinkage()) 2304 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca) && 2305 !F->hasAddressTaken()) { 2306 RemoveAttribute(F, Attribute::InAlloca); 2310 if (hasChangeableCC(F) && !F->isVarArg() && !F->hasAddressTaken()) { 2310 if (hasChangeableCC(F) && !F->isVarArg() && !F->hasAddressTaken()) { 2310 if (hasChangeableCC(F) && !F->isVarArg() && !F->hasAddressTaken()) { 2312 TargetTransformInfo &TTI = GetTTI(*F); 2318 (TTI.useColdCCForColdCall(*F) && 2319 isValidCandidateForColdCC(*F, GetBFI, AllCallsCold))) { 2320 F->setCallingConv(CallingConv::Cold); 2321 changeCallSitesToColdCC(F); 2327 if (hasChangeableCC(F) && !F->isVarArg() && 2327 if (hasChangeableCC(F) && !F->isVarArg() && 2328 !F->hasAddressTaken()) { 2332 F->setCallingConv(CallingConv::Fast); 2333 ChangeCalleesToFastCall(F); 2338 if (F->getAttributes().hasAttrSomewhere(Attribute::Nest) && 2339 !F->hasAddressTaken()) { 2342 RemoveAttribute(F, Attribute::Nest);