reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1536 Function *F = CS.getCalledFunction(); 1537 if ((F && F->isIntrinsic()) || isa<InlineAsm>(CS.getCalledValue())) { 1538 visitOperandShadowInst(*CS.getInstruction()); 1547 IRBuilder<> IRB(CS.getInstruction()); 1550 DFSF.DFS.UnwrappedFnMap.find(CS.getCalledValue()); 1555 CS.setCalledFunction(F); 1558 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); 1561 CS.setCalledFunction(F); 1562 DFSF.setShadow(CS.getInstruction(), DFSF.DFS.ZeroShadow); 1565 CS.setCalledFunction(F); 1566 visitOperandShadowInst(*CS.getInstruction()); 1572 if (CallInst *CI = dyn_cast<CallInst>(CS.getInstruction())) { 1591 CallSite::arg_iterator i = CS.arg_begin(); 1611 i = CS.arg_begin(); 1618 CS.arg_size() - FT->getNumParams()); 1623 for (unsigned n = 0; i != CS.arg_end(); ++i, ++n) { 1641 for (i = CS.arg_begin() + FT->getNumParams(); i != CS.arg_end(); ++i) 1641 for (i = CS.arg_begin() + FT->getNumParams(); i != CS.arg_end(); ++i) 1673 CS.getCalledValue()->getType()->getPointerElementType()); 1676 IRB.CreateStore(DFSF.getShadow(CS.getArgument(i)), 1677 DFSF.getArgTLS(i, CS.getInstruction())); 1682 if (!CS.getType()->isVoidTy()) { 1683 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { 1692 assert(CS->getIterator() != CS->getParent()->end()); 1692 assert(CS->getIterator() != CS->getParent()->end()); 1693 Next = CS->getNextNode(); 1700 DFSF.setShadow(CS.getInstruction(), LI); 1710 IRB.CreateBitCast(CS.getCalledValue(), PointerType::getUnqual(NewFT)); 1713 CallSite::arg_iterator i = CS.arg_begin(), e = CS.arg_end(); 1713 CallSite::arg_iterator i = CS.arg_begin(), e = CS.arg_end(); 1717 i = CS.arg_begin(); 1722 unsigned VarArgSize = CS.arg_size() - FT->getNumParams(); 1737 if (InvokeInst *II = dyn_cast<InvokeInst>(CS.getInstruction())) { 1743 NewCS.setCallingConv(CS.getCallingConv()); 1744 NewCS.setAttributes(CS.getAttributes().removeAttributes( 1758 CS.getInstruction()->replaceAllUsesWith(ExVal); 1761 CS.getInstruction()->eraseFromParent();