Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp591 QualType boolTy = getContext().BoolTy; in evaluateExprAsBool() local
598 return createDummyValue(getLoc(loc), boolTy); in evaluateExprAsBool()
603 return emitScalarConversion(emitScalarExpr(e), e->getType(), boolTy, loc); in evaluateExprAsBool()
606 return createDummyValue(getLoc(loc), boolTy); in evaluateExprAsBool()
H A DCIRGenExprScalar.cpp255 cir::BoolType boolTy = builder.getBoolTy(); in emitFloatToBoolConversion() local
256 return builder.create<cir::CastOp>(loc, boolTy, in emitFloatToBoolConversion()
266 cir::BoolType boolTy = builder.getBoolTy(); in emitIntToBoolConversion() local
267 return builder.create<cir::CastOp>(loc, boolTy, cir::CastKind::int_to_bool, in emitIntToBoolConversion()
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp120 if (auto boolTy = mlir::dyn_cast<cir::BoolType>(op.getType())) { in emitFromMemory() local
122 assert(value.getType().isInteger(dataLayout.getTypeSizeInBits(boolTy))); in emitFromMemory()
137 if (auto boolTy = mlir::dyn_cast<cir::BoolType>(origType)) { in emitToMemory() local
140 rewriter.getIntegerType(dataLayout.getTypeSizeInBits(boolTy)); in emitToMemory()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1987 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory() local
1989 llvm::Instruction::ZExt, C, boolTy, CGM.getDataLayout()); in emitForMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp237 const SPIRVType *intTy, const SPIRVType *boolTy) const;