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

References

tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 3171   ASTContext &C = CGM.getContext();
 3172   llvm::Module &M = CGM.getModule();
 3189       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3190   auto *Fn = llvm::Function::Create(CGM.getTypes().GetFunctionType(CGFI),
 3193   CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI);
 3195   CodeGenFunction CGF(CGM);
 3212     auto *Ty = llvm::ArrayType::get(CGM.Int32Ty, WarpSize);
 3219     CGM.addCompilerUsedGlobal(TransferMedium);
 3261         CGF.EmitStoreOfScalar(llvm::Constant::getNullValue(CGM.IntTy), CntAddr,
 3271             Bld.CreateICmpULT(Cnt, llvm::ConstantInt::get(CGM.IntTy, NumIters));
 3276       CGM.getOpenMPRuntime().emitBarrierCall(CGF, Loc, OMPD_unknown,
 3303           TransferMedium, {llvm::Constant::getNullValue(CGM.Int64Ty), WarpID});
 3324       CGM.getOpenMPRuntime().emitBarrierCall(CGF, Loc, OMPD_unknown,
 3349           {llvm::Constant::getNullValue(CGM.Int64Ty), ThreadID});
 3378         Cnt = Bld.CreateNSWAdd(Cnt, llvm::ConstantInt::get(CGM.IntTy, /*V=*/1));