Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp493 MachineOperand &FlagOp = MI->getOperand(FlagIndex); in getFlagOp() local
494 assert(FlagOp.isImm()); in getFlagOp()
495 return FlagOp; in getFlagOp()
501 MachineOperand &FlagOp = getFlagOp(MI); in addFlag() local
502 FlagOp.setImm(FlagOp.getImm() | (Flag << (NUM_MO_FLAGS * Operand))); in addFlag()
508 MachineOperand &FlagOp = getFlagOp(MI); in clearFlag() local
509 unsigned InstFlags = FlagOp.getImm(); in clearFlag()
511 FlagOp.setImm(InstFlags); in clearFlag()
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.cpp1392 MachineOperand &FlagOp = MI->getOperand(FlagIndex); in getFlagOp() local
1393 assert(FlagOp.isImm()); in getFlagOp()
1394 return FlagOp; in getFlagOp()
1404 MachineOperand &FlagOp = getFlagOp(MI, Operand, Flag); in addFlag() local
1410 FlagOp.setImm(1); in addFlag()
1413 MachineOperand &FlagOp = getFlagOp(MI, Operand); in addFlag() local
1414 FlagOp.setImm(FlagOp.getImm() | (Flag << (NUM_MO_FLAGS * Operand))); in addFlag()
1422 MachineOperand &FlagOp = getFlagOp(MI, Operand, Flag); in clearFlag() local
1423 FlagOp.setImm(0); in clearFlag()
1425 MachineOperand &FlagOp = getFlagOp(MI); in clearFlag() local
[all …]