Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DReproducerInstrumentation.h90 R.Register<Class * Signature>(&construct<Class Signature>::record, "", \
91 #Class, #Class, #Signature)
95 &invoke<Result(Class::*) Signature>::method<(&Class::Method)>::record, \
159 LLDB_RECORD_(Result(Class::*) Signature, (&Class::Method), this, __VA_ARGS__)
162 LLDB_RECORD_(Result(Class::*) Signature const, (&Class::Method), this, \
166 LLDB_RECORD_(Result (Class::*)(), (&Class::Method), this)
169 LLDB_RECORD_(Result (Class::*)() const, (&Class::Method), this)
943 static Class *record(Args... args) { return new Class(args...); }
947 return recorder.Replay<Class *, Class *(Args...)>(
1056 Class *c = deserializer.Deserialize<Class *>();
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h56 raw_ostream &operator<<(raw_ostream &OS, const ARCInstKind Class);
59 bool IsUser(ARCInstKind Class);
62 bool IsRetain(ARCInstKind Class);
65 bool IsAutorelease(ARCInstKind Class);
69 bool IsForwarding(ARCInstKind Class);
73 bool IsNoopOnNull(ARCInstKind Class);
77 bool IsNoopOnGlobal(ARCInstKind Class);
81 bool IsAlwaysTail(ARCInstKind Class);
85 bool IsNeverTail(ARCInstKind Class);
89 bool IsNoThrow(ARCInstKind Class);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp38 switch (Class) { in CanAlterRefCount()
71 if (!CanDecrementRefCount(Class)) in CanDecrementRefCount()
84 if (Class == ARCInstKind::Call) in CanUse()
132 ARCInstKind Class = GetARCInstKind(Inst); in Depends() local
133 switch (Class) { in Depends()
139 return CanUse(Inst, Arg, PA, Class); in Depends()
144 ARCInstKind Class = GetARCInstKind(Inst); in Depends() local
145 switch (Class) { in Depends()
158 switch (Class) { in Depends()
188 switch (Class) { in Depends()
[all …]
H A DPtrState.cpp229 ARCInstKind Class) { in HandlePotentialAlterRefCount() argument
233 if (!CanDecrementRefCount(Inst, Ptr, PA, Class)) in HandlePotentialAlterRefCount()
256 ARCInstKind Class) { in HandlePotentialUse() argument
292 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
296 } else if (const auto *Call = getreturnRVOperand(*Inst, Class)) { in HandlePotentialUse()
305 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
379 ARCInstKind Class, const BundledRetainClaimRVs &BundledRVs) { in HandlePotentialAlterRefCount() argument
382 if (!CanDecrementRefCount(Inst, Ptr, PA, Class) && in HandlePotentialAlterRefCount()
383 Class != ARCInstKind::IntrinsicUser) in HandlePotentialAlterRefCount()
418 ARCInstKind Class) { in HandlePotentialUse() argument
[all …]
H A DObjCARCOpts.cpp770 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
866 switch (Class) { in OptimizeIndividualCalls()
945 if (IsNoopOnGlobal(Class)) in OptimizeIndividualCallImpl()
954 switch (Class) { in OptimizeIndividualCallImpl()
1068 if (IsNeverTail(Class)) { in OptimizeIndividualCallImpl()
1076 if (IsNoThrow(Class)) { in OptimizeIndividualCallImpl()
1084 if (!IsNoopOnNull(Class)) { in OptimizeIndividualCallImpl()
1152 switch (Class) { in OptimizeIndividualCallImpl()
1376 switch (Class) { in VisitInstructionBottomUp()
1559 switch (Class) { in VisitInstructionTopDown()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp102 while (auto Class = E.getNext()) { in filterAndSortClassDefs() local
110 if (Class->getUnmodifiedTypeId() != 0) { in filterAndSortClassDefs()
115 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) { in filterAndSortClassDefs()
181 if (Class.getUnmodifiedTypeId() != 0) { in printClassDecl()
182 if (Class.isConstType()) in printClassDecl()
184 if (Class.isVolatileType()) in printClassDecl()
186 if (Class.isUnalignedType()) in printClassDecl()
247 for (auto &Class : Filtered) in start() local
248 dumpClassLayout(*Class); in start()
251 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) in start()
[all …]
H A DPrettyClassDefinitionDumper.h34 void start(const PDBSymbolTypeUDT &Class);
35 void start(const ClassLayout &Class);
38 void prettyPrintClassIntro(const ClassLayout &Class);
39 void prettyPrintClassOutro(const ClassLayout &Class);
H A DPrettyClassDefinitionDumper.cpp29 void ClassDefinitionDumper::start(const PDBSymbolTypeUDT &Class) { in start() argument
33 ClassLayout Layout(Class); in start()
51 const PDBSymbolTypeUDT &Class = Layout.getClass(); in prettyPrintClassIntro() local
60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLocNodes.def14 // TYPELOC(Class, Base) - A TypeLoc subclass. If UNQUAL_TYPELOC is
17 // UNQUAL_TYPELOC(Class, Base, Type) - An UnqualTypeLoc subclass.
19 // ABSTRACT_TYPELOC(Class) - Refers to TypeSpecLoc and DeclaratorLoc.
24 # define UNQUAL_TYPELOC(Class, Base) TYPELOC(Class, Base)
28 # define ABSTRACT_TYPELOC(Class, Base) UNQUAL_TYPELOC(Class, Base)
32 #define TYPE(Class, Base) UNQUAL_TYPELOC(Class, Base##Loc)
33 #define ABSTRACT_TYPE(Class, Base) ABSTRACT_TYPELOC(Class, Base##Loc)
H A DTypeProperties.td12 let Class = ComplexType in {
20 let Class = PointerType in {
28 let Class = AdjustedType in {
39 let Class = DecayedType in {
93 let Class = ArrayType in {
165 let Class = VectorType in {
227 let Class = MatrixType in {
431 let Class = AutoType in {
482 let Class = TagType in {
497 let Class = EnumType in {
[all …]
H A DPropertiesBase.td166 HasProperties Class;
191 HasProperties Class;
201 HasProperties Class;
211 HasProperties Class;
253 let Class = PropertyTypeCase<APValue, "None"> in {
259 let Class = PropertyTypeCase<APValue, "Int"> in {
265 let Class = PropertyTypeCase<APValue, "Float"> in {
324 let Class = PropertyTypeCase<APValue, "Vector"> in {
344 let Class = PropertyTypeCase<APValue, "Array"> in {
373 let Class = PropertyTypeCase<APValue, "Struct"> in {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h52 #define CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(Class) \ argument
53 inline Class operator|(Class a, Class b) { \
54 return static_cast<Class>( \
55 static_cast<std::underlying_type<Class>::type>(a) | \
56 static_cast<std::underlying_type<Class>::type>(b)); \
58 inline Class operator&(Class a, Class b) { \
59 return static_cast<Class>( \
60 static_cast<std::underlying_type<Class>::type>(a) & \
63 inline Class operator~(Class a) { \
67 inline Class &operator|=(Class &a, Class b) { \
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def25 #define HANDLE_TERM_INST(num, opcode, Class)
27 #define HANDLE_TERM_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
41 #define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
55 #define HANDLE_BINARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
67 #define HANDLE_MEMORY_INST(num, opcode, Class)
69 #define HANDLE_MEMORY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
81 #define HANDLE_CAST_INST(num, opcode, Class)
83 #define HANDLE_CAST_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
97 #define HANDLE_FUNCLETPAD_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
111 #define HANDLE_OTHER_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp30 switch (Class) { in operator <<()
312 switch (Class) { in IsUser()
346 switch (Class) { in IsRetain()
382 switch (Class) { in IsAutorelease()
417 switch (Class) { in IsForwarding()
452 switch (Class) { in IsNoopOnNull()
487 switch (Class) { in IsNoopOnGlobal()
523 switch (Class) { in IsAlwaysTail()
562 switch (Class) { in IsNeverTail()
599 switch (Class) { in IsNoThrow()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp256 DC->addDecl(Class); in createLambdaClosureType()
258 return Class; in createLambdaClosureType()
392 Context, Class, EndLoc, in startLambdaDefinition()
399 Class->addDecl(Method); in startLambdaDefinition()
1266 Class->setInvalidDecl(); in ActOnLambdaError()
1268 ActOnFields(nullptr, Class->getLocation(), Class, Fields, SourceLocation(), in ActOnLambdaError()
1448 S.Context, Class, Loc, in addFunctionPointerConversion()
1510 Class->addDecl(Invoke); in addFunctionPointerConversion()
1754 CXXRecordDecl *Class; in BuildLambdaExpr() local
1764 Class = LSI->Lambda; in BuildLambdaExpr()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp229 : Self(P), Class(C) {} in LateParsedClass()
232 Self->DeallocateParsedClasses(Class); in ~LateParsedClass()
236 Self->ParseLexedMethodDeclarations(*Class); in ParseLexedMethodDeclarations()
240 Self->ParseLexedMemberInitializers(*Class); in ParseLexedMemberInitializers()
244 Self->ParseLexedMethodDefs(*Class); in ParseLexedMethodDefs()
248 Self->ParseLexedAttributes(*Class); in ParseLexedAttributes()
252 Self->ParseLexedPragmas(*Class); in ParseLexedPragmas()
293 ParsingClass &Class; member
298 Class(Class) { in ReenterClassScopeRAII()
300 if (Class.TopLevelClass) in ReenterClassScopeRAII()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp70 static std::string GetRecordMethodMacro(StringRef Result, StringRef Class, in GetRecordMethodMacro() argument
78 OS << "(" << Result << ", " << Class << ", " << Method; in GetRecordMethodMacro()
89 static std::string GetRecordConstructorMacro(StringRef Class, in GetRecordConstructorMacro() argument
95 OS << "LLDB_RECORD_CONSTRUCTOR(" << Class << ", (" << Signature << "), " in GetRecordConstructorMacro()
98 OS << "LLDB_RECORD_CONSTRUCTOR_NO_ARGS(" << Class << ");\n\n"; in GetRecordConstructorMacro()
103 static std::string GetRecordDummyMacro(StringRef Result, StringRef Class, in GetRecordDummyMacro() argument
110 OS << "LLDB_RECORD_DUMMY(" << Result << ", " << Class << ", " << Method; in GetRecordDummyMacro()
116 static std::string GetRegisterConstructorMacro(StringRef Class, in GetRegisterConstructorMacro() argument
120 OS << "LLDB_REGISTER_CONSTRUCTOR(" << Class << ", (" << Signature << "));\n"; in GetRegisterConstructorMacro()
124 static std::string GetRegisterMethodMacro(StringRef Result, StringRef Class, in GetRegisterMethodMacro() argument
[all …]
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h72 template <class Class, typename MethodPtr>
75 InvokeMethodAction(Class* obj_ptr, MethodPtr method_ptr) in InvokeMethodAction()
89 Class* const obj_ptr_;
123 template <class Class, typename MethodPtr>
124 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke( in Invoke()
125 Class* obj_ptr, MethodPtr method_ptr) { in Invoke()
127 internal::InvokeMethodAction<Class, MethodPtr>(obj_ptr, method_ptr)); in Invoke()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTTypeTraits.cpp45 #define CLAUSE_CLASS(Enum, Str, Class) {NKI_OMPClause, #Class}, argument
109 case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS); in getFromNode()
118 #define TYPE(Class, Base) \ in getFromNode() argument
119 case Type::Class: return ASTNodeKind(NKI_##Class##Type); in getFromNode()
120 #define ABSTRACT_TYPE(Class, Base) in getFromNode() argument
129 #define CLAUSE_CLASS(Enum, Str, Class) \ in getFromNode() argument
131 return ASTNodeKind(NKI_##Class); in getFromNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp22 Class(std::move(CR)), Tag(Class.getPointer()) {} in NativeTypeUDT()
93 if (Class) in getVirtualTableShapeId()
94 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape); in getVirtualTableShapeId()
103 if (Class) in getLength()
104 return Class->getSize(); in getLength()
114 case TypeRecordKind::Class: in getUdtKind()
115 return PDB_UdtType::Class; in getUdtKind()
/freebsd-13.1/contrib/llvm-project/lldb/bindings/
H A Dmacros.swig1 %define STRING_EXTENSION_LEVEL(Class, Level)
3 std::string lldb:: ## Class ## ::__str__(){
16 %define STRING_EXTENSION(Class)
18 std::string lldb:: ## Class ## ::__str__(){
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DObjCNoReturn.cpp20 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() argument
21 if (!Class) in isSubclass()
23 if (Class->getIdentifier() == II) in isSubclass()
25 return isSubclass(Class->getSuperClass(), II); in isSubclass()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp48 Record *Class = nullptr; member
674 Enum->Class = Records.getClass(FilterClass); in run()
675 if (!Enum->Class) in run()
752 Record *Class = NameRec.second.get(); in run() local
753 if (Class->getSuperClasses().size() != 1 || in run()
754 !Class->isSubClassOf(SearchableTable)) in run()
757 StringRef TableName = Class->getName(); in run()
759 if (!Class->isValueUnset("EnumNameField")) { in run()
762 if (!Class->isValueUnset("EnumValueField")) in run()
768 Enum->Class = Class; in run()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DDetailedRecordsBackend.cpp88 auto *const Class = ClassPair.second.get(); in printClasses() local
89 OS << formatv("\n{0} |{1}|\n", Class->getNameInitAsString(), in printClasses()
90 SrcMgr.getFormattedLocationNoOffset(Class->getLoc().front())); in printClasses()
91 printTemplateArgs(Class, OS); in printClasses()
92 printSuperclasses(Class, OS); in printClasses()
93 printFields(Class, OS); in printClasses()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp170 if (Class == FC_NSArray) { in warnIfNilArg()
184 if (Class == FC_NSDictionary) { in warnIfNilArg()
232 if (Class == FC_NSString) { in checkPreObjCMessage()
259 } else if (Class == FC_NSArray) { in checkPreObjCMessage()
622 assert(Class); in checkPreObjCMessage()
686 switch (findKnownClass(Class)) { in isVariadicMessage()
699 switch (findKnownClass(Class)) { in isVariadicMessage()
1020 if (Class != FC_NSDictionary && in checkPostObjCMessage()
1021 Class != FC_NSArray && in checkPostObjCMessage()
1022 Class != FC_NSSet && in checkPostObjCMessage()
[all …]

12345678910>>...16