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.cpp81 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(NumOp)); in getConstInt() local
82 if (CMeta) in getConstInt()
83 return dyn_cast<ConstantInt>(CMeta->getValue()); in getConstInt()
150 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getOriginalFunctionType() local
151 assert(CMeta && "ConstantAsMetadata operand is expected"); in getOriginalFunctionType()
156 RetTy = CMeta->getType(); in getOriginalFunctionType()
158 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
H A DSPIRVAsmPrinter.cpp413 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in addOpsFromMDNode() local
414 Constant *C = CMeta->getValue(); in addOpsFromMDNode()
H A DSPIRVModuleAnalysis.cpp1211 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in collectReqs() local
1212 Constant *C = CMeta->getValue(); in collectReqs()