Searched refs:FoldOp (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Target/AMDGPU/ |
D | SIFoldOperands.cpp | 55 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/ |
D | SIFoldOperands.cpp | 42 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/ |
D | TargetInstrInfoImpl.cpp | 235 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/ |
D | TargetInstrInfo.cpp | 443 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/ |
D | TargetInstrInfo.cpp | 406 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/ |
D | DAGCombiner.cpp | 7266 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()
|