Lines Matching refs:IRFuncTy
775 QualType Ty, RValue RV, llvm::FunctionType *IRFuncTy, in ExpandTypeToArgs() argument
784 ExpandTypeToArgs(CAExp->EltTy, EltRV, IRFuncTy, IRCallArgs, IRCallArgPos); in ExpandTypeToArgs()
796 ExpandTypeToArgs(BS->getType(), BaseRV, IRFuncTy, IRCallArgs, in ExpandTypeToArgs()
803 ExpandTypeToArgs(FD->getType(), FldRV, IRFuncTy, IRCallArgs, in ExpandTypeToArgs()
817 if (IRCallArgPos < IRFuncTy->getNumParams() && in ExpandTypeToArgs()
818 V->getType() != IRFuncTy->getParamType(IRCallArgPos)) in ExpandTypeToArgs()
819 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(IRCallArgPos)); in ExpandTypeToArgs()
3031 llvm::FunctionType *IRFuncTy = in EmitCall() local
3149 (FirstIRArg < IRFuncTy->getNumParams() in EmitCall()
3150 ? IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() in EmitCall()
3193 if (FirstIRArg < IRFuncTy->getNumParams() && in EmitCall()
3194 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
3195 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
3262 ExpandTypeToArgs(I->Ty, RV, IRFuncTy, IRCallArgs, IRArgPos); in EmitCall()
3281 IRFuncTy->getParamType(IRFuncTy->getNumParams() - 1); in EmitCall()
3335 assert(IRCallArgs.size() == IRFuncTy->getNumParams() || IRFuncTy->isVarArg()); in EmitCall()
3341 if (i < IRFuncTy->getNumParams()) in EmitCall()
3342 assert(IRCallArgs[i]->getType() == IRFuncTy->getParamType(i)); in EmitCall()