Home
last modified time | relevance | path

Searched refs:hasInterface (Results 1 – 13 of 13) sorted by relevance

/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DTransformDialect.cpp30 assert((opName.hasInterface<TransformOpInterface>() || in checkImplementsTransformOpInterface()
31 opName.hasInterface<PatternDescriptorOpInterface>() || in checkImplementsTransformOpInterface()
32 opName.hasInterface<ConversionPatternDescriptorOpInterface>() || in checkImplementsTransformOpInterface()
33 opName.hasInterface<TypeConverterBuilderOpInterface>() || in checkImplementsTransformOpInterface()
38 if (!opName.hasInterface<PatternDescriptorOpInterface>() && in checkImplementsTransformOpInterface()
39 !opName.hasInterface<ConversionPatternDescriptorOpInterface>() && in checkImplementsTransformOpInterface()
40 !opName.hasInterface<TypeConverterBuilderOpInterface>()) { in checkImplementsTransformOpInterface()
41 assert(opName.hasInterface<MemoryEffectOpInterface>() && in checkImplementsTransformOpInterface()
50 assert((abstractType.hasInterface( in checkImplementsTransformHandleTypeInterface()
52 abstractType.hasInterface( in checkImplementsTransformHandleTypeInterface()
[all...]
/llvm-project/clang-tools-extra/clang-tidy/objc/
H A DMissingHashCheck.cpp19 AST_MATCHER_P(ObjCImplementationDecl, hasInterface, in AST_MATCHER_P() argument
42 hasInterface(isDirectlyDerivedFrom("NSObject")), in registerMatchers()
H A DSuperSelfCheck.cpp50 AST_MATCHER_P(ObjCImplementationDecl, hasInterface, in AST_MATCHER_P() argument
79 hasDeclContext(objcImplementationDecl(hasInterface( in registerMatchers()
/llvm-project/mlir/lib/CAPI/Interfaces/
H A DInterfaces.cpp77 return info && info->hasInterface(unwrap(interfaceTypeID)); in mlirOperationImplementsInterface()
85 return info && info->hasInterface(unwrap(interfaceTypeID)); in mlirOperationImplementsInterfaceStatic()
/llvm-project/mlir/lib/Rewrite/
H A DFrozenRewritePatternSet.cpp115 return info.hasInterface(*interfaceID); in FrozenRewritePatternSet()
/llvm-project/mlir/include/mlir/IR/
H A DOperationSupport.h366 hasInterface<InterfaceT>(); in hasPromiseOrImplementsInterface()
371 bool hasInterface() const {
372 return hasInterface(TypeID::get<T>());
374 bool hasInterface(TypeID interfaceID) const { in hasInterface()
386 return !isRegistered() || hasInterface(interfaceID); in mightHaveInterface()
373 bool hasInterface() const { hasInterface() function
376 bool hasInterface(TypeID interfaceID) const { hasInterface() function
H A DTypeSupport.h84 bool hasInterface(TypeID interfaceID) const { in hasInterface() function
H A DAttributeSupport.h84 bool hasInterface(TypeID interfaceID) const { in hasInterface() function
/llvm-project/mlir/lib/Dialect/PDLInterp/IR/
H A DPDLInterp.cpp58 if (!opName.hasInterface<InferTypeOpInterface>()) { in verify()
/llvm-project/mlir/lib/Dialect/PDL/IR/
H A DPDL.cpp299 return opName.hasInterface<InferTypeOpInterface>(); in hasTypeInference()
/llvm-project/mlir/include/mlir/Pass/
H A DPass.h439 return opName.hasInterface<InterfaceT>(); in canScheduleOn()
/llvm-project/flang/lib/Semantics/
H A Dmod-file.cpp1658 const auto hasInterface{[&symbol](const Symbol *s) -> bool { in DoSymbol()
1670 needed = needed || hasInterface(dummyArg); in DoSymbol()
1673 needed || (details.isFunction() && hasInterface(&details.result())); in DoSymbol()
1621 const auto hasInterface{[&symbol](const Symbol *s) -> bool { Collect() local
/llvm-project/mlir/docs/
H A DPassManagement.md104 return opInfo.hasInterface<FunctionOpInterface>();