Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp60 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp) : in FoldCandidate()
63 if (FoldOp->isImm()) { in FoldCandidate()
65 ImmToFold = FoldOp->getImm(); in FoldCandidate()
67 assert(FoldOp->isReg()); in FoldCandidate()
68 OpToFold = FoldOp; in FoldCandidate()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp407 const MachineOperand &FoldOp = MI->getOperand(FoldIdx); in canFoldCopy() local
410 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
413 unsigned FoldReg = FoldOp.getReg(); in canFoldCopy()