Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMasking.cpp266 MachineInstr *SaveExecInst = nullptr; in runOnMachineFunction() local
272 if (SaveExecInst && J->readsRegister(AMDGPU::EXEC, TRI)) { in runOnMachineFunction()
276 SaveExecInst = nullptr; in runOnMachineFunction()
283 if (SaveExecInst) { in runOnMachineFunction()
286 SaveExecInst = nullptr; in runOnMachineFunction()
295 SaveExecInst = &*J; in runOnMachineFunction()
296 LLVM_DEBUG(dbgs() << "Found save exec op: " << *SaveExecInst << '\n'); in runOnMachineFunction()
303 } else if (ReadsCopyFromExec && !SaveExecInst) { in runOnMachineFunction()
317 if (SaveExecInst && J->readsRegister(CopyToExec, TRI)) { in runOnMachineFunction()
318 assert(SaveExecInst != &*J); in runOnMachineFunction()
[all …]
DSIOptimizeExecMaskingPreRA.cpp100 auto SaveExecInst = MRI.getUniqueVRegDef(SavedExec); in getOrExecSource() local
101 if (!SaveExecInst || !isFullExecCopy(*SaveExecInst)) in getOrExecSource()
103 return SaveExecInst; in getOrExecSource()