Searched refs:DevirtualizedMethod (Results 1 – 2 of 2) sorted by relevance
224 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local228 DevirtualizedMethod = MD->getCorrespondingMethodInClass(BestDynamicDecl); in EmitCXXMemberOrOperatorMemberCallExpr()229 assert(DevirtualizedMethod); in EmitCXXMemberOrOperatorMemberCallExpr()230 const CXXRecordDecl *DevirtualizedClass = DevirtualizedMethod->getParent(); in EmitCXXMemberOrOperatorMemberCallExpr()232 if (DevirtualizedMethod->getReturnType().getCanonicalType() != in EmitCXXMemberOrOperatorMemberCallExpr()239 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()249 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()330 DevirtualizedMethod ? DevirtualizedMethod : MD; in EmitCXXMemberOrOperatorMemberCallExpr()370 bool UseVirtualCall = CanUseVirtualCall && !DevirtualizedMethod; in EmitCXXMemberOrOperatorMemberCallExpr()385 else if (!DevirtualizedMethod) in EmitCXXMemberOrOperatorMemberCallExpr()[all …]
2361 CXXMethodDecl *DevirtualizedMethod = in getDevirtualizedMethod() local2366 if (!DevirtualizedMethod) in getDevirtualizedMethod()2372 if (DevirtualizedMethod->isPureVirtual()) in getDevirtualizedMethod()2376 if (DevirtualizedMethod->hasAttr<FinalAttr>()) in getDevirtualizedMethod()2377 return DevirtualizedMethod; in getDevirtualizedMethod()2383 return DevirtualizedMethod; in getDevirtualizedMethod()2389 return DevirtualizedMethod; in getDevirtualizedMethod()2399 return VD->getType()->isRecordType() ? DevirtualizedMethod : nullptr; in getDevirtualizedMethod()2408 return DevirtualizedMethod; in getDevirtualizedMethod()