Lines Matching refs:FirstIRArg

1690     unsigned FirstIRArg, NumIRArgs;  in GetFunctionType()  local
1691 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in GetFunctionType()
1703 ArgTypes[FirstIRArg] = LTy->getPointerTo( in GetFunctionType()
1710 ArgTypes[FirstIRArg] = LTy->getPointerTo(ArgInfo.getIndirectAddrSpace()); in GetFunctionType()
1722 ArgTypes[FirstIRArg + i] = st->getElementType(i); in GetFunctionType()
1725 ArgTypes[FirstIRArg] = argType; in GetFunctionType()
1731 auto ArgTypesIter = ArgTypes.begin() + FirstIRArg; in GetFunctionType()
1735 assert(ArgTypesIter == ArgTypes.begin() + FirstIRArg + NumIRArgs); in GetFunctionType()
1740 auto ArgTypesIter = ArgTypes.begin() + FirstIRArg; in GetFunctionType()
1742 assert(ArgTypesIter == ArgTypes.begin() + FirstIRArg + NumIRArgs); in GetFunctionType()
2648 unsigned FirstIRArg, NumIRArgs; in ConstructAttributeList() local
2649 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in ConstructAttributeList()
2651 ArgAttrs[FirstIRArg + i] = ArgAttrs[FirstIRArg + i].addAttributes( in ConstructAttributeList()
2793 unsigned FirstIRArg, NumIRArgs; in EmitFunctionProlog() local
2794 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitFunctionProlog()
2812 Address ParamAddr = Address(Fn->getArg(FirstIRArg), ConvertTypeForMem(Ty), in EmitFunctionProlog()
2851 auto AI = Fn->getArg(FirstIRArg); in EmitFunctionProlog()
2988 llvm::Value *Coerced = Fn->getArg(FirstIRArg); in EmitFunctionProlog()
3037 auto AI = Fn->getArg(FirstIRArg + i); in EmitFunctionProlog()
3050 auto AI = Fn->getArg(FirstIRArg); in EmitFunctionProlog()
3076 unsigned argIndex = FirstIRArg; in EmitFunctionProlog()
3086 assert(argIndex == FirstIRArg + NumIRArgs); in EmitFunctionProlog()
3098 auto FnArgIter = Fn->arg_begin() + FirstIRArg; in EmitFunctionProlog()
3100 assert(FnArgIter == Fn->arg_begin() + FirstIRArg + NumIRArgs); in EmitFunctionProlog()
3102 auto AI = Fn->getArg(FirstIRArg + i); in EmitFunctionProlog()
4871 unsigned FirstIRArg, NumIRArgs; in EmitCall() local
4872 std::tie(FirstIRArg, NumIRArgs) = IRFunctionArgs.getIRArgs(ArgNo); in EmitCall()
4939 IRCallArgs[FirstIRArg] = Val; in EmitCall()
4958 assert((FirstIRArg >= IRFuncTy->getNumParams() || in EmitCall()
4959 IRFuncTy->getParamType(FirstIRArg)->getPointerAddressSpace() == in EmitCall()
4988 getParamType(FirstIRArg)->getPointerAddressSpace())) { in EmitCall()
5000 IRCallArgs[FirstIRArg] = Val; in EmitCall()
5025 IRCallArgs[FirstIRArg] = Val; in EmitCall()
5075 if (FirstIRArg < IRFuncTy->getNumParams() && in EmitCall()
5076 V->getType() != IRFuncTy->getParamType(FirstIRArg)) in EmitCall()
5077 V = Builder.CreateBitCast(V, IRFuncTy->getParamType(FirstIRArg)); in EmitCall()
5081 IRCallArgs[FirstIRArg] = V; in EmitCall()
5127 IRCallArgs[FirstIRArg + i] = LI; in EmitCall()
5146 IRCallArgs[FirstIRArg] = Load; in EmitCall()
5184 unsigned IRArgPos = FirstIRArg; in EmitCall()
5194 assert(IRArgPos == FirstIRArg + NumIRArgs); in EmitCall()
5204 unsigned IRArgPos = FirstIRArg; in EmitCall()
5206 assert(IRArgPos == FirstIRArg + NumIRArgs); in EmitCall()