Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp734 if (auto ConstV = dyn_cast<ConstantVector>(V)) { in transConstant() local
736 for (auto I = ConstV->op_begin(), E = ConstV->op_end(); I != E; ++I) in transConstant()
741 if (auto ConstV = dyn_cast<ConstantStruct>(V)) { in transConstant() local
742 if (ConstV->getType()->getName() == in transConstant()
744 assert(ConstV->getNumOperands() == 3); in transConstant()
746 AddrMode = ConstV->getOperand(0)->getUniqueInteger().getZExtValue(), in transConstant()
747 Normalized = ConstV->getOperand(1)->getUniqueInteger().getZExtValue(), in transConstant()
748 FilterMode = ConstV->getOperand(2)->getUniqueInteger().getZExtValue(); in transConstant()
752 SPIRVType* SamplerTy = transType(ConstV->getType()); in transConstant()
756 if (ConstV->getType()->getName() == in transConstant()
[all …]