Lines Matching defs:StaleCI

1831     CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
1835 bool HasShareds = StaleCI->arg_size() > 1;
1836 Builder.SetInsertPoint(StaleCI);
1873 dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
1894 Value *Shareds = StaleCI->getArgOperand(1);
1990 CI->setDebugLoc(StaleCI->getDebugLoc());
2010 StaleCI->eraseFromParent();
6693 CallInst *StaleCI) {
6699 Function *KernelLaunchFunction = StaleCI->getCalledFunction();
6701 // StaleCI is the CallInst which is the call to the outlined
6705 // only one argument, the threadID. So, StaleCI can be
6717 OpenMPIRBuilder::InsertPointTy IP(StaleCI->getParent(),
6718 StaleCI->getIterator());
6719 LLVMContext &Ctx = StaleCI->getParent()->getContext();
6736 bool HasShareds = StaleCI->arg_size() > 1;
6741 assert((!HasShareds || (StaleCI->arg_size() == 2)) &&
6742 "StaleCI with shareds should have exactly two arguments.");
6744 auto *ArgStructAlloca = dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
6918 CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
6919 bool HasShareds = StaleCI->arg_size() > 1;
6921 Function *ProxyFn = emitTargetTaskProxyFunction(*this, Builder, StaleCI);
6926 Builder.SetInsertPoint(StaleCI);
6954 auto *ArgStructAlloca = dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
6983 Value *Shareds = StaleCI->getArgOperand(1);
7024 CI->setDebugLoc(StaleCI->getDebugLoc());
7043 StaleCI->eraseFromParent();
8280 CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
8281 ToBeDeleted.push_back(StaleCI);
8294 assert(StaleCI && "Error while outlining - no CallInst user found for the "
8296 Builder.SetInsertPoint(StaleCI);
8298 Ident, Builder.getInt32(StaleCI->arg_size() - 2), &OutlinedFn};
8300 Args.push_back(StaleCI->getArgOperand(2));