Home
last modified time | relevance | path

Searched refs:FunctionKind (Results 1 – 22 of 22) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Dfunction.rs23 pub enum FunctionKind { enum
30 impl FunctionKind { implementation
31 fn from_cursor(cursor: &clang::Cursor) -> Option<FunctionKind> { in from_cursor() argument
34 clang_sys::CXCursor_FunctionDecl => FunctionKind::Function, in from_cursor()
36 FunctionKind::Method(MethodKind::Constructor) in from_cursor()
39 FunctionKind::Method(if cursor.method_is_virtual() { in from_cursor()
49 FunctionKind::Method(MethodKind::Virtual { in from_cursor()
53 FunctionKind::Method(MethodKind::Static) in from_cursor()
55 FunctionKind::Method(MethodKind::Normal) in from_cursor()
91 kind: FunctionKind,
[all …]
Ditem.rs14 use super::function::{Function, FunctionKind};
998 FunctionKind::Function => cc.functions(), in is_enabled_for_codegen()
999 FunctionKind::Method(MethodKind::Constructor) => { in is_enabled_for_codegen()
1002 FunctionKind::Method(MethodKind::Destructor) | in is_enabled_for_codegen()
1003 FunctionKind::Method(MethodKind::VirtualDestructor { in is_enabled_for_codegen()
1006 FunctionKind::Method(MethodKind::Static) | in is_enabled_for_codegen()
1007 FunctionKind::Method(MethodKind::Normal) | in is_enabled_for_codegen()
1008 FunctionKind::Method(MethodKind::Virtual { .. }) => { in is_enabled_for_codegen()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSpecialMemberFunctionsCheck.h47 SpecialMemberFunctionKind FunctionKind; member
51 return (Other.FunctionKind == FunctionKind) &&
DSpecialMemberFunctionsCheck.cpp150 return data.FunctionKind == Kind; in checkForMissingMembers()
156 return data.FunctionKind == Kind && data.IsDeleted; in checkForMissingMembers()
200 [](const auto &data) { return data.FunctionKind; }); in checkForMissingMembers()
/external/clang/lib/AST/
DComment.cpp159 Kind = FunctionKind; in fill()
179 Kind = FunctionKind; in fill()
189 Kind = FunctionKind; in fill()
277 Kind = FunctionKind; in fill()
296 Kind = FunctionKind; in fill()
DCommentSema.cpp805 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind; in isFunctionDecl()
/external/llvm-project/clang/lib/AST/
DComment.cpp234 Kind = FunctionKind; in fill()
254 Kind = FunctionKind; in fill()
264 Kind = FunctionKind; in fill()
336 Kind = FunctionKind; in fill()
357 Kind = FunctionKind; in fill()
DCommentSema.cpp826 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind; in isFunctionDecl()
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h90 enum SummaryKind { AliasKind, FunctionKind, GlobalVarKind }; enumerator
247 : GlobalValueSummary(FunctionKind, Flags), InstCount(NumInsts) {} in FunctionSummary()
251 return GVS->getSummaryKind() == FunctionKind; in classof()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1287 } FunctionKind; in diagnoseRepeatedUseOfWeak() local
1290 FunctionKind = Block; in diagnoseRepeatedUseOfWeak()
1292 FunctionKind = Lambda; in diagnoseRepeatedUseOfWeak()
1294 FunctionKind = Method; in diagnoseRepeatedUseOfWeak()
1296 FunctionKind = Function; in diagnoseRepeatedUseOfWeak()
1345 << int(ObjectKind) << KeyProp << int(FunctionKind) in diagnoseRepeatedUseOfWeak()
DSemaStmt.cpp3248 int FunctionKind = 0; in BuildReturnStmt() local
3250 FunctionKind = 1; in BuildReturnStmt()
3252 FunctionKind = 2; in BuildReturnStmt()
3254 FunctionKind = 3; in BuildReturnStmt()
3257 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
3294 int FunctionKind = 0; in BuildReturnStmt() local
3296 FunctionKind = 1; in BuildReturnStmt()
3298 FunctionKind = 2; in BuildReturnStmt()
3300 FunctionKind = 3; in BuildReturnStmt()
3303 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1435 } FunctionKind; in diagnoseRepeatedUseOfWeak() local
1438 FunctionKind = Block; in diagnoseRepeatedUseOfWeak()
1440 FunctionKind = Lambda; in diagnoseRepeatedUseOfWeak()
1442 FunctionKind = Method; in diagnoseRepeatedUseOfWeak()
1444 FunctionKind = Function; in diagnoseRepeatedUseOfWeak()
1493 << int(ObjectKind) << KeyProp << int(FunctionKind) in diagnoseRepeatedUseOfWeak()
DSemaStmt.cpp3742 int FunctionKind = 0; in BuildReturnStmt() local
3744 FunctionKind = 1; in BuildReturnStmt()
3746 FunctionKind = 2; in BuildReturnStmt()
3748 FunctionKind = 3; in BuildReturnStmt()
3751 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
3786 int FunctionKind = 0; in BuildReturnStmt() local
3788 FunctionKind = 1; in BuildReturnStmt()
3790 FunctionKind = 2; in BuildReturnStmt()
3792 FunctionKind = 3; in BuildReturnStmt()
3795 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
/external/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h284 enum SummaryKind : unsigned { AliasKind, FunctionKind, GlobalVarKind };
644 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)),
663 return GVS->getSummaryKind() == FunctionKind;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h283 enum SummaryKind : unsigned { AliasKind, FunctionKind, GlobalVarKind };
603 : GlobalValueSummary(FunctionKind, Flags, std::move(Refs)),
620 return GVS->getSummaryKind() == FunctionKind;
/external/llvm-project/clang/include/clang/AST/
DComment.h1024 FunctionKind, enumerator
/external/clang/include/clang/AST/
DComment.h1030 FunctionKind, enumerator
/external/llvm-project/clang/lib/Index/
DCommentToXML.cpp830 case DeclInfo::FunctionKind: in visitFullComment()
/external/clang/lib/Index/
DCommentToXML.cpp833 case DeclInfo::FunctionKind: in visitFullComment()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs34 use crate::ir::function::{Abi, Function, FunctionKind, FunctionSig, Linkage};
3788 FunctionKind::Method(ref method_kind) in codegen()
3894 self.kind() == FunctionKind::Function in codegen()
/external/llvm-project/llvm/lib/IR/
DAsmWriter.cpp3086 case GlobalValueSummary::FunctionKind: in getSummaryKindName()
3341 else if (Summary.getSummaryKind() == GlobalValueSummary::FunctionKind) in printSummary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAsmWriter.cpp2885 case GlobalValueSummary::FunctionKind: in getSummaryKindName()
3104 else if (Summary.getSummaryKind() == GlobalValueSummary::FunctionKind) in printSummary()