Home
last modified time | relevance | path

Searched refs:FoldOp (Results 1 – 6 of 6) 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-7.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp42 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp, in FoldCandidate()
44 UseMI(MI), OpToFold(nullptr), UseOpNo(OpNo), Kind(FoldOp->getType()), in FoldCandidate()
46 if (FoldOp->isImm()) { in FoldCandidate()
47 ImmToFold = FoldOp->getImm(); in FoldCandidate()
48 } else if (FoldOp->isFI()) { in FoldCandidate()
49 FrameIndexToFold = FoldOp->getIndex(); in FoldCandidate()
51 assert(FoldOp->isReg()); in FoldCandidate()
52 OpToFold = FoldOp; in FoldCandidate()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetInstrInfoImpl.cpp235 const MachineOperand &FoldOp = MI->getOperand(FoldIdx); in canFoldCopy() local
238 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
241 unsigned FoldReg = FoldOp.getReg(); in canFoldCopy()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp443 const MachineOperand &FoldOp = MI.getOperand(FoldIdx); in canFoldCopy() local
446 if (FoldOp.getSubReg() || LiveOp.getSubReg()) in canFoldCopy()
449 unsigned FoldReg = FoldOp.getReg(); in canFoldCopy()
/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/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7266 SDValue FoldOp = DAG.getNode(N->getOpcode(), LHS.getDebugLoc(), VT, in SimplifyVBinOp() local
7268 if (FoldOp.getOpcode() != ISD::UNDEF && in SimplifyVBinOp()
7269 FoldOp.getOpcode() != ISD::Constant && in SimplifyVBinOp()
7270 FoldOp.getOpcode() != ISD::ConstantFP) in SimplifyVBinOp()
7272 Ops.push_back(FoldOp); in SimplifyVBinOp()
7273 AddToWorkList(FoldOp.getNode()); in SimplifyVBinOp()