Lines Matching refs:SPIRVWord
78 SPIRVComponentMemorySemanticsMask(SPIRVWord TheSema = SPIRVWORD_MAX):
80 SPIRVWord MemSema;
148 SPIRVWord V;
198 SPIRVId TheId, const std::vector<SPIRVWord> &TheOps, SPIRVBasicBlock *TheBB,
225 virtual void initImpl(Op OC, bool HasId = true, SPIRVWord WC = 0,
249 SPIRVWord getExpectedNumOperands() const {
258 virtual void setOpWordsAndValidate(const std::vector<SPIRVWord> &TheOps) {
262 virtual void setOpWords(const std::vector<SPIRVWord> &TheOps) {
263 SPIRVWord WC = TheOps.size() + 1;
279 virtual void setWordCount(SPIRVWord TheWordCount) {
289 std::vector<SPIRVWord> &getOpWords() {
293 const std::vector<SPIRVWord> &getOpWords() const {
297 SPIRVWord getOpWord(int I) const {
386 std::vector<SPIRVWord> Ops;
394 SPIRVWord WC = 0,
413 SPIRVMemoryAccess(const std::vector<SPIRVWord> &TheMemoryAccess):
420 void MemoryAccessUpdate(const std::vector<SPIRVWord> &MemoryAccess) {
430 SPIRVWord isVolatile() const { return getMemoryAccessMask() & MemoryAccessVolatileMask; }
431 SPIRVWord isNonTemporal() const { return getMemoryAccessMask() & MemoryAccessNontemporalMask; }
432 SPIRVWord getMemoryAccessMask() const { return TheMemoryAccessMask; }
433 SPIRVWord getAlignment() const { return Alignment; }
436 SPIRVWord TheMemoryAccessMask;
437 SPIRVWord Alignment;
470 SPIRVWord Kind;
499 void setWordCount(SPIRVWord TheWordCount) {
511 const static SPIRVWord FixedWords = 3;
514 const std::vector<SPIRVWord> &TheMemoryAccess, SPIRVBasicBlock *TheBB)
539 void setWordCount(SPIRVWord TheWordCount) {
560 std::vector<SPIRVWord> MemoryAccess;
567 const static SPIRVWord FixedWords = 4;
570 const std::vector<SPIRVWord> &TheMemoryAccess, SPIRVBasicBlock *TheBB)
585 void setWordCount(SPIRVWord TheWordCount) {
607 std::vector<SPIRVWord> MemoryAccess;
778 SPIRVLabel *TheFalseLabel, SPIRVBasicBlock *TheBB, SPIRVWord TrueWeight,
779 SPIRVWord FalseWeight)
803 void setWordCount(SPIRVWord TheWordCount) {
821 std::vector<SPIRVWord> BranchWeights;
827 static const SPIRVWord FixedWordCount = 3;
871 void setWordCount(SPIRVWord TheWordCount) {
993 static const SPIRVWord FixedWordCount = 3;
995 const std::vector<std::pair<SPIRVWord, SPIRVBasicBlock *>> &ThePairs,
1019 void foreachPair(std::function<void(SPIRVWord, SPIRVBasicBlock *, size_t)> Func)
1028 void setWordCount(SPIRVWord TheWordCount) {
1037 foreachPair([=](SPIRVWord Literal, SPIRVBasicBlock *BB, size_t Index){
1045 std::vector<SPIRVWord
1112 std::vector<SPIRVWord> IndexWords(this->Ops.begin() + 1, this->Ops.end());
1137 template<Op OC, SPIRVWord FixedWordCount>
1141 const std::vector<SPIRVWord> &TheArgs, SPIRVBasicBlock *BB)
1155 const std::vector<SPIRVWord> &getArguments() {
1167 void setWordCount(SPIRVWord TheWordCount) {
1175 std::vector<SPIRVWord> Args;
1182 const std::vector<SPIRVWord> &TheArgs, SPIRVBasicBlock *BB);
1197 SPIRVId TheBuiltinSet, SPIRVWord TheEntryPoint,
1198 const std::vector<SPIRVWord> &TheArgs, SPIRVBasicBlock *BB)
1206 SPIRVId TheBuiltinSet, SPIRVWord TheEntryPoint,
1222 SPIRVWord getExtOp()const {
1279 SPIRVWord ExtOp;
1290 const std::vector<SPIRVWord>& TheIndices, SPIRVBasicBlock *TheBB):
1300 const std::vector<SPIRVWord>& getIndices()const { return Indices;}
1302 void setWordCount(SPIRVWord TheWordCount) {
1316 std::vector<SPIRVWord> Indices;
1322 const static SPIRVWord FixedWordCount = 5;
1325 SPIRVValue *TheComposite, const std::vector<SPIRVWord>& TheIndices,
1340 const std::vector<SPIRVWord>& getIndices()const { return Indices;}
1342 void setWordCount(SPIRVWord TheWordCount) {
1360 std::vector<SPIRVWord> Indices;
1393 const static SPIRVWord FixedWords = 3;
1396 const std::vector<SPIRVWord> &TheMemoryAccess,
1419 void setWordCount(SPIRVWord TheWordCount) {
1441 std::vector<SPIRVWord> MemoryAccess;
1449 const static SPIRVWord FixedWords = 4;
1452 SPIRVValue *TheSize, const std::vector<SPIRVWord> &TheMemoryAccess,
1475 void setWordCount(SPIRVWord TheWordCount) {
1493 std::vector<SPIRVWord> MemoryAccess;
1564 const static SPIRVWord FixedWordCount = 5;
1567 SPIRVValue *TheVector2, const std::vector<SPIRVWord>& TheComponents,
1582 const std::vector<SPIRVWord>& getComponents()const { return Components;}
1584 void setWordCount(SPIRVWord TheWordCount) {
1607 std::vector<SPIRVWord> Components;
1627 void setWordCount(SPIRVWord TheWordCount) {
1655 static const SPIRVWord WC = 9;