Home
last modified time | relevance | path

Searched refs:SaveExecInst (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMasking.cpp327 MachineInstr *SaveExecInst = nullptr; in runOnMachineFunction() local
333 if (SaveExecInst && J->readsRegister(Exec, TRI)) { in runOnMachineFunction()
337 SaveExecInst = nullptr; in runOnMachineFunction()
344 if (SaveExecInst) { in runOnMachineFunction()
347 SaveExecInst = nullptr; in runOnMachineFunction()
356 SaveExecInst = &*J; in runOnMachineFunction()
357 LLVM_DEBUG(dbgs() << "Found save exec op: " << *SaveExecInst << '\n'); in runOnMachineFunction()
364 } else if (ReadsCopyFromExec && !SaveExecInst) { in runOnMachineFunction()
378 if (SaveExecInst && J->readsRegister(CopyToExec, TRI)) { in runOnMachineFunction()
379 assert(SaveExecInst != &*J); in runOnMachineFunction()
[all …]
DSIOptimizeExecMaskingPreRA.cpp128 auto SaveExecInst = MRI.getUniqueVRegDef(SavedExec); in getOrExecSource() local
129 if (!SaveExecInst || !isFullExecCopy(*SaveExecInst, ST)) in getOrExecSource()
131 return SaveExecInst; in getOrExecSource()