reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/AutoUpgrade.cpp
 3873       if (!CI || CI->getCalledFunction() != Fn)
 3873       if (!CI || CI->getCalledFunction() != Fn)
 3876       IRBuilder<> Builder(CI->getParent(), CI->getIterator());
 3876       IRBuilder<> Builder(CI->getParent(), CI->getIterator());
 3882       if (NewFuncTy->getReturnType() != CI->getType() &&
 3883           !CastInst::castIsValid(Instruction::BitCast, CI,
 3889       for (unsigned I = 0, E = CI->getNumArgOperands(); I != E; ++I) {
 3890         Value *Arg = CI->getArgOperand(I);
 3912       NewCall->setTailCallKind(cast<CallInst>(CI)->getTailCallKind());
 3913       NewCall->setName(CI->getName());
 3916       Value *NewRetVal = Builder.CreateBitCast(NewCall, CI->getType());
 3918       if (!CI->use_empty())
 3919         CI->replaceAllUsesWith(NewRetVal);
 3920       CI->eraseFromParent();