Home
last modified time | relevance | path

Searched refs:MidTy (Results 1 – 9 of 9) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DScalarizer.cpp767 auto *MidTy = FixedVectorType::get(DstVT->getElementType(), FanOut); in visitBitCastInst() local
777 V = Builder.CreateBitCast(V, MidTy, V->getName() + ".cast"); in visitBitCastInst()
785 auto *MidTy = FixedVectorType::get(SrcVT->getElementType(), FanIn); in visitBitCastInst() local
788 Value *V = PoisonValue::get(MidTy); in visitBitCastInst()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp268 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair() local
276 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair()
279 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()
2916 Type *MidTy = in visitAddrSpaceCast() local
2920 MidTy = VectorType::get(MidTy, VT->getElementCount()); in visitAddrSpaceCast()
2922 Value *NewBitCast = Builder.CreateBitCast(Src, MidTy); in visitAddrSpaceCast()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstructions.cpp3131 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, in isEliminableCastPair() argument
3195 if ((IsFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) || in isEliminableCastPair()
3196 (IsSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy))) in isEliminableCastPair()
3246 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair()
3302 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair()
3304 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair()
3305 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
3324 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair()
3326 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair()
3336 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair()
[all …]
DConstants.cpp2251 Type *MidTy = PointerType::getWithSamePointeeType( in getAddrSpaceCast() local
2255 MidTy = FixedVectorType::get(MidTy, in getAddrSpaceCast()
2258 C = getBitCast(C, MidTy); in getAddrSpaceCast()
DConstantFold.cpp95 Type *MidTy = Op->getType(); in foldConstantCastPair() local
105 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
DAutoUpgrade.cpp4456 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastInst() local
4457 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy); in UpgradeBitCastInst()
4476 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastExpr() local
4478 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DInstructionSimplify.cpp5068 Type *MidTy = CI->getType(); in simplifyCastInst() local
5076 MidTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(MidTy) : nullptr; in simplifyCastInst()
5079 if (CastInst::isEliminableCastPair(FirstOp, SecondOp, SrcTy, MidTy, DstTy, in simplifyCastInst()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstrTypes.h667 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2766 LLT MidTy = in bitcastExtractVectorElt() local
2781 auto NewVec = MIRBuilder.buildBuildVector(MidTy, NewOps); in bitcastExtractVectorElt()