Searched refs:accessChain (Results 1 – 10 of 10) sorted by relevance
2749 accessChain.base = NoResult; in clearAccessChain()2750 accessChain.indexChain.clear(); in clearAccessChain()2751 accessChain.instr = NoResult; in clearAccessChain()2752 accessChain.swizzle.clear(); in clearAccessChain()2753 accessChain.component = NoResult; in clearAccessChain()2754 accessChain.preSwizzleBaseType = NoType; in clearAccessChain()2755 accessChain.isRValue = false; in clearAccessChain()2756 accessChain.coherentFlags.clear(); in clearAccessChain()2757 accessChain.alignment = 0; in clearAccessChain()2764 accessChain.coherentFlags |= coherentFlags; in accessChainPushSwizzle()[all …]
683 AccessChain getAccessChain() { return accessChain; } in getAccessChain()684 void setAccessChain(AccessChain newChain) { accessChain = newChain; } in setAccessChain()693 accessChain.base = lValue; in setAccessChainLValue()699 accessChain.isRValue = true; in setAccessChainRValue()700 accessChain.base = rValue; in setAccessChainRValue()706 accessChain.indexChain.push_back(offset); in accessChainPush()707 accessChain.coherentFlags |= coherentFlags; in accessChainPush()708 accessChain.alignment |= alignment; in accessChainPush()720 if (accessChain.swizzle.size() != 1) { in accessChainPushComponent()721 accessChain.component = component; in accessChainPushComponent()[all …]
234 Instruction *accessChain = module.getInstruction(inst.getIdOperand(0)); in postProcess() local235 if (accessChain->getOpCode() == OpAccessChain) { in postProcess()236 Instruction *base = module.getInstruction(accessChain->getIdOperand(0)); in postProcess()252 for (int i = 1; i < accessChain->getNumOperands(); ++i) { in postProcess()253 Instruction *idx = module.getInstruction(accessChain->getIdOperand(i)); in postProcess()
2753 accessChain.base = NoResult; in clearAccessChain()2754 accessChain.indexChain.clear(); in clearAccessChain()2755 accessChain.instr = NoResult; in clearAccessChain()2756 accessChain.swizzle.clear(); in clearAccessChain()2757 accessChain.component = NoResult; in clearAccessChain()2758 accessChain.preSwizzleBaseType = NoType; in clearAccessChain()2759 accessChain.isRValue = false; in clearAccessChain()2760 accessChain.coherentFlags.clear(); in clearAccessChain()2761 accessChain.alignment = 0; in clearAccessChain()2768 accessChain.coherentFlags |= coherentFlags; in accessChainPushSwizzle()[all …]
122 AccessChain accessChain; member171 bool IsAccessChainRValue(const AccessChain &accessChain) in IsAccessChainRValue() argument173 return accessChain.storageClass == spv::StorageClassMax; in IsAccessChainRValue()178 return !IsAccessChainRValue(data.accessChain) && data.idList.empty() && in IsAccessChainUnindexedLValue()179 data.accessChain.swizzles.empty() && !data.accessChain.dynamicComponent.valid(); in IsAccessChainUnindexedLValue()568 data->accessChain.baseTypeId = typeId; in nodeDataInitLValue()569 data->accessChain.preSwizzleTypeId = typeId; in nodeDataInitLValue()570 data->accessChain.storageClass = storageClass; in nodeDataInitLValue()571 data->accessChain.typeSpec = typeSpec; in nodeDataInitLValue()583 data->accessChain.baseTypeId = typeId; in nodeDataInitRValue()[all …]
862 ArrayRef<int> accessChain) { in replaceAllSymbolUsesImpl() argument894 accessChains.push_back({llvm::to_vector<1>(accessChain), replacementRef}); in replaceAllSymbolUsesImpl()
1 spv.accessChain.frag