Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp55 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp) : in FoldCandidate()
58 if (FoldOp->isImm()) { in FoldCandidate()
60 ImmToFold = FoldOp->getImm(); in FoldCandidate()
62 assert(FoldOp->isReg()); in FoldCandidate()
63 OpToFold = FoldOp; in FoldCandidate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp42 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp, in FoldCandidate()
46 Kind(FoldOp->getType()), in FoldCandidate()
48 if (FoldOp->isImm()) { in FoldCandidate()
49 ImmToFold = FoldOp->getImm(); in FoldCandidate()
50 } else if (FoldOp->isFI()) { in FoldCandidate()
51 FrameIndexToFold = FoldOp->getIndex(); in FoldCandidate()
53 assert(FoldOp->isReg() || FoldOp->isGlobal()); in FoldCandidate()
54 OpToFold = FoldOp; in FoldCandidate()
317 MachineOperand *FoldOp, bool Commuted = false, in appendFoldCandidate() argument
325 FoldList.push_back(FoldCandidate(MI, OpNo, FoldOp, Commuted, ShrinkOp)); in appendFoldCandidate()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp42 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp, in FoldCandidate()
46 Kind(FoldOp->getType()), in FoldCandidate()
48 if (FoldOp->isImm()) { in FoldCandidate()
49 ImmToFold = FoldOp->getImm(); in FoldCandidate()
50 } else if (FoldOp->isFI()) { in FoldCandidate()
51 FrameIndexToFold = FoldOp->getIndex(); in FoldCandidate()
53 assert(FoldOp->isReg() || FoldOp->isGlobal()); in FoldCandidate()
54 OpToFold = FoldOp; in FoldCandidate()
317 MachineOperand *FoldOp, bool Commuted = false, in appendFoldCandidate() argument
325 FoldList.push_back(FoldCandidate(MI, OpNo, FoldOp, Commuted, ShrinkOp)); in appendFoldCandidate()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp406 const MachineOperand &FoldOp = MI.getOperand(FoldIdx); in canFoldCopy() local
409 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
412 unsigned FoldReg = FoldOp.getReg(); in canFoldCopy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp441 const MachineOperand &FoldOp = MI.getOperand(FoldIdx); in canFoldCopy() local
444 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
447 Register FoldReg = FoldOp.getReg(); in canFoldCopy()
/external/llvm-project/llvm/lib/CodeGen/
DTargetInstrInfo.cpp451 const MachineOperand &FoldOp = MI.getOperand(FoldIdx); in canFoldCopy() local
454 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
457 Register FoldReg = FoldOp.getReg(); in canFoldCopy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp3583 auto FoldOp = [&](const APInt &LHS, const APInt &RHS) { in getMinMaxExpr() local
3598 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp3520 auto FoldOp = [&](const APInt &LHS, const APInt &RHS) { in getMinMaxExpr() local
3535 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr()