• Home
  • Raw
  • Download

Lines Matching refs:SPIRVId

78   bool exist(SPIRVId) const;
79 bool exist(SPIRVId, SPIRVEntry **) const;
80 SPIRVId getId(SPIRVId Id = SPIRVID_INVALID, unsigned Increment = 1);
81 virtual SPIRVEntry *getEntry(SPIRVId Id) const;
90 SPIRVExtInstSetKind getBuiltinSet(SPIRVId SetId) const;
98 virtual SPIRVValue *getValue(SPIRVId TheId) const;
99 virtual std::vector<SPIRVValue *> getValues(const std::vector<SPIRVId>&)const;
100 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVEntry *>&)const;
101 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVValue *>&)const;
102 virtual SPIRVType *getValueType(SPIRVId TheId)const;
103 virtual std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&)
128 bool isEntryPoint(SPIRVExecutionModelKind, SPIRVId EP) const;
134 bool importBuiltinSet(const std::string &, SPIRVId *);
135 bool importBuiltinSetWithId(const std::string &, SPIRVId);
158 virtual SPIRVBasicBlock *addBasicBlock(SPIRVFunction *, SPIRVId);
163 SPIRVId ID);
178 SPIRVId EntryPoint);
180 virtual SPIRVForward *addForward(SPIRVId, SPIRVType *Ty);
182 virtual SPIRVFunction *addFunction(SPIRVTypeFunction *, SPIRVId);
304 SPIRVId NextId;
316 typedef std::map<SPIRVId, SPIRVEntry *> SPIRVIdToEntryMap;
318 typedef std::set<SPIRVId> SPIRVIdSet;
319 typedef std::vector<SPIRVId> SPIRVIdVec;
330 typedef std::map<SPIRVId, SPIRVExtInstSetKind> SPIRVIdToBuiltinSetMap;
334 typedef std::map<SPIRVTypeStruct *, std::vector<std::pair<unsigned, SPIRVId>>>
413 std::vector<SPIRVId> Targets; in optimizeDecorates()
518 SPIRVId Id = Entry->getId(); in addEntry()
551 SPIRVModuleImpl::exist(SPIRVId Id) const { in exist()
556 SPIRVModuleImpl::exist(SPIRVId Id, SPIRVEntry **Entry) const { in exist()
568 SPIRVId
569 SPIRVModuleImpl::getId(SPIRVId Id, unsigned increment) { in getId()
579 SPIRVModuleImpl::getEntry(SPIRVId Id) const { in getEntry()
587 SPIRVModuleImpl::getBuiltinSet(SPIRVId SetId) const { in getBuiltinSet()
594 SPIRVModuleImpl::isEntryPoint(SPIRVExecutionModelKind ExecModel, SPIRVId EP) in isEntryPoint()
607 SPIRVId *BuiltinSetId) { in importBuiltinSet()
608 SPIRVId TmpBuiltinSetId = getId(); in importBuiltinSet()
618 SPIRVId BuiltinSetId) { in importBuiltinSetWithId()
647 SPIRVId ID = Indices.second; in resolveUnknownStructFields()
780 std::unordered_set<SPIRVId> Seen; in createForwardPointers()
811 SPIRVModuleImpl::addFunction(SPIRVTypeFunction *FuncType, SPIRVId Id) { in addFunction()
817 SPIRVModuleImpl::addBasicBlock(SPIRVFunction *Func, SPIRVId Id) { in addBasicBlock()
823 SPIRVId Id = Dec->getTargetId(); in addDecorate()
836 SPIRVId EntryPoint){ in addEntryPoint()
850 SPIRVModuleImpl::addForward(SPIRVId Id, SPIRVType *Ty) { in addForward()
856 SPIRVId Id = Entry->getId(); in replaceForward()
857 SPIRVId ForwardId = Forward->getId(); in replaceForward()
1400 SPIRVId ID) { in addUnknownStructField()
1444 SPIRVModuleImpl::getValue(SPIRVId TheId)const { in getValue()
1449 SPIRVModuleImpl::getValueType(SPIRVId TheId)const { in getValueType()
1454 SPIRVModuleImpl::getValues(const std::vector<SPIRVId>& IdVec)const { in getValues()
1462 SPIRVModuleImpl::getValueTypes(const std::vector<SPIRVId>& IdVec)const { in getValueTypes()
1469 std::vector<SPIRVId>
1471 std::vector<SPIRVId> IdVec; in getIds()
1477 std::vector<SPIRVId>
1479 std::vector<SPIRVId> IdVec; in getIds()
1489 SPIRVId Id = Ty ? getId() : SPIRVID_INVALID; in addInstTemplate()
1499 SPIRVId Id = Ty ? getId() : SPIRVID_INVALID; in addInstTemplate()