Lines Matching defs:StaleCI
1932 CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
1936 bool HasShareds = StaleCI->arg_size() > 1;
1937 Builder.SetInsertPoint(StaleCI);
1983 dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
2018 Value *Shareds = StaleCI->getArgOperand(1);
2141 CI->setDebugLoc(StaleCI->getDebugLoc());
2161 StaleCI->eraseFromParent();
7014 CallInst *StaleCI) {
7020 Function *KernelLaunchFunction = StaleCI->getCalledFunction();
7022 // StaleCI is the CallInst which is the call to the outlined
7026 // only one argument, the threadID. So, StaleCI can be
7038 OpenMPIRBuilder::InsertPointTy IP(StaleCI->getParent(),
7039 StaleCI->getIterator());
7040 LLVMContext &Ctx = StaleCI->getParent()->getContext();
7057 bool HasShareds = StaleCI->arg_size() > 1;
7062 assert((!HasShareds || (StaleCI->arg_size() == 2)) &&
7063 "StaleCI with shareds should have exactly two arguments.");
7065 auto *ArgStructAlloca = dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
7240 CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
7241 bool HasShareds = StaleCI->arg_size() > 1;
7243 Function *ProxyFn = emitTargetTaskProxyFunction(*this, Builder, StaleCI);
7248 Builder.SetInsertPoint(StaleCI);
7284 auto *ArgStructAlloca = dyn_cast<AllocaInst>(StaleCI->getArgOperand(1));
7323 Value *Shareds = StaleCI->getArgOperand(1);
7360 CI->setDebugLoc(StaleCI->getDebugLoc());
7379 StaleCI->eraseFromParent();
9125 CallInst *StaleCI = cast<CallInst>(OutlinedFn.user_back());
9126 ToBeDeleted.push_back(StaleCI);
9139 assert(StaleCI && "Error while outlining - no CallInst user found for the "
9141 Builder.SetInsertPoint(StaleCI);
9143 Ident, Builder.getInt32(StaleCI->arg_size() - 2), &OutlinedFn};
9145 Args.push_back(StaleCI->getArgOperand(2));