Lines Matching refs:RuntimeCall
1602 /// \p RuntimeCall into the offload arrays in \p OAs.
1603 bool getValuesInOffloadArrays(CallInst &RuntimeCall,
1616 RuntimeCall.getArgOperand(OffloadArray::BasePtrsArgNum);
1618 Value *PtrsArg = RuntimeCall.getArgOperand(OffloadArray::PtrsArgNum);
1620 Value *SizesArg = RuntimeCall.getArgOperand(OffloadArray::SizesArgNum);
1627 if (!OAs[0].initialize(*BasePtrsArray, RuntimeCall))
1635 if (!OAs[1].initialize(*PtrsArray, RuntimeCall))
1647 if (!OAs[2].initialize(*SizesArray, RuntimeCall))
1686 /// Returns the instruction where the "wait" counterpart \p RuntimeCall can be
1688 Instruction *canBeMovedDownwards(CallInst &RuntimeCall) {
1689 // FIXME: This traverses only the BasicBlock where RuntimeCall is.
1692 Instruction *CurrentI = &RuntimeCall;
1712 return RuntimeCall.getParent()->getTerminator();
1715 /// Splits \p RuntimeCall into its "issue" and "wait" counterparts.
1716 bool splitTargetDataBeginRTC(CallInst &RuntimeCall,
1722 Function *F = RuntimeCall.getCaller();
1737 // Change RuntimeCall call site for its asynchronous version.
1739 for (auto &Arg : RuntimeCall.args())
1744 CallInst::Create(IssueDecl, Args, /*NameStr=*/"", &RuntimeCall);
1746 RuntimeCall.eraseFromParent();