Lines Matching refs:Const
74 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Const); in getFunctionControl()
148 ConstantInt *Const = getConstInt(MD, 0); in getOriginalFunctionType() local
149 if (Const) { in getOriginalFunctionType()
152 assert(Const->getSExtValue() >= -1); in getOriginalFunctionType()
155 if (Const->getSExtValue() == -1) in getOriginalFunctionType()
158 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
356 ConstantInt *Const = getConstInt(MD2, 0); in lowerFormalArguments() local
357 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
359 static_cast<SPIRV::Decoration::Decoration>(Const->getZExtValue()); in lowerFormalArguments()
362 ConstantInt *Const = getConstInt(MD2, j); in lowerFormalArguments() local
363 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
364 DecVec.push_back(static_cast<uint32_t>(Const->getZExtValue())); in lowerFormalArguments()