Searched refs:boolType (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/MathToLLVM/ |
| H A D | MathToLLVM.cpp | 59 auto boolType = rewriter.getIntegerType(1); in matchAndRewrite() local 60 auto boolZero = rewriter.getIntegerAttr(boolType, 0); in matchAndRewrite() 64 rewriter.create<LLVM::ConstantOp>(loc, boolType, boolZero); in matchAndRewrite() 78 rewriter.create<LLVM::ConstantOp>(loc, boolType, boolZero); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 897 QualType boolType = getContext().BoolTy; in evalBinOpLL() local 898 NonLoc l = evalCast(lhs, boolType, QualType{}).castAs<NonLoc>(); in evalBinOpLL() 899 NonLoc r = makeTruthVal(false, boolType).castAs<NonLoc>(); in evalBinOpLL()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 951 Type boolType = builder.getI1Type(); in buildLogicalBinaryOp() local 953 boolType = VectorType::get(vecType.getShape(), boolType); in buildLogicalBinaryOp() 954 state.addTypes(boolType); in buildLogicalBinaryOp() 961 Type boolType = builder.getI1Type(); in buildLogicalUnaryOp() local 963 boolType = VectorType::get(vecType.getShape(), boolType); in buildLogicalUnaryOp() 964 state.addTypes(boolType); in buildLogicalUnaryOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | SparseTensorConversion.cpp | 985 Type boolType = rewriter.getIntegerType(1); in matchAndRewrite() local 997 Value filled = genAlloc(rewriter, loc, sz, boolType); in matchAndRewrite() 1009 loc, ValueRange{constantZero(rewriter, loc, boolType)}, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMDialect.cpp | 98 auto boolType = IntegerType::get(lhs.getType().getContext(), 1); in build() local 109 VectorType::get({std::max(numLHSElements, numRHSElements)}, boolType), in build() 112 build(builder, result, boolType, predicate, lhs, rhs); in build() 2591 auto boolType = IntegerType::get(builder.getContext(), 1); in parse() local 2593 LLVMStructType::getLiteral(builder.getContext(), {type, boolType}); in parse()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/ |
| H A D | MemRefToLLVM.cpp | 536 auto boolType = IntegerType::get(rewriter.getContext(), 1); in matchAndRewrite() local 538 {valueType, boolType}); in matchAndRewrite() 546 loc, boolType, cmpxchg, rewriter.getI64ArrayAttr({1})); in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | IO.cpp | 564 auto boolType = builder.getRefType(builder.getI1Type()); in boolRefToLogical() local 565 auto boolAddr = builder.createConvert(loc, boolType, addr); in boolRefToLogical() 1228 mlir::Type boolType = enableHandlers.getFunctionType().getInput(1); in genConditionHandlerCall() local 1231 loc, builder.getIntegerAttr(boolType, specifierIsPresent)); in genConditionHandlerCall()
|