Searched refs:MidTy (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 508 Type *MidTy = VectorType::get(DstVT->getElementType(), FanOut); in visitBitCastInst() local 518 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast"); in visitBitCastInst() 526 Type *MidTy = VectorType::get(SrcVT->getElementType(), FanIn); in visitBitCastInst() local 529 Value *V = UndefValue::get(MidTy); in visitBitCastInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 239 Type *MidTy = CI->getType(); // B from above in isEliminableCastPair() local 247 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair() 1923 Type *MidTy = PointerType::get(DestElemTy, SrcTy->getAddressSpace()); in visitAddrSpaceCast() local 1926 MidTy = VectorType::get(MidTy, VT->getNumElements()); in visitAddrSpaceCast() 1929 Value *NewBitCast = Builder->CreateBitCast(Src, MidTy); in visitAddrSpaceCast()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 853 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastInst() local 854 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy); in UpgradeBitCastInst() 873 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastExpr() local 875 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
|
D | Instructions.cpp | 2349 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, in isEliminableCastPair() argument 2413 if ((IsFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) || in isEliminableCastPair() 2414 (IsSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy))) in isEliminableCastPair() 2460 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2521 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2523 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair() 2524 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2541 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2543 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2553 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1793 Type *MidTy = PointerType::get(DstElemTy, SrcScalarTy->getAddressSpace()); in getAddrSpaceCast() local 1796 MidTy = VectorType::get(MidTy, VT->getNumElements()); in getAddrSpaceCast() 1798 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 | 838 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
|