Lines Matching refs:FirstIRArg
1634 unsigned FirstIRArg, NumIRArgs; in GetFunctionType() local
1635 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in GetFunctionType()
1647 ArgTypes[FirstIRArg] = LTy->getPointerTo( in GetFunctionType()
1654 ArgTypes[FirstIRArg] = LTy->getPointerTo(ArgInfo.getIndirectAddrSpace()); in GetFunctionType()
1666 ArgTypes[FirstIRArg + i] = st->getElementType(i); in GetFunctionType()
1669 ArgTypes[FirstIRArg] = argType; in GetFunctionType()
1675 auto ArgTypesIter = ArgTypes.begin() + FirstIRArg; in GetFunctionType()
1679 assert(ArgTypesIter == ArgTypes.begin() + FirstIRArg + NumIRArgs); in GetFunctionType()
1684 auto ArgTypesIter = ArgTypes.begin() + FirstIRArg; in GetFunctionType()
1686 assert(ArgTypesIter == ArgTypes.begin() + FirstIRArg + NumIRArgs); in GetFunctionType()
2337 unsigned FirstIRArg, NumIRArgs; in ConstructAttributeList() local
2338 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in ConstructAttributeList()
2340 ArgAttrs[FirstIRArg + i] = in ConstructAttributeList()
2482 unsigned FirstIRArg, NumIRArgs; in EmitFunctionProlog() local
2483 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitFunctionProlog()
2502 Address(Fn->getArg(FirstIRArg), ArgI.getIndirectAlign()); in EmitFunctionProlog()
2540 auto AI = Fn->getArg(FirstIRArg); in EmitFunctionProlog()
2696 auto AI = Fn->getArg(FirstIRArg + i); in EmitFunctionProlog()
2709 auto AI = Fn->getArg(FirstIRArg); in EmitFunctionProlog()
2735 unsigned argIndex = FirstIRArg; in EmitFunctionProlog()
2745 assert(argIndex == FirstIRArg + NumIRArgs); in EmitFunctionProlog()
2757 auto FnArgIter = Fn->arg_begin() + FirstIRArg; in EmitFunctionProlog()
2759 assert(FnArgIter == Fn->arg_begin() + FirstIRArg + NumIRArgs); in EmitFunctionProlog()
2761 auto AI = Fn->getArg(FirstIRArg + i); in EmitFunctionProlog()
4428 unsigned FirstIRArg, NumIRArgs; in EmitCall() local
4429 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitCall()
4492 IRCallArgs[FirstIRArg] = Addr.getPointer(); in EmitCall()
4511 assert((FirstIRArg >= IRFuncTy->getNumParams() || in EmitCall()
4512 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4541 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall()
4550 IRCallArgs[FirstIRArg] = AI.getPointer(); in EmitCall()
4568 IRCallArgs[FirstIRArg] = getTargetHooks().performAddrSpaceCast( 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()
4624 IRCallArgs[FirstIRArg] = V; in EmitCall()
4669 IRCallArgs[FirstIRArg + i] = LI; in EmitCall()
4685 IRCallArgs[FirstIRArg] = Load; in EmitCall()
4724 unsigned IRArgPos = FirstIRArg; in EmitCall()
4732 assert(IRArgPos == FirstIRArg + NumIRArgs); in EmitCall()
4742 unsigned IRArgPos = FirstIRArg; in EmitCall()
4744 assert(IRArgPos == FirstIRArg + NumIRArgs); in EmitCall()