Searched refs:SamplerArg (Results 1 – 2 of 2) sorted by relevance
248 auto SamplerArg = CI->getArgOperand(Idx); in adaptArgumentsBySamplerUse() local249 if (!isa<Argument>(SamplerArg) || in adaptArgumentsBySamplerUse()250 AdaptedTy.count(SamplerArg) != 0) // Already traced this, move on. in adaptArgumentsBySamplerUse()253 if (isSPIRVType(SamplerArg->getType(), kSPIRVTypeName::Sampler)) in adaptArgumentsBySamplerUse()256 addAdaptedType(SamplerArg, getSamplerType(&M)); in adaptArgumentsBySamplerUse()257 auto Caller = cast<Argument>(SamplerArg)->getParent(); in adaptArgumentsBySamplerUse()259 TraceArg(Caller, getArgIndex(Caller, SamplerArg)); in adaptArgumentsBySamplerUse()
183 bool replaceSamplerUses(Argument &SamplerArg, uint32_t ResourceID) { in replaceSamplerUses() argument186 for (const auto &Use : SamplerArg.uses()) { in replaceSamplerUses()