Lines Matching refs:CI
143 if (CallInst *CI = dyn_cast<CallInst>(I)) in CouldBecomeSafePoint() local
144 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
211 if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++)) { in PerformDefaultLowering() local
212 Function *F = CI->getCalledFunction(); in PerformDefaultLowering()
218 new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), CI); in PerformDefaultLowering()
219 CI->replaceAllUsesWith(St); in PerformDefaultLowering()
220 CI->eraseFromParent(); in PerformDefaultLowering()
226 Value *Ld = new LoadInst(CI->getArgOperand(1), "", CI); in PerformDefaultLowering()
227 Ld->takeName(CI); in PerformDefaultLowering()
228 CI->replaceAllUsesWith(Ld); in PerformDefaultLowering()
229 CI->eraseFromParent(); in PerformDefaultLowering()
237 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in PerformDefaultLowering()
280 void GCMachineCodeAnalysis::VisitCallPoint(MachineBasicBlock::iterator CI) { in VisitCallPoint() argument
283 MachineBasicBlock::iterator RAI = CI; in VisitCallPoint()
287 MCSymbol *Label = InsertLabel(*CI->getParent(), CI, CI->getDebugLoc()); in VisitCallPoint()
288 FI->addSafePoint(GC::PreCall, Label, CI->getDebugLoc()); in VisitCallPoint()
292 MCSymbol *Label = InsertLabel(*CI->getParent(), RAI, CI->getDebugLoc()); in VisitCallPoint()
293 FI->addSafePoint(GC::PostCall, Label, CI->getDebugLoc()); in VisitCallPoint()