Searched refs:SPIRVOp (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/mlir/include/mlir/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.h | 23 template <typename SPIRVOp> 24 class SPIRVToLLVMConversion : public OpConversionPattern<SPIRVOp> { 28 : OpConversionPattern<SPIRVOp>(context, benefit),
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 620 template <typename SPIRVOp, typename LLVMOp> 621 class DirectConversionPattern : public SPIRVToLLVMConversion<SPIRVOp> { 623 using SPIRVToLLVMConversion<SPIRVOp>::SPIRVToLLVMConversion; 626 matchAndRewrite(SPIRVOp operation, ArrayRef<Value> operands, in matchAndRewrite() 767 template <typename SPIRVOp, typename LLVMExtOp, typename LLVMTruncOp> 768 class IndirectCastPattern : public SPIRVToLLVMConversion<SPIRVOp> { 770 using SPIRVToLLVMConversion<SPIRVOp>::SPIRVToLLVMConversion; 773 matchAndRewrite(SPIRVOp operation, ArrayRef<Value> operands, in matchAndRewrite() 820 template <typename SPIRVOp, LLVM::FCmpPredicate predicate> 821 class FComparePattern : public SPIRVToLLVMConversion<SPIRVOp> { [all …]
|
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/ |
D | ConvertStandardToSPIRV.cpp | 193 template <typename SPIRVOp> 198 #define CHECK_UNSIGNED_OP(SPIRVOp) \ argument 200 bool isUnsignedOp<SPIRVOp>() { \ 325 template <typename StdOp, typename SPIRVOp> 337 if (isUnsignedOp<SPIRVOp>() && dstType != operation.getType()) { in matchAndRewrite() 341 rewriter.template replaceOpWithNewOp<SPIRVOp>(operation, dstType, operands); in matchAndRewrite() 528 template <typename StdOp, typename SPIRVOp> 547 rewriter.template replaceOpWithNewOp<SPIRVOp>(operation, dstType, in matchAndRewrite()
|