Home
last modified time | relevance | path

Searched refs:OpType (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgDialect.cpp79 template <typename OpType, typename = std::enable_if_t<
80 !detect_has_region_builder<OpType>::value>>
86 template <typename OpType,
87 typename = std::enable_if_t<detect_has_region_builder<OpType>::value>,
92 OpType::getOperationName(), in addNamedOpBuilderImpl()
93 static_cast<LinalgDialect::RegionBuilderFunType>(OpType::regionBuilder))); in addNamedOpBuilderImpl()
H A DLinalgInterfaces.cpp62 template <typename OpType>
63 static OpType getSingleOpOfType(Block &block) { in getSingleOpOfType()
64 OpType res = nullptr; in getSingleOpOfType()
65 block.walk([&](OpType op) { in getSingleOpOfType()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Instrumentation/
H A DAddressSanitizerCommon.h29 Type *OpType; variable
36 class Type *OpType, MaybeAlign Alignment,
38 : IsWrite(IsWrite), OpType(OpType), Alignment(Alignment), in IsWrite()
41 TypeSize = DL.getTypeStoreSizeInBits(OpType); in IsWrite()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DPostfixExpression.h53 enum OpType { enum
59 BinaryOpNode(OpType op_type, Node &left, Node &right) in BinaryOpNode()
62 OpType GetOpType() const { return m_op_type; } in GetOpType()
73 OpType m_op_type;
134 enum OpType { enum
138 UnaryOpNode(OpType op_type, Node &operand) in UnaryOpNode()
141 OpType GetOpType() const { return m_op_type; } in GetOpType()
149 OpType m_op_type;
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIslExprBuilder.cpp356 isl_ast_op_type OpType; in createOpBin() local
363 OpType = isl_ast_expr_get_op_type(Expr); in createOpBin()
380 switch (OpType) { in createOpBin()
403 switch (OpType) { in createOpBin()
527 assert(OpType >= isl_ast_op_eq && OpType <= isl_ast_op_gt && in createOpICmp()
552 isl_ast_op_type OpType; in createOpBoolean() local
556 assert((OpType == isl_ast_op_and || OpType == isl_ast_op_or) && in createOpBoolean()
579 switch (OpType) { in createOpBoolean()
600 isl_ast_op_type OpType; in createOpBooleanConditional() local
607 assert((OpType == isl_ast_op_and_then || OpType == isl_ast_op_or_else) && in createOpBooleanConditional()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/Utils/
H A DUtils.h38 template <typename OpType, typename ResultTypeFunc, typename CastOpFunc>
40 : public OpRewritePattern<OpType> {
42 using OpRewritePattern<OpType>::OpRewritePattern;
44 LogicalResult matchAndRewrite(OpType op, in matchAndRewrite()
68 rewriter.create<OpType>(op.getLoc(), resultType, op.getSource(), in matchAndRewrite()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DAsmWriterInst.h27 enum OpType { enum
54 AsmWriterOperand(OpType op = isLiteralTextOperand):OperandType(op) {} in OperandType()
57 OpType op = isLiteralTextOperand)
62 OpType op = isMachineInstrOperand, bool PCRel = false)
/llvm-project-15.0.7/mlir/lib/Conversion/OpenMPToLLVM/
H A DOpenMPToLLVM.cpp29 template <typename OpType>
30 struct RegionOpConversion : public ConvertOpToLLVMPattern<OpType> {
31 using ConvertOpToLLVMPattern<OpType>::ConvertOpToLLVMPattern;
34 matchAndRewrite(OpType curOp, typename OpType::Adaptor adaptor, in matchAndRewrite()
36 auto newOp = rewriter.create<OpType>( in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DEvalEmitter.cpp98 template <PrimType OpType> bool EvalEmitter::emitRet(const SourceInfo &Info) { in emitRet()
101 using T = typename PrimConv<OpType>::T; in emitRet()
206 template <PrimType OpType>
211 using T = typename PrimConv<OpType>::T; in emitGetLocal()
220 template <PrimType OpType>
225 using T = typename PrimConv<OpType>::T; in emitSetLocal()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DPatternMatch.h1467 template <typename OpType>
1468 RewritePatternSet &add(LogicalResult (*implFn)(OpType,
1470 struct FnPattern final : public OpRewritePattern<OpType> {
1473 : OpRewritePattern<OpType>(context), implFn(implFn) {}
1475 LogicalResult matchAndRewrite(OpType op,
1481 LogicalResult (*implFn)(OpType, PatternRewriter &rewriter);
1532 template <typename OpType>
1535 struct FnPattern final : public OpRewritePattern<OpType> {
1538 : OpRewritePattern<OpType>(context), implFn(implFn) {
1542 LogicalResult matchAndRewrite(OpType op,
[all …]
H A DMatchers.h240 template <typename OpType, typename... OperandMatchers>
245 if (!isa<OpType>(op) || op->getNumOperands() != sizeof...(OperandMatchers)) in match()
360 template <typename OpType, typename... Matchers>
362 return detail::RecursivePatternMatcher<OpType, Matchers...>(matchers...); in m_Op()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCDwarf.h480 enum OpType { enum
501 OpType Operation;
512 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, StringRef V,
519 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R1, unsigned R2) in MCCFIInstruction()
524 MCCFIInstruction(OpType Op, MCSymbol *L, unsigned R, int O, unsigned AS) in MCCFIInstruction()
641 OpType getOperation() const { return Operation; } in getOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DTilingInterfaceImpl.cpp186 template <typename OpType>
188 OpType::template attachInterface<LinalgOpTilingInterface<OpType>>(*ctx); in registerOne()
H A DLoops.cpp49 template <typename LoadOpTy, typename StoreOpTy, typename OpType>
50 static void inlineRegionAndEmitStore(OpBuilder &b, Location loc, OpType op, in inlineRegionAndEmitStore()
H A DVectorization.cpp54 template <typename OpType>
55 static OpType getSingleOpOfType(Block &block) { in getSingleOpOfType()
56 OpType res; in getSingleOpOfType()
57 block.walk([&](OpType op) { in getSingleOpOfType()
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DPostfixExpressionTest.cpp22 static std::string ToString(BinaryOpNode::OpType type) { in ToString()
34 static std::string ToString(UnaryOpNode::OpType type) { in ToString()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DPostfixExpression.cpp23 static llvm::Optional<BinaryOpNode::OpType>
38 static llvm::Optional<UnaryOpNode::OpType>
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMatrixBuilder.h112 auto *OpType = cast<VectorType>(Matrix->getType()); variable
114 FixedVectorType::get(OpType->getElementType(), Rows * Columns);
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.h272 bool opCanUseLiteralConstant(unsigned OpType) const;
277 bool opCanUseInlineConstant(unsigned OpType) const;
H A DAMDGPUPrintfRuntimeBinding.cpp65 bool shouldPrintAsStr(char Specifier, Type *OpType) const;
135 Type *OpType) const { in shouldPrintAsStr()
138 const PointerType *PT = dyn_cast<PointerType>(OpType); in shouldPrintAsStr()
H A DSIRegisterInfo.cpp2737 bool SIRegisterInfo::opCanUseInlineConstant(unsigned OpType) const { in opCanUseInlineConstant()
2738 if (OpType >= AMDGPU::OPERAND_REG_INLINE_AC_FIRST && in opCanUseInlineConstant()
2739 OpType <= AMDGPU::OPERAND_REG_INLINE_AC_LAST) in opCanUseInlineConstant()
2742 return OpType >= AMDGPU::OPERAND_SRC_FIRST && in opCanUseInlineConstant()
2743 OpType <= AMDGPU::OPERAND_SRC_LAST; in opCanUseInlineConstant()
2770 bool SIRegisterInfo::opCanUseLiteralConstant(unsigned OpType) const { in opCanUseLiteralConstant()
2772 return OpType >= AMDGPU::OPERAND_REG_IMM_FIRST && in opCanUseLiteralConstant()
2773 OpType <= AMDGPU::OPERAND_REG_IMM_LAST; in opCanUseLiteralConstant()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1937 unsigned OpType = Desc.OpInfo[OpNo].OperandType; in isSISrcOperand() local
1938 return OpType >= AMDGPU::OPERAND_SRC_FIRST && in isSISrcOperand()
1939 OpType <= AMDGPU::OPERAND_SRC_LAST; in isSISrcOperand()
1944 unsigned OpType = Desc.OpInfo[OpNo].OperandType; in isSISrcFPOperand() local
1945 switch (OpType) { in isSISrcFPOperand()
1973 unsigned OpType = Desc.OpInfo[OpNo].OperandType; in isSISrcInlinableOperand() local
1974 return OpType >= AMDGPU::OPERAND_REG_INLINE_C_FIRST && in isSISrcInlinableOperand()
1975 OpType <= AMDGPU::OPERAND_REG_INLINE_C_LAST; in isSISrcInlinableOperand()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZInstrFormats.td38 string OpType = "none";
2598 let OpType = "mem";
2610 let OpType = "mem";
2882 let OpType = "reg";
2891 let OpType = "reg";
2950 let OpType = "mem";
2999 let OpType = "mem";
3010 let OpType = "mem";
3023 let OpType = "mem";
3062 let OpType = "reg";
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DStackMaps.h286 using OpType = enum { DirectMemRefOp, IndirectMemRefOp, ConstantOp };
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCompositeOps.td84 described by their OpType… instruction.
138 numbering, as described by their OpType… instruction. The type of the

12