Home
last modified time | relevance | path

Searched refs:TypeTrait (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeTraits.h21 enum TypeTrait { enum
62 const char *getTraitName(TypeTrait T) LLVM_READONLY;
67 const char *getTraitSpelling(TypeTrait T) LLVM_READONLY;
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestTraits.h20 namespace TypeTrait {
24 class TestTypeTrait : public TypeTrait::TraitBase<ConcreteType, TestTypeTrait> {
H A DTestTypes.h136 ::mlir::TypeTrait::IsMutable> {
H A DTestDialect.cpp1378 if ((*this)->getResultTypes()[0].hasTrait<TypeTrait::TestTypeTrait>()) in verify()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypes.h199 namespace TypeTrait {
213 TypeTrait::TraitBase> {
217 detail::Interface<ConcreteType, Type, Traits, Type, TypeTrait::TraitBase>;
237 namespace TypeTrait {
H A DExtensibleDialect.h276 namespace TypeTrait {
278 class IsDynamicType : public TypeTrait::TraitBase<ConcreteType, IsDynamicType> {
290 TypeTrait::IsDynamicType> {
H A DAttrTypeBase.td31 // TypeTrait definitions
/llvm-project-15.0.7/clang/lib/Basic/
H A DTypeTraits.cpp58 const char *clang::getTraitName(TypeTrait T) { in getTraitName()
73 const char *clang::getTraitSpelling(TypeTrait T) { in getTraitSpelling()
/llvm-project-15.0.7/mlir/lib/IR/
H A DSubElementInterfaces.cpp58 if (LLVM_UNLIKELY(type.hasTrait<TypeTrait::IsMutable>())) { in walkSubElementsImpl()
101 return type.hasTrait<TypeTrait::IsMutable>(); in isMutable()
H A DExtensibleDialect.cpp153 return type.hasTrait<TypeTrait::IsDynamicType>(); in classof()
/llvm-project-15.0.7/mlir/unittests/Dialect/LLVMIR/
H A DLLVMTypeTest.cpp19 ASSERT_TRUE(structTy.hasTrait<TypeTrait::IsMutable>()); in TEST_F()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h287 TypeTrait::IsMutable> {
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h280 detail::StructTypeStorage, TypeTrait::IsMutable> {
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp4717 static bool CheckUnaryTypeTraitTypeCompleteness(Sema &S, TypeTrait UTT, in CheckUnaryTypeTraitTypeCompleteness()
4871 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT, in EvaluateUnaryTypeTrait()
5274 static bool EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT,
5277 static bool evaluateTypeTrait(Sema &S, TypeTrait Kind, SourceLocation KWLoc, in evaluateTypeTrait()
5398 void DiagnoseBuiltinDeprecation(Sema& S, TypeTrait Kind, in DiagnoseBuiltinDeprecation()
5400 TypeTrait Replacement; in DiagnoseBuiltinDeprecation()
5432 ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in BuildTypeTrait()
5459 ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, in ActOnTypeTrait()
5477 static bool EvaluateBinaryTypeTrait(Sema &Self, TypeTrait BTT, QualType LhsT, in EvaluateBinaryTypeTrait()
H A DTreeTransform.h3207 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprCXX.h2694 TypeTraitExpr(QualType T, SourceLocation Loc, TypeTrait Kind,
2712 SourceLocation Loc, TypeTrait Kind,
2721 TypeTrait getTrait() const { in getTrait()
2722 return static_cast<TypeTrait>(TypeTraitExprBits.Kind); in getTrait()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp1673 TypeTraitExpr::TypeTraitExpr(QualType T, SourceLocation Loc, TypeTrait Kind, in TypeTraitExpr()
1696 TypeTrait Kind, in Create()
/llvm-project-15.0.7/mlir/docs/
H A DTraits.md21 types, this is `TypeTrait::TraitBase`. This base class takes as template
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp3691 static TypeTrait TypeTraitFromTokKind(tok::TokenKind kind) { in TypeTraitFromTokKind()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h6644 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
6647 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,