/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelperVectorOps.cpp | 184 if (!MRI.hasOneNonDBGUse(Build->getReg(0)) || in matchExtractVectorElementWithBuildVector() 245 if (!MRI.hasOneNonDBGUse(Build->getReg(0)) || in matchExtractVectorElementWithBuildVectorTrunc() 413 if (!MRI.hasOneNonDBGUse(LHSVScale->getReg(0)) || in matchAddOfVScale() 414 !MRI.hasOneNonDBGUse(RHSVScale->getReg(0))) in matchAddOfVScale() 435 if (!MRI.hasOneNonDBGUse(LHSVScale->getReg(0))) in matchMulOfVScale() 453 if (!MRI.hasOneNonDBGUse(RHSVScale->getReg(0)) || in matchSubOfVScale() 477 if (!MRI.hasOneNonDBGUse(LHSVScale->getReg(0)) || in matchShlOfVScale()
|
H A D | CombinerHelper.cpp | 232 if (!MRI.hasOneNonDBGUse(OrigOp)) in matchFreezeOfSingleMaybePoisonOperand() 310 if (!MRI.hasOneNonDBGUse(Reg)) in matchCombineConcatVectors() 916 if (!LoadMI || !MRI.hasOneNonDBGUse(LoadMI->getDstReg())) in matchCombineLoadWithAndMask() 1042 if (!LoadDef || !MRI.hasOneNonDBGUse(DstReg)) in matchSextInRegOfLoad() 1179 if (MRI.hasOneNonDBGUse(Ptr)) in findPostIndexCandidate() 1270 MRI.hasOneNonDBGUse(Addr)) in findPreIndexCandidate() 1334 if (!MRI.hasOneNonDBGUse(Vector)) in matchCombineExtractedVectorLoad() 1875 if (!MRI.hasOneNonDBGUse(LogicDest)) in matchShiftOfShiftedLogic() 1895 !MRI.hasOneNonDBGUse(MI->getOperand(0).getReg())) in matchShiftOfShiftedLogic() 2642 if (!MRI.hasOneNonDBGUse(SrcReg)) in matchCombineTruncOfShift() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64AdvSIMDScalarPass.cpp | 218 if (MOSrc0 && MRI->hasOneNonDBGUse(OrigSrc0)) in isProfitableToTransform() 230 if (MOSrc1 && MRI->hasOneNonDBGUse(OrigSrc1)) in isProfitableToTransform() 313 if (MRI->hasOneNonDBGUse(OrigSrc0)) { in transformInstruction() 332 if (MRI->hasOneNonDBGUse(OrigSrc1)) { in transformInstruction()
|
H A D | AArch64CondBrTuning.cpp | 100 if (MRI->hasOneNonDBGUse(MI.getOperand(0).getReg())) in convertToFlagSetting()
|
H A D | AArch64MIPeepholeOpt.cpp | 700 !MRI->hasOneNonDBGUse(InputReg)) in visitCopy() 707 MRI->hasOneNonDBGUse(SrcMI->getOperand(1).getReg())) { in visitCopy()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 283 static bool hasOneNonDBGUse(unsigned Reg, MachineInstr *Def, in hasOneNonDBGUse() function 287 if (MRI.hasOneNonDBGUse(Reg)) in hasOneNonDBGUse() 477 assert(MRI.hasOneNonDBGUse(DefReg)); in oneUseDominatesOtherUses() 534 if (MRI.hasOneDef(Reg) && MRI.hasOneNonDBGUse(Reg)) { in moveForSingleUse() 883 if (CanMove && hasOneNonDBGUse(Reg, DefI, MRI, MDT, LIS)) { in runOnMachineFunction() 920 if (DefReg != UseReg || !MRI.hasOneNonDBGUse(DefReg)) in runOnMachineFunction()
|
H A D | WebAssemblyRegisterInfo.cpp | 102 MRI.hasOneNonDBGUse(Def->getOperand(0).getReg())) { in eliminateFrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MLxExpansionPass.cpp | 118 if (Reg.isPhysical() || !MRI->hasOneNonDBGUse(Reg)) in getDefReg() 128 if (Reg.isPhysical() || !MRI->hasOneNonDBGUse(Reg)) in getDefReg() 301 bool AccKill = MRI->hasOneNonDBGUse(AccReg); in ExpandFPMLxInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCReduceCRLogicals.cpp | 477 MRI->hasOneNonDBGUse(Def1->getOperand(0).getReg()); in createCRLogicalOpInfo() 479 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo() 487 MRI->hasOneNonDBGUse(Def2->getOperand(0).getReg()); in createCRLogicalOpInfo() 489 MRI->hasOneNonDBGUse(Ret.CopyDefs.second->getOperand(0).getReg()); in createCRLogicalOpInfo() 511 Ret.SingleUse = MRI->hasOneNonDBGUse(MIParam.getOperand(0).getReg()) ? 1 : 0; in createCRLogicalOpInfo()
|
H A D | PPCMIPeephole.cpp | 854 if (MRI->hasOneNonDBGUse(ShiftRes)) { in simplifyCode() 900 MRI->hasOneNonDBGUse(RoundInstr->getOperand(0).getReg())) { in simplifyCode() 946 if (!MRI->hasOneNonDBGUse(SrcMI->getOperand(0).getReg())) in simplifyCode() 997 if (!MRI->hasOneNonDBGUse(SrcMI->getOperand(0).getReg())) in simplifyCode() 1134 MRI->hasOneNonDBGUse(DefPhiMI->getOperand(0).getReg()); in simplifyCode() 1151 || !MRI->hasOneNonDBGUse(LiMI->getOperand(0).getReg()) || in simplifyCode() 1224 if (!TrueReg.isVirtual() || !MRI->hasOneNonDBGUse(TrueReg)) in simplifyCode() 1502 if (!CndReg.isVirtual() || !MRI->hasOneNonDBGUse(CndReg)) in eligibleForCompareElimination() 2000 if (!MRI->hasOneNonDBGUse(SrcReg)) in combineSEXTAndSHL()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVMacroFusion.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64PostSelectOptimize.cpp | 145 if (!MRI.hasOneNonDBGUse(Src)) in foldSimpleCrossClassCopies() 207 if (!SrcMI || SrcMI->getOpcode() != DUP || !MRI.hasOneNonDBGUse(Src)) in foldCopyDup()
|
H A D | AArch64PostLegalizerCombiner.cpp | 168 if (MRI.hasOneNonDBGUse(LHS) && in matchAArch64MulConstCombine() 173 if (MRI.hasOneNonDBGUse(Dst)) { in matchAArch64MulConstCombine() 318 if (!MRI.hasOneNonDBGUse(Store.getValueReg())) in matchSplitStoreZero128()
|
H A D | AArch64PreLegalizerCombiner.cpp | 255 if (!MRI.hasOneNonDBGUse(MidReg)) in matchExtAddvToUdotAddv() 671 if (!MRI.hasOneNonDBGUse(ResStatus)) in tryToSimplifyUADDO()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCombinerHelper.cpp | 201 if (MRI.hasOneNonDBGUse(Src)) { in matchFoldableFneg() 375 if (MRI.hasOneNonDBGUse(MatchInfoDst)) { in applyFoldableFneg() 424 if (!MRI.hasOneNonDBGUse(SrcReg) || MRI.getType(SrcReg) != LLT::scalar(32)) in matchExpandPromotedF16FMed3()
|
H A D | AMDGPUPostLegalizerCombiner.cpp | 163 if (!MRI.hasOneNonDBGUse(FCmp.getOperand(0).getReg())) in matchFMinFMaxLegacy() 300 return MRI.hasOneNonDBGUse(Sqrt); in matchFDivSqrtToRsqF16() 379 if (!MRI.hasOneNonDBGUse(LoadReg)) in matchCombineSignExtendInReg()
|
H A D | AMDGPURegBankCombiner.cpp | 266 if ((!MRI.hasOneNonDBGUse(K0->VReg) || TII.isInlineConstant(K0->Value)) && in matchFPMinMaxToMed3() 267 (!MRI.hasOneNonDBGUse(K1->VReg) || TII.isInlineConstant(K1->Value))) { in matchFPMinMaxToMed3()
|
H A D | SIOptimizeExecMaskingPreRA.cpp | 457 if (SavedExec.isVirtual() && MRI->hasOneNonDBGUse(SavedExec)) { in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXPeephole.cpp | 128 if (MRI.hasOneNonDBGUse(Prev.getOperand(0).getReg())) { in CombineCVTAToLocal()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveRangeShrink.cpp | 194 } else if (MRI.hasOneNonDBGUse(Reg) && MRI.hasOneDef(Reg) && DefMO && in runOnMachineFunction()
|
H A D | TargetRegisterInfo.cpp | 631 return MRI->hasOneNonDBGUse(SrcReg) ? SrcReg : Register(); in lookThruSingleUseCopyChain() 643 if (!CopySrcReg.isVirtual() || !MRI->hasOneNonDBGUse(CopySrcReg)) in lookThruSingleUseCopyChain()
|
H A D | LiveRangeEdit.cpp | 357 (MO.readsReg() && (MRI.hasOneNonDBGUse(Reg) || useIsKill(LI, MO)))) in eliminateDeadDef()
|
H A D | MachineRegisterInfo.cpp | 428 bool MachineRegisterInfo::hasOneNonDBGUse(Register RegNo) const { in hasOneNonDBGUse() function in MachineRegisterInfo
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFMIPeephole.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86CallFrameOptimization.cpp | 608 if (!MRI->hasOneNonDBGUse(Reg)) in canFoldIntoRegPush()
|