| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeTraits.h | 21 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 D | TestTraits.h | 20 namespace TypeTrait { 24 class TestTypeTrait : public TypeTrait::TraitBase<ConcreteType, TestTypeTrait> {
|
| H A D | TestTypes.h | 136 ::mlir::TypeTrait::IsMutable> {
|
| H A D | TestDialect.cpp | 1378 if ((*this)->getResultTypes()[0].hasTrait<TypeTrait::TestTypeTrait>()) in verify()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 199 namespace TypeTrait { 213 TypeTrait::TraitBase> { 217 detail::Interface<ConcreteType, Type, Traits, Type, TypeTrait::TraitBase>; 237 namespace TypeTrait {
|
| H A D | ExtensibleDialect.h | 276 namespace TypeTrait { 278 class IsDynamicType : public TypeTrait::TraitBase<ConcreteType, IsDynamicType> { 290 TypeTrait::IsDynamicType> {
|
| H A D | AttrTypeBase.td | 31 // TypeTrait definitions
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | TypeTraits.cpp | 58 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 D | SubElementInterfaces.cpp | 58 if (LLVM_UNLIKELY(type.hasTrait<TypeTrait::IsMutable>())) { in walkSubElementsImpl() 101 return type.hasTrait<TypeTrait::IsMutable>(); in isMutable()
|
| H A D | ExtensibleDialect.cpp | 153 return type.hasTrait<TypeTrait::IsDynamicType>(); in classof()
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/LLVMIR/ |
| H A D | LLVMTypeTest.cpp | 19 ASSERT_TRUE(structTy.hasTrait<TypeTrait::IsMutable>()); in TEST_F()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/ |
| H A D | LLVMTypes.h | 287 TypeTrait::IsMutable> {
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.h | 280 detail::StructTypeStorage, TypeTrait::IsMutable> {
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 4717 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 D | TreeTransform.h | 3207 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 2694 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 D | ExprCXX.cpp | 1673 TypeTraitExpr::TypeTraitExpr(QualType T, SourceLocation Loc, TypeTrait Kind, in TypeTraitExpr() 1696 TypeTrait Kind, in Create()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | Traits.md | 21 types, this is `TypeTrait::TraitBase`. This base class takes as template
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 3691 static TypeTrait TypeTraitFromTokKind(tok::TokenKind kind) { in TypeTraitFromTokKind()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 6644 ExprResult ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc, 6647 ExprResult BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
|