Home
last modified time | relevance | path

Searched refs:getIConstantVRegValWithLookThrough (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperVectorOps.cpp73 getIConstantVRegValWithLookThrough(Index, MRI); in matchExtractVectorElement()
115 getIConstantVRegValWithLookThrough(Index, MRI); in matchExtractVectorElementWithDifferentIndices()
133 getIConstantVRegValWithLookThrough(Insert->getIndexReg(), MRI); in matchExtractVectorElementWithDifferentIndices()
233 getIConstantVRegValWithLookThrough(Index, MRI); in matchExtractVectorElementWithBuildVectorTrunc()
354 getIConstantVRegValWithLookThrough(Index, MRI); in matchInsertVectorElementOOB()
H A DUtils.cpp296 std::optional<ValueAndVReg> ValAndVReg = getIConstantVRegValWithLookThrough( in getIConstantVRegVal()
433 std::optional<ValueAndVReg> llvm::getIConstantVRegValWithLookThrough( in getIConstantVRegValWithLookThrough() function in llvm
1416 getIConstantVRegValWithLookThrough(SplatValAndReg->VReg, MRI)) in getIConstantSplatVal()
1501 if (auto C = getIConstantVRegValWithLookThrough(Def, MRI)) in isConstantOrConstantVector()
1507 if (getIConstantVRegValWithLookThrough(BV->getSourceReg(SrcIdx), MRI) || in isConstantOrConstantVector()
1538 if (auto C = getIConstantVRegValWithLookThrough(Def, MRI)) in isConstantOrConstantSplatVector()
1776 getIConstantVRegValWithLookThrough(ShiftAmount, MRI); in shiftAmountKnownInRange()
1789 getIConstantVRegValWithLookThrough(BV->getSourceReg(I), MRI); in shiftAmountKnownInRange()
1872 getIConstantVRegValWithLookThrough(Insert->getIndexReg(), MRI); in canCreateUndefOrPoison()
1884 getIConstantVRegValWithLookThrough(Extract->getIndexReg(), MRI); in canCreateUndefOrPoison()
[all …]
H A DGIMatchTableExecutor.cpp34 if (auto VRegVal = getIConstantVRegValWithLookThrough(MO.getReg(), MRI)) in isOperandImmEqual()
H A DCombinerHelper.cpp968 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineLoadWithAndMask()
1782 auto MaybeImmVal = getIConstantVRegValWithLookThrough(Imm1, MRI); in matchPtrAddImmedChain()
1792 auto MaybeImm2Val = getIConstantVRegValWithLookThrough(Imm2, MRI); in matchPtrAddImmedChain()
1861 auto MaybeImmVal = getIConstantVRegValWithLookThrough(Imm1, MRI); in matchShiftImmedChain()
1871 auto MaybeImm2Val = getIConstantVRegValWithLookThrough(Imm2, MRI); in matchShiftImmedChain()
1954 auto MaybeImmVal = getIConstantVRegValWithLookThrough(C1, MRI); in matchShiftOfShiftedLogic()
1968 getIConstantVRegValWithLookThrough(MI->getOperand(2).getReg(), MRI); in matchShiftOfShiftedLogic()
2081 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineMulToShl()
2419 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineShiftToUnmerge()
2947 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in matchConstantLargerBitWidth()
[all …]
H A DLoadStoreOpt.cpp91 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo()
383 getIConstantVRegValWithLookThrough(Store->getValueReg(), *MRI); in doSingleStoreMerge()
H A DLegalizerHelper.cpp5236 auto MaybeCst = getIConstantVRegValWithLookThrough(Idx, MRI); in fewerElementsVectorExtractInsertVectorElt()
5995 if (auto VRegAndVal = getIConstantVRegValWithLookThrough(Amt, MRI)) { in narrowScalarShift()
9695 auto ValVRegAndVal = getIConstantVRegValWithLookThrough(Val, MRI); in getMemsetValue()
9749 auto ValVRegAndVal = getIConstantVRegValWithLookThrough(Val, MRI); in lowerMemset()
9848 auto LenVRegAndVal = getIConstantVRegValWithLookThrough(Len, MRI); in lowerMemcpyInline()
10113 auto LenVRegAndVal = getIConstantVRegValWithLookThrough(Len, MRI); in lowerMemCpyFamily()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp57 getIConstantVRegValWithLookThrough(MaybeSub->getOperand(1).getReg(), MRI); in isCMN()
70 getIConstantVRegValWithLookThrough(MI.getOperand(1).getReg(), MRI); in tryEmitBZero()
80 if (auto Size = getIConstantVRegValWithLookThrough( in tryEmitBZero()
H A DAArch64PostLegalizerLowering.cpp424 getIConstantVRegValWithLookThrough(MI.getOperand(3).getReg(), MRI); in matchNonConstInsert()
582 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred()
842 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in getCmpOperandFoldingProfit()
859 getIConstantVRegValWithLookThrough(Def->getOperand(2).getReg(), MRI); in getCmpOperandFoldingProfit()
898 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands()
1138 getIConstantVRegValWithLookThrough(Ext->getOperand(3).getReg(), MRI); in matchUnmergeExtToUnmerge()
H A DAArch64PostLegalizerCombiner.cpp73 auto Cst = getIConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd()
146 auto Const = getIConstantVRegValWithLookThrough(RHS, MRI); in matchAArch64MulConstCombine()
364 getIConstantVRegValWithLookThrough(BV1->getSourceReg(I), MRI); in matchOrToBSP()
366 getIConstantVRegValWithLookThrough(BV2->getSourceReg(I), MRI); in matchOrToBSP()
H A DAArch64InstructionSelector.cpp759 getIConstantVRegValWithLookThrough(Root.getReg(), MRI, true); in getImmedFromMO()
1277 auto TrueCst = getIConstantVRegValWithLookThrough(True, MRI); in emitSelect()
1278 auto FalseCst = getIConstantVRegValWithLookThrough(False, MRI); in emitSelect()
1504 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg()
1510 VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg()
1525 getIConstantVRegValWithLookThrough(MI->getOperand(2).getReg(), MRI); in getTestBitReg()
1653 auto MaybeBit = getIConstantVRegValWithLookThrough( in tryOptAndIntoCompareBranch()
1729 auto VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
1773 VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
2666 getIConstantVRegValWithLookThrough(I.getOperand(2).getReg(), MRI); in select()
[all …]
H A DAArch64LegalizerInfo.cpp1491 auto VRegAndVal = getIConstantVRegValWithLookThrough(ShiftNo, MRI); in legalizeFunnelShift()
1841 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr()
2015 return getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI) && in legalizeBitfieldExtract()
2016 getIConstantVRegValWithLookThrough(MI.getOperand(3).getReg(), MRI); in legalizeBitfieldExtract()
2285 getIConstantVRegValWithLookThrough(Element->getIndexReg(), MRI); in legalizeExtractVectorElt()
H A DAArch64PreLegalizerCombiner.cpp158 auto Cst = getIConstantVRegValWithLookThrough( in matchFoldGlobalOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h201 getIConstantVRegValWithLookThrough(Register VReg,
H A DMIPatternMatch.h155 ValReg = getIConstantVRegValWithLookThrough(Reg, MRI); in match()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp151 getIConstantVRegValWithLookThrough(SrcReg, *MRI, true); in selectCOPY()
247 getIConstantVRegValWithLookThrough(I.getOperand(1).getReg(), *MRI); in selectCOPY_VCC_SCC()
1032 getIConstantVRegValWithLookThrough(LaneSelect, *MRI); in selectWritelane()
1041 getIConstantVRegValWithLookThrough(Val, *MRI); in selectWritelane()
1602 getIConstantVRegValWithLookThrough(SrcReg, *MRI); in selectBallot()
3396 getIConstantVRegValWithLookThrough(VOffset, *MRI); in selectBufferLoadLds()
5776 getIConstantVRegValWithLookThrough(RHS, *MRI); in isFlatScratchBaseLegal()
5821 getIConstantVRegValWithLookThrough(AddrMI->getOperand(2).getReg(), *MRI); in isFlatScratchBaseLegalSVImm()
6021 getIConstantVRegValWithLookThrough(RHS.getReg(), MRI); in getPtrBaseWithConstantOffset()
H A DAMDGPURegBankLegalizeHelper.cpp250 auto ConstWidth = getIConstantVRegValWithLookThrough(Width, MRI); in lowerV_BFE()
H A DAMDGPULegalizerInfo.cpp2794 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in legalizeExtractVectorElt()
2848 getIConstantVRegValWithLookThrough(MI.getOperand(3).getReg(), MRI); in legalizeInsertVectorElt()
5688 getIConstantVRegValWithLookThrough(Stride, MRI); in legalizePointerAsRsrcIntrin()
H A DAMDGPURegisterBankInfo.cpp1512 if (auto ConstWidth = getIConstantVRegValWithLookThrough(WidthReg, MRI)) { in applyMappingBFE()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86LegalizerInfo.cpp694 auto ValueAndReg = getIConstantVRegValWithLookThrough(Source, MRI); in legalizeBuildVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZb.td206 if (auto Val = getIConstantVRegValWithLookThrough(ImmOp.getReg(), MRI)) {
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp1375 if (getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI)) { in legalizeCustom()