Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp59 getIConstantVRegValWithLookThrough(MaybeSub->getOperand(1).getReg(), MRI); in isCMN()
72 getIConstantVRegValWithLookThrough(MI.getOperand(1).getReg(), MRI); in tryEmitBZero()
82 if (auto Size = getIConstantVRegValWithLookThrough( in tryEmitBZero()
H A DAArch64PostLegalizerLowering.cpp530 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred()
760 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in getCmpOperandFoldingProfit()
777 getIConstantVRegValWithLookThrough(Def->getOperand(2).getReg(), MRI); in getCmpOperandFoldingProfit()
817 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands()
H A DAArch64PostLegalizerCombiner.cpp60 auto Cst = getIConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd()
134 auto Const = getIConstantVRegValWithLookThrough(RHS, MRI); in matchAArch64MulConstCombine()
H A DAArch64InstructionSelector.cpp689 getIConstantVRegValWithLookThrough(Root.getReg(), MRI, true); in getImmedFromMO()
1173 auto TrueCst = getIConstantVRegValWithLookThrough(True, MRI); in emitSelect()
1174 auto FalseCst = getIConstantVRegValWithLookThrough(False, MRI); in emitSelect()
1406 VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg()
1549 auto MaybeBit = getIConstantVRegValWithLookThrough( in tryOptAndIntoCompareBranch()
1625 auto VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
1660 VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
2166 auto ValAndVReg = getIConstantVRegValWithLookThrough(Src, MRI); in earlySelect()
2904 auto CVal = getIConstantVRegValWithLookThrough( in select()
5321 auto VRegAndVal = getIConstantVRegValWithLookThrough(IdxReg, MRI); in selectInsertElt()
[all …]
H A DAArch64LegalizerInfo.cpp1043 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr()
1194 return getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI) && in legalizeBitfieldExtract()
1195 getIConstantVRegValWithLookThrough(MI.getOperand(3).getReg(), MRI); in legalizeBitfieldExtract()
H A DAArch64PreLegalizerCombiner.cpp150 auto Cst = getIConstantVRegValWithLookThrough( in matchFoldGlobalOffset()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelector.cpp33 if (auto VRegVal = getIConstantVRegValWithLookThrough(MO.getReg(), MRI)) in isOperandImmEqual()
H A DUtils.cpp288 Optional<ValueAndVReg> ValAndVReg = getIConstantVRegValWithLookThrough( in getIConstantVRegVal()
407 Optional<ValueAndVReg> llvm::getIConstantVRegValWithLookThrough( in getIConstantVRegValWithLookThrough() function in llvm
1078 getIConstantVRegValWithLookThrough(SplatValAndReg->VReg, MRI); in getIConstantSplatVal()
1162 if (auto C = getIConstantVRegValWithLookThrough(Def, MRI)) in isConstantOrConstantVector()
1168 if (getIConstantVRegValWithLookThrough(BV->getSourceReg(SrcIdx), MRI) || in isConstantOrConstantVector()
1199 if (auto C = getIConstantVRegValWithLookThrough(Def, MRI)) in isConstantOrConstantSplatVector()
H A DLoadStoreOpt.cpp92 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo()
371 getIConstantVRegValWithLookThrough(Store->getValueReg(), *MRI); in doSingleStoreMerge()
H A DCombinerHelper.cpp690 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineLoadWithAndMask()
1344 auto MaybeImmVal = getIConstantVRegValWithLookThrough(Imm1, MRI); in matchPtrAddImmedChain()
1354 auto MaybeImm2Val = getIConstantVRegValWithLookThrough(Imm2, MRI); in matchPtrAddImmedChain()
1423 auto MaybeImmVal = getIConstantVRegValWithLookThrough(Imm1, MRI); in matchShiftImmedChain()
1433 auto MaybeImm2Val = getIConstantVRegValWithLookThrough(Imm2, MRI); in matchShiftImmedChain()
1517 auto MaybeImmVal = getIConstantVRegValWithLookThrough(C1, MRI); in matchShiftOfShiftedLogic()
1531 getIConstantVRegValWithLookThrough(MI->getOperand(2).getReg(), MRI); in matchShiftOfShiftedLogic()
1603 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineMulToShl()
1638 auto MaybeShiftAmtVal = getIConstantVRegValWithLookThrough(RHS, MRI); in matchCombineShlOfExtend()
1913 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineShiftToUnmerge()
[all …]
H A DLegalizerHelper.cpp3965 auto MaybeCst = getIConstantVRegValWithLookThrough(Idx, MRI); in fewerElementsVectorExtractInsertVectorElt()
4681 if (auto VRegAndVal = getIConstantVRegValWithLookThrough(Amt, MRI)) { in narrowScalarShift()
7417 auto ValVRegAndVal = getIConstantVRegValWithLookThrough(Val, MRI); in getMemsetValue()
7471 auto ValVRegAndVal = getIConstantVRegValWithLookThrough(Val, MRI); in lowerMemset()
7572 auto LenVRegAndVal = getIConstantVRegValWithLookThrough(Len, MRI); in lowerMemcpyInline()
7839 auto LenVRegAndVal = getIConstantVRegValWithLookThrough(Len, MRI); in lowerMemCpyFamily()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h186 getIConstantVRegValWithLookThrough(Register VReg,
H A DMIPatternMatch.h143 ValReg = getIConstantVRegValWithLookThrough(Reg, MRI); in match()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp147 getIConstantVRegValWithLookThrough(SrcReg, *MRI, true); in selectCOPY()
876 getIConstantVRegValWithLookThrough(LaneSelect, *MRI); in selectWritelane()
885 getIConstantVRegValWithLookThrough(Val, *MRI); in selectWritelane()
1188 getIConstantVRegValWithLookThrough(I.getOperand(2).getReg(), *MRI); in selectBallot()
3160 getIConstantVRegValWithLookThrough(VOffset, *MRI); in selectBufferLoadLds()
4547 getIConstantVRegValWithLookThrough(RHS.getReg(), MRI); in getPtrBaseWithConstantOffset()
H A DAMDGPULegalizerInfo.cpp2343 getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in legalizeExtractVectorElt()
2377 getIConstantVRegValWithLookThrough(MI.getOperand(3).getReg(), MRI); in legalizeInsertVectorElt()
4299 getIConstantVRegValWithLookThrough(VOffset, MRI); in updateBufferMMO()
4301 getIConstantVRegValWithLookThrough(SOffset, MRI); in updateBufferMMO()
4303 getIConstantVRegValWithLookThrough(VIndex, MRI); in updateBufferMMO()
H A DAMDGPURegisterBankInfo.cpp1488 if (auto ConstWidth = getIConstantVRegValWithLookThrough(WidthReg, MRI)) { in applyMappingBFE()