reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  169   OS << S;
  173   OS << "\t.amdgcn_target \"" << Target << "\"\n";
  178   OS << "\t.hsa_code_object_version " <<
  188   OS << "\t.hsa_code_object_isa " <<
  196   OS << "\t.amd_kernel_code_t\n";
  197   dumpAmdKernelCode(&Header, OS, "\t\t");
  198   OS << "\t.end_amd_kernel_code_t\n";
  206       OS << "\t.amdgpu_hsa_kernel " << SymbolName << '\n' ;
  213   OS << "\t.amdgpu_lds " << Symbol->getName() << ", " << Size << ", " << Align
  218   OS << "\t.amd_amdgpu_isa \"" << IsaVersionString << "\"\n";
  228   OS << '\t' << AssemblerDirectiveBegin << '\n';
  229   OS << HSAMetadataString << '\n';
  230   OS << '\t' << AssemblerDirectiveEnd << '\n';
  244   OS << '\t' << V3::AssemblerDirectiveBegin << '\n';
  245   OS << StrOS.str() << '\n';
  246   OS << '\t' << V3::AssemblerDirectiveEnd << '\n';
  252   OS << "\t.p2alignl 6, " << Encoded_s_code_end << '\n';
  253   OS << "\t.fill 48, 4, " << Encoded_s_code_end << '\n';
  263   OS << "\t.amdhsa_kernel " << KernelName << '\n';
  269   OS << "\t\t.amdhsa_group_segment_fixed_size " << KD.group_segment_fixed_size
  271   OS << "\t\t.amdhsa_private_segment_fixed_size "
  274   PRINT_FIELD(OS, ".amdhsa_user_sgpr_private_segment_buffer", KD,
  277   PRINT_FIELD(OS, ".amdhsa_user_sgpr_dispatch_ptr", KD,
  280   PRINT_FIELD(OS, ".amdhsa_user_sgpr_queue_ptr", KD,
  283   PRINT_FIELD(OS, ".amdhsa_user_sgpr_kernarg_segment_ptr", KD,
  286   PRINT_FIELD(OS, ".amdhsa_user_sgpr_dispatch_id", KD,
  289   PRINT_FIELD(OS, ".amdhsa_user_sgpr_flat_scratch_init", KD,
  292   PRINT_FIELD(OS, ".amdhsa_user_sgpr_private_segment_size", KD,
  296     PRINT_FIELD(OS, ".amdhsa_wavefront_size32", KD,
  300       OS, ".amdhsa_system_sgpr_private_segment_wavefront_offset", KD,
  303   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_x", KD,
  306   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_y", KD,
  309   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_z", KD,
  312   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_info", KD,
  315   PRINT_FIELD(OS, ".amdhsa_system_vgpr_workitem_id", KD,
  320   OS << "\t\t.amdhsa_next_free_vgpr " << NextVGPR << '\n';
  321   OS << "\t\t.amdhsa_next_free_sgpr " << NextSGPR << '\n';
  324     OS << "\t\t.amdhsa_reserve_vcc " << ReserveVCC << '\n';
  326     OS << "\t\t.amdhsa_reserve_flat_scratch " << ReserveFlatScr << '\n';
  328     OS << "\t\t.amdhsa_reserve_xnack_mask " << ReserveXNACK << '\n';
  330   PRINT_FIELD(OS, ".amdhsa_float_round_mode_32", KD,
  333   PRINT_FIELD(OS, ".amdhsa_float_round_mode_16_64", KD,
  336   PRINT_FIELD(OS, ".amdhsa_float_denorm_mode_32", KD,
  339   PRINT_FIELD(OS, ".amdhsa_float_denorm_mode_16_64", KD,
  342   PRINT_FIELD(OS, ".amdhsa_dx10_clamp", KD,
  345   PRINT_FIELD(OS, ".amdhsa_ieee_mode", KD,
  349     PRINT_FIELD(OS, ".amdhsa_fp16_overflow", KD,
  353     PRINT_FIELD(OS, ".amdhsa_workgroup_processor_mode", KD,
  356     PRINT_FIELD(OS, ".amdhsa_memory_ordered", KD,
  359     PRINT_FIELD(OS, ".amdhsa_forward_progress", KD,
  364       OS, ".amdhsa_exception_fp_ieee_invalid_op", KD,
  367   PRINT_FIELD(OS, ".amdhsa_exception_fp_denorm_src", KD,
  371       OS, ".amdhsa_exception_fp_ieee_div_zero", KD,
  374   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_overflow", KD,
  377   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_underflow", KD,
  380   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_inexact", KD,
  383   PRINT_FIELD(OS, ".amdhsa_exception_int_div_zero", KD,
  388   OS << "\t.end_amdhsa_kernel\n";