Home
last modified time | relevance | path

Searched refs:i1Type (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/ArmSVE/IR/
H A DArmSVEDialect.cpp30 auto i1Type = IntegerType::get(type.getContext(), 1); in getI1SameShape() local
32 return VectorType::get(sVectorType.getShape(), i1Type, in getI1SameShape()
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DVectorInterfaces.cpp15 auto i1Type = IntegerType::get(map.getContext(), 1); in transferMaskType() local
23 return VectorType::get(shape, i1Type); in transferMaskType()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp283 Type i1Type = builder.getI1Type(); in createMinMaxF() local
285 i1Type = VectorType::get(vecType.getShape(), i1Type); in createMinMaxF()
287 loc, i1Type, isMin ? LLVM::FCmpPredicate::olt : LLVM::FCmpPredicate::ogt, in createMinMaxF()
291 loc, i1Type, LLVM::FCmpPredicate::uno, lhs, rhs); in createMinMaxF()
/llvm-project-15.0.7/mlir/lib/Dialect/OpenACC/IR/
H A DOpenACC.cpp241 Type i1Type = builder.getI1Type(); in parse() local
274 i1Type, hasIfCond, result))) in parse()
279 selfCond, i1Type, hasSelfCond, result))) in parse()
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DPattern.cpp250 auto i1Type = IntegerType::get(context, 1); in copyUnrankedDescriptors() local
263 builder.create<LLVM::ConstantOp>(loc, i1Type, builder.getBoolAttr(false)); in copyUnrankedDescriptors()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp402 Type i1Type = builder.getI1Type(); in createMinMaxF() local
404 i1Type = VectorType::get(vecType.getShape(), i1Type); in createMinMaxF()
406 loc, i1Type, isMin ? LLVM::FCmpPredicate::olt : LLVM::FCmpPredicate::ogt, in createMinMaxF()
410 loc, i1Type, LLVM::FCmpPredicate::uno, lhs, rhs); in createMinMaxF()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp1240 auto i1Type = IntegerType::get(type.getContext(), 1); in getI1SameShape() local
1242 return RankedTensorType::get(tensorType.getShape(), i1Type); in getI1SameShape()
1244 return UnrankedTensorType::get(i1Type); in getI1SameShape()
1246 return VectorType::get(vectorType.getShape(), i1Type, in getI1SameShape()
1248 return i1Type; in getI1SameShape()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp786 mlir::Type i1Type = builder.getI1Type(); in parseCmpOp() local
790 result.addTypes({i1Type}); in parseCmpOp()
1671 auto i1Type = builder.getIntegerType(1); in parse() local
1682 parser.resolveOperand(iterateInput, i1Type, result.operands)) in parse()
1712 result.addTypes(i1Type); in parse()
1727 result.addTypes(i1Type); in parse()
3338 mlir::Type i1Type = builder.getIntegerType(1); in parse() local
3340 parser.resolveOperand(cond, i1Type, result.operands)) in parse()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp721 auto i1Type = builder.getI1Type(); in genReallocIfNeeded() local
747 .genIfOp(loc, {i1Type, addrType}, isAllocated, in genReallocIfNeeded()
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToStandard/
H A DComplexToStandard.cpp653 Type i1Type = b.getI1Type(); in matchAndRewrite() local
656 b.create<arith::ConstantOp>(i1Type, b.getIntegerAttr(i1Type, 1))); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1363 Type i1Type = builder.getIntegerType(1); in parse() local
1365 parser.resolveOperand(cond, i1Type, result.operands)) in parse()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp825 auto i1Type = mlir::IntegerType::get(convert.getContext(), 1); in matchAndRewrite() local
826 if (fromFirTy.isa<fir::LogicalType>() && toFirTy == i1Type) { in matchAndRewrite()
832 if (fromFirTy == i1Type && toFirTy.isa<fir::LogicalType>()) { in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp1412 mlir::IntegerType i1Type = builder.getI1Type(); in genval() local
1415 mlir::Value lhs = builder.createConvert(getLoc(), i1Type, slhs); in genval()
1416 mlir::Value rhs = builder.createConvert(getLoc(), i1Type, srhs); in genval()