Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp2142 const MachineInstr *RHSDef = MRI->getVRegDef(RHS.getReg()); in selectMUBUFScratchOffen() local
2143 if (LHSDef && RHSDef) { in selectMUBUFScratchOffen()
2145 RHSDef->getOperand(1).getCImm()->getSExtValue(); in selectMUBUFScratchOffen()
2244 const MachineInstr *RHSDef = MRI->getVRegDef(RHS.getReg()); in selectDS1Addr1Offset() local
2245 if (LHSDef && RHSDef) { in selectDS1Addr1Offset()
2247 RHSDef->getOperand(1).getCImm()->getSExtValue(); in selectDS1Addr1Offset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp3613 MachineInstr *RHSDef = getDefIgnoringCopies(RHS.getReg(), MRI); in tryFoldIntegerCompare() local
3638 if (IsCMN(RHSDef, CC)) in tryFoldIntegerCompare()
3639 return emitCMN(LHS, RHSDef->getOperand(2), MIRBuilder); in tryFoldIntegerCompare()
4625 MachineInstr *RHSDef = MRI.getVRegDef(RHS.getReg()); in selectAddrModeIndexed() local
4626 if (LHSDef && RHSDef) { in selectAddrModeIndexed()
4627 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed()