Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGExprCXX.cpp141 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()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp216 const CXXMethodDecl *DevirtualizedMethod = nullptr; in EmitCXXMemberOrOperatorMemberCallExpr() local
220 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 …]
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2226 CXXMethodDecl *DevirtualizedMethod = in getDevirtualizedMethod() local
2231 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()