Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp94 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(NumOp)); in getConstInt() local
95 if (CMeta) in getConstInt()
96 return dyn_cast<ConstantInt>(CMeta->getValue()); in getConstInt()
160 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getOriginalFunctionType() local
161 assert(CMeta && "ConstantAsMetadata operand is expected"); in getOriginalFunctionType()
166 RetTy = CMeta->getType(); in getOriginalFunctionType()
168 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
H A DSPIRVAsmPrinter.cpp443 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in addOpsFromMDNode() local
444 Constant *C = CMeta->getValue(); in addOpsFromMDNode()
H A DSPIRVModuleAnalysis.cpp1894 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in collectReqs() local
1895 Constant *C = CMeta->getValue(); in collectReqs()