Home
last modified time | relevance | path

Searched refs:branchOp (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DFuncConversions.cpp59 auto branchOp = dyn_cast<BranchOpInterface>(op); in matchAndRewrite() local
60 if (!branchOp) in matchAndRewrite()
68 auto successorOperands = branchOp.getSuccessorOperands(succIdx); in matchAndRewrite()
DFuncBufferize.cpp66 if (auto branchOp = dyn_cast<BranchOpInterface>(op)) { in runOnOperation() local
68 auto successorOperands = branchOp.getSuccessorOperands(p); in runOnOperation()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp859 Operation *branchOp = firstBlock.getTerminator(); in matchAndRewrite() local
861 auto succOperands = branchOp->getOperands(); in matchAndRewrite()
863 rewriter.eraseOp(branchOp); in matchAndRewrite()
878 Operation *branchOp = firstBlock.getTerminator(); in matchAndRewrite() local
882 auto succOperands = branchOp->getOperands(); in matchAndRewrite()
884 rewriter.eraseOp(branchOp); in matchAndRewrite()
/external/llvm-project/mlir/lib/Transforms/Utils/
DRegionUtils.cpp270 BranchOpInterface branchOp = dyn_cast<BranchOpInterface>(terminator); in eraseTerminatorSuccessorOperands() local
271 if (!branchOp) in eraseTerminatorSuccessorOperands()
282 branchOp.getMutableSuccessorOperands(succ); in eraseTerminatorSuccessorOperands()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp1240 static void print(spirv::BranchConditionalOp branchOp, OpAsmPrinter &printer) { in print() argument
1242 << branchOp.condition(); in print()
1244 if (auto weights = branchOp.branch_weights()) { in print()
1253 printer.printSuccessorAndUseList(branchOp.getTrueBlock(), in print()
1254 branchOp.getTrueBlockArguments()); in print()
1256 printer.printSuccessorAndUseList(branchOp.getFalseBlock(), in print()
1257 branchOp.getFalseBlockArguments()); in print()
1260 static LogicalResult verify(spirv::BranchConditionalOp branchOp) { in verify() argument
1261 if (auto weights = branchOp.branch_weights()) { in verify()
1263 return branchOp.emitOpError("must have exactly two branch weights"); in verify()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp347 LogicalResult processBranchOp(spirv::BranchOp branchOp);
1658 if (auto branchOp = dyn_cast<spirv::BranchOp>(terminator)) { in emitPhiForBlockArguments() local
1659 predecessors.emplace_back(predecessor, branchOp.operand_begin()); in emitPhiForBlockArguments()
1834 LogicalResult Serializer::processBranchOp(spirv::BranchOp branchOp) { in processBranchOp() argument
1835 emitDebugLine(functionBody, branchOp.getLoc()); in processBranchOp()
1837 {getOrCreateBlockID(branchOp.getTarget())}); in processBranchOp()
DDeserializer.cpp2222 if (auto branchOp = dyn_cast<spirv::BranchOp>(op)) { in wireUpBlockArgument() local
2224 opBuilder.create<spirv::BranchOp>(branchOp.getLoc(), branchOp.getTarget(), in wireUpBlockArgument()
2226 branchOp.erase(); in wireUpBlockArgument()
/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp751 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, const TSourceLoc &line) in addBranch() argument
753 return addBranch(branchOp, 0, line); in addBranch()
756 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, TIntermTyped* expression, const TSource… in addBranch() argument
758 TIntermBranch* node = new TIntermBranch(branchOp, expression); in addBranch()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp525 matchAndRewrite(spirv::BranchOp branchOp, ArrayRef<Value> operands, in matchAndRewrite() argument
527 rewriter.replaceOpWithNewOp<LLVM::BrOp>(branchOp, operands, in matchAndRewrite()
528 branchOp.getTarget()); in matchAndRewrite()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DIntermediate.cpp2737 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, const TSourceLoc& loc) in addBranch() argument
2739 return addBranch(branchOp, nullptr, loc); in addBranch()
2742 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, TIntermTyped* expression, const TSource… in addBranch() argument
2744 TIntermBranch* node = new TIntermBranch(branchOp, expression); in addBranch()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermediate.cpp2737 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, const TSourceLoc& loc) in addBranch() argument
2739 return addBranch(branchOp, nullptr, loc); in addBranch()
2742 TIntermBranch* TIntermediate::addBranch(TOperator branchOp, TIntermTyped* expression, const TSource… in addBranch() argument
2744 TIntermBranch* node = new TIntermBranch(branchOp, expression); in addBranch()