Lines Matching refs:ArgInfo

813     operator new(totalSizeToAlloc<ArgInfo,             ExtParameterInfo>(  in create()
1386 SmallVector<IRArgs, 8> ArgInfo; member in __anon8199d0d30511::ClangToLLVMArgMapping
1392 ArgInfo(OnlyRequiredArgs ? FI.getNumRequiredArgs() : FI.arg_size()) { in ClangToLLVMArgMapping()
1411 assert(ArgNo < ArgInfo.size()); in hasPaddingArg()
1412 return ArgInfo[ArgNo].PaddingArgIndex != InvalidIndex; in hasPaddingArg()
1416 return ArgInfo[ArgNo].PaddingArgIndex; in getPaddingArgNo()
1422 assert(ArgNo < ArgInfo.size()); in getIRArgs()
1423 return std::make_pair(ArgInfo[ArgNo].FirstArgIndex, in getIRArgs()
1424 ArgInfo[ArgNo].NumberOfArgs); in getIRArgs()
1452 auto &IRArgs = ArgInfo[ArgNo]; in construct()
1495 assert(ArgNo == ArgInfo.size()); in construct()
1613 const ABIArgInfo &ArgInfo = it->info; in GetFunctionType() local
1618 ArgInfo.getPaddingType(); in GetFunctionType()
1623 switch (ArgInfo.getKind()) { in GetFunctionType()
1642 llvm::Type *argType = ArgInfo.getCoerceToType(); in GetFunctionType()
1644 if (st && ArgInfo.isDirect() && ArgInfo.getCanBeFlattened()) { in GetFunctionType()
1657 for (auto EltTy : ArgInfo.getCoerceAndExpandTypeSequence()) { in GetFunctionType()
3893 const ABIArgInfo &ArgInfo = info_it->info; in EmitCall() local
3898 llvm::UndefValue::get(ArgInfo.getPaddingType()); in EmitCall()
3903 switch (ArgInfo.getKind()) { in EmitCall()
3916 Addr = createInAllocaStructGEP(ArgInfo.getInAllocaFieldIndex()); in EmitCall()
3921 Address Addr = createInAllocaStructGEP(ArgInfo.getInAllocaFieldIndex()); in EmitCall()
3939 I->Ty, ArgInfo.getIndirectAlign(), "indirect-arg-temp"); in EmitCall()
3956 CharUnits Align = ArgInfo.getIndirectAlign(); in EmitCall()
3974 if ((!ArgInfo.getIndirectByVal() && in EmitCall()
3980 if ((ArgInfo.getIndirectByVal() && in EmitCall()
3988 else if ((ArgInfo.getIndirectByVal() && in EmitCall()
3998 I->Ty, ArgInfo.getIndirectAlign(), "byval-temp"); in EmitCall()
4019 if (!isa<llvm::StructType>(ArgInfo.getCoerceToType()) && in EmitCall()
4020 ArgInfo.getCoerceToType() == ConvertType(info_it->type) && in EmitCall()
4021 ArgInfo.getDirectOffset() == 0) { in EmitCall()
4051 if (ArgInfo.getCoerceToType() != V->getType() && in EmitCall()
4053 V = Builder.CreateZExt(V, ArgInfo.getCoerceToType()); in EmitCall()
4076 Src = emitAddressAtOffset(*this, Src, ArgInfo); in EmitCall()
4081 dyn_cast<llvm::StructType>(ArgInfo.getCoerceToType()); in EmitCall()
4082 if (STy && ArgInfo.isDirect() && ArgInfo.getCanBeFlattened()) { in EmitCall()
4114 CreateCoercedLoad(Src, ArgInfo.getCoerceToType(), *this); in EmitCall()
4121 auto coercionType = ArgInfo.getCoerceAndExpandType(); in EmitCall()