Home
last modified time | relevance | path

Searched refs:constOperand (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp675 if (auto constOperand = dyn_cast<llvm::Constant>(operand)) in convertOperation() local
676 lpi->addClause(constOperand); in convertOperation()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp2931 auto constOperand = operands.front(); in fold() local
2932 if (!constOperand || !constOperand.isa<IntegerAttr, FloatAttr>()) in fold()
2936 assert(shapedType.getElementType() == constOperand.getType() && in fold()
2940 return SplatElementsAttr::get(shapedType, {constOperand}); in fold()