Lines Matching defs:ReplaceCallWith
60 /// ReplaceCallWith - This function is used when we want to lower an intrinsic
65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI,
324 ReplaceCallWith(Fname, CI, CS.arg_begin(), CS.arg_end(),
328 ReplaceCallWith(Dname, CI, CS.arg_begin(), CS.arg_end(),
334 ReplaceCallWith(LDname, CI, CS.arg_begin(), CS.arg_end(),
368 Value *V = ReplaceCallWith("setjmp", CI, CS.arg_begin(), CS.arg_end(),
380 ReplaceCallWith("longjmp", CI, CS.arg_begin(), CS.arg_end(),
387 ReplaceCallWith("abort", CI, CS.arg_end(), CS.arg_end(),
481 ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
492 ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
507 ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());