Searched refs:MidTy (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 502 Type *MidTy = VectorType::get(DstVT->getElementType(), FanOut); in visitBitCastInst() local 512 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast"); in visitBitCastInst() 520 Type *MidTy = VectorType::get(SrcVT->getElementType(), FanIn); in visitBitCastInst() local 523 Value *V = UndefValue::get(MidTy); in visitBitCastInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 240 Type *MidTy = CI->getType(); // B from above in isEliminableCastPair() local 248 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 251 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair() 1883 Type *MidTy = PointerType::get(DestElemTy, SrcTy->getAddressSpace()); in visitAddrSpaceCast() local 1886 MidTy = VectorType::get(MidTy, VT->getNumElements()); in visitAddrSpaceCast() 1889 Value *NewBitCast = Builder->CreateBitCast(Src, MidTy); in visitAddrSpaceCast()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 881 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastInst() local 882 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy); in UpgradeBitCastInst() 901 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastExpr() local 903 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
|
D | Instructions.cpp | 2080 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, in isEliminableCastPair() argument 2142 if ((isFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) || in isEliminableCastPair() 2143 (isSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy))) in isEliminableCastPair() 2189 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2250 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2252 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair() 2253 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2270 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2272 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2282 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1833 Type *MidTy = PointerType::get(DstElemTy, SrcScalarTy->getAddressSpace()); in getAddrSpaceCast() local 1836 MidTy = VectorType::get(MidTy, VT->getNumElements()); in getAddrSpaceCast() 1838 C = getBitCast(C, MidTy); in getAddrSpaceCast()
|
D | ConstantFold.cpp | 88 Type *MidTy = Op->getType(); in foldConstantCastPair() local 98 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 637 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
|