Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/flang/test/Semantics/
H A Dsymbol15.f909 subroutine iface
25 procedure(iface), pointer :: pp1
29 procedure(iface), pointer :: pp2 => null()
33 procedure(iface), pointer :: pp3 => ext1
37 procedure(iface), pointer :: pp4 => ext2
41 procedure(iface), pointer :: pp5 => ext3
61 procedure(iface), nopass, pointer :: ppc1
112 procedure(iface), nopass, pointer :: ppc1
157 procedure(iface) :: ext3
172 procedure(iface), pointer :: pp10 => ext1
[all …]
/llvm-project-15.0.7/mlir/unittests/IR/
H A DInterfaceAttachmentTest.cpp69 ASSERT_TRUE(iface != nullptr); in TEST()
70 EXPECT_EQ(iface.getBitwidthPlusArg(10), 18u); in TEST()
73 EXPECT_EQ(iface.staticGetArgument(17), 17u); in TEST()
80 ASSERT_TRUE(iface != nullptr); in TEST()
81 EXPECT_EQ(iface.getBitwidthPlusArg(10), 42u); in TEST()
84 EXPECT_EQ(iface.staticGetArgument(17), 420u); in TEST()
115 ASSERT_TRUE(iface != nullptr); in TEST()
228 ASSERT_TRUE(iface != nullptr); in TEST()
230 EXPECT_EQ(iface.getSomeNumber(), 42); in TEST()
312 ASSERT_TRUE(iface != nullptr); in TEST()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Target/LLVMIR/
H A DLLVMTranslationInterface.h73 if (const LLVMTranslationDialectInterface *iface = getInterfaceFor(op)) in convertOperation() local
74 return iface->convertOperation(op, builder, moduleTranslation); in convertOperation()
83 if (const LLVMTranslationDialectInterface *iface = in amendOperation() local
85 return iface->amendOperation(op, attribute, moduleTranslation); in amendOperation()
H A DModuleTranslation.h307 LLVMTranslationInterface iface; variable
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DDataLayoutInterfaces.cpp300 [](DataLayoutSpecInterface iface) { return iface != nullptr; })); in getCombinedDataLayout() argument
370 if (auto iface = dyn_cast<DataLayoutOpInterface>(op)) in closest() local
371 return DataLayout(iface); in closest()
417 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope)) in getTypeSize() local
418 return iface.getTypeSize(ty, *this, list); in getTypeSize()
429 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope)) in getTypeSizeInBits() local
430 return iface.getTypeSizeInBits(ty, *this, list); in getTypeSizeInBits()
442 return iface.getTypeABIAlignment(ty, *this, list); in getTypeABIAlignment()
454 return iface.getTypePreferredAlignment(ty, *this, list); in getTypePreferredAlignment()
551 if (!iface) { in verifyDataLayoutSpec()
[all …]
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dpython_test.py144 iface = InferTypeOpInterface(op)
145 print(iface.inferReturnTypes())
149 print(iface.inferReturnTypes())
151 assert isinstance(iface.opview, test.InferResultsOp)
152 assert iface.opview == iface.operation.opview
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/
H A DTransformOps.cpp474 auto iface = dyn_cast<transform::TransformOpInterface>(use.getOwner()); in isValueUsePotentialConsumer() local
475 if (!iface) in isValueUsePotentialConsumer()
478 return isHandleConsumed(use.get(), iface); in isValueUsePotentialConsumer()
560 auto iface = dyn_cast<MemoryEffectOpInterface>(&op); in getEffects() local
561 if (!iface) { in getEffects()
568 iface.getEffects(effects); in getEffects()
576 auto iface = dyn_cast<MemoryEffectOpInterface>(&op); in getEffects() local
577 if (!iface) { in getEffects()
584 iface.getEffectsOnValue(getBodyBlock()->getArgument(0), nestedEffects); in getEffects()
H A DTransformInterfaces.cpp374 auto iface = cast<MemoryEffectOpInterface>(transform.getOperation()); in isHandleConsumed() local
376 iface.getEffectsOnValue(handle, effects); in isHandleConsumed()
/llvm-project-15.0.7/mlir/lib/Analysis/
H A DDataLayoutAnalysis.cpp20 if (auto iface = dyn_cast<DataLayoutOpInterface>(op)) in DataLayoutAnalysis() local
21 layouts[op] = std::make_unique<DataLayout>(iface); in DataLayoutAnalysis()
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/Transforms/
H A DCheckUses.cpp140 auto iface = cast<MemoryEffectOpInterface>(valueSource); in isUseLive() local
142 iface.getEffectsOnResource(transform::TransformMappingResource::get(), in isUseLive()
328 auto iface = cast<MemoryEffectOpInterface>(child); in collectFreedValues() local
330 iface.getEffectsOnResource(transform::TransformMappingResource::get(), in collectFreedValues()
/llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/Transforms/
H A DOptimizeSharedMemory.cpp141 MemoryEffectOpInterface iface = dyn_cast<MemoryEffectOpInterface>(op); in getShmReadAndWriteOps() local
142 if (!iface) in getShmReadAndWriteOps()
145 iface.getEffectOnValue<MemoryEffects::Read>(shmMemRef); in getShmReadAndWriteOps()
150 effect = iface.getEffectOnValue<MemoryEffects::Write>(shmMemRef); in getShmReadAndWriteOps()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransProperties.cpp92 ObjCInterfaceDecl *iface = D->getClassInterface(); in doTransform() local
93 if (!iface) in doTransform()
96 collectProperties(iface, AtProps); in doTransform()
99 for (auto *Ext : iface->visible_extensions()) in doTransform()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dclient.py162 def QI(iface, ptr): argument
163 return vt.QueryInterface(self.client, byref(iface), byref(ptr))
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp65 const Fortran::semantics::Symbol *iface = in findInterfaceIfSeperateMP() local
67 assert(iface && "Separate module procedure must be declared"); in findInterfaceIfSeperateMP()
68 return iface; in findInterfaceIfSeperateMP()
H A DCallInterface.cpp320 if (const Fortran::semantics::Symbol *iface = in getInterfaceDetails() local
322 return iface->GetUltimate() in getInterfaceDetails()
1233 std::optional<Fortran::evaluate::characteristics::Procedure> iface = in getDummyProcedureType() local
1237 iface.has_value() ? &*iface : nullptr, converter); in getDummyProcedureType()
1238 if (::mustPassLengthWithDummyProcedure(iface)) in getDummyProcedureType()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp397 iface(module->getContext()) { in ModuleTranslation()
544 const LLVMTranslationDialectInterface *opIface = iface.getInterfaceFor(&op); in convertOperation()
913 if (failed(iface.amendOperation(op, attribute, *this))) in convertDialectAttributes()
1100 if (auto iface = dyn_cast<DataLayoutOpInterface>(m)) { in prepareLLVMModule() local
1101 if (DataLayoutSpecInterface spec = iface.getDataLayoutSpec()) { in prepareLLVMModule()
1103 translateDataLayout(spec, DataLayout(iface), m->getLoc()); in prepareLLVMModule()
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DParallelCombiningOpInterface.td1 //===- ParallelCombiningOpInterface.td - Parallel iface ----*- tablegen -*-===//
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsymbol.h714 const Symbol *iface{ped.interface().symbol()};
715 return iface ? iface->RankImpl(depth) : 0;
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/
H A DLinalgTransformOps.cpp455 auto iface = getInterface().value(); in apply() local
456 if (iface == transform::MatchInterfaceEnum::LinalgOp && in apply()
459 if (iface == transform::MatchInterfaceEnum::TilingInterface && in apply()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeDefGen.cpp425 Interface iface = trait.getInterface(); // causes strange bugs if elided in emitTraitMethods() local
426 for (auto &method : iface.getMethods()) { in emitTraitMethods()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DParser.cpp1848 auto *iface = opInfo->getInterface<OpAsmOpInterface>(); in parseCustomOperation() local
1849 if (iface && !iface->getDefaultDialect().empty()) in parseCustomOperation()
1850 defaultDialect = iface->getDefaultDialect(); in parseCustomOperation()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp1633 const ObjCContainerDecl *iface; in findExplicitInstancetypeDeclarer() local
1636 iface = catImpl->getCategoryDecl(); in findExplicitInstancetypeDeclarer()
1638 iface = impl->getClassInterface(); in findExplicitInstancetypeDeclarer()
1642 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
1939 if (ObjCInterfaceDecl *iface = objType->getInterface()) { in LookupMethodInObjectType() local
1941 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1946 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
H A DSemaStmt.cpp2236 ObjCInterfaceDecl *iface = objectType->getInterface(); in CheckObjCForCollectionOperand() local
2240 if (iface && in CheckObjCForCollectionOperand()
2247 } else if (iface || !objectType->qual_empty()) { in CheckObjCForCollectionOperand()
2258 if (iface) { in CheckObjCForCollectionOperand()
2259 method = iface->lookupInstanceMethod(selector); in CheckObjCForCollectionOperand()
2260 if (!method) method = iface->lookupPrivateMethod(selector); in CheckObjCForCollectionOperand()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp1542 const Symbol *iface{proc.interface().symbol()}; in FindFunctionResult() local
1543 return iface ? FindFunctionResult(*iface, seen) : nullptr; in FindFunctionResult()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp200 auto iface = in getAllocaBlock() local
202 return iface ? iface.getAllocaBlock() : getEntryBlock(); in getAllocaBlock()

12