Home
last modified time | relevance | path

Searched refs:FunctionOpInterface (Results 1 – 25 of 98) sorted by relevance

1234

/llvm-project/mlir/include/mlir/Interfaces/
H A DFunctionInterfaces.h27 class FunctionOpInterface; variable
34 DictionaryAttr getArgAttrDict(FunctionOpInterface op, unsigned index);
39 DictionaryAttr getResultAttrDict(FunctionOpInterface op, unsigned index);
42 ArrayRef<NamedAttribute> getArgAttrs(FunctionOpInterface op, unsigned index);
45 ArrayRef<NamedAttribute> getResultAttrs(FunctionOpInterface op, unsigned index);
50 void setAllArgAttrDicts(FunctionOpInterface op, ArrayRef<DictionaryAttr> attrs);
51 void setAllArgAttrDicts(FunctionOpInterface op, ArrayRef<Attribute> attrs);
52 void setAllResultAttrDicts(FunctionOpInterface op,
54 void setAllResultAttrDicts(FunctionOpInterface op, ArrayRef<Attribute> attrs);
57 void insertFunctionArguments(FunctionOpInterface op,
[all …]
H A DFunctionImplementation.h81 void printFunctionOp(OpAsmPrinter &p, FunctionOpInterface op, bool isVariadic,
87 void printFunctionSignature(OpAsmPrinter &p, FunctionOpInterface op,
/llvm-project/mlir/lib/Interfaces/
H A DFunctionInterfaces.cpp27 DictionaryAttr function_interface_impl::getArgAttrDict(FunctionOpInterface op, in getArgAttrDict()
36 function_interface_impl::getResultAttrDict(FunctionOpInterface op, in getResultAttrDict()
45 function_interface_impl::getArgAttrs(FunctionOpInterface op, unsigned index) { in getArgAttrs()
51 function_interface_impl::getResultAttrs(FunctionOpInterface op, in getResultAttrs()
59 static ArrayAttr getArgResAttrs(FunctionOpInterface op) { in getArgResAttrs()
68 static void setArgResAttrs(FunctionOpInterface op, ArrayAttr attrs) { in setArgResAttrs()
77 static void removeArgResAttrs(FunctionOpInterface op) { in removeArgResAttrs()
86 static void setAllArgResAttrDicts(FunctionOpInterface op, in setAllArgResAttrDicts()
95 FunctionOpInterface op, ArrayRef<DictionaryAttr> attrs) { in setAllArgAttrDicts()
99 void function_interface_impl::setAllArgAttrDicts(FunctionOpInterface o
[all...]
/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DUtils.cpp24 static bool canMergeInto(FunctionOpInterface func1, FunctionOpInterface func2) { in canMergeInto()
31 static InFlightDiagnostic mergeInto(FunctionOpInterface func1, in mergeInto()
32 FunctionOpInterface func2) { in mergeInto()
116 if (auto funcOp = dyn_cast<FunctionOpInterface>(op), in mergeSymbolsInto()
118 dyn_cast<FunctionOpInterface>(collidingOp.getOperation()); in mergeSymbolsInto()
208 auto funcOp = cast<FunctionOpInterface>(op.getOperation()); in mergeSymbolsInto()
210 cast<FunctionOpInterface>(collidingOp.getOperation()); in mergeSymbolsInto()
/llvm-project/mlir/test/lib/IR/
H A DTestFunc.cpp28 for (auto func : module.getOps<FunctionOpInterface>()) { in runOnOperation()
66 for (auto func : module.getOps<FunctionOpInterface>()) { in runOnOperation()
98 for (auto func : module.getOps<FunctionOpInterface>()) { in runOnOperation()
120 for (auto func : module.getOps<FunctionOpInterface>()) { in runOnOperation()
143 for (auto func : module.getOps<FunctionOpInterface>()) { in runOnOperation()
147 func.setType(symbolTable.lookup<FunctionOpInterface>(sym.getValue()) in runOnOperation()
H A DTestMatchers.cpp20 : public PassWrapper<TestMatchers, InterfacePass<FunctionOpInterface>> {
33 static unsigned countMatches(FunctionOpInterface f, Matcher &matcher) { in countMatches()
44 static void test1(FunctionOpInterface f) { in test1()
135 void test2(FunctionOpInterface f) { in test2()
151 void test3(FunctionOpInterface f) { in test3()
H A DTestClone.cpp28 : public PassWrapper<ClonePass, InterfacePass<FunctionOpInterface>> {
34 FunctionOpInterface op = getOperation(); in runOnOperation()
/llvm-project/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationDialect.cpp76 if (!isa<FunctionOpInterface>(op)) in verifyRegionArgAttribute()
79 if (cast<FunctionOpInterface>(op).isExternal()) in verifyRegionArgAttribute()
93 if (!isa<FunctionOpInterface>(op)) in verifyRegionArgAttribute()
103 if (!isa<FunctionOpInterface>(op)) in verifyRegionArgAttribute()
/llvm-project/mlir/test/lib/Analysis/
H A DTestMatchReduction.cpp39 InterfacePass<FunctionOpInterface>> {
48 FunctionOpInterface func = getOperation(); in runOnOperation()
52 if (isa<FunctionOpInterface>(op)) in runOnOperation()
H A DTestAliasAnalysis.cpp163 return mlir::isa_and_nonnull<FunctionOpInterface>( in isFuncArg()
171 mlir::cast<FunctionOpInterface>(blockArg.getOwner()->getParentOp()); in isRestrict()
H A DTestCFGLoopInfo.cpp23 : public PassWrapper<TestCFGLoopInfo, InterfacePass<FunctionOpInterface>> {
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DDetensorize.cpp98 : public OpInterfaceConversionPattern<FunctionOpInterface> {
105 matchAndRewrite(FunctionOpInterface op, ArrayRef<Value> operands, in matchAndRewrite()
203 virtual void compute(FunctionOpInterface func,
255 void compute(FunctionOpInterface func,
451 void compute(FunctionOpInterface func,
474 FunctionOpInterface funcOp = getOperation(); in runOnOperation()
513 if (auto funcOp = dyn_cast<FunctionOpInterface>(op)) { in runOnOperation()
/llvm-project/mlir/include/mlir/Conversion/SCFToGPU/
H A DSCFToGPUPass.h33 std::unique_ptr<InterfacePass<FunctionOpInterface>>
35 std::unique_ptr<InterfacePass<FunctionOpInterface>> createAffineForToGPUPass();
/llvm-project/mlir/lib/Dialect/ArmSME/Transforms/
H A DTileAllocation.cpp203 void splitCondBranches(IRRewriter &rewriter, FunctionOpInterface function) { in splitCondBranches()
249 FunctionOpInterface function) { in insertCopiesAtBranches()
274 FunctionOpInterface function) {
348 generateOperationNumbering(FunctionOpInterface function) { in generateOperationNumbering()
372 Liveness &liveness, FunctionOpInterface function) { in gatherTileLiveRanges()
658 IRRewriter &rewriter, FunctionOpInterface function, in assignTileIdsAndResolveTrivialConflicts()
758 FunctionOpInterface function) { in allocateSMETiles()
788 FunctionOpInterface function = getOperation();
799 LogicalResult mlir::arm_sme::allocateSMETiles(FunctionOpInterface function,
/llvm-project/mlir/test/lib/Pass/
H A DTestPassManager.cpp41 InterfacePass<FunctionOpInterface>> {
49 return "Test an interface pass (running on FunctionOpInterface) in the " in getDescription()
174 InterfacePass<FunctionOpInterface>> { in runOnOperation()
206 InterfacePass<FunctionOpInterface>> { in testNestedPipeline()
218 FunctionOpInterface op = getOperation(); in testNestedPipelineTextual()
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DOwnershipBasedBufferDeallocation.cpp173 LogicalResult deallocate(FunctionOpInterface op);
342 /// operation implements FunctionOpInterface, inserting a
404 /// Returns whether the given operation implements FunctionOpInterface, has
420 /// FunctionOpInterface that have to hold for the deallocation to be
423 static LogicalResult verifyFunctionPreconditions(FunctionOpInterface op);
426 /// operations implementing the FunctionOpInterface that have to hold for the
446 static LogicalResult updateFunctionSignature(FunctionOpInterface op);
487 BufferDeallocation::verifyFunctionPreconditions(FunctionOpInterface op) { in verifyFunctionPreconditions()
569 BufferDeallocation::updateFunctionSignature(FunctionOpInterface op) { in updateFunctionSignature()
594 LogicalResult BufferDeallocation::deallocate(FunctionOpInterface o
[all...]
/llvm-project/mlir/lib/Conversion/SCFToGPU/
H A DSCFToGPUPass.cpp71 std::unique_ptr<InterfacePass<FunctionOpInterface>>
75 std::unique_ptr<InterfacePass<FunctionOpInterface>>
/llvm-project/mlir/include/mlir/Dialect/Bufferization/Transforms/
H A DPasses.h9 class FunctionOpInterface;
148 LogicalResult deallocateBuffersOwnershipBased(FunctionOpInterface op,
8 class FunctionOpInterface; global() variable
/llvm-project/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp75 static void filterFuncAttributes(FunctionOpInterface func, in filterFuncAttributes()
88 FunctionOpInterface funcOp, in propagateArgResAttrs()
106 cast<FunctionOpInterface>(wrapperFuncOp.getOperation()) in propagateArgResAttrs()
120 FunctionOpInterface funcOp, in wrapForExternalCallers()
180 FunctionOpInterface funcOp, in wrapExternalFunction()
303 mlir::convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp, in convertFuncOpToLLVMFuncOp()
310 funcOp, "Only support FunctionOpInterface with FunctionType"); in convertFuncOpToLLVMFuncOp()
351 cast<FunctionOpInterface>(newFuncOp.getOperation()) in convertFuncOpToLLVMFuncOp()
479 cast<FunctionOpInterface>(funcOp.getOperation()), rewriter, in matchAndRewriteImpl()
/llvm-project/mlir/unittests/IR/
H A DSymbolTableTest.cpp39 auto fooOp = cast<FunctionOpInterface>(opIterator++); in testReplaceAllSymbolUses()
40 auto barOp = cast<FunctionOpInterface>(opIterator++); in testReplaceAllSymbolUses()
/llvm-project/mlir/include/mlir/Dialect/Linalg/
H A DPasses.td21 FunctionOpInterface op).
102 def LinalgDetensorizePass : InterfacePass<"linalg-detensorize", "FunctionOpInterface"> {
127 This can be run on any FunctionOpInterface op and must not be
129 blocks that make up the body, which it assumes has is a FunctionOpInterface.
/llvm-project/mlir/include/mlir/Dialect/ArmSME/Transforms/
H A DTransforms.h26 LogicalResult allocateSMETiles(FunctionOpInterface function,
/llvm-project/mlir/include/mlir/Dialect/Mesh/Transforms/
H A DPasses.td19 def ShardingPropagation : InterfacePass<"sharding-propagation", "mlir::FunctionOpInterface"> {
32 def Spmdization : InterfacePass<"mesh-spmdization", "mlir::FunctionOpInterface"> {
/llvm-project/mlir/include/mlir/Conversion/FuncToLLVM/
H A DConvertFuncToLLVM.h31 /// Convert input FunctionOpInterface operation to LLVMFuncOp by using the
34 convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp,
/llvm-project/mlir/lib/Dialect/Transform/Transforms/
H A DInferEffects.cpp31 auto func = dyn_cast<FunctionOpInterface>(op); in inferSideEffectAnnotations()

1234