Lines Matching refs:fnCandidate

5275         const TFunction* fnCandidate = nullptr;  in handleFunctionCall()  local
5310 fnCandidate = symbol->getAsFunction(); in handleFunctionCall()
5315 if (fnCandidate == nullptr) in handleFunctionCall()
5316 fnCandidate = findFunction(loc, *function, builtIn, thisDepth, arguments); in handleFunctionCall()
5318 if (fnCandidate) { in handleFunctionCall()
5325 if (builtIn && fnCandidate->getNumExtensions()) in handleFunctionCall()
5326 … requireExtensions(loc, fnCandidate->getNumExtensions(), fnCandidate->getExtensions(), in handleFunctionCall()
5327 fnCandidate->getName().c_str()); in handleFunctionCall()
5332 callerName = fnCandidate->getMangledName(); in handleFunctionCall()
5336 callerName += fnCandidate->getMangledName(); in handleFunctionCall()
5344 addInputArgumentConversions(*fnCandidate, arguments); in handleFunctionCall()
5349 expandArguments(loc, *fnCandidate, arguments); in handleFunctionCall()
5354 op = fnCandidate->getBuiltInOp(); in handleFunctionCall()
5357 …result = intermediate.addBuiltInFunctionCall(loc, op, fnCandidate->getParamCount() == 1, arguments, in handleFunctionCall()
5358 fnCandidate->getType()); in handleFunctionCall()
5364 builtInOpCheck(loc, *fnCandidate, *result->getAsOperator()); in handleFunctionCall()
5369 …result = intermediate.setAggregateOperator(arguments, EOpFunctionCall, fnCandidate->getType(), loc… in handleFunctionCall()
5396 for (int i = 0; i < fnCandidate->getParamCount(); ++i) { in handleFunctionCall()
5397 TStorageQualifier qual = (*fnCandidate)[i].type->getQualifier().storage; in handleFunctionCall()
5398 if (hasStructBuffCounter(*(*fnCandidate)[i].type)) { in handleFunctionCall()
5402 … } else if (shouldFlatten(*(*fnCandidate)[i].type, (*fnCandidate)[i].type->getQualifier().storage, in handleFunctionCall()
5405 … for (int memb = 0; memb < (int)(*fnCandidate)[i].type->getStruct()->size(); ++memb) in handleFunctionCall()
5420 result = addOutputArgumentConversions(*fnCandidate, *result->getAsOperator()); in handleFunctionCall()
5812 void HlslParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCandidate, TIntermO… in builtInOpCheck() argument
5839 TString featureString = fnCandidate.getName() + "(...)"; in builtInOpCheck()
5846 … if (fnCandidate.getParamCount() > 2 || fnCandidate[0].type->getSampler().dim == EsdRect || in builtInOpCheck()
5847 fnCandidate[0].type->getSampler().shadow) { in builtInOpCheck()
5848 if (! fnCandidate[0].type->getSampler().shadow) in builtInOpCheck()
5854 if (! fnCandidate[0].type->getSampler().shadow) in builtInOpCheck()
5858 if (! fnCandidate[0].type->getSampler().shadow) in builtInOpCheck()
5865 if (compArg > 0 && compArg < fnCandidate.getParamCount()) { in builtInOpCheck()
5947 fnCandidate.getName().c_str(), ""); in builtInOpCheck()