Lines Matching defs:req

73 reqScopeToHSAScope(const RequestPtr &req)
76 if (req->isScoped()) {
77 if (req->isWavefrontScope()) {
79 } else if (req->isWorkgroupScope()) {
81 } else if (req->isDeviceScope()) {
83 } else if (req->isSystemScope()) {
93 reqSegmentToHSASegment(const RequestPtr &req)
97 if (req->isGlobalSegment()) {
99 } else if (req->isGroupSegment()) {
101 } else if (req->isPrivateSegment()) {
103 } else if (req->isKernargSegment()) {
105 } else if (req->isReadonlySegment()) {
107 } else if (req->isSpillSegment()) {
109 } else if (req->isArgSegment()) {
315 pkt->req->isLockedRMW() ||
350 pkt->req->getPaddr(), i->second->m_type);
366 pkt->req->getPaddr(), i->second->m_type);
426 request->pkt->req->setExtraData(0);
433 request->pkt->req->setExtraData(1);
700 if (pkt->req->isKernel()) {
701 if (pkt->req->isAcquire()){
705 }else if (pkt->req->isRelease()) {
712 if (pkt->req->hasContextId()) {
713 wf_id = pkt->req->contextId();
750 } else if (pkt->req->isLockedRMW()) {
772 if (pkt->req->isInstFetch()) {
776 uint32_t flags = pkt->req->getFlags();
796 } else if (pkt->req->isRelease() || pkt->req->isAcquire()) {
806 if (pkt->req->hasContextId()) {
807 wf_id = pkt->req->contextId();
852 } else if (pkt->req->isLockedRMW() ||
853 reqCoalescer[line_addr][0].pkt->req->isLockedRMW()) {
856 } else if (pkt->req->hasContextId() && pkt->req->isRelease() &&
857 pkt->req->contextId() !=
858 reqCoalescer[line_addr][0].pkt->req->contextId()) {
876 if (pkt != NULL && pkt->req->hasContextId()) {
877 proc_id = pkt->req->contextId();
882 if (pkt->req->hasPC()) {
883 pc = pkt->req->getPC();
888 // which is pkt->req->isStack()
893 HSASegment accessSegment = reqSegmentToHSASegment(pkt->req);
894 HSAScope accessScope = reqScopeToHSAScope(pkt->req);
1012 i, pkt->req->getPaddr());