Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp69 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(NumOp)); in getConstInt() local
70 if (CMeta) in getConstInt()
71 return dyn_cast<ConstantInt>(CMeta->getValue()); in getConstInt()
102 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getOriginalFunctionType() local
103 assert(CMeta && "ConstantAsMetadata operand is expected"); in getOriginalFunctionType()
108 RetTy = CMeta->getType(); in getOriginalFunctionType()
110 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
H A DSPIRVAsmPrinter.cpp365 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in addOpsFromMDNode() local
366 Constant *C = CMeta->getValue(); in addOpsFromMDNode()