• Home
  • Raw
  • Download

Lines Matching refs:OC

208   Op transBoolOpCode(SPIRVValue *Opn, Op OC);
297 SPIRVInstruction *transBuiltinToInstWithoutDecoration(Op OC,
1440 auto OC = getSPIRVFuncOC(DemangledName, &Dec); in transBuiltinToInst() local
1442 if (OC == OpNop) in transBuiltinToInst()
1445 auto Inst = transBuiltinToInstWithoutDecoration(OC, CI, BB); in transBuiltinToInst()
1586 LLVMToSPIRV::transBoolOpCode(SPIRVValue* Opn, Op OC) { in transBoolOpCode() argument
1588 return OC; in transBoolOpCode()
1589 IntBoolOpMap::find(OC, &OC); in transBoolOpCode()
1590 return OC; in transBoolOpCode()
1594 LLVMToSPIRV::transBuiltinToInstWithoutDecoration(Op OC, in transBuiltinToInstWithoutDecoration() argument
1596 if (isGroupOpCode(OC)) in transBuiltinToInstWithoutDecoration()
1598 switch (OC) { in transBuiltinToInstWithoutDecoration()
1612 if (isCvtOpCode(OC) && OC != OpGenericCastToPtrExplicit) { in transBuiltinToInstWithoutDecoration()
1613 return BM->addUnaryInst(OC, transType(CI->getType()), in transBuiltinToInstWithoutDecoration()
1615 } else if (isCmpOpCode(OC)) { in transBuiltinToInstWithoutDecoration()
1623 auto Cmp = BM->addCmpInst(OC, BBT, in transBuiltinToInstWithoutDecoration()
1630 } else if (isBinaryOpCode(OC)) { in transBuiltinToInstWithoutDecoration()
1632 return BM->addBinaryInst(OC, transType(CI->getType()), in transBuiltinToInstWithoutDecoration()
1637 !hasExecScope(OC) && in transBuiltinToInstWithoutDecoration()
1638 !isAtomicOpCode(OC)) { in transBuiltinToInstWithoutDecoration()
1639 return BM->addUnaryInst(OC, transType(CI->getType()), in transBuiltinToInstWithoutDecoration()
1652 auto SPI = BM->addInstTemplate(OC, BB, SPRetTy); in transBuiltinToInstWithoutDecoration()