Searched refs:targetAttr (Results 1 – 9 of 9) sorted by relevance
22 spirv::TargetEnv::TargetEnv(spirv::TargetEnvAttr targetAttr) in TargetEnv() argument23 : targetAttr(targetAttr) { in TargetEnv()24 for (spirv::Extension ext : targetAttr.getExtensions()) in TargetEnv()29 spirv::getImpliedExtensions(targetAttr.getVersion())) in TargetEnv()32 for (spirv::Capability cap : targetAttr.getCapabilities()) { in TargetEnv()42 return targetAttr.getVersion(); in getVersion()74 return targetAttr.getVendorID(); in getVendorID()78 return targetAttr.getDeviceType(); in getDeviceType()82 return targetAttr.getDeviceID(); in getDeviceID()86 return targetAttr.getResourceLimits(); in getResourceLimits()[all …]
410 SPIRVTypeConverter::SPIRVTypeConverter(spirv::TargetEnvAttr targetAttr) in SPIRVTypeConverter() argument411 : targetEnv(targetAttr) { in SPIRVTypeConverter()668 spirv::SPIRVConversionTarget::get(spirv::TargetEnvAttr targetAttr) { in get() argument671 new SPIRVConversionTarget(targetAttr)); in get()681 spirv::TargetEnvAttr targetAttr) in SPIRVConversionTarget() argument682 : ConversionTarget(*targetAttr.getContext()), targetEnv(targetAttr) {} in SPIRVConversionTarget()
30 explicit TargetEnv(TargetEnvAttr targetAttr);61 TargetEnvAttr getAttr() const { return targetAttr; } in getAttr()64 operator TargetEnvAttr() const { return targetAttr; } in TargetEnvAttr()67 TargetEnvAttr targetAttr;83 bool needsInterfaceVarABIAttrs(TargetEnvAttr targetAttr);122 AddressingModel getAddressingModel(TargetEnvAttr targetAttr);126 FailureOr<ExecutionModel> getExecutionModel(TargetEnvAttr targetAttr);130 FailureOr<MemoryModel> getMemoryModel(TargetEnvAttr targetAttr);
42 explicit SPIRVTypeConverter(spirv::TargetEnvAttr targetAttr);94 static std::unique_ptr<SPIRVConversionTarget> get(TargetEnvAttr targetAttr);97 explicit SPIRVConversionTarget(TargetEnvAttr targetAttr);
34 auto targetAttr = spirv::lookupTargetEnvOrDefault(module); in runOnOperation() local36 spirv::SPIRVConversionTarget::get(targetAttr); in runOnOperation()38 SPIRVTypeConverter typeConverter(targetAttr); in runOnOperation()
28 auto targetAttr = spirv::lookupTargetEnvOrDefault(module); in runOnOperation() local30 spirv::SPIRVConversionTarget::get(targetAttr); in runOnOperation()32 SPIRVTypeConverter typeConverter(targetAttr); in runOnOperation()
56 auto targetAttr = spirv::lookupTargetEnvOrDefault(module); in runOnOperation() local58 spirv::SPIRVConversionTarget::get(targetAttr); in runOnOperation()60 SPIRVTypeConverter typeConverter(targetAttr); in runOnOperation()
94 spirv::TargetEnvAttr targetAttr = spirv::lookupTargetEnv(module); in runOnOperation() local95 if (!targetAttr) { in runOnOperation()100 spirv::TargetEnv targetEnv(targetAttr); in runOnOperation()101 spirv::Version allowedVersion = targetAttr.getVersion(); in runOnOperation()
139 auto targetAttr = spirv::lookupTargetEnvOrDefault(module); in runOnOperation() local141 spirv::SPIRVConversionTarget::get(targetAttr); in runOnOperation()143 SPIRVTypeConverter typeConverter(targetAttr); in runOnOperation()