Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp52 MachineOperand *OpToFold; member
59 OpToFold = nullptr; in FoldCandidate()
63 OpToFold = FoldOp; in FoldCandidate()
68 return !OpToFold; in isImm()
110 MachineOperand *New = Fold.OpToFold; in updateOperand()
133 MachineOperand *OpToFold, in tryAddToFoldList() argument
135 if (!TII->isOperandLegal(*MI, OpNo, OpToFold)) { in tryAddToFoldList()
144 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
183 if (!TII->isOperandLegal(*MI, OpNo, OpToFold)) in tryAddToFoldList()
187 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp34 MachineOperand *OpToFold; member
44 UseMI(MI), OpToFold(nullptr), UseOpNo(OpNo), Kind(FoldOp->getType()), in FoldCandidate()
52 OpToFold = FoldOp; in FoldCandidate()
81 void foldOperand(MachineOperand &OpToFold,
87 void foldInstOperand(MachineInstr &MI, MachineOperand &OpToFold) const;
124 const MachineOperand &OpToFold) { in isInlineConstantIfFolded() argument
125 if (TII->isInlineConstant(UseMI, OpNo, OpToFold)) in isInlineConstantIfFolded()
143 return TII->isInlineConstant(OpToFold, MadDesc.OpInfo[OpNo].OperandType); in isInlineConstantIfFolded()
201 MachineOperand *New = Fold.OpToFold; in updateOperand()
226 MachineOperand *OpToFold, in tryAddToFoldList() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSelect.cpp213 unsigned OpToFold = 0; in FoldSelectIntoOp() local
215 OpToFold = 1; in FoldSelectIntoOp()
217 OpToFold = 2; in FoldSelectIntoOp()
220 if (OpToFold) { in FoldSelectIntoOp()
222 Value *OOp = TVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
248 unsigned OpToFold = 0; in FoldSelectIntoOp() local
250 OpToFold = 1; in FoldSelectIntoOp()
252 OpToFold = 2; in FoldSelectIntoOp()
255 if (OpToFold) { in FoldSelectIntoOp()
257 Value *OOp = FVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp237 unsigned OpToFold = 0; in FoldSelectIntoOp() local
239 OpToFold = 1; in FoldSelectIntoOp()
241 OpToFold = 2; in FoldSelectIntoOp()
244 if (OpToFold) { in FoldSelectIntoOp()
246 Value *OOp = TVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
267 unsigned OpToFold = 0; in FoldSelectIntoOp() local
269 OpToFold = 1; in FoldSelectIntoOp()
271 OpToFold = 2; in FoldSelectIntoOp()
274 if (OpToFold) { in FoldSelectIntoOp()
276 Value *OOp = FVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp381 unsigned OpToFold = 0; in foldSelectIntoOp() local
383 OpToFold = 1; in foldSelectIntoOp()
385 OpToFold = 2; in foldSelectIntoOp()
388 if (OpToFold) { in foldSelectIntoOp()
390 Value *OOp = TVI->getOperand(2-OpToFold); in foldSelectIntoOp()
412 unsigned OpToFold = 0; in foldSelectIntoOp() local
414 OpToFold = 1; in foldSelectIntoOp()
416 OpToFold = 2; in foldSelectIntoOp()
419 if (OpToFold) { in foldSelectIntoOp()
421 Value *OOp = FVI->getOperand(2-OpToFold); in foldSelectIntoOp()