Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp57 MachineOperand *OpToFold; member
64 OpToFold = nullptr; in FoldCandidate()
68 OpToFold = FoldOp; in FoldCandidate()
73 return !OpToFold; in isImm()
118 MachineOperand *New = Fold.OpToFold; in updateOperand()
141 MachineOperand *OpToFold, in tryAddToFoldList() argument
143 if (!TII->isOperandLegal(MI, OpNo, OpToFold)) { in tryAddToFoldList()
152 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
191 if (!TII->isOperandLegal(MI, OpNo, OpToFold)) in tryAddToFoldList()
195 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp216 unsigned OpToFold = 0; in FoldSelectIntoOp() local
218 OpToFold = 1; in FoldSelectIntoOp()
220 OpToFold = 2; in FoldSelectIntoOp()
223 if (OpToFold) { in FoldSelectIntoOp()
225 Value *OOp = TVI->getOperand(2-OpToFold); in FoldSelectIntoOp()
251 unsigned OpToFold = 0; in FoldSelectIntoOp() local
253 OpToFold = 1; in FoldSelectIntoOp()
255 OpToFold = 2; in FoldSelectIntoOp()
258 if (OpToFold) { in FoldSelectIntoOp()
260 Value *OOp = FVI->getOperand(2-OpToFold); in FoldSelectIntoOp()