| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelperVectorOps.cpp | 73 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 D | Utils.cpp | 296 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 D | GIMatchTableExecutor.cpp | 34 if (auto VRegVal = getIConstantVRegValWithLookThrough(MO.getReg(), MRI)) in isOperandImmEqual()
|
| H A D | CombinerHelper.cpp | 968 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 D | LoadStoreOpt.cpp | 91 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() 383 getIConstantVRegValWithLookThrough(Store->getValueReg(), *MRI); in doSingleStoreMerge()
|
| H A D | LegalizerHelper.cpp | 5236 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 D | AArch64GlobalISelUtils.cpp | 57 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 D | AArch64PostLegalizerLowering.cpp | 424 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 D | AArch64PostLegalizerCombiner.cpp | 73 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 D | AArch64InstructionSelector.cpp | 759 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 D | AArch64LegalizerInfo.cpp | 1491 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 D | AArch64PreLegalizerCombiner.cpp | 158 auto Cst = getIConstantVRegValWithLookThrough( in matchFoldGlobalOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 201 getIConstantVRegValWithLookThrough(Register VReg,
|
| H A D | MIPatternMatch.h | 155 ValReg = getIConstantVRegValWithLookThrough(Reg, MRI); in match()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 151 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 D | AMDGPURegBankLegalizeHelper.cpp | 250 auto ConstWidth = getIConstantVRegValWithLookThrough(Width, MRI); in lowerV_BFE()
|
| H A D | AMDGPULegalizerInfo.cpp | 2794 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 D | AMDGPURegisterBankInfo.cpp | 1512 if (auto ConstWidth = getIConstantVRegValWithLookThrough(WidthReg, MRI)) { in applyMappingBFE()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86LegalizerInfo.cpp | 694 auto ValueAndReg = getIConstantVRegValWithLookThrough(Source, MRI); in legalizeBuildVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoZb.td | 206 if (auto Val = getIConstantVRegValWithLookThrough(ImmOp.getReg(), MRI)) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 1375 if (getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI)) { in legalizeCustom()
|