reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1097 Attribute FSAttr = CS.getCaller()->getFnAttribute("target-features"); 1110 for (Type *T : CS.getFunctionType()->params()) 1113 FunctionType::get(CS.getFunctionType()->getReturnType(), NewArgs, 1114 CS.getFunctionType()->isVarArg()); 1117 IRBuilder<> IRB(CS.getInstruction()); 1120 for (unsigned I = 0; I != CS.getNumArgOperands(); ++I) 1121 Args.push_back(CS.getArgOperand(I)); 1124 if (CS.isCall()) 1129 cast<InvokeInst>(CS.getInstruction())->getNormalDest(), 1130 cast<InvokeInst>(CS.getInstruction())->getUnwindDest(), Args); 1131 NewCS.setCallingConv(CS.getCallingConv()); 1133 AttributeList Attrs = CS.getAttributes(); 1144 CS->replaceAllUsesWith(NewCS.getInstruction()); 1145 CS->eraseFromParent();