Searched refs:getOpCode (Results 1 – 17 of 17) sorted by relevance
76 switch (inst.getOpCode()) { in postProcessType()159 switch (inst.getOpCode()) { in postProcess()204 if (accessChain->getOpCode() == OpAccessChain) { in postProcess()209 assert(type->getOpCode() == OpTypePointer); in postProcess()223 if (type->getOpCode() == OpTypeStruct) { in postProcess()224 assert(idx->getOpCode() == OpConstant); in postProcess()228 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess()240 } else if (type->getOpCode() == OpTypeArray || in postProcess()241 type->getOpCode() == OpTypeRuntimeArray) { in postProcess()243 if (decoration.get()->getOpCode() == OpDecorate && in postProcess()[all …]
139 Op getOpCode() const { return opCode; } in getOpCode() function218 switch (nextToLast->getOpCode()) { in getMergeInstruction()230 switch (instructions.back()->getOpCode()) { in isTerminated()369 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
165 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode() function166 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass()203 bool isConstant(Id resultId) const { return isConstantOpCode(getOpCode(resultId)); } in isConstant()204 bool isConstantScalar(Id resultId) const { return getOpCode(resultId) == OpConstant; } in isConstantScalar()205 bool isSpecConstant(Id resultId) const { return isSpecConstantOpCode(getOpCode(resultId)); } in isSpecConstant()
83 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit()
590 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass()609 switch (instr->getOpCode()) in getNumTypeConstituents()639 Op typeClass = instr->getOpCode(); in getScalarTypeId()665 Op typeClass = instr->getOpCode(); in getContainedTypeId()696 Op typeClass = instr.getOpCode(); in containsType()726 Op typeClass = instr.getOpCode(); in containsPhysicalStorageBufferOrArray()745 if (constant->getOpCode() == opcode && in findScalarConstant()760 if (constant->getOpCode() == opcode && in findScalarConstant()821 if (constant->getTypeId() == typeId && constant->getOpCode() == opcode) in makeBoolConstant()
109 …Op getOpCode(int id) const { return idInstruction[id] ? (Op)(stream[idInstruction[id]] & OpCodeMas… in getOpCode() function in spv::SpirvStream
194 if (A->getOpCode() < B->getOpCode()) in operator ()()196 if (A->getOpCode() > B->getOpCode()) in operator ()()223 if (A.getOpCode() != B.getOpCode()) in operator ==()
92 assert(Scope && Scope->getOpCode() == OpLabel && "Invalid scope"); in setScope()122 if (I->getOpCode() == OpFunction) in getOperandTypes()207 auto OC = Inst->getOpCode(); in createSpecConstantOpInst()219 assert(Inst->getOpCode() == OpSpecConstantOp && in createInstFromSpecConstantOp()
96 assert(TheScope && (TheScope->getOpCode() == OpFunction || in setScope()97 TheScope->getOpCode() == OpLabel)); in setScope()
83 assert(Scope && Scope->getOpCode() == OpFunction && "Invalid scope"); in _SPIRV_IMP_ENCDEC1()
464 assert((!Found || Entry->getOpCode() == OpForward) && in getOrCreateTarget()510 assert(get<SPIRVEntry>(FileName)->getOpCode() == OpString); in validate()519 assert(get<SPIRVEntry>(Target)->getOpCode() == OpTypeStruct); in validate()
394 if (D->getOpCode() == OpMemberDecorate) { in optimizeDecorates()484 auto OC = E->getOpCode(); in layoutEntry()522 if (Mapped->getOpCode() == OpForward) { in addEntry()957 if (Inst->getOpCode() != OpSpecConstantOp) in addInstruction()1214 if (Op->getOpCode() == OpTypePointer && in visit()1221 Op OC = E->getOpCode(); in visit()
735 bool Is = Ty->getOpCode() == T2::OC;
248 Op getOpCode() const { return OpCode;} in getOpCode() function
191 if (frame.getOpCode() != OpCode.Continuation) { in handleFrameFragment()196 this.continuousOpCode = frame.getOpCode(); in handleFrameFragment()218 if (frame.getOpCode() == OpCode.Close) { in handleWebsocketFrame()220 } else if (frame.getOpCode() == OpCode.Ping) { in handleWebsocketFrame()222 } else if (frame.getOpCode() == OpCode.Pong) { in handleWebsocketFrame()224 } else if (!frame.isFin() || frame.getOpCode() == OpCode.Continuation) { in handleWebsocketFrame()228 } else if (frame.getOpCode() == OpCode.Text || frame.getOpCode() == OpCode.Binary) { in handleWebsocketFrame()368 assert wrap.getOpCode() == OpCode.Close; in CloseFrame()449 if (frame.getOpCode() == OpCode.Close) { in read()521 setOpCode(clone.getOpCode()); in WebSocketFrame()[all …]
685 switch(T->getOpCode()) { in transType()749 getOCLOpaqueTypeAddrSpace(T->getOpCode()))); in transType()756 getOCLOpaqueTypeAddrSpace(T->getOpCode()))); in transType()759 auto OC = T->getOpCode(); in transType()772 switch(T->getOpCode()) { in transTypeToOCLTypeName()841 if (isOpaqueGenericTypeOpCode(T->getOpCode())) { in transTypeToOCLTypeName()842 return OCLOpaqueTypeOpCodeMap::rmap(T->getOpCode()); in transTypeToOCLTypeName()868 auto OC = BI->getOpCode(); in isSPIRVCmpInstTransToLLVMInst()934 switch (BC->getOpCode()) { in transConvertInst()949 CO = static_cast<CastInst::CastOps>(OpCodeMap::rmap(BC->getOpCode())); in transConvertInst()[all …]
1249 switch(Ty->getOpCode()) { in getSPIRVImageSampledTypeName()