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

References

tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1688   assert(CGF.CurFn && "No function in current CodeGenFunction.");
 1693   auto I = OpenMPLocThreadIDMap.find(CGF.CurFn);
 1701           dyn_cast_or_null<CGOpenMPRegionInfo>(CGF.CapturedStmtInfo)) {
 1704       LValue LVal = OMPRegionInfo->getThreadIDVariableLValue(CGF);
 1705       llvm::BasicBlock *TopBlock = CGF.AllocaInsertPt->getParent();
 1706       if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions ||
 1706       if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions ||
 1707           !CGF.getLangOpts().CXXExceptions ||
 1708           CGF.Builder.GetInsertBlock() == TopBlock ||
 1712               CGF.Builder.GetInsertBlock()) {
 1713         ThreadID = CGF.EmitLoadOfScalar(LVal, Loc);
 1716         if (CGF.Builder.GetInsertBlock() == TopBlock) {
 1717           auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
 1729   auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
 1731     setLocThreadIdInsertPt(CGF);
 1732   CGBuilderTy::InsertPointGuard IPG(CGF.Builder);
 1733   CGF.Builder.SetInsertPoint(Elem.second.ServiceInsertPt);
 1734   llvm::CallInst *Call = CGF.Builder.CreateCall(
 1736       emitUpdateLocation(CGF, Loc));
 1737   Call->setCallingConv(CGF.getRuntimeCC());