• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching refs:CUDA

1 //===--- SemaCUDA.cpp - Semantic Analysis for CUDA constructs -------------===//
9 /// This file implements semantic analysis for CUDA constructs.
30 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
35 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
107 /// IdentifyCUDATarget - Determine the CUDA compilation target for this function
135 // * CUDA Call preference table
175 // (a) Can't call global from some contexts until we support CUDA's
237 // Gets the CUDA function preference for a call from Caller to Match.
427 // (E.2.3.1, CUDA 7.5) A constructor for a class type is considered
469 // (E.2.3.1, CUDA 7.5) A destructor for a class type is considered
528 // constructor according to CUDA rules. This deviates from NVCC,
588 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
603 // Is D a __device__ function with the same signature as NewD, ignoring CUDA
617 // (ignoring CUDA attrs). This is an error unless that function is defined
644 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
672 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
697 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
750 // Check the wrong-sided reference capture of lambda for CUDA/HIP.
797 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
806 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
815 // same signature. We allow overloading based on CUDA attributes so that
856 // New CUDA kernel launch sequence.
861 // Legacy CUDA kernel configuration call