Lines Matching refs:Const
59 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Const); in getFunctionControl()
100 ConstantInt *Const = getConstInt(MD, 0); in getOriginalFunctionType() local
101 if (Const) { in getOriginalFunctionType()
104 assert(Const->getSExtValue() >= -1); in getOriginalFunctionType()
107 if (Const->getSExtValue() == -1) in getOriginalFunctionType()
110 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
193 ConstantInt *Const = getConstInt(MD2, 0); in lowerFormalArguments() local
194 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
195 auto Dec = static_cast<SPIRV::Decoration>(Const->getZExtValue()); in lowerFormalArguments()
198 ConstantInt *Const = getConstInt(MD2, j); in lowerFormalArguments() local
199 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
200 DecVec.push_back(static_cast<uint32_t>(Const->getZExtValue())); in lowerFormalArguments()