Home
last modified time | relevance | path

Searched refs:DestVTy (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
DConstantFolding.cpp105 auto *DestVTy = dyn_cast<VectorType>(DestTy); in FoldBitCast() local
106 if (!DestVTy) in FoldBitCast()
121 unsigned NumDstElt = DestVTy->getNumElements(); in FoldBitCast()
127 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp138 auto *DestVTy = dyn_cast<VectorType>(DestTy); in FoldBitCast() local
139 if (!DestVTy) in FoldBitCast()
154 unsigned NumDstElt = DestVTy->getNumElements(); in FoldBitCast()
160 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1842 if (VectorType *DestVTy = dyn_cast<VectorType>(DestTy)) { in visitBitCast() local
1843 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast()
1844 Value *Elem = Builder->CreateBitCast(Src, DestVTy->getElementType()); in visitBitCast()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp144 auto *DestVTy = dyn_cast<VectorType>(DestTy); in FoldBitCast() local
145 if (!DestVTy) in FoldBitCast()
160 unsigned NumDstElt = cast<FixedVectorType>(DestVTy)->getNumElements(); in FoldBitCast()
166 Type *DstEltTy = DestVTy->getElementType(); in FoldBitCast()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2612 if (FixedVectorType *DestVTy = dyn_cast<FixedVectorType>(DestTy)) { in visitBitCast() local
2614 if (DestVTy->getNumElements() == 1 && SrcTy->isX86_MMXTy()) { in visitBitCast()
2615 Value *Elem = Builder.CreateBitCast(Src, DestVTy->getElementType()); in visitBitCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp2458 if (VectorType *DestVTy = dyn_cast<VectorType>(DestTy)) { in visitBitCast() local
2459 if (DestVTy->getNumElements() == 1 && !SrcTy->isVectorTy()) { in visitBitCast()
2460 Value *Elem = Builder.CreateBitCast(Src, DestVTy->getElementType()); in visitBitCast()