Home
last modified time | relevance | path

Searched refs:getOpCode (Results 1 – 17 of 17) sorted by relevance

/external/deqp-deps/glslang/SPIRV/
DSpvPostProcess.cpp76 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 …]
DspvIR.h139 Op getOpCode() const { return opCode; } in getOpCode() function
218 switch (nextToLast->getOpCode()) { in getMergeInstruction()
230 switch (instructions.back()->getOpCode()) { in isTerminated()
369 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
DSpvBuilder.h165 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode() function
166 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()
DInReadableOrder.cpp83 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit()
DSpvBuilder.cpp590 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()
Ddisassemble.cpp109 …Op getOpCode(int id) const { return idInstruction[id] ? (Op)(stream[idInstruction[id]] & OpCodeMas… in getOpCode() function in spv::SpirvStream
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVDecorate.cpp194 if (A->getOpCode() < B->getOpCode()) in operator ()()
196 if (A->getOpCode() > B->getOpCode()) in operator ()()
223 if (A.getOpCode() != B.getOpCode()) in operator ==()
DSPIRVInstruction.cpp92 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()
DSPIRVStream.cpp96 assert(TheScope && (TheScope->getOpCode() == OpFunction || in setScope()
97 TheScope->getOpCode() == OpLabel)); in setScope()
DSPIRVBasicBlock.cpp83 assert(Scope && Scope->getOpCode() == OpFunction && "Invalid scope"); in _SPIRV_IMP_ENCDEC1()
DSPIRVEntry.cpp464 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()
DSPIRVModule.cpp394 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()
DSPIRVType.h735 bool Is = Ty->getOpCode() == T2::OC;
DSPIRVEntry.h248 Op getOpCode() const { return OpCode;} in getOpCode() function
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java191 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 …]
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp685 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 …]
DSPIRVUtil.cpp1249 switch(Ty->getOpCode()) { in getSPIRVImageSampledTypeName()