Lines Matching defs:Const
82 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Const);
158 ConstantInt *Const = getConstInt(MD, 0);
159 if (Const) {
162 assert(Const->getSExtValue() >= -1);
165 if (Const->getSExtValue() == -1)
168 ArgTypes[Const->getSExtValue()] = CMeta->getType();
376 ConstantInt *Const = getConstInt(MD2, 0);
377 assert(Const && "MDOperand should be ConstantInt");
379 static_cast<SPIRV::Decoration::Decoration>(Const->getZExtValue());
382 ConstantInt *Const = getConstInt(MD2, j);
383 assert(Const && "MDOperand should be ConstantInt");
384 DecVec.push_back(static_cast<uint32_t>(Const->getZExtValue()));