Lines Matching refs:DevirtualizedMethod
141 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local
144 DevirtualizedMethod = MD->getCorrespondingMethodInClass(BestDynamicDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
145 assert(DevirtualizedMethod); in EmitCXXMemberOrOperatorMemberCallExpr()
146 const CXXRecordDecl *DevirtualizedClass = DevirtualizedMethod->getParent(); in EmitCXXMemberOrOperatorMemberCallExpr()
148 if (DevirtualizedMethod->getReturnType().getCanonicalType() != in EmitCXXMemberOrOperatorMemberCallExpr()
155 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()
165 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()
207 DevirtualizedMethod ? DevirtualizedMethod : MD; in EmitCXXMemberOrOperatorMemberCallExpr()
226 bool UseVirtualCall = CanUseVirtualCall && !DevirtualizedMethod; in EmitCXXMemberOrOperatorMemberCallExpr()
239 else if (!DevirtualizedMethod) in EmitCXXMemberOrOperatorMemberCallExpr()
244 cast<CXXDestructorDecl>(DevirtualizedMethod); in EmitCXXMemberOrOperatorMemberCallExpr()
267 else if (!DevirtualizedMethod) in EmitCXXMemberOrOperatorMemberCallExpr()
270 Callee = CGM.GetAddrOfFunction(DevirtualizedMethod, Ty); in EmitCXXMemberOrOperatorMemberCallExpr()