Home
last modified time | relevance | path

Searched refs:ScalableDstTy (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1363 if (auto *ScalableDstTy = dyn_cast<llvm::ScalableVectorType>(Ty)) { in CreateCoercedLoad() local
1367 if (ScalableDstTy->getElementType()->isIntegerTy(1) && in CreateCoercedLoad()
1369 ScalableDstTy = llvm::ScalableVectorType::get( in CreateCoercedLoad()
1372 ScalableDstTy->getElementCount().getKnownMinValue(), 8)); in CreateCoercedLoad()
1374 if (ScalableDstTy->getElementType() == FixedSrcTy->getElementType()) { in CreateCoercedLoad()
1376 auto *PoisonVec = llvm::PoisonValue::get(ScalableDstTy); in CreateCoercedLoad()
1378 ScalableDstTy, PoisonVec, Load, uint64_t(0), "cast.scalable"); in CreateCoercedLoad()
1379 ScalableDstTy = cast<llvm::ScalableVectorType>( in CreateCoercedLoad()
1380 llvm::VectorType::getWithSizeAndScalar(ScalableDstTy, Ty)); in CreateCoercedLoad()
1381 if (Result->getType() != ScalableDstTy) in CreateCoercedLoad()
[all …]
H A DCGExprScalar.cpp2513 if (auto *ScalableDstTy = dyn_cast<llvm::ScalableVectorType>(DstTy)) { in VisitCastExpr() local
2516 if (ScalableDstTy->getElementType()->isIntegerTy(1) && in VisitCastExpr()
2518 ScalableDstTy = llvm::ScalableVectorType::get( in VisitCastExpr()
2521 ScalableDstTy->getElementCount().getKnownMinValue(), 8)); in VisitCastExpr()
2523 if (FixedSrcTy->getElementType() == ScalableDstTy->getElementType()) { in VisitCastExpr()
2524 llvm::Value *PoisonVec = llvm::PoisonValue::get(ScalableDstTy); in VisitCastExpr()
2526 ScalableDstTy, PoisonVec, Src, uint64_t(0), "cast.scalable"); in VisitCastExpr()
2527 ScalableDstTy = cast<llvm::ScalableVectorType>( in VisitCastExpr()
2528 llvm::VectorType::getWithSizeAndScalar(ScalableDstTy, DstTy)); in VisitCastExpr()
2529 if (Result->getType() != ScalableDstTy) in VisitCastExpr()
[all …]