Searched refs:ParentFn (Results 1 – 7 of 7) sorted by relevance
313 Function *ParentFn = I->getParent()->getParent(); in doMerge() local316 if (OnlyOptimizeForSize && !ParentFn->optForMinSize()) in doMerge()319 size_t UGSIdx = GlobalUsesByFunction[ParentFn]; in doMerge()332 GlobalUsesByFunction[ParentFn] = CurGVOnlySetIdx; in doMerge()349 GlobalUsesByFunction[ParentFn] = ExpandedIdx; in doMerge()355 GlobalUsesByFunction[ParentFn] = EncounteredUGS[UGSIdx] = in doMerge()
119 void calculateWinCXXEHStateNumbers(const Function *ParentFn,122 void calculateSEHStateNumbers(const Function *ParentFn,
121 void calculateWinCXXEHStateNumbers(const Function *ParentFn,124 void calculateSEHStateNumbers(const Function *ParentFn,
331 Function *ParentFn = I->getParent()->getParent(); in doMerge() local334 if (OnlyOptimizeForSize && !ParentFn->optForMinSize()) in doMerge()337 size_t UGSIdx = GlobalUsesByFunction[ParentFn]; in doMerge()350 GlobalUsesByFunction[ParentFn] = CurGVOnlySetIdx; in doMerge()367 GlobalUsesByFunction[ParentFn] = ExpandedIdx; in doMerge()373 GlobalUsesByFunction[ParentFn] = EncounteredUGS[UGSIdx] = in doMerge()
1657 llvm::Function *ParentFn = ParentCGF.CurFn; in startOutlinedSEHHelper() local1665 if (llvm::Comdat *C = ParentFn->getComdat()) { in startOutlinedSEHHelper()1667 } else if (ParentFn->hasWeakLinkage() || ParentFn->hasLinkOnceLinkage()) { in startOutlinedSEHHelper()1668 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(ParentFn->getName()); in startOutlinedSEHHelper()1669 ParentFn->setComdat(C); in startOutlinedSEHHelper()
11109 FunctionScopeInfo *ParentFn = getEnclosingFunction(); in ActOnOpenMPDeclareReductionDirectiveStart() local11111 (ParentFn != nullptr) && !ParentFn->CompoundScopes.empty(); in ActOnOpenMPDeclareReductionDirectiveStart()
2397 const Function *ParentFn = CI->getParent()->getParent(); in mayBeEmittedAsTailCall() local2398 if (AMDGPU::isEntryFunctionCC(ParentFn->getCallingConv())) in mayBeEmittedAsTailCall()2401 auto Attr = ParentFn->getFnAttribute("disable-tail-calls"); in mayBeEmittedAsTailCall()