Home | History | Annotate | Download | only in libSPIRV

Lines Matching defs:Pairs

831     Pairs = getIds(ThePairs);
837 return getValues(Pairs);
840 Pairs.push_back(Value->getId());
841 Pairs.push_back(BB->getId());
842 WordCount = Pairs.size() + FixedWordCount;
846 Pairs = getIds(ThePairs);
847 WordCount = Pairs.size() + FixedWordCount;
852 for (size_t I = 0, E = Pairs.size()/2; I != E; ++I) {
854 if (!Module->exist(Pairs[2*I], &Value) ||
855 !Module->exist(Pairs[2*I+1], &BB))
863 for (size_t I = 0, E = Pairs.size()/2; I != E; ++I) {
865 if (!Module->exist(Pairs[2*I], &Value) ||
866 !Module->exist(Pairs[2*I+1], &BB))
873 Pairs.resize(TheWordCount - FixedWordCount);
875 _SPIRV_DEF_ENCDEC3(Type, Id, Pairs)
877 assert(WordCount == Pairs.size() + FixedWordCount);
879 assert(Pairs.size() % 2 == 0);
887 std::vector<SPIRVId> Pairs;
1000 Pairs.push_back(I.first);
1001 Pairs.push_back(I.second->getId());
1012 return getValues(Pairs);
1018 size_t getNumPairs() const { return Pairs.size()/2;}
1021 for (size_t I = 0, E = Pairs.size()/2; I != E; ++I) {
1023 if (!Module->exist(Pairs[2*I+1], &BB))
1025 Func(Pairs[2*I], static_cast<SPIRVBasicBlock *>(BB), I);
1030 Pairs.resize(TheWordCount - FixedWordCount);
1032 _SPIRV_DEF_ENCDEC3(Select, Default, Pairs)
1034 assert(WordCount == Pairs.size() + FixedWordCount);
1036 assert(Pairs.size() % 2 == 0);
1045 Pairs;