Home
last modified time | relevance | path

Searched refs:hasOneNonDBGUse (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperVectorOps.cpp184 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 DCombinerHelper.cpp232 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 DAArch64AdvSIMDScalarPass.cpp218 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 DAArch64CondBrTuning.cpp100 if (MRI->hasOneNonDBGUse(MI.getOperand(0).getReg())) in convertToFlagSetting()
H A DAArch64MIPeepholeOpt.cpp700 !MRI->hasOneNonDBGUse(InputReg)) in visitCopy()
707 MRI->hasOneNonDBGUse(SrcMI->getOperand(1).getReg())) { in visitCopy()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp283 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 DWebAssemblyRegisterInfo.cpp102 MRI.hasOneNonDBGUse(Def->getOperand(0).getReg())) { in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMLxExpansionPass.cpp118 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 DPPCReduceCRLogicals.cpp477 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 DPPCMIPeephole.cpp854 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 DRISCVMacroFusion.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostSelectOptimize.cpp145 if (!MRI.hasOneNonDBGUse(Src)) in foldSimpleCrossClassCopies()
207 if (!SrcMI || SrcMI->getOpcode() != DUP || !MRI.hasOneNonDBGUse(Src)) in foldCopyDup()
H A DAArch64PostLegalizerCombiner.cpp168 if (MRI.hasOneNonDBGUse(LHS) && in matchAArch64MulConstCombine()
173 if (MRI.hasOneNonDBGUse(Dst)) { in matchAArch64MulConstCombine()
318 if (!MRI.hasOneNonDBGUse(Store.getValueReg())) in matchSplitStoreZero128()
H A DAArch64PreLegalizerCombiner.cpp255 if (!MRI.hasOneNonDBGUse(MidReg)) in matchExtAddvToUdotAddv()
671 if (!MRI.hasOneNonDBGUse(ResStatus)) in tryToSimplifyUADDO()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCombinerHelper.cpp201 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 DAMDGPUPostLegalizerCombiner.cpp163 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 DAMDGPURegBankCombiner.cpp266 if ((!MRI.hasOneNonDBGUse(K0->VReg) || TII.isInlineConstant(K0->Value)) && in matchFPMinMaxToMed3()
267 (!MRI.hasOneNonDBGUse(K1->VReg) || TII.isInlineConstant(K1->Value))) { in matchFPMinMaxToMed3()
H A DSIOptimizeExecMaskingPreRA.cpp457 if (SavedExec.isVirtual() && MRI->hasOneNonDBGUse(SavedExec)) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPeephole.cpp128 if (MRI.hasOneNonDBGUse(Prev.getOperand(0).getReg())) { in CombineCVTAToLocal()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp194 } else if (MRI.hasOneNonDBGUse(Reg) && MRI.hasOneDef(Reg) && DefMO && in runOnMachineFunction()
H A DTargetRegisterInfo.cpp631 return MRI->hasOneNonDBGUse(SrcReg) ? SrcReg : Register(); in lookThruSingleUseCopyChain()
643 if (!CopySrcReg.isVirtual() || !MRI->hasOneNonDBGUse(CopySrcReg)) in lookThruSingleUseCopyChain()
H A DLiveRangeEdit.cpp357 (MO.readsReg() && (MRI.hasOneNonDBGUse(Reg) || useIsKill(LI, MO)))) in eliminateDeadDef()
H A DMachineRegisterInfo.cpp428 bool MachineRegisterInfo::hasOneNonDBGUse(Register RegNo) const { in hasOneNonDBGUse() function in MachineRegisterInfo
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMIPeephole.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp608 if (!MRI->hasOneNonDBGUse(Reg)) in canFoldIntoRegPush()

123