Home
last modified time | relevance | path

Searched refs:OperandHash (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp250 unsigned OperandHash = 0; in HashMachineInstr() local
252 case MachineOperand::MO_Register: OperandHash = Op.getReg(); break; in HashMachineInstr()
253 case MachineOperand::MO_Immediate: OperandHash = Op.getImm(); break; in HashMachineInstr()
255 OperandHash = Op.getMBB()->getNumber(); in HashMachineInstr()
260 OperandHash = Op.getIndex(); in HashMachineInstr()
266 OperandHash = Op.getOffset(); in HashMachineInstr()
271 Hash += ((OperandHash << 3) | Op.getType()) << (i&31); in HashMachineInstr()
/external/llvm/lib/CodeGen/
DBranchFolding.cpp287 unsigned OperandHash = 0; in HashMachineInstr() local
290 OperandHash = Op.getReg(); in HashMachineInstr()
293 OperandHash = Op.getImm(); in HashMachineInstr()
296 OperandHash = Op.getMBB()->getNumber(); in HashMachineInstr()
301 OperandHash = Op.getIndex(); in HashMachineInstr()
307 OperandHash = Op.getOffset(); in HashMachineInstr()
313 Hash += ((OperandHash << 3) | Op.getType()) << (i & 31); in HashMachineInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.cpp259 unsigned OperandHash = 0; in HashMachineInstr() local
262 OperandHash = Op.getReg(); in HashMachineInstr()
265 OperandHash = Op.getImm(); in HashMachineInstr()
268 OperandHash = Op.getMBB()->getNumber(); in HashMachineInstr()
273 OperandHash = Op.getIndex(); in HashMachineInstr()
279 OperandHash = Op.getOffset(); in HashMachineInstr()
285 Hash += ((OperandHash << 3) | Op.getType()) << (i & 31); in HashMachineInstr()