Searched refs:ConstOperand (Results 1 – 2 of 2) sorted by relevance
1413 const MachineOperand &ConstOperand = Const->getOperand(1); in generateGroupUniformInst() local1414 if (!ConstOperand.isCImm()) in generateGroupUniformInst()1423 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateGroupUniformInst()2275 const MachineOperand &ConstOperand = Const->getOperand(1); in generateSpecConstantInst() local2277 assert(ConstOperand.isCImm() && "Int constant operand is expected"); in generateSpecConstantInst()2278 Opcode = ConstOperand.getCImm()->getValue().getZExtValue() in generateSpecConstantInst()2288 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateSpecConstantInst()2290 addNumImm(ConstOperand.getFPImm()->getValueAPF().bitcastToAPInt(), MIB); in generateSpecConstantInst()
3525 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerConstant() local3526 const Constant *ConstantVal = ConstOperand.getCImm(); in lowerConstant()3536 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerFConstant() local3537 const Constant *ConstantVal = ConstOperand.getFPImm(); in lowerFConstant()