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

References

tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 5382   if (!CGF.HaveInsertPoint())
 5385       emitTaskInit(CGF, Loc, D, TaskFunction, SharedsTy, Shareds, Data);
 5391   llvm::Value *ThreadID = getThreadID(CGF, Loc);
 5392   llvm::Value *UpLoc = emitUpdateLocation(CGF, Loc);
 5395     IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy,
 5395     IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy,
 5395     IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy,
 5398     IfVal = llvm::ConstantInt::getSigned(CGF.IntTy, /*V=*/1);
 5401   LValue LBLVal = CGF.EmitLValueForField(
 5406   CGF.EmitAnyExprToMem(LBVar->getInit(), LBLVal.getAddress(), LBLVal.getQuals(),
 5408   LValue UBLVal = CGF.EmitLValueForField(
 5413   CGF.EmitAnyExprToMem(UBVar->getInit(), UBLVal.getAddress(), UBLVal.getQuals(),
 5415   LValue StLVal = CGF.EmitLValueForField(
 5420   CGF.EmitAnyExprToMem(StVar->getInit(), StLVal.getAddress(), StLVal.getQuals(),
 5423   LValue RedLVal = CGF.EmitLValueForField(
 5427     CGF.EmitStoreOfScalar(Data.Reductions, RedLVal);
 5429     CGF.EmitNullInitialization(RedLVal.getAddress(),
 5430                                CGF.getContext().VoidPtrTy);
 5440       CGF.EmitLoadOfScalar(StLVal, Loc),
 5442               CGF.IntTy, 1), // Always 1 because taskgroup emitted by the compiler
 5444           CGF.IntTy, Data.Schedule.getPointer()
 5448           ? CGF.Builder.CreateIntCast(Data.Schedule.getPointer(), CGF.Int64Ty,
 5448           ? CGF.Builder.CreateIntCast(Data.Schedule.getPointer(), CGF.Int64Ty,
 5450           : llvm::ConstantInt::get(CGF.Int64Ty, /*V=*/0),
 5451       Result.TaskDupFn ? CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(
 5452                              Result.TaskDupFn, CGF.VoidPtrTy)
 5453                        : llvm::ConstantPointerNull::get(CGF.VoidPtrTy)};
 5454   CGF.EmitRuntimeCall(createRuntimeFunction(OMPRTL__kmpc_taskloop), TaskArgs);