Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp37 ARCInstKind Class) { in CanAlterRefCount() argument
38 switch (Class) { in CanAlterRefCount()
69 ARCInstKind Class) { in CanDecrementRefCount() argument
71 if (!CanDecrementRefCount(Class)) in CanDecrementRefCount()
75 return CanAlterRefCount(Inst, Ptr, PA, Class); in CanDecrementRefCount()
81 ProvenanceAnalysis &PA, ARCInstKind Class) { in CanUse() argument
84 if (Class == ARCInstKind::Call) in CanUse()
130 ARCInstKind Class = GetARCInstKind(Inst); in Depends() local
131 switch (Class) { in Depends()
137 return CanUse(Inst, Arg, PA, 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.cpp508 ARCInstKind &Class);
514 ARCInstKind Class, const Value *Arg);
520 const Value *&Arg, ARCInstKind Class,
652 Function &F, Instruction *Inst, const Value *&Arg, ARCInstKind Class, in OptimizeInlinedAutoreleaseRVCall() argument
685 if (Class == ARCInstKind::RetainRV) { in OptimizeInlinedAutoreleaseRVCall()
694 assert(Class == ARCInstKind::UnsafeClaimRV); in OptimizeInlinedAutoreleaseRVCall()
714 ARCInstKind &Class) { in OptimizeAutoreleaseRVCall() argument
754 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
816 ARCInstKind Class = GetBasicARCInstKind(Inst); in OptimizeIndividualCalls() local
820 switch (Class) { in OptimizeIndividualCalls()
[all …]
H A DDependencyAnalysis.h65 ARCInstKind Class);
70 ProvenanceAnalysis &PA, ARCInstKind Class);
75 ProvenanceAnalysis &PA, ARCInstKind Class);
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp104 while (auto Class = E.getNext()) { in filterAndSortClassDefs() local
112 if (Class->getUnmodifiedTypeId() != 0) { in filterAndSortClassDefs()
117 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) { in filterAndSortClassDefs()
122 auto Layout = std::make_unique<ClassLayout>(std::move(Class)); in filterAndSortClassDefs()
182 const PDBSymbolTypeUDT &Class) { in printClassDecl() argument
183 if (Class.getUnmodifiedTypeId() != 0) { in printClassDecl()
184 if (Class.isConstType()) in printClassDecl()
186 if (Class.isVolatileType()) in printClassDecl()
188 if (Class.isUnalignedType()) in printClassDecl()
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
[all …]
H A DPrettyClassDefinitionDumper.h32 void start(const PDBSymbolTypeUDT &Class);
33 void start(const ClassLayout &Class);
36 void prettyPrintClassIntro(const ClassLayout &Class);
37 void prettyPrintClassOutro(const ClassLayout &Class);
H A DPrettyClassDefinitionDumper.cpp30 void ClassDefinitionDumper::start(const PDBSymbolTypeUDT &Class) { in start() argument
34 ClassLayout Layout(Class); in start()
52 const PDBSymbolTypeUDT &Class = Layout.getClass(); in prettyPrintClassIntro() local
61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
62 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
/freebsd/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 = CountAttributedType in {
47 let Class = AdjustedType in {
58 let Class = DecayedType in {
68 let Class = BlockPointerType in {
76 let Class = ReferenceType in {
82 let Class = LValueReferenceType in {
93 let Class = RValueReferenceType in {
99 let Class = MemberPointerType in {
[all …]
H A DPropertiesBase.td173 HasProperties Class;
198 HasProperties Class;
208 HasProperties Class;
218 HasProperties Class;
260 let Class = PropertyTypeCase<APValue, "None"> in {
263 let Class = PropertyTypeCase<APValue, "Indeterminate"> in {
266 let Class = PropertyTypeCase<APValue, "Int"> in {
272 let Class = PropertyTypeCase<APValue, "Float"> in {
288 let Class = PropertyTypeCase<APValue, "FixedPoint"> in {
299 let Class = PropertyTypeCase<APValue, "ComplexInt"> in {
[all …]
/freebsd/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)
95 #define HANDLE_FUNCLETPAD_INST(num, opcode, Class)
97 #define HANDLE_FUNCLETPAD_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h53 #define CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(Class) \ argument
54 inline Class operator|(Class a, Class b) { \
55 return static_cast<Class>(llvm::to_underlying(a) | \
58 inline Class operator&(Class a, Class b) { \
59 return static_cast<Class>(llvm::to_underlying(a) & \
62 inline Class operator~(Class a) { \
63 return static_cast<Class>(~llvm::to_underlying(a)); \
65 inline Class &operator|=(Class &a, Class b) { \
69 inline Class &operator&=(Class &a, Class b) { \
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp29 const ARCInstKind Class) { in operator <<() argument
30 switch (Class) { in operator <<()
226 ARCInstKind Class = GetFunctionClass(F); in GetARCInstKind() local
227 if (Class != ARCInstKind::CallOrUser) in GetARCInstKind()
228 return Class; in GetARCInstKind()
310 bool llvm::objcarc::IsUser(ARCInstKind Class) { in IsUser() argument
311 switch (Class) { in IsUser()
344 bool llvm::objcarc::IsRetain(ARCInstKind Class) { in IsRetain() argument
345 switch (Class) { in IsRetain()
380 bool llvm::objcarc::IsAutorelease(ARCInstKind Class) { in IsAutorelease() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp289 : Self(P), Class(C) {} in LateParsedClass()
292 Self->DeallocateParsedClasses(Class); in ~LateParsedClass()
296 Self->ParseLexedMethodDeclarations(*Class); in ParseLexedMethodDeclarations()
300 Self->ParseLexedMemberInitializers(*Class); in ParseLexedMemberInitializers()
304 Self->ParseLexedMethodDefs(*Class); in ParseLexedMethodDefs()
308 Self->ParseLexedAttributes(*Class); in ParseLexedAttributes()
312 Self->ParseLexedPragmas(*Class); in ParseLexedPragmas()
353 ParsingClass &Class; member
355 ReenterClassScopeRAII(Parser &P, ParsingClass &Class) in ReenterClassScopeRAII()
356 : ReenterTemplateScopeRAII(P, Class.TagOrTemplate, in ReenterClassScopeRAII()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp258 CXXRecordDecl *Class = CXXRecordDecl::CreateLambda( in createLambdaClosureType() local
261 DC->addDecl(Class); in createLambdaClosureType()
263 return Class; in createLambdaClosureType()
364 buildTypeForLambdaCallOperator(Sema &S, clang::CXXRecordDecl *Class, in buildTypeForLambdaCallOperator() argument
373 if (Class->isDependentContext() || TemplateParams) { in buildTypeForLambdaCallOperator()
456 CXXRecordDecl *Class, CXXMethodDecl *Method, in handleLambdaNumbering() argument
459 Class->setLambdaNumbering(*NumberingOverride); in handleLambdaNumbering()
463 ContextRAII ManglingContext(*this, Class->getDeclContext()); in handleLambdaNumbering()
466 [this](CXXRecordDecl *Class, in handleLambdaNumbering()
473 auto DC = Class->getDeclContext(); in handleLambdaNumbering()
[all …]
H A DSemaLookup.cpp998 static bool CanDeclareSpecialMemberFunction(const CXXRecordDecl *Class) { in CanDeclareSpecialMemberFunction() argument
1000 if (!Class->getDefinition() || Class->isDependentContext()) in CanDeclareSpecialMemberFunction()
1004 return !Class->isBeingDefined(); in CanDeclareSpecialMemberFunction()
1007 void Sema::ForceDeclarationOfImplicitMembers(CXXRecordDecl *Class) { in ForceDeclarationOfImplicitMembers() argument
1008 if (!CanDeclareSpecialMemberFunction(Class)) in ForceDeclarationOfImplicitMembers()
1012 if (Class->needsImplicitDefaultConstructor()) in ForceDeclarationOfImplicitMembers()
1013 DeclareImplicitDefaultConstructor(Class); in ForceDeclarationOfImplicitMembers()
1016 if (Class->needsImplicitCopyConstructor()) in ForceDeclarationOfImplicitMembers()
1017 DeclareImplicitCopyConstructor(Class); in ForceDeclarationOfImplicitMembers()
1020 if (Class->needsImplicitCopyAssignment()) in ForceDeclarationOfImplicitMembers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp23 Class(std::move(CR)), Tag(&*Class) {} in NativeTypeUDT()
94 if (Class) in getVirtualTableShapeId()
95 return Session.getSymbolCache().findSymbolByTypeIndex(Class->VTableShape); in getVirtualTableShapeId()
104 if (Class) in getLength()
105 return Class->getSize(); in getLength()
115 case TypeRecordKind::Class: in getUdtKind()
116 return PDB_UdtType::Class; in getUdtKind()
/freebsd/contrib/llvm-project/lldb/bindings/
H A Dmacros.swig1 %define STRING_EXTENSION_LEVEL_OUTSIDE(Class, Level)
2 %extend lldb:: ## Class ## {
16 %define STRING_EXTENSION_OUTSIDE(Class)
17 %extend lldb:: ## Class ## {
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DObjCNoReturn.cpp20 static bool isSubclass(const ObjCInterfaceDecl *Class, in isSubclass() argument
22 if (!Class) in isSubclass()
24 if (Class->getIdentifier() == II) in isSubclass()
26 return isSubclass(Class->getSuperClass(), II); in isSubclass()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTTypeTraits.cpp52 #define CLAUSE_CLASS(Enum, Str, Class) {NKI_OMPClause, #Class}, argument
134 case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS); in getFromNode()
143 #define TYPE(Class, Base) \ in getFromNode() argument
144 case Type::Class: return ASTNodeKind(NKI_##Class##Type); in getFromNode()
145 #define ABSTRACT_TYPE(Class, Base) in getFromNode() argument
165 #define CLAUSE_CLASS(Enum, Str, Class) \ in getFromNode() argument
167 return ASTNodeKind(NKI_##Class); in getFromNode()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DDetailedRecordsBackend.cpp89 auto *const Class = ClassPair.second.get(); in printClasses() local
90 OS << formatv("\n{0} |{1}|\n", Class->getNameInitAsString(), in printClasses()
91 SrcMgr.getFormattedLocationNoOffset(Class->getLoc().front())); in printClasses()
92 printTemplateArgs(Class, OS); in printClasses()
93 printSuperclasses(Class, OS); in printClasses()
94 printFields(Class, OS); in printClasses()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp49 Record *Class = nullptr; member
588 Field.RecType = RecordRecTy::get(Field.Enum->Class); in parseFieldType()
735 Enum->Class = Records.getClass(FilterClass); in run()
736 if (!Enum->Class) in run()
832 Record *Class = NameRec.second.get(); in run() local
833 if (Class->getSuperClasses().size() != 1 || in run()
834 !Class->isSubClassOf(SearchableTable)) in run()
837 StringRef TableName = Class->getName(); in run()
839 if (!Class->isValueUnset("EnumNameField")) { in run()
840 StringRef NameField = Class->getValueAsString("EnumNameField"); in run()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp120 FoundationClass Class, bool CanBeSubscript = false) const;
163 FoundationClass Class, in warnIfNilArg() argument
181 if (Class == FC_NSArray) { in warnIfNilArg()
183 } else if (Class == FC_NSDictionary) { in warnIfNilArg()
195 if (Class == FC_NSDictionary) { in warnIfNilArg()
237 FoundationClass Class = findKnownClass(ID); in checkPreObjCMessage() local
243 if (Class == FC_NSString) { in checkPreObjCMessage()
270 } else if (Class == FC_NSArray) { in checkPreObjCMessage()
298 } else if (Class == FC_NSDictionary) { in checkPreObjCMessage()
316 warnIfNilArg(C, msg, /* Arg */1, Class); in checkPreObjCMessage()
[all …]
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexresolv.c279 RefType = StackDesc->Reference.Class; in AcpiExResolveObjectToValue()
538 switch (ObjDesc->Reference.Class) in AcpiExResolveMultiple()
545 if (ObjDesc->Reference.Class == ACPI_REFCLASS_REFOF) in AcpiExResolveMultiple()
620 Status = AcpiDsMethodDataGetValue (ObjDesc->Reference.Class, in AcpiExResolveMultiple()
630 Status = AcpiDsMethodDataGetNode (ObjDesc->Reference.Class, in AcpiExResolveMultiple()
657 ObjDesc->Reference.Class)); in AcpiExResolveMultiple()

12345678910>>...17