Searched refs:ConstOperand (Results 1 – 2 of 2) sorted by relevance
1248 const MachineOperand &ConstOperand = Const->getOperand(1); in generateGroupUniformInst() local1249 if (!ConstOperand.isCImm()) in generateGroupUniformInst()1262 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateGroupUniformInst()1941 const MachineOperand &ConstOperand = Const->getOperand(1); in generateSpecConstantInst() local1943 assert(ConstOperand.isCImm() && "Int constant operand is expected"); in generateSpecConstantInst()1944 Opcode = ConstOperand.getCImm()->getValue().getZExtValue() in generateSpecConstantInst()1954 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateSpecConstantInst()1956 addNumImm(ConstOperand.getFPImm()->getValueAPF().bitcastToAPInt(), MIB); in generateSpecConstantInst()
3113 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerConstant() local3114 const Constant *ConstantVal = ConstOperand.getCImm(); in lowerConstant()3124 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerFConstant() local3125 const Constant *ConstantVal = ConstOperand.getFPImm(); in lowerFConstant()