Home
last modified time | relevance | path

Searched refs:isSafeToMove (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp30 static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA, in isSafeToMove() function
108 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.h67 bool isSafeToMove(const MachineInstr &MI, const MachineBasicBlock *MBB,
H A DLoongArchInstrInfo.cpp381 bool LoongArchInstrInfo::isSafeToMove(const MachineInstr &MI, in isSafeToMove() function in LoongArchInstrInfo
540 if (!isSafeToMove(MI, MBB, MF)) in isSchedulingBoundary()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeEdit.cpp237 if (!DefMI->isSafeToMove(SawStore)) in foldAsLoad()
299 if (!MI->isSafeToMove(SawStore)) { in eliminateDeadDef()
H A DReachingDefAnalysis.cpp644 bool ReachingDefAnalysis::isSafeToMove(MachineInstr *From, in isSafeToMove() function in ReachingDefAnalysis
679 return isSafeToMove<Iterator>(From, To); in isSafeToMoveForwards()
689 return isSafeToMove<Iterator>(From, To); in isSafeToMoveBackwards()
H A DLiveRangeShrink.cpp174 if (!MI.isSafeToMove(SawStore)) { in runOnMachineFunction()
H A DMachineLateInstrsCleanup.cpp183 if (!MI->isSafeToMove(SawStore) || MI->isImplicitDef() || MI->isInlineAsm()) in isCandidate()
H A DMachineSink.cpp417 if (!MI.isSafeToMove(SawStore)) in PerformSinkAndFold()
734 if (!MI.isSafeToMove(DontMoveAcrossStore)) { in FindCycleSinkCandidates()
1842 if (!MI.isSafeToMove(SawStore)) in SinkInstruction()
1893 if (!MI.isSafeToMove(Store)) { in SinkInstruction()
H A DBranchFolding.cpp1916 if (!PI->isSafeToMove(DontMoveAcrossStore) || TII->isPredicated(*PI)) in findHoistingInsertPosAndDeps()
1989 if (!TII->isSafeToMove(*TIB, TBB, MF)) in HoistCommonCodeInSuccs()
2045 if (!TIB->isSafeToMove(DontMoveAcrossStore)) in HoistCommonCodeInSuccs()
H A DTwoAddressInstructionPass.cpp953 if (!MI->isSafeToMove(SeenStore)) in rescheduleMIBelowKill()
1136 if (!KillMI->isSafeToMove(SeenStore)) in rescheduleKillAboveMI()
H A DEarlyIfConversion.cpp245 if (!MI.isSafeToMove(DontMoveAcrossStore)) { in canSpeculateInstrs()
H A DMachineInstr.cpp1323 bool MachineInstr::isSafeToMove(bool &SawStore) const { in isSafeToMove() function in MachineInstr
1389 return isPHI() || isSafeToMove(SawStore); in wouldBeTriviallyDead()
H A DMachineLICM.cpp1102 if ((!I.isSafeToMove(DontMoveAcrossStore)) && in IsLICMCandidate()
H A DIfConversion.cpp2115 if (!MI.isSafeToMove(SawStore)) in MaySpeculate()
H A DTargetInstrInfo.cpp531 if (!DefMI->isSafeToMove(SawStore)) in optimizeLoadInstr()
H A DModuloSchedule.cpp758 if (!MI->isSafeToMove(SawStore) && !MI->isPHI()) { in removeDeadInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVectorPeephole.cpp532 static bool isSafeToMove(const MachineInstr &From, const MachineInstr &To) { in isSafeToMove() function
555 return From.isSafeToMove(SawStore); in isSafeToMove()
585 if (!isSafeToMove(Src, *Def->getNextNode())) in ensureDominates()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DReachingDefAnalysis.h304 bool isSafeToMove(MachineInstr *From, MachineInstr *To) const;
H A DTargetInstrInfo.h1738 virtual bool isSafeToMove(const MachineInstr &MI, in isSafeToMove() function
H A DMachineInstr.h1736 LLVM_ABI bool isSafeToMove(bool &SawStore) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp333 static bool isSafeToMove(const MachineOperand *Def, const MachineOperand *Use, in isSafeToMove() function
918 isSafeToMove(Def, &Use, Insert, MFI, MRI, Optimize) && in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp323 bool isSafeToMove(
576 if (isSafeToMove<IsLoad>(ChainIt->Inst, NewChain.front().Inst, in splitChainByMayAliasInstrs()
1005 bool Vectorizer::isSafeToMove( in isSafeToMove() function in Vectorizer
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp419 if (!I.isSafeToMove(DontMoveAcrossStore)) { in canSpeculateInstrs()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp487 if (!MI->isSafeToMove(DontMoveAcrossStores)) in canFoldIntoSelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp1450 if (MI->isInlineAsm() || !MI->isSafeToMove(Store)) in removeDeadCode()

12