Lines Matching refs:Capability
32 for (spirv::Capability cap : targetAttr.getCapabilities()) { in TargetEnv()
36 for (spirv::Capability c : spirv::getRecursiveImpliedCapabilities(cap)) in TargetEnv()
45 bool spirv::TargetEnv::allows(spirv::Capability capability) const { in allows()
49 Optional<spirv::Capability>
50 spirv::TargetEnv::allows(ArrayRef<spirv::Capability> caps) const { in allows()
51 const auto *chosen = llvm::find_if(caps, [this](spirv::Capability cap) { in allows()
110 for (spirv::Capability cap : targetAttr.getCapabilities()) { in needsInterfaceVarABIAttrs()
111 if (cap == spirv::Capability::Kernel) in needsInterfaceVarABIAttrs()
113 if (cap == spirv::Capability::Shader) in needsInterfaceVarABIAttrs()
167 {spirv::Capability::Shader}, in getDefaultTargetEnv()
200 for (spirv::Capability cap : targetAttr.getCapabilities()) { in getAddressingModel()
203 if (cap == Capability::Kernel) in getAddressingModel()
212 for (spirv::Capability cap : targetAttr.getCapabilities()) { in getExecutionModel()
213 if (cap == spirv::Capability::Kernel) in getExecutionModel()
215 if (cap == spirv::Capability::Shader) in getExecutionModel()
223 for (spirv::Capability cap : targetAttr.getCapabilities()) { in getMemoryModel()
224 if (cap == spirv::Capability::Addresses) in getMemoryModel()
226 if (cap == spirv::Capability::Shader) in getMemoryModel()