Lines Matching defs:AllocaIP
1116 const LocationDescription &Loc, InsertPointTy AllocaIP, Value *&Return,
1122 Builder.restoreIP(AllocaIP);
1148 Value *DeviceID, Value *RTLoc, InsertPointTy AllocaIP) {
1188 Builder, AllocaIP, Return, RTLoc, DeviceID, Args.NumTeams.front(),
1878 const LocationDescription &Loc, InsertPointTy AllocaIP,
1918 OI.OuterAllocaBB = AllocaIP.getBlock();
1924 Builder, AllocaIP, ToBeDeleted, TaskAllocaIP, "global.tid", false));
2182 InsertPointTy AllocaIP,
2198 if (Error Err = BodyGenCB(AllocaIP, Builder.saveIP()))
2211 const LocationDescription &Loc, InsertPointTy AllocaIP,
2214 assert(!isConflictIP(AllocaIP, Loc.IP) && "Dedicated IP allocas required");
2287 Loc, LoopBodyGenCB, LB, UB, ST, true, false, AllocaIP, "section_loop");
2292 applyStaticWorkshareLoop(Loc.DL, *LoopInfo, AllocaIP, !IsNowait);
2379 Value *OpenMPIRBuilder::castValueToType(InsertPointTy AllocaIP, Value *From,
2393 Builder.restoreIP(AllocaIP);
2403 Value *OpenMPIRBuilder::createRuntimeShuffleFunction(InsertPointTy AllocaIP,
2412 Value *ElemCast = castValueToType(AllocaIP, Element, CastTy);
2422 return castValueToType(AllocaIP, ShuffleCall, CastTy);
2425 void OpenMPIRBuilder::shuffleAndStore(InsertPointTy AllocaIP, Value *SrcAddr,
2480 AllocaIP,
2496 AllocaIP, Builder.CreateLoad(IntType, Ptr), IntType, Offset);
2510 InsertPointTy AllocaIP, CopyAction Action, Type *ReductionArrayTy,
2544 Builder.restoreIP(AllocaIP);
2568 shuffleAndStore(AllocaIP, SrcElementAddr, DestElementAddr, RI.ElementType,
2674 InsertPointTy AllocaIP =
2679 Builder.restoreIP(AllocaIP);
2691 AllocaIP = getInsertPointAfterInstr(NumWarpsAlloca);
2718 Builder.restoreIP(AllocaIP);
2933 InsertPointTy AllocaIP = getInsertPointAfterInstr(RemoteReductionListAlloca);
2939 AllocaIP, CopyAction::RemoteLaneToThread, RedListArrayTy, ReductionInfos,
3008 emitReductionListCopy(AllocaIP, CopyAction::ThreadCopy, RedListArrayTy,
3535 const LocationDescription &Loc, InsertPointTy AllocaIP,
3591 Builder.restoreIP(AllocaIP);
3732 InsertPointTy AllocaIP,
3760 Builder.SetInsertPoint(AllocaIP.getBlock()->getTerminator());
4144 InsertPointTy AllocaIP,
4147 assert(!isConflictIP(AllocaIP, CLI->getPreheaderIP()) &&
4166 Builder.SetInsertPoint(AllocaIP.getBlock()->getFirstNonPHIOrDbgOrAlloca());
4237 InsertPointTy AllocaIP,
4262 Builder.restoreIP(AllocaIP);
4529 InsertPointTy AllocaIP,
4542 OI.OuterAllocaBB = AllocaIP.getBlock();
4622 DebugLoc DL, CanonicalLoopInfo *CLI, InsertPointTy AllocaIP,
4628 return applyWorkshareLoopTarget(DL, CLI, AllocaIP, LoopType);
4639 return applyDynamicWorkshareLoop(DL, CLI, AllocaIP, EffectiveScheduleType,
4642 return applyStaticWorkshareLoop(DL, CLI, AllocaIP, NeedsBarrier);
4646 return applyDynamicWorkshareLoop(DL, CLI, AllocaIP, EffectiveScheduleType,
4649 return applyStaticChunkedWorkshareLoop(DL, CLI, AllocaIP, NeedsBarrier,
4667 return applyDynamicWorkshareLoop(DL, CLI, AllocaIP, EffectiveScheduleType,
4724 InsertPointTy AllocaIP,
4728 assert(!isConflictIP(AllocaIP, CLI->getPreheaderIP()) &&
4750 Builder.SetInsertPoint(AllocaIP.getBlock()->getFirstNonPHIOrDbgOrAlloca());
5813 InsertPointTy AllocaIP, unsigned NumLoops,
5826 Builder.restoreIP(AllocaIP);
5909 if (Error Err = BodyGenCB(/* AllocaIP */ InsertPointTy(),
6547 const LocationDescription &Loc, InsertPointTy AllocaIP,
6577 auto BeginThenGen = [&](InsertPointTy AllocaIP,
6580 emitOffloadingArrays(AllocaIP, Builder.saveIP(), *MapInfo, Info,
6634 cantFail(emitTargetTask(TaskBodyCB, DeviceID, SrcLocInfo, AllocaIP,
6665 auto BeginElseGen = [&](InsertPointTy AllocaIP,
6676 auto EndThenGen = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP) {
6705 auto EndElseGen = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP) {
6713 return emitIfClause(IfCond, BeginThenGen, BeginElseGen, AllocaIP);
6714 return BeginThenGen(AllocaIP, Builder.saveIP());
6729 return emitIfClause(IfCond, EndThenGen, EndElseGen, AllocaIP);
6730 return EndThenGen(AllocaIP, Builder.saveIP());
6733 return emitIfClause(IfCond, BeginThenGen, EndElseGen, AllocaIP);
6734 return BeginThenGen(AllocaIP, Builder.saveIP());
6922 auto AllocaIP = Builder.saveIP();
6969 ArgAccessorFuncCB(Arg, Input, InputCopy, AllocaIP, Builder.saveIP());
7115 OpenMPIRBuilder::InsertPointTy AllocaIP,
7222 OI.OuterAllocaBB = AllocaIP.getBlock();
7227 Builder, AllocaIP, ToBeDeleted, TargetTaskAllocaIP, "global.tid", false));
7394 InsertPointTy AllocaIP, InsertPointTy CodeGenIP, TargetDataInfo &Info,
7398 emitOffloadingArrays(AllocaIP, CodeGenIP, CombinedInfo, Info, IsNonContiguous,
7405 OpenMPIRBuilder::InsertPointTy AllocaIP,
7455 [&](OpenMPIRBuilder::InsertPointTy AllocaIP,
7465 /*RTLoc=*/nullptr, AllocaIP,
7476 [&](OpenMPIRBuilder::InsertPointTy AllocaIP,
7484 OMPBuilder.emitOffloadingArraysAndArgs(AllocaIP, Builder.saveIP(), Info,
7557 return OMPBuilder.emitTargetTask(TaskBodyCB, DeviceID, RTLoc, AllocaIP,
7562 DeviceID, RTLoc, AllocaIP);
7573 cantFail(EmitTargetCallElse(AllocaIP, Builder.saveIP()));
7579 cantFail(EmitTargetCallThen(AllocaIP, Builder.saveIP()));
7584 EmitTargetCallElse, AllocaIP));
7588 const LocationDescription &Loc, bool IsOffloadEntry, InsertPointTy AllocaIP,
7616 emitTargetCall(*this, Builder, AllocaIP, DefaultAttrs, RuntimeAttrs, IfCond,
7700 InsertPointTy AllocaIP,
7708 Builder.restoreIP(AllocaIP);
7806 void OpenMPIRBuilder::emitNonContiguousDescriptor(InsertPointTy AllocaIP,
7835 Builder.restoreIP(AllocaIP);
8164 InsertPointTy AllocaIP, InsertPointTy CodeGenIP, MapInfosTy &CombinedInfo,
8176 Builder.restoreIP(AllocaIP);
8305 Builder.restoreIP(AllocaIP);
8351 emitNonContiguousDescriptor(AllocaIP, CodeGenIP, CombinedInfo, Info);
8391 InsertPointTy AllocaIP) {
8397 return ThenGen(AllocaIP, Builder.saveIP());
8399 return ElseGen(AllocaIP, Builder.saveIP());
8412 if (Error Err = ThenGen(AllocaIP, Builder.saveIP()))
8418 if (Error Err = ElseGen(AllocaIP, Builder.saveIP()))
8575 const LocationDescription &Loc, InsertPointTy AllocaIP, AtomicOpValue &X,
8578 assert(!isConflictIP(Loc.IP, AllocaIP) && "IPs must not be ambiguous");
8596 emitAtomicUpdate(AllocaIP, X.Var, X.ElemTy, Expr, AO, RMWOp, UpdateOp,
8640 InsertPointTy AllocaIP, Value *X, Type *XElemTy, Value *Expr,
8694 Builder.restoreIP(AllocaIP);
8743 Builder.restoreIP(AllocaIP);
8794 const LocationDescription &Loc, InsertPointTy AllocaIP, AtomicOpValue &X,
8817 emitAtomicUpdate(AllocaIP, X.Var, X.ElemTy, Expr, AO, AtomicOp, UpdateOp,
9100 InsertPointTy AllocaIP(AllocaBB, AllocaBB->begin());
9102 if (Error Err = BodyGenCB(AllocaIP, CodeGenIP))
9114 Builder, OuterAllocaIP, ToBeDeleted, AllocaIP, "gid", true));
9116 Builder, OuterAllocaIP, ToBeDeleted, AllocaIP, "tid", true));