Lines Matching refs:OC
759 auto OC = T->getOpCode(); in transType() local
760 if (isOpaqueGenericTypeOpCode(OC)) in transType()
762 OCLOpaqueTypeOpCodeMap::rmap(OC), in transType()
763 getOCLOpaqueTypeAddrSpace(OC))); in transType()
868 auto OC = BI->getOpCode(); in isSPIRVCmpInstTransToLLVMInst() local
869 return isCmpOpCode(OC) && in isSPIRVCmpInstTransToLLVMInst()
870 !(OC >= OpLessOrGreater && OC <= OpUnordered); in isSPIRVCmpInstTransToLLVMInst()
877 auto OC = cast<Instruction>(V)->getOpcode(); in transFlags() local
878 if (OC == Instruction::AShr || OC == Instruction::LShr) { in transFlags()
1325 auto OC = BV->getOpCode(); in transValueWithoutDecoration() local
1326 IntBoolOpMap::rfind(OC, &OC); in transValueWithoutDecoration()
1329 switch(OC) { in transValueWithoutDecoration()
1781 auto OC = BV->getOpCode(); in transValueWithoutDecoration() local
1784 } else if (OCLSPIRVBuiltinMap::rfind(OC, nullptr) && in transValueWithoutDecoration()
1785 !isAtomicOpCode(OC) && in transValueWithoutDecoration()
1786 !isGroupOpCode(OC) && in transValueWithoutDecoration()
1787 !isPipeOpCode(OC)) { in transValueWithoutDecoration()
1790 } else if (isBinaryShiftLogicalBitwiseOpCode(OC) || in transValueWithoutDecoration()
1791 isLogicalOpCode(OC)) { in transValueWithoutDecoration()
1793 } else if (isCvtOpCode(OC)) { in transValueWithoutDecoration()
1901 auto OC = BI->getOpCode(); in transOCLBuiltinFromInstPreproc() local
1911 } else if (OC == OpGenericCastToPtrExplicit) in transOCLBuiltinFromInstPreproc()
1913 else if (OC == OpImageRead && Args.size() > 2) { in transOCLBuiltinFromInstPreproc()
1922 auto OC = BI->getOpCode(); in transOCLBuiltinPostproc() local
1923 if (isCmpOpCode(OC) && in transOCLBuiltinPostproc()
1928 if (OC == OpImageSampleExplicitLod) in transOCLBuiltinPostproc()
1930 if (OC == OpImageWrite) { in transOCLBuiltinPostproc()
1933 if (OC == OpGenericPtrMemSemantics) in transOCLBuiltinPostproc()
1935 if (OC == OpImageQueryFormat) in transOCLBuiltinPostproc()
1938 if (OC == OpImageQueryOrder) in transOCLBuiltinPostproc()
1941 if (OC == OpBuildNDRange) in transOCLBuiltinPostproc()
1943 if (OC == OpGroupAll || OC == OpGroupAny) in transOCLBuiltinPostproc()
2010 auto OC = BI->getOpCode(); in getOCLBuiltinName() local
2011 if (OC == OpGenericCastToPtrExplicit) in getOCLBuiltinName()
2013 if (isCvtOpCode(OC)) in getOCLBuiltinName()
2015 if (OC == OpBuildNDRange) { in getOCLBuiltinName()
2026 auto Name = OCLSPIRVBuiltinMap::rmap(OC); in getOCLBuiltinName()
2029 switch(OC) { in getOCLBuiltinName()
2597 auto OC = BI->getOpCode(); in getOCLConvertBuiltinName() local
2598 assert(isCvtOpCode(OC) && "Not convert instruction"); in getOCLConvertBuiltinName()
2601 if (isCvtFromUnsignedOpCode(OC)) in getOCLConvertBuiltinName()
2605 !isCvtToUnsignedOpCode(OC)); in getOCLConvertBuiltinName()