reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
38 auto &DL = CS.getParent()->getParent()->getParent()->getDataLayout(); 44 unsigned NumFixedArgs = CS.getFunctionType()->getNumParams(); 45 for (auto &Arg : CS.args()) { 48 setArgFlags(OrigArg, i + AttributeList::FirstArgIndex, DL, CS); 53 if (const Function *F = CS.getCalledFunction()) 58 Info.OrigRet = ArgInfo{ResRegs, CS.getType(), ISD::ArgFlagsTy{}}; 60 setArgFlags(Info.OrigRet, AttributeList::ReturnIndex, DL, CS); 63 CS.getInstruction()->getMetadata(LLVMContext::MD_callees); 64 Info.CallConv = CS.getCallingConv(); 66 Info.IsMustTailCall = CS.isMustTailCall(); 67 Info.IsTailCall = CS.isTailCall() && 68 isInTailCallPosition(CS, MIRBuilder.getMF().getTarget()); 69 Info.IsVarArg = CS.getFunctionType()->isVarArg();