Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSink.cpp30 static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA, in isSafeToMove() function
114 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DDeadMachineInstructionElim.cpp74 if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) in isDead()
H A DReachingDefAnalysis.cpp556 bool ReachingDefAnalysis::isSafeToMove(MachineInstr *From, in isSafeToMove() function in ReachingDefAnalysis
591 return isSafeToMove<Iterator>(From, To); in isSafeToMoveForwards()
601 return isSafeToMove<Iterator>(From, To); in isSafeToMoveBackwards()
H A DLiveRangeEdit.cpp243 if (!DefMI->isSafeToMove(nullptr, SawStore)) in foldAsLoad()
301 if (!MI->isSafeToMove(nullptr, SawStore)) { in eliminateDeadDef()
H A DLiveRangeShrink.cpp154 if (!MI.isSafeToMove(nullptr, SawStore)) { in runOnMachineFunction()
H A DMachineLateInstrsCleanup.cpp153 if (!MI->isSafeToMove(nullptr, SawStore) || MI->isImplicitDef() || in isCandidate()
H A DMachineSink.cpp398 if (!MI.isSafeToMove(AA, DontMoveAcrossStore)) { in FindCycleSinkCandidates()
1353 if (!MI.isSafeToMove(AA, SawStore)) in SinkInstruction()
1406 if (!MI.isSafeToMove(AA, Store)) { in SinkInstruction()
H A DTwoAddressInstructionPass.cpp846 if (!MI->isSafeToMove(AA, SeenStore)) in rescheduleMIBelowKill()
1031 if (!KillMI->isSafeToMove(AA, SeenStore)) in rescheduleKillAboveMI()
H A DBranchFolding.cpp1863 if (!PI->isSafeToMove(nullptr, DontMoveAcrossStore) || TII->isPredicated(*PI)) in findHoistingInsertPosAndDeps()
1987 if (!TIB->isSafeToMove(nullptr, DontMoveAcrossStore)) in HoistCommonCodeInSuccs()
H A DEarlyIfConversion.cpp238 if (!MI.isSafeToMove(nullptr, DontMoveAcrossStore)) { in canSpeculateInstrs()
H A DMachineLICM.cpp971 if ((!I.isSafeToMove(AA, DontMoveAcrossStore)) && in IsLICMCandidate()
H A DIfConversion.cpp2115 if (!MI.isSafeToMove(nullptr, SawStore)) in MaySpeculate()
H A DMachineInstr.cpp1240 bool MachineInstr::isSafeToMove(AAResults *AA, bool &SawStore) const { in isSafeToMove() function in MachineInstr
H A DModuloSchedule.cpp741 if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) { in removeDeadInstructions()
H A DRegisterCoalescer.cpp1307 if (!DefMI->isSafeToMove(AA, SawStore)) in reMaterializeTrivialDef()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DReachingDefAnalysis.h261 bool isSafeToMove(MachineInstr *From, MachineInstr *To) const;
H A DMachineInstr.h1648 bool isSafeToMove(AAResults *AA, bool &SawStore) const;
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp312 static bool isSafeToMove(const MachineOperand *Def, const MachineOperand *Use, in isSafeToMove() function
877 bool CanMove = SameBlock && isSafeToMove(Def, &Use, Insert, MFI, MRI) && in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp420 if (!I.isSafeToMove(nullptr, DontMoveAcrossStore)) { in canSpeculateInstrs()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp485 if (!MI->isSafeToMove(/*AliasAnalysis=*/nullptr, DontMoveAcrossStores)) in canFoldIntoSelect()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp229 if (!MI.isSafeToMove(/*AA=*/nullptr, SawStore) && !MI.isPHI()) in isTriviallyDead()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1099 if (!MI->isSafeToMove(/* AliasAnalysis = */ nullptr, DontMoveAcrossStores)) in canFoldAsPredicatedOp()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2327 if (!MI->isSafeToMove(/* AliasAnalysis = */ nullptr, DontMoveAcrossStores)) in canFoldIntoMOVCC()

12