Lines Matching refs:Const
65 FuncControl |= static_cast<uint32_t>(SPIRV::FunctionControl::Const); in getFunctionControl()
103 ConstantInt *Const = getConstInt(MD, 0); in getOriginalFunctionType() local
104 if (Const) { in getOriginalFunctionType()
107 assert(Const->getSExtValue() >= -1); in getOriginalFunctionType()
110 if (Const->getSExtValue() == -1) in getOriginalFunctionType()
113 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
331 ConstantInt *Const = getConstInt(MD2, 0); in lowerFormalArguments() local
332 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
334 static_cast<SPIRV::Decoration::Decoration>(Const->getZExtValue()); in lowerFormalArguments()
337 ConstantInt *Const = getConstInt(MD2, j); in lowerFormalArguments() local
338 assert(Const && "MDOperand should be ConstantInt"); in lowerFormalArguments()
339 DecVec.push_back(static_cast<uint32_t>(Const->getZExtValue())); in lowerFormalArguments()