| /llvm-project-15.0.7/mlir/lib/Dialect/Func/Transforms/ |
| H A D | FuncConversions.cpp | 51 : public OpInterfaceConversionPattern<BranchOpInterface> { 54 BranchOpInterface>::OpInterfaceConversionPattern; 58 function_ref<bool(BranchOpInterface, int)> shouldConvertBranchOperand) in BranchOpInterfaceTypeConversion() argument 63 matchAndRewrite(BranchOpInterface op, ArrayRef<Value> operands, in matchAndRewrite() 88 function_ref<bool(BranchOpInterface, int)> shouldConvertBranchOperand; 114 function_ref<bool(BranchOpInterface, int)> shouldConvertBranchOperand) { in populateBranchOpInterfaceTypeConversionPattern() argument 122 if (auto branchOp = dyn_cast<BranchOpInterface>(op)) { in isLegalForBranchOpInterfaceTypeConversionPattern()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Detensorize.cpp | 221 BranchOpInterface terminator = in computeBranchOpDetensoring() 222 dyn_cast<BranchOpInterface>((*pred)->getTerminator()); in computeBranchOpDetensoring() 273 [&](Value value, BranchOpInterface terminator) { in compute() 301 currentItem, dyn_cast<BranchOpInterface>( in compute() 332 BranchOpInterface predTerminator = in compute() 333 dyn_cast<BranchOpInterface>((*pred)->getTerminator()); in compute() 417 BranchOpInterface terminator = in compute() 418 dyn_cast<BranchOpInterface>((*pred)->getTerminator()); in compute() 511 if (auto branchOp = dyn_cast<BranchOpInterface>(op)) { in runOnOperation() 532 auto shouldConvertBranchOperand = [&](BranchOpInterface branchOp, in runOnOperation()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Func/Transforms/ |
| H A D | FuncConversions.h | 22 class BranchOpInterface; variable 45 function_ref<bool(BranchOpInterface branchOp, int idx)>
|
| H A D | Passes.td | 30 `BranchOpInterface`.
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | RegionUtils.cpp | 193 if (BranchOpInterface branchInterface = dyn_cast<BranchOpInterface>(owner)) in isUseSpeciallyKnownDead() 218 BranchOpInterface branchInterface = dyn_cast<BranchOpInterface>(op); in propagateTerminatorLiveness() 285 BranchOpInterface branchOp = dyn_cast<BranchOpInterface>(terminator); in eraseTerminatorSuccessorOperands() 572 if (!isa<BranchOpInterface>((*it)->getTerminator())) in ableToUpdatePredOperands() 630 auto branch = cast<BranchOpInterface>((*predIt)->getTerminator()); in merge()
|
| /llvm-project-15.0.7/mlir/include/mlir/Analysis/DataFlow/ |
| H A D | DeadCodeAnalysis.h | 26 class BranchOpInterface; variable 211 void visitBranchOperation(BranchOpInterface branch);
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/ControlFlow/IR/ |
| H A D | ControlFlowOps.td | 67 DeclareOpInterfaceMethods<BranchOpInterface, ["getSuccessorForOperands"]>, 116 DeclareOpInterfaceMethods<BranchOpInterface, ["getSuccessorForOperands"]>, 231 DeclareOpInterfaceMethods<BranchOpInterface, ["getSuccessorForOperands"]>,
|
| /llvm-project-15.0.7/mlir/lib/Analysis/ |
| H A D | BufferViewFlowAnalysis.cpp | 66 op->walk([&](BranchOpInterface branchInterface) { in build()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | DeadCodeAnalysis.cpp | 267 if (auto branch = dyn_cast<BranchOpInterface>(op)) { in visit() 336 void DeadCodeAnalysis::visitBranchOperation(BranchOpInterface branch) { in visitBranchOperation()
|
| H A D | SparseAnalysis.cpp | 205 dyn_cast<BranchOpInterface>(predecessor->getTerminator())) { in visitBlock()
|
| /llvm-project-15.0.7/mlir/include/mlir/Interfaces/ |
| H A D | ControlFlowInterfaces.h | 20 class BranchOpInterface; variable
|
| H A D | ControlFlowInterfaces.td | 20 // BranchOpInterface 23 def BranchOpInterface : OpInterface<"BranchOpInterface"> {
|
| H A D | InferIntRangeInterface.td | 36 or BranchOpInterface, this method should not attempt to infer the values
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferDeallocation.cpp | 154 if (isa<BranchOpInterface>(op)) { in recurse() 327 auto branchInterface = cast<BranchOpInterface>(terminator); in introduceBlockArgCopy()
|
| /llvm-project-15.0.7/mlir/test/Dialect/Func/ |
| H A D | func-bufferize.mlir | 66 // ReturnLike and BranchOpInterface traits (e.g. scf.condition) to always
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | ControlFlowInterfaces.cpp | 75 if (!cast<BranchOpInterface>(op).areTypesCompatible( in verifyBranchSuccessorOperands()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/AliasAnalysis/ |
| H A D | LocalAliasAnalysis.cpp | 143 auto branch = dyn_cast<BranchOpInterface>((*it)->getTerminator()); in collectUnderlyingAddressValues()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVControlFlowOps.td | 25 DeclareOpInterfaceMethods<BranchOpInterface>, InFunctionScope, NoSideEffect, 84 AttrSizedOperandSegments, DeclareOpInterfaceMethods<BranchOpInterface>,
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | BufferDeallocationInternals.md | 17 * Branch-like terminators should implement the `BranchOpInterface` to query 345 blocks. This is primarily done by querying the `BranchOpInterface` of the 359 The `BranchOpInterface` allows us to determine the actual values that will be
|
| H A D | Bufferization.md | 652 - Bufferizes `func`, `call`, and `BranchOpInterface` ops.
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/ |
| H A D | LLVMOps.td | 588 DeclareOpInterfaceMethods<BranchOpInterface>, 768 [DeclareOpInterfaceMethods<BranchOpInterface>, NoSideEffect]> { 777 [AttrSizedOperandSegments, DeclareOpInterfaceMethods<BranchOpInterface>, 837 [AttrSizedOperandSegments, DeclareOpInterfaceMethods<BranchOpInterface>,
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | ModuleTranslation.cpp | 443 auto branch = cast<BranchOpInterface>(terminator); in getPHISourceValue()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestOps.td | 687 [DeclareOpInterfaceMethods<BranchOpInterface>, Terminator]> { 693 [DeclareOpInterfaceMethods<BranchOpInterface>, Terminator, 703 [DeclareOpInterfaceMethods<BranchOpInterface>, Terminator,
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROps.td | 449 DeclareOpInterfaceMethods<BranchOpInterface>, Terminator])> {
|