Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVStream.cpp87 :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 …]
DSPIRVValue.h161 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()
DSPIRVType.h442 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 …]
DSPIRVDecorate.cpp108 WordCount = Count; in setWordCount()
109 Literals.resize(WordCount - FixedWC); in setWordCount()
130 WordCount = Count; in setWordCount()
131 Literals.resize(WordCount - FixedWC); in setWordCount()
DSPIRVDecorate.h144 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()
DSPIRVInstruction.h250 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 …]
DSPIRVEntry.cpp147 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()
DSPIRVStream.h70 :IS(InputStream), M(Module), WordCount(0), OpCode(OpNop), in SPIRVDecoder()
82 SPIRVWord WordCount; variable
DSPIRVEntry.h208 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()
DSPIRVEnum.h60 mkWord(unsigned WordCount, Op OpCode) { in mkWord() argument
61 return (WordCount << 16) | OpCode; in mkWord()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp273 size_t WordCount = Size / 2; in emitInstruction() local
275 for (int64_t i = WordCount - 1; i >= 0; --i) { in emitInstruction()
/external/v8/include/
Dv8.h3222 int WordCount() const;
/external/v8/src/
Dapi.cc8072 int BigInt::WordCount() const { in WordCount() function in v8::BigInt