Home
last modified time | relevance | path

Searched refs:boolTy (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/test/Misc/
H A Dinteger-literal-printing.cpp10 enum class boolTy : bool { enum
14 template <boolTy T> struct Type3Helper;
15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; };
16 template <boolTy T, typename Type3Helper<T>::Ty U> struct Type3 {};
71 …struct Type3<boolTy::b, "3"> t3; // expected-error{{value of type 'const char[2]' is not implicitl… in Function()
/llvm-project-15.0.7/mlir/unittests/IR/
H A DAttributeTest.cpp35 IntegerType boolTy = IntegerType::get(&context, 1); in TEST() local
36 RankedTensorType shape = RankedTensorType::get({2, 2}, boolTy); in TEST()
60 IntegerType boolTy = IntegerType::get(&context, 1); in TEST() local
61 RankedTensorType shape = RankedTensorType::get({boolCount}, boolTy); in TEST()
83 IntegerType boolTy = IntegerType::get(&context, 1); in TEST() local
84 RankedTensorType shape = RankedTensorType::get({6}, boolTy); in TEST()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DNumeric.cpp99 auto boolTy = mlir::IntegerType::get(ctx, 1); in getTypeModel() local
100 return mlir::FunctionType::get(ctx, {fltTy, boolTy}, {fltTy}); in getTypeModel()
111 auto boolTy = mlir::IntegerType::get(ctx, 1); in getTypeModel() local
112 return mlir::FunctionType::get(ctx, {fltTy, boolTy}, {fltTy}); in getTypeModel()
300 mlir::Type boolTy = mlir::IntegerType::get(builder.getContext(), 1); in genNearest() local
301 mlir::Value False = builder.createIntegerConstant(loc, boolTy, 0); in genNearest()
302 mlir::Value True = builder.createIntegerConstant(loc, boolTy, 1); in genNearest()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTypeConverter.h85 addConversion([&](fir::LogicalType boolTy) { in LLVMTypeConverter()
87 &getContext(), kindMapping.getLogicalBitsize(boolTy.getFKind())); in LLVMTypeConverter()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DFIRBuilderTest.cpp443 mlir::Type boolTy = mlir::IntegerType::get(builder.getContext(), 1); in TEST_F() local
444 mlir::Value flaseBool = fir::factory::createZeroValue(builder, loc, boolTy); in TEST_F()
445 EXPECT_TRUE(flaseBool.getType() == boolTy); in TEST_F()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp1737 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory() local
1738 return llvm::ConstantExpr::getZExt(C, boolTy); in emitForMemory()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp136 const SPIRVType *intTy, const SPIRVType *boolTy,
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp1542 Type boolTy = builder.getI1Type(); in parse() local
1544 parser.resolveOperand(condInfo, boolTy, state.operands)) in parse()