Home
last modified time | relevance | path

Searched refs:srcType (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprScalar.cpp273 mlir::Value emitConversionToBool(mlir::Value src, QualType srcType, in emitConversionToBool() argument
275 assert(srcType.isCanonical() && "EmitScalarConversion strips typedefs"); in emitConversionToBool()
277 if (srcType->isRealFloatingType()) in emitConversionToBool()
280 if (llvm::isa<MemberPointerType>(srcType)) { in emitConversionToBool()
285 if (srcType->isIntegerType()) in emitConversionToBool()
289 return emitPointerToBoolConversion(src, srcType); in emitConversionToBool()
316 mlir::Value emitScalarCast(mlir::Value src, QualType srcType, in emitScalarCast() argument
319 assert(!srcType->isMatrixType() && !dstType->isMatrixType() && in emitScalarCast()
630 emitScalarConversion(mlir::Value src, QualType srcType, QualType dstType, in emitScalarConversion() argument
641 if (srcType->isFixedPointType() || dstType->isFixedPointType()) { in emitScalarConversion()
[all …]
H A DCIRGenFunction.h1037 mlir::Value emitScalarConversion(mlir::Value src, clang::QualType srcType,
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp376 mlir::Type srcType = getSrc().getType(); in verify() local
378 if (mlir::isa<cir::VectorType>(srcType) && in verify()
382 srcType = mlir::dyn_cast<cir::VectorType>(srcType).getElementType(); in verify()
390 if (!mlir::isa<cir::IntType>(srcType)) in verify()
397 if (!mlir::isa<cir::PointerType>(srcType)) in verify()
404 if (!mlir::isa<cir::IntType>(srcType)) in verify()
409 const auto arrayPtrTy = mlir::dyn_cast<cir::PointerType>(srcType); in verify()
419 auto srcPtrTy = mlir::dyn_cast<cir::PointerType>(srcType); in verify()
429 if (!mlir::isa<cir::FPTypeInterface>(srcType) || in verify()
435 if (!mlir::isa<cir::FPTypeInterface>(srcType)) in verify()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaRISCV.h42 bool isValidRVVBitcast(QualType srcType, QualType destType);
H A DSema.h7843 bool isValidSveBitcast(QualType srcType, QualType destType);
7849 bool areVectorTypesSameSize(QualType srcType, QualType destType);
7858 bool areLaxCompatibleVectorTypes(QualType srcType, QualType destType);
7862 bool isLaxVectorConversion(QualType srcType, QualType destType);
7865 bool anyAltivecTypes(QualType srcType, QualType destType);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp479 QualType srcType = src->getType(); in tryDiagnoseOverloadedCast() local
480 if (!destType->isRecordType() && !srcType->isRecordType()) in tryDiagnoseOverloadedCast()
556 << CT << srcType << destType << (Msg != nullptr) in tryDiagnoseOverloadedCast()
566 S.PDiag(msg) << CT << srcType << destType << range in tryDiagnoseOverloadedCast()
H A DAnalysisBasedWarnings.cpp2489 QualType srcType = ECE->getSubExpr()->getType(); in handleUnsafeOperation() local
2491 assert(srcType->isPointerType()); in handleUnsafeOperation()
2494 Ctx.getTypeSize(srcType.getTypePtr()->getPointeeType()); in handleUnsafeOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td5206 RegisterClass srcType, RegisterClass dstType,
5208 : I<(outs dstType:$Rd), (ins srcType:$Rn),
5226 RegisterClass srcType, RegisterClass dstType,
5228 : I<(outs dstType:$Rd), (ins srcType:$Rn, immType:$scale),
5374 RegisterClass srcType, RegisterClass dstType,
5376 : I<(outs dstType:$Rd), (ins srcType:$Rn, immType:$scale),
5393 RegisterClass srcType, RegisterClass dstType,
5395 : I<(outs dstType:$Rd), (ins srcType:$Rn),
5396 asm, "\t$Rd, $Rn", "", [(set (dvt dstType:$Rd), (node srcType:$Rn))]>,
5540 RegisterClass srcType, RegisterClass dstType,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp600 mlir::Type srcType = castOp.getSrc().getType(); in matchAndRewrite() local
605 mlir::cast<cir::IntType>(elementTypeIfVector(srcType)); in matchAndRewrite()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c84925 SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy(Mem *pTo, const Mem *pFrom, int srcType){
84928 if( VdbeMemDynamic(pTo) ){ vdbeClrCopy(pTo,pFrom,srcType); return; }
84932 assert( srcType==MEM_Ephem || srcType==MEM_Static );
84933 pTo->flags |= srcType;