Home | History | Annotate | Download | only in libSPIRV

Lines Matching refs:Cap

92   bool hasCapability(SPIRVCapabilityKind Cap) const {
93 return CapMap.find(Cap) != CapMap.end();
451 SPIRVModuleImpl::addCapability(SPIRVCapabilityKind Cap) {
452 addCapabilities(SPIRV::getCapability(Cap));
453 SPIRVDBG(spvdbgs() << "addCapability: " << Cap << '\n');
454 if (hasCapability(Cap))
457 CapMap.insert(std::make_pair(Cap, new SPIRVCapability(this, Cap)));
461 SPIRVModuleImpl::addCapabilityInternal(SPIRVCapabilityKind Cap) {
463 if (hasCapability(Cap))
466 CapMap.insert(std::make_pair(Cap, new SPIRVCapability(this, Cap)));