Searched refs:MidTy (Results 1 - 8 of 8) sorted by relevance

/external/llvm/lib/IR/
H A DAutoUpgrade.cpp537 Type *MidTy = Type::getInt64Ty(Context); local
538 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy);
557 Type *MidTy = Type::getInt64Ty(Context); local
559 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy),
H A DInstructions.cpp2151 /// * %F = firstOpcode SrcTy %x to MidTy
2152 /// * %S = secondOpcode MidTy %F to DstTy
2158 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy,
2220 if ((isFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) ||
2221 (isSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy)))
2267 unsigned MidSize = MidTy->getScalarSizeInBits();
2328 MidTy->isPtrOrPtrVectorTy() &&
2330 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() &&
2331 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() &&
2348 MidTy
2156 isEliminableCastPair( Instruction::CastOps firstOp, Instruction::CastOps secondOp, Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, Type *DstIntPtrTy) argument
[all...]
H A DConstants.cpp1742 Type *MidTy = PointerType::get(DstElemTy, SrcScalarTy->getAddressSpace()); local
1745 MidTy = VectorType::get(MidTy, VT->getNumElements());
1747 C = getBitCast(C, MidTy);
H A DConstantFold.cpp86 Type *MidTy = Op->getType(); local
96 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy,
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp497 Type *MidTy = VectorType::get(DstVT->getElementType(), FanOut); local
507 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast");
515 Type *MidTy = VectorType::get(SrcVT->getElementType(), FanIn); local
518 Value *V = UndefValue::get(MidTy);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp245 Type *MidTy = CI->getType(); // B from above local
252 Type *MidIntPtrTy = DL && MidTy->isPtrOrPtrVectorTy() ?
253 DL->getIntPtrType(MidTy) : nullptr;
256 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy,
1921 Type *MidTy = PointerType::get(DestElemTy, SrcTy->getAddressSpace()); local
1924 MidTy = VectorType::get(MidTy, VT->getNumElements());
1927 Value *NewBitCast = Builder->CreateBitCast(Src, MidTy);
/external/llvm/include/llvm/IR/
H A DInstrTypes.h600 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
603 Type *MidIntPtrTy, ///< Integer type corresponding to Ptr MidTy, or null
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp1303 llvm::Type *MidTy = CGF.CGM.getDataLayout().getIntPtrType(SrcTy); local
1304 return Builder.CreateIntToPtr(Builder.CreatePtrToInt(Src, MidTy), DstTy);

Completed in 933 milliseconds