Lines Matching refs:MangledName

98   bool eraseUselessConvert(CallInst *Call, const std::string &MangledName,
103 void visitCallConvert(CallInst *CI, StringRef MangledName,
161 void visitCallAtomicLegacy(CallInst *CI, StringRef MangledName,
166 void visitCallAtomicCpp11(CallInst *CI, StringRef MangledName,
172 void visitCallBuiltinSimple(CallInst *CI, StringRef MangledName,
179 void visitCallGetImageSize(CallInst *CI, StringRef MangledName,
190 void visitCallGroupBuiltin(CallInst *CI, StringRef MangledName,
200 void visitCallPipeBuiltin(CallInst *CI, StringRef MangledName,
207 void visitCallReadImageWithSampler(CallInst *CI, StringRef MangledName,
212 void visitCallReadImageMSAA(CallInst *CI, StringRef MangledName,
216 void visitCallReadWriteImage(CallInst *CI, StringRef MangledName,
227 void visitCallToAddr(CallInst *CI, StringRef MangledName,
238 void visitCallVecLoadStore(CallInst *CI, StringRef MangledName,
246 void visitCallGetFence(CallInst *CI, StringRef MangledName, const std::string& DemangledName);
254 void visitCallScalToVec(CallInst *CI, StringRef MangledName,
259 void visitCallGetImageChannel(CallInst *CI, StringRef MangledName,
372 auto MangledName = F->getName(); in visitCallInst() local
374 if (!oclIsBuiltin(MangledName, &DemangledName)) in visitCallInst()
413 visitCallAtomicLegacy(PCI, MangledName, DemangledName); in visitCallInst()
414 visitCallAtomicCpp11(PCI, MangledName, DemangledName); in visitCallInst()
418 visitCallConvert(&CI, MangledName, DemangledName); in visitCallInst()
426 visitCallGetImageSize(&CI, MangledName, DemangledName); in visitCallInst()
434 visitCallGroupBuiltin(&CI, MangledName, DemangledName); in visitCallInst()
438 visitCallPipeBuiltin(&CI, MangledName, DemangledName); in visitCallInst()
446 if (MangledName.find(kMangledName::Sampler) != StringRef::npos) { in visitCallInst()
447 visitCallReadImageWithSampler(&CI, MangledName, DemangledName); in visitCallInst()
450 if (MangledName.find("msaa") != StringRef::npos) { in visitCallInst()
451 visitCallReadImageMSAA(&CI, MangledName, DemangledName); in visitCallInst()
457 visitCallReadWriteImage(&CI, MangledName, DemangledName); in visitCallInst()
463 visitCallToAddr(&CI, MangledName, DemangledName); in visitCallInst()
468 visitCallVecLoadStore(&CI, MangledName, DemangledName); in visitCallInst()
485 visitCallGetFence(&CI, MangledName, DemangledName); in visitCallInst()
501 visitCallScalToVec(&CI, MangledName, DemangledName); in visitCallInst()
505 visitCallGetImageChannel(&CI, MangledName, DemangledName, in visitCallInst()
510 visitCallGetImageChannel(&CI, MangledName, DemangledName, in visitCallInst()
514 visitCallBuiltinSimple(&CI, MangledName, DemangledName); in visitCallInst()
675 StringRef MangledName, const std::string& DemangledName) { in visitCallAtomicLegacy() argument
695 isMangledTypeUnsigned(MangledName.back())) in visitCallAtomicLegacy()
731 StringRef MangledName, const std::string& DemangledName) { in visitCallAtomicCpp11() argument
748 containsUnsignedAtomicType(MangledName)) in visitCallAtomicCpp11()
828 StringRef MangledName, const std::string& DemangledName) { in visitCallConvert() argument
829 if (eraseUselessConvert(CI, MangledName, DemangledName)) in visitCallConvert()
851 bool Signed = isLastFuncParamSigned(MangledName); in visitCallConvert()
879 StringRef MangledName, const std::string& OrigDemangledName) { in visitCallGroupBuiltin() argument
963 else if ((ExtOp = getExtOp(Info.MangledName, Info.UniqName)) != ~0U) in transBuiltin()
995 StringRef MangledName, const std::string& DemangledName) { in visitCallPipeBuiltin() argument
1008 void OCL20ToSPIRV::visitCallReadImageMSAA(CallInst *CI, StringRef MangledName, in visitCallReadImageMSAA() argument
1010 assert(MangledName.find("msaa") != StringRef::npos); in visitCallReadImageMSAA()
1024 CallInst *CI, StringRef MangledName, const std::string &DemangledName) { in visitCallReadImageWithSampler() argument
1025 assert (MangledName.find(kMangledName::Sampler) != StringRef::npos); in visitCallReadImageWithSampler()
1079 StringRef MangledName, const std::string& DemangledName) { in visitCallGetImageSize() argument
1140 const std::string &MangledName, in eraseUselessConvert() argument
1151 isLastFuncParamSigned(MangledName) != (DemangledName[8] != 'u')) in eraseUselessConvert()
1166 StringRef MangledName, const std::string& DemangledName) { in visitCallBuiltinSimple() argument
1168 Info.MangledName = MangledName.str(); in visitCallBuiltinSimple()
1231 StringRef MangledName, const std::string& DemangledName) { in visitCallReadWriteImage() argument
1254 OCL20ToSPIRV::visitCallToAddr(CallInst* CI, StringRef MangledName, in visitCallToAddr() argument
1316 StringRef MangledName, const std::string& OrigDemangledName) { in visitCallVecLoadStore() argument
1345 Info.MangledName = MangledName; in visitCallVecLoadStore()
1356 void OCL20ToSPIRV::visitCallGetFence(CallInst *CI, StringRef MangledName, in visitCallGetFence() argument
1378 void OCL20ToSPIRV::visitCallScalToVec(CallInst *CI, StringRef MangledName, in visitCallScalToVec() argument
1387 visitCallBuiltinSimple(CI, MangledName, DemangledName); in visitCallScalToVec()
1437 getExtOp(MangledName, DemangledName)); in visitCallScalToVec()
1442 void OCL20ToSPIRV::visitCallGetImageChannel(CallInst *CI, StringRef MangledName, in visitCallGetImageChannel() argument