Searched refs:DevirtualizedMethod (Results 1 – 3 of 3) sorted by relevance
141 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local144 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()[all …]
216 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local220 DevirtualizedMethod = MD->getCorrespondingMethodInClass(BestDynamicDecl); in EmitCXXMemberOrOperatorMemberCallExpr()221 assert(DevirtualizedMethod); in EmitCXXMemberOrOperatorMemberCallExpr()222 const CXXRecordDecl *DevirtualizedClass = DevirtualizedMethod->getParent(); in EmitCXXMemberOrOperatorMemberCallExpr()224 if (DevirtualizedMethod->getReturnType().getCanonicalType() != in EmitCXXMemberOrOperatorMemberCallExpr()231 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()241 DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr()320 DevirtualizedMethod ? DevirtualizedMethod : MD; in EmitCXXMemberOrOperatorMemberCallExpr()358 bool UseVirtualCall = CanUseVirtualCall && !DevirtualizedMethod; in EmitCXXMemberOrOperatorMemberCallExpr()373 else if (!DevirtualizedMethod) in EmitCXXMemberOrOperatorMemberCallExpr()[all …]
2226 CXXMethodDecl *DevirtualizedMethod = in getDevirtualizedMethod() local2231 if (!DevirtualizedMethod) in getDevirtualizedMethod()2237 if (DevirtualizedMethod->isPure()) in getDevirtualizedMethod()2241 if (DevirtualizedMethod->hasAttr<FinalAttr>()) in getDevirtualizedMethod()2242 return DevirtualizedMethod; in getDevirtualizedMethod()2248 return DevirtualizedMethod; in getDevirtualizedMethod()2254 return DevirtualizedMethod; in getDevirtualizedMethod()2264 return VD->getType()->isRecordType() ? DevirtualizedMethod : nullptr; in getDevirtualizedMethod()2273 return DevirtualizedMethod; in getDevirtualizedMethod()