Home
last modified time | relevance | path

Searched refs:DevirtualizedMethod (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp224 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local
228 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 …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2361 CXXMethodDecl *DevirtualizedMethod = in getDevirtualizedMethod() local
2366 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()