Lines Matching defs:CGF
35 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUWarpSize(CodeGenFunction &CGF) {
36 CGBuilderTy &Bld = CGF.Builder;
38 unsigned WarpSize = CGF.getTarget().getGridValue(llvm::omp::GV_Warp_Size);
42 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUThreadID(CodeGenFunction &CGF) {
43 CGBuilderTy &Bld = CGF.Builder;
45 CGF.CGM.getIntrinsic(llvm::Intrinsic::amdgcn_workitem_id_x);
49 llvm::Value *CGOpenMPRuntimeAMDGCN::getGPUNumThreads(CodeGenFunction &CGF) {
50 CGBuilderTy &Bld = CGF.Builder;
51 llvm::Module *M = &CGF.CGM.getModule();
56 llvm::FunctionType::get(CGF.Int32Ty, llvm::None, false),
57 llvm::GlobalVariable::ExternalLinkage, LocSize, &CGF.CGM.getModule());