Home
last modified time | relevance | path

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

12

/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp30 static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA, in isSafeToMove() function
113 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DDeadMachineInstructionElim.cpp95 if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) in isDead()
H A DReachingDefAnalysis.cpp555 bool ReachingDefAnalysis::isSafeToMove(MachineInstr *From, in isSafeToMove() function in ReachingDefAnalysis
590 return isSafeToMove<Iterator>(From, To); in isSafeToMoveForwards()
600 return isSafeToMove<Iterator>(From, To); in isSafeToMoveBackwards()
H A DLiveRangeEdit.cpp241 if (!DefMI->isSafeToMove(nullptr, SawStore)) in foldAsLoad()
303 if (!MI->isSafeToMove(nullptr, SawStore)) { in eliminateDeadDef()
H A DLiveRangeShrink.cpp156 if (!MI.isSafeToMove(nullptr, SawStore)) { in runOnMachineFunction()
H A DMachineLateInstrsCleanup.cpp161 if (!MI->isSafeToMove(nullptr, SawStore) || MI->isImplicitDef() || in isCandidate()
H A DMachineSink.cpp377 if (!MI.isSafeToMove(AA, SawStore)) in PerformSinkAndFold()
690 if (!MI.isSafeToMove(AA, DontMoveAcrossStore)) { in FindCycleSinkCandidates()
1657 if (!MI.isSafeToMove(AA, SawStore)) in SinkInstruction()
1708 if (!MI.isSafeToMove(AA, Store)) { in SinkInstruction()
H A DBranchFolding.cpp1894 if (!PI->isSafeToMove(nullptr, DontMoveAcrossStore) || TII->isPredicated(*PI)) in findHoistingInsertPosAndDeps()
2018 if (!TIB->isSafeToMove(nullptr, DontMoveAcrossStore)) in HoistCommonCodeInSuccs()
H A DTwoAddressInstructionPass.cpp951 if (!MI->isSafeToMove(AA, SeenStore)) in rescheduleMIBelowKill()
1134 if (!KillMI->isSafeToMove(AA, SeenStore)) in rescheduleKillAboveMI()
H A DEarlyIfConversion.cpp238 if (!MI.isSafeToMove(nullptr, DontMoveAcrossStore)) { in canSpeculateInstrs()
H A DMachineLICM.cpp1078 if ((!I.isSafeToMove(AA, DontMoveAcrossStore)) && in IsLICMCandidate()
H A DIfConversion.cpp2100 if (!MI.isSafeToMove(nullptr, SawStore)) in MaySpeculate()
H A DMachineInstr.cpp1296 bool MachineInstr::isSafeToMove(AAResults *AA, bool &SawStore) const { in isSafeToMove() function in MachineInstr
H A DModuloSchedule.cpp745 if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) { in removeDeadInstructions()
H A DRegisterCoalescer.cpp1323 if (!DefMI->isSafeToMove(AA, SawStore)) in reMaterializeTrivialDef()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DReachingDefAnalysis.h261 bool isSafeToMove(MachineInstr *From, MachineInstr *To) const;
H A DMachineInstr.h1726 bool isSafeToMove(AAResults *AA, bool &SawStore) const;
/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp319 bool isSafeToMove(
562 if (isSafeToMove<IsLoad>(ChainIt->Inst, NewChain.front().Inst, in splitChainByMayAliasInstrs()
991 bool Vectorizer::isSafeToMove( in isSafeToMove() function in Vectorizer
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp313 static bool isSafeToMove(const MachineOperand *Def, const MachineOperand *Use, in isSafeToMove() function
881 bool CanMove = SameBlock && isSafeToMove(Def, &Use, Insert, MFI, MRI) && in runOnMachineFunction()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp419 if (!I.isSafeToMove(nullptr, DontMoveAcrossStore)) { in canSpeculateInstrs()
/src/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp486 if (!MI->isSafeToMove(/*AliasAnalysis=*/nullptr, DontMoveAcrossStores)) in canFoldIntoSelect()
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp1454 if (MI->isInlineAsm() || !MI->isSafeToMove(nullptr, Store)) in removeDeadCode()
H A DHexagonBitSimplify.cpp1040 if (!MI->isPHI() && !MI->isSafeToMove(nullptr, Store)) in runOnNode()
/src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp239 if (!MI.isSafeToMove(/*AA=*/nullptr, SawStore) && !MI.isPHI()) in isTriviallyDead()
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp634 if (!DefMI->isSafeToMove(nullptr, SawStore) || in optimizeLoadInstr()

12