Lines Matching refs:Op
67 bool isSpecConstantOpAllowedOp(Op OC);
106 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType,
109 SPIRVInstruction(unsigned TheWordCount, Op TheOC,
113 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVId TheId,
116 SPIRVInstruction(unsigned TheWordCount, Op TheOC,
119 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVType *TheType,
122 SPIRVInstruction(Op TheOC = OpNop):SPIRVValue(TheOC), BB(NULL){}
182 static SPIRVInstTemplateBase *create(Op TheOC){
189 static SPIRVInstTemplateBase *create(Op TheOC, SPIRVType *TheType,
197 static SPIRVInstTemplateBase *create(Op TheOC, SPIRVType *TheType,
206 SPIRVInstTemplateBase(Op OC = OpNop)
225 virtual void initImpl(Op OC, bool HasId = true, SPIRVWord WC = 0,
392 Op OC = OpNop,
650 assert(0 && "Invalid op code!");
655 template<Op OC>
660 #define _SPIRV_OP(x) typedef SPIRVBinaryInst<Op##x> SPIRV##x;
686 template<Op TheOpCode>
711 static const Op OC = OpReturnValue;
741 static const Op OC = OpBranch;
769 static const Op OC = OpBranchConditional;
826 static const Op OC = OpPhi;
913 assert(isCmpOpCode(OpCode) && "Invalid op code for cmp inst");
920 template<Op OC>
924 #define _SPIRV_OP(x) typedef SPIRVCmpInst<Op##x> SPIRV##x;
992 static const Op OC = OpSwitch;
1051 auto Op = Ops[0];
1053 if (getValue(Op)->isForward())
1059 getValueType(Op)->getVectorComponentType() : getValueType(Op);
1061 assert(getType() == getValueType(Op) &&
1070 getValueType(Op)->getVectorComponentCount()): 1) &&
1076 template<Op OC>
1080 #define _SPIRV_OP(x) typedef SPIRVUnaryInst<Op##x> SPIRV##x;
1125 template<Op OC, unsigned FixedWC>
1137 template<Op OC, SPIRVWord FixedWordCount>
1287 const static Op OC = OpCompositeExtract;
1321 const static Op OC = OpCompositeInsert;
1365 const static Op OC = OpCopyObject;
1392 const static Op OC = OpCopyMemory;
1448 const static Op OC = OpCopyMemorySized;
1501 const static Op OC = OpVectorExtractDynamic;
1531 const static Op OC = OpVectorInsertDynamic;
1563 const static Op OC = OpVectorShuffle;
1612 static const Op OC = OpControlBarrier;
1654 static const Op OC = OpGroupAsyncCopy;
1719 typedef SPIRVInstTemplate<SPIRVDevEnqInstBase, Op##x, __VA_ARGS__> \
1746 typedef SPIRVInstTemplate<SPIRVPipeInstBase, Op##x, __VA_ARGS__> \
1770 typedef SPIRVInstTemplate<SPIRVPipeStorageInstBase, Op##x, __VA_ARGS__> \
1784 typedef SPIRVInstTemplate<SPIRVGroupInstBase, Op##x, __VA_ARGS__> \
1813 typedef SPIRVInstTemplate<SPIRVAtomicInstBase, Op##x, __VA_ARGS__> \
1845 typedef SPIRVInstTemplate<SPIRVImageInstBase, Op##x, __VA_ARGS__> \
1863 typedef SPIRVInstTemplate<SPIRVInstTemplateBase, Op##x, __VA_ARGS__> \