Lines Matching refs:opcode
28 inline bool IsDebug1Inst(spv::Op opcode) { in IsDebug1Inst() argument
29 return (opcode >= spv::Op::OpSourceContinued && in IsDebug1Inst()
30 opcode <= spv::Op::OpSourceExtension) || in IsDebug1Inst()
31 opcode == spv::Op::OpString; in IsDebug1Inst()
33 inline bool IsDebug2Inst(spv::Op opcode) { in IsDebug2Inst() argument
34 return opcode == spv::Op::OpName || opcode == spv::Op::OpMemberName; in IsDebug2Inst()
36 inline bool IsDebug3Inst(spv::Op opcode) { in IsDebug3Inst() argument
37 return opcode == spv::Op::OpModuleProcessed; in IsDebug3Inst()
39 inline bool IsOpLineInst(spv::Op opcode) { in IsOpLineInst() argument
40 return opcode == spv::Op::OpLine || opcode == spv::Op::OpNoLine; in IsOpLineInst()
42 inline bool IsAnnotationInst(spv::Op opcode) { in IsAnnotationInst() argument
43 return (opcode >= spv::Op::OpDecorate && in IsAnnotationInst()
44 opcode <= spv::Op::OpGroupMemberDecorate) || in IsAnnotationInst()
45 opcode == spv::Op::OpDecorateId || in IsAnnotationInst()
46 opcode == spv::Op::OpDecorateStringGOOGLE || in IsAnnotationInst()
47 opcode == spv::Op::OpMemberDecorateStringGOOGLE; in IsAnnotationInst()
49 inline bool IsTypeInst(spv::Op opcode) { in IsTypeInst() argument
50 return spvOpcodeGeneratesType(opcode) || in IsTypeInst()
51 opcode == spv::Op::OpTypeForwardPointer; in IsTypeInst()
53 inline bool IsConstantInst(spv::Op opcode) { in IsConstantInst() argument
54 return spvOpcodeIsConstant(opcode); in IsConstantInst()
56 inline bool IsSpecConstantInst(spv::Op opcode) { in IsSpecConstantInst() argument
57 return spvOpcodeIsSpecConstant(opcode); in IsSpecConstantInst()