Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp84 MachineOperand &MovSrc = Def->getOperand(1); in foldImmediates() local
87 if (MovSrc.isImm() && (isInt<32>(MovSrc.getImm()) || in foldImmediates()
88 isUInt<32>(MovSrc.getImm()))) { in foldImmediates()
92 Src0.ChangeToImmediate(MovSrc.getImm()); in foldImmediates()
94 } else if (MovSrc.isFI()) { in foldImmediates()
96 Src0.ChangeToFrameIndex(MovSrc.getIndex()); in foldImmediates()
98 } else if (MovSrc.isGlobal()) { in foldImmediates()
99 Src0.ChangeToGA(MovSrc.getGlobal(), MovSrc.getOffset(), in foldImmediates()
100 MovSrc.getTargetFlags()); in foldImmediates()