/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64PreLegalizerCombiner.cpp | 246 LLT MidTy = MRI.getType(MidReg); in matchExtAddvToUdotAddv() local 247 if (DstTy.getScalarSizeInBits() != 32 || MidTy.getScalarSizeInBits() != 32) in matchExtAddvToUdotAddv() 316 LLT MidTy; in applyExtAddvToUdotAddv() local 320 MidTy = LLT::fixed_vector(4, 32); in applyExtAddvToUdotAddv() 323 MidTy = LLT::fixed_vector(2, 32); in applyExtAddvToUdotAddv() 330 auto Zeroes = Builder.buildConstant(MidTy, 0)->getOperand(0).getReg(); in applyExtAddvToUdotAddv() 331 auto Dot = Builder.buildInstr(DotOpcode, {MidTy}, in applyExtAddvToUdotAddv() 590 LLT MidTy = SrcTy.changeElementSize(SrcTy.getScalarSizeInBits() * 2); in applyPushAddSubExt() local 592 Register Ext1Reg = B.buildInstr(Opc, {MidTy}, {SrcReg1}).getReg(0); in applyPushAddSubExt() 593 Register Ext2Reg = B.buildInstr(Opc, {MidTy}, {SrcReg2}).getReg(0); in applyPushAddSubExt() [all …]
|
H A D | AArch64LegalizerInfo.cpp | 1625 LLT MidTy, ExtTy; in legalizeIntrinsic() local 1627 MidTy = LLT::fixed_vector(4, 32); in legalizeIntrinsic() 1630 MidTy = LLT::fixed_vector(2, 64); in legalizeIntrinsic() 1635 MIB.buildInstr(Opc, {MidTy}, {SrcReg})->getOperand(0).getReg(); in legalizeIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 2761 Type *SrcTy, Type *MidTy, Type *DstTy, Type *SrcIntPtrTy, Type *MidIntPtrTy, in isEliminableCastPair() argument 2825 if ((IsFirstBitcast && isa<VectorType>(SrcTy) != isa<VectorType>(MidTy)) || in isEliminableCastPair() 2826 (IsSecondBitcast && isa<VectorType>(MidTy) != isa<VectorType>(DstTy))) in isEliminableCastPair() 2852 if (DstTy == MidTy) in isEliminableCastPair() 2870 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2926 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2928 SrcTy->getPointerAddressSpace() != MidTy->getPointerAddressSpace() && in isEliminableCastPair() 2929 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() 2942 MidTy->isPtrOrPtrVectorTy() && in isEliminableCastPair() 2944 MidTy->getPointerAddressSpace() == DstTy->getPointerAddressSpace() && in isEliminableCastPair() [all …]
|
H A D | ConstantFold.cpp | 56 Type *MidTy = Op->getType(); in foldConstantCastPair() local 66 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
|
H A D | AutoUpgrade.cpp | 4854 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastInst() local 4855 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy); in UpgradeBitCastInst() 4874 Type *MidTy = Type::getInt64Ty(Context); in UpgradeBitCastExpr() local 4876 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 129 Type *MidTy = CI1->getDestTy(); in isEliminableCastPair() local 137 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 140 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3258 LLT MidTy = in bitcastExtractVectorElt() local 3273 auto NewVec = MIRBuilder.buildBuildVector(MidTy, NewOps); in bitcastExtractVectorElt() 6717 LLT MidTy = SrcTy.changeElementSize(SrcTyScalarSize * 2); in lowerEXT() local 6720 auto NewExt = MIRBuilder.buildInstr(MI.getOpcode(), {MidTy}, {Src}); in lowerEXT() 6722 LLT EltTy = MidTy.changeElementCount( in lowerEXT() 6723 MidTy.getElementCount().divideCoefficientBy(2)); in lowerEXT()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 5329 Type *MidTy = CI->getType(); in simplifyCastInst() local 5337 MidTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(MidTy) : nullptr; in simplifyCastInst() 5340 if (CastInst::isEliminableCastPair(FirstOp, SecondOp, SrcTy, MidTy, DstTy, in simplifyCastInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 686 Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
|