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.cpp72 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(NumOp)); in getConstInt() local
73 if (CMeta) in getConstInt()
74 return dyn_cast<ConstantInt>(CMeta->getValue()); in getConstInt()
105 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getOriginalFunctionType() local
106 assert(CMeta && "ConstantAsMetadata operand is expected"); in getOriginalFunctionType()
111 RetTy = CMeta->getType(); in getOriginalFunctionType()
113 ArgTypes[Const->getSExtValue()] = CMeta->getType(); in getOriginalFunctionType()
H A DSPIRVAsmPrinter.cpp395 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in addOpsFromMDNode() local
396 Constant *C = CMeta->getValue(); in addOpsFromMDNode()
H A DSPIRVModuleAnalysis.cpp946 if (auto *CMeta = dyn_cast<ConstantAsMetadata>(MDOp)) { in collectReqs() local
947 Constant *C = CMeta->getValue(); in collectReqs()