Lines Matching refs:IRFuncTy
1064 QualType Ty, CallArg Arg, llvm::FunctionType *IRFuncTy, in ExpandTypeToArgs() argument
1075 ExpandTypeToArgs(CAExp->EltTy, EltArg, IRFuncTy, IRCallArgs, in ExpandTypeToArgs()
1089 ExpandTypeToArgs(BS->getType(), BaseArg, IRFuncTy, IRCallArgs, in ExpandTypeToArgs()
1097 ExpandTypeToArgs(FD->getType(), FldArg, IRFuncTy, IRCallArgs, in ExpandTypeToArgs()
1112 if (IRCallArgPos < IRFuncTy->getNumParams() && in ExpandTypeToArgs()
1113 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
1114 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
4316 llvm::FunctionType *IRFuncTy = getTypes().GetFunctionType(CallInfo); in EmitCall() local
4351 assert(IRFuncTy == TypeFromVal); in EmitCall()
4511 assert((FirstIRArg >= IRFuncTy->getNumParams() || in EmitCall()
4512 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4540 Addr.getType()->getAddressSpace() != IRFuncTy-> in EmitCall()
4620 if (FirstIRArg < IRFuncTy->getNumParams() && in EmitCall()
4621 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
4622 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
4743 ExpandTypeToArgs(I->Ty, *I, IRFuncTy, IRCallArgs, IRArgPos); in EmitCall()
4763 Builder.CreateBitCast(CalleePtr, IRFuncTy->getPointerTo(CalleeAS)); in EmitCall()
4766 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
4826 if (llvm::Function *OrigFn = simplifyVariadicCallee(IRFuncTy, CalleePtr)) { in EmitCall()
4828 IRFuncTy = OrigFn->getFunctionType(); in EmitCall()
4843 assert(IRCallArgs.size() == IRFuncTy->getNumParams() || IRFuncTy->isVarArg()); in EmitCall()
4849 if (i < IRFuncTy->getNumParams()) in EmitCall()
4850 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()
4950 CI = Builder.CreateCall(IRFuncTy, CalleePtr, IRCallArgs, BundleList); in EmitCall()
4953 CI = Builder.CreateInvoke(IRFuncTy, CalleePtr, Cont, InvokeDest, IRCallArgs, in EmitCall()