Searched refs:WordCount (Results 1 – 10 of 10) sorted by relevance
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVStream.cpp | 87 :IS(InputStream), M(*F.getModule()), WordCount(0), OpCode(OpNop), in SPIRVDecoder() 91 :IS(InputStream), M(*BB.getModule()), WordCount(0), OpCode(OpNop), in SPIRVDecoder() 193 WordCount = 0; in getWordCountAndOpCode() 196 WordCount << " " << OpCode << '\n'); in getWordCountAndOpCode() 201 *this >> WordCount; in getWordCountAndOpCode() 204 WordCount = 0; in getWordCountAndOpCode() 207 WordCount << " " << OpCode << '\n'); in getWordCountAndOpCode() 215 WordCount = WordCountAndOpCode >> 16; in getWordCountAndOpCode() 222 WordCount = 0; in getWordCountAndOpCode() 225 WordCount << " " << OpCode << '\n'); in getWordCountAndOpCode() [all …]
|
D | SPIRVValue.h | 161 WordCount = 3 + NumWords; in recalculateWordCount() 172 void setWordCount(SPIRVWord WordCount) { in setWordCount() argument 173 SPIRVValue::setWordCount(WordCount); in setWordCount() 174 NumWords = WordCount - 3; in setWordCount() 293 void setWordCount(SPIRVWord WordCount) { in setWordCount() argument 294 Elements.resize(WordCount - 3); in setWordCount() 337 assert(WordCount == WC); in validate() 379 assert(WordCount == WC); in validate()
|
D | SPIRVType.h | 442 assert(WordCount == FixedWC + Acc.size()); in validate() 453 WordCount = TheWC; in setWordCount() 454 Acc.resize(WordCount - FixedWC); in setWordCount() 476 assert(WordCount == FixedWC); in _SPIRV_DEF_ENCDEC1() 508 assert(WordCount == FixedWC); in _SPIRV_DEF_ENCDEC2() 527 assert(WordCount == FixedWC); in _SPIRV_DEF_ENCDEC1() 563 void setWordCount(SPIRVWord WordCount) { in setWordCount() argument 564 SPIRVType::setWordCount(WordCount); in setWordCount() 565 MemberTypeIdVec.resize(WordCount - 2); in setWordCount() 607 void setWordCount(SPIRVWord WordCount) { in _SPIRV_DEF_ENCDEC3() [all …]
|
D | SPIRVDecorate.cpp | 108 WordCount = Count; in setWordCount() 109 Literals.resize(WordCount - FixedWC); in setWordCount() 130 WordCount = Count; in setWordCount() 131 Literals.resize(WordCount - FixedWC); in setWordCount()
|
D | SPIRVDecorate.h | 144 assert(WordCount == Literals.size() + FixedWC); in validate() 158 WordCount += Literals.size(); in SPIRVDecorateLinkageAttr() 226 assert(WordCount == Literals.size() + FixedWC); in validate() 261 assert(WordCount == WC); in validate()
|
D | SPIRVInstruction.h | 250 assert(WordCount > 0 && "Word count not initialized"); in getExpectedNumOperands() 251 auto Exp = WordCount - 1; in getExpectedNumOperands() 268 if (WordCount) { in setOpWords() 269 if (WordCount == WC) { in setOpWords() 272 assert(HasVariWC && WC >= WordCount && "Invalid word count"); in setOpWords() 281 auto NumOps = WordCount - 1; in setWordCount() 501 Initializer.resize(WordCount - 4); in setWordCount() 760 assert(WordCount == 2); 810 assert(WordCount == 4 || WordCount == 6); 811 assert(WordCount == BranchWeights.size() + 4); [all …]
|
D | SPIRVEntry.cpp | 147 WordCount = TheWordCount; in setWordCount() 192 getEncoder(O) << WordCount << OpCode; in encodeWordCountOpCode() 196 getEncoder(O) << mkWord(WordCount, OpCode); in encodeWordCountOpCode() 488 assert(WordCount == getSizeInWords(Str) + 2 && "Incorrect word count"); in validate() 508 assert(WordCount == 5); in validate() 518 assert(WordCount == getSizeInWords(Str) + FixedWC); in validate()
|
D | SPIRVStream.h | 70 :IS(InputStream), M(Module), WordCount(0), OpCode(OpNop), in SPIRVDecoder() 82 SPIRVWord WordCount; variable
|
D | SPIRVEntry.h | 208 WordCount(TheWordCount), Line(nullptr){ in SPIRVEntry() 215 WordCount(TheWordCount), Line(nullptr){ in SPIRVEntry() 222 Attrib(SPIRVEA_DEFAULT), WordCount(0), Line(nullptr){} in SPIRVEntry() 226 Attrib(SPIRVEA_DEFAULT), WordCount(0), Line(nullptr){} in SPIRVEntry() 362 SPIRVWord WordCount; variable 396 SPIRVEntry::WordCount = 1; in SPIRVEntryOpCodeOnly()
|
D | SPIRVEnum.h | 60 mkWord(unsigned WordCount, Op OpCode) { in mkWord() argument 61 return (WordCount << 16) | OpCode; in mkWord()
|