Lines Matching refs:OC
73 void visitCallConvert(CallInst *CI, StringRef MangledName, Op OC);
90 void transBuiltin(CallInst *CI, Op OC);
163 Op OC = OpNop; in visitCallInst() local
164 if (!OpCodeNameMap::rfind(Ref.str(), &OC)) in visitCallInst()
166 DEBUG(dbgs() << "maps to opcode " << OC << '\n'); in visitCallInst()
168 if (isCvtOpCode(OC)) { in visitCallInst()
169 visitCallConvert(&CI, MangledName, OC); in visitCallInst()
172 if (OC == OpDecorate) { in visitCallInst()
176 transBuiltin(&CI, OC); in visitCallInst()
180 StringRef MangledName, Op OC) { in visitCallConvert() argument
184 return getSPIRVFuncName(OC, kSPIRVPostfix::Divider + in visitCallConvert()
186 OC == OpSConvert || OC == OpConvertFToS || OC == OpSatConvertUToS)); in visitCallConvert()
223 OCL21ToSPIRV::transBuiltin(CallInst* CI, Op OC) { in transBuiltin() argument
225 assert(OC != OpExtInst && "not supported"); in transBuiltin()
227 return getSPIRVFuncName(OC); in transBuiltin()