Lines Matching refs:callRetBlock
92 ASSERT(callRetBlock[dst.label].size() == dst.callSite); in applyShader()
93 callRetBlock[dst.label].push_back(Nucleus::createBasicBlock()); in applyShader()
1306 if(callRetBlock[labelIndex].size() > 1) in CALL()
1314 Nucleus::setInsertBlock(callRetBlock[labelIndex][callSiteIndex]); in CALL()
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()
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()
1717 if(callRetBlock[currentLabel].size() > 1) // Pop the return destination from the call stack in RET()
1723 …llvm::Value *switchInst = Nucleus::createSwitch(value, unreachableBlock, (int)callRetBlock[current… in RET()
1725 for(unsigned int i = 0; i < callRetBlock[currentLabel].size(); i++) in RET()
1727 Nucleus::addSwitchCase(switchInst, i, callRetBlock[currentLabel][i]); in RET()
1730 …else if(callRetBlock[currentLabel].size() == 1) // Jump directly to the unique return destination in RET()
1732 Nucleus::createBr(callRetBlock[currentLabel][0]); in RET()