Home
last modified time | relevance | path

Searched refs:isStruct (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h145 bool isStruct() const { return isa<StructType *>(CurTy); } in isStruct() function
147 bool isSequential() const { return !isStruct(); } in isSequential()
/llvm-project/clang/include/clang/AST/
H A DAPValue.h475 bool isStruct() const { return Kind == Struct; }
605 assert(isStruct() && "Invalid accessor");
609 assert(isStruct() && "Invalid accessor");
613 assert(isStruct() && "Invalid accessor");
618 assert(isStruct() && "Invalid accessor");
/llvm-project/clang-tools-extra/clang-tidy/android/
H A DCloexecAccept4Check.cpp20 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
H A DCloexecAcceptCheck.cpp19 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DNonPrivateMemberVariablesInClassesCheck.cpp76 Finder->addMatcher(cxxRecordDecl(anyOf(isStruct(), isClass()), hasMethods(), in registerMatchers()
/llvm-project/mlir/lib/TableGen/
H A DClass.cpp312 os << (isStruct ? "struct" : "class") << ' ' << className << ' '; in writeDeclTo()
374 ? (isStruct ? Visibility::Public : Visibility::Private) in getLastVisibilityDecl()
/llvm-project/mlir/include/mlir/TableGen/
H A DClass.h659 Class(NameT &&name, bool isStruct = false) in className()
660 : className(stringify(std::forward<NameT>(name))), isStruct(isStruct) {}
869 bool isStruct;
868 bool isStruct; global() variable
/llvm-project/clang-tools-extra/clang-tidy/altera/
H A DStructPackAlignCheck.cpp20 Finder->addMatcher(recordDecl(isStruct(), isDefinition(), in registerMatchers()
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DCrtpConstructorAccessibilityCheck.cpp142 const bool IsStruct = CRTPDeclaration->isStruct(); in check()
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp649 if (CRD->isStruct() && in getClassPrefix()
1179 if (Definition->isStruct() && NamingStyles[SK_Struct]) in findStyleKind()
1182 if (Definition->isStruct() && NamingStyles[SK_Class]) in findStyleKind()
/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp111 if (RD->isStruct() || RD->isClass()) in isValidBaseType()
H A DCGExprCXX.cpp1241 if (RType->getDecl()->isStruct()) { in EmitNewArrayInitializer()
/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp538 if (GTI.isStruct()) in allocateCandidatesAndFindBasisForGEP()
/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp221 if (V.isStruct() || V.isUnion()) { in getAsSimpleValueDeclRef()
H A DType.cpp664 return RT->getDecl()->isStruct();
673 if (!Decl->isStruct()) in isUnionType()
693 return RD->isStruct() || RD->isClass() || RD->isInterface();
757 if (RT->getDecl()->isStruct()) in getAsUnionType()
763 if (!RT->getDecl()->isStruct()) in isObjCIdOrObjectKindOfType()
H A DDeclCXX.cpp2136 if (Uuid && isStruct() && !getDeclContext()->isExternCContext() && in isEquivalent()
/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp481 REGISTER_MATCHER(isStruct); in RegistryMaps()
/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp
/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6158 AST_MATCHER(TagDecl, isStruct) {
6159 return Node.isStruct();
6115 AST_MATCHER(TagDecl,isStruct) AST_MATCHER() argument
/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h208 if (Decl->isStruct()) in getOwningModuleName()
/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp194 if (Record->isStruct()) in getStructureTypeFragment()
/llvm-project/clang-tools-extra/clangd/
H A DHover.cpp445 Constant.Val.isStruct() || Constant.Val.isUnion()) in printExprValue()
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1498 if (I.isStruct()) in SimplifyDemandedVectorElts()
/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2828 TypeSize ElemSize = GEPTI.isStruct() in getGEPInductionOperand()

12