Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp1248 const MachineOperand &ConstOperand = Const->getOperand(1); in generateGroupUniformInst() local
1249 if (!ConstOperand.isCImm()) in generateGroupUniformInst()
1262 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateGroupUniformInst()
1941 const MachineOperand &ConstOperand = Const->getOperand(1); in generateSpecConstantInst() local
1943 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3113 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerConstant() local
3114 const Constant *ConstantVal = ConstOperand.getCImm(); in lowerConstant()
3124 const MachineOperand &ConstOperand = MI.getOperand(1); in lowerFConstant() local
3125 const Constant *ConstantVal = ConstOperand.getFPImm(); in lowerFConstant()