Lines Matching refs:labelIndex
1299 void PixelProgram::CALL(int labelIndex, int callSiteIndex) in CALL() argument
1301 if(!labelBlock[labelIndex]) in CALL()
1303 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALL()
1306 if(callRetBlock[labelIndex].size() > 1) in CALL()
1313 Nucleus::createBr(labelBlock[labelIndex]); in CALL()
1314 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALL()
1319 void PixelProgram::CALLNZ(int labelIndex, int callSiteIndex, const Src &src) in CALLNZ() argument
1323 CALLNZb(labelIndex, callSiteIndex, src); in CALLNZ()
1327 CALLNZp(labelIndex, callSiteIndex, src); in CALLNZ()
1332 void PixelProgram::CALLNZb(int labelIndex, int callSiteIndex, const Src &boolRegister) in CALLNZb() argument
1341 if(!labelBlock[labelIndex]) in CALLNZb()
1343 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZb()
1346 if(callRetBlock[labelIndex].size() > 1) in CALLNZb()
1353 branch(condition, labelBlock[labelIndex], callRetBlock[labelIndex][callSiteIndex]); in CALLNZb()
1354 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZb()
1359 void PixelProgram::CALLNZp(int labelIndex, int callSiteIndex, const Src &predicateRegister) in CALLNZp() argument
1370 if(!labelBlock[labelIndex]) in CALLNZp()
1372 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in CALLNZp()
1375 if(callRetBlock[labelIndex].size() > 1) in CALLNZp()
1385 branch(notAllFalse, labelBlock[labelIndex], callRetBlock[labelIndex][callSiteIndex]); in CALLNZp()
1386 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALLNZp()
1584 void PixelProgram::LABEL(int labelIndex) in LABEL() argument
1586 if(!labelBlock[labelIndex]) in LABEL()
1588 labelBlock[labelIndex] = Nucleus::createBasicBlock(); in LABEL()
1591 Nucleus::setInsertBlock(labelBlock[labelIndex]); in LABEL()
1592 currentLabel = labelIndex; in LABEL()