Home
last modified time | relevance | path

Searched refs:ABIArgInfo (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DTargetInfo.cpp48 static ABIArgInfo coerceToIntArray(QualType Ty, in coerceToIntArray()
56 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArray()
77 ABIArgInfo
80 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirect()
84 ABIArgInfo
86 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg()
204 LLVM_DUMP_METHOD void ABIArgInfo::dump() const { in dump()
540 const ABIArgInfo &AI) { in EmitVAArgInstr()
595 ABIArgInfo classifyReturnType(QualType RetTy) const;
596 ABIArgInfo classifyArgumentType(QualType RetTy) const;
[all …]
DCGCall.cpp713 ABIArgInfo &retInfo = FI->getReturnInfo(); in arrangeLLVMFunctionInfo()
1270 const ABIArgInfo &info) { in emitAddressAtOffset()
1354 const ABIArgInfo &RetAI = FI.getReturnInfo(); in construct()
1356 if (RetAI.getKind() == ABIArgInfo::Indirect) { in construct()
1367 const ABIArgInfo &AI = I->info; in construct()
1375 case ABIArgInfo::Extend: in construct()
1376 case ABIArgInfo::Direct: { in construct()
1386 case ABIArgInfo::Indirect: in construct()
1389 case ABIArgInfo::Ignore: in construct()
1390 case ABIArgInfo::InAlloca: in construct()
[all …]
DSwiftCallingConv.cpp753 static ABIArgInfo classifyExpandedType(SwiftAggLowering &lowering, in classifyExpandedType()
757 return ABIArgInfo::getIgnore(); in classifyExpandedType()
759 return ABIArgInfo::getIndirect(alignmentForIndirect, /*byval*/ false); in classifyExpandedType()
762 return ABIArgInfo::getCoerceAndExpand(types.first, types.second); in classifyExpandedType()
766 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
774 return ABIArgInfo::getIndirect(layout.getAlignment(), /*byval*/ false); in classifyType()
787 return (forReturn ? ABIArgInfo::getDirect() : ABIArgInfo::getExpand()); in classifyType()
806 return ABIArgInfo::getIgnore(); in classifyType()
810 return ABIArgInfo::getDirect(); in classifyType()
813 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
[all …]
DABIInfo.h29 class ABIArgInfo; variable
115 CodeGen::ABIArgInfo
120 CodeGen::ABIArgInfo
DCGVTables.cpp74 static bool similar(const ABIArgInfo &infoL, CanQualType typeL, in similar()
75 const ABIArgInfo &infoR, CanQualType typeR) { in similar()
317 CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect && in EmitCallAndReturnForThunk()
353 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
355 const ABIArgInfo &RetAI = CurFnInfo->getReturnInfo(); in EmitMustTailThunk()
DCodeGenFunction.cpp807 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect && in StartFunction()
815 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
DCGStmt.cpp1938 const ABIArgInfo &RetAI = CurFnInfo->getReturnInfo(); in EmitAsmStmt()
DMicrosoftCXXABI.cpp1087 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
1092 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
DCGClass.cpp2914 calleeFnInfo.getReturnInfo().getKind() == ABIArgInfo::Indirect && in EmitForwardingCallToLambda()
DItaniumCXXABI.cpp982 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h34 class ABIArgInfo {
112 ABIArgInfo(Kind K) in ABIArgInfo() function
117 ABIArgInfo() in ABIArgInfo() function
121 static ABIArgInfo getDirect(llvm::Type *T = nullptr, unsigned Offset = 0,
124 auto AI = ABIArgInfo(Direct);
131 static ABIArgInfo getDirectInReg(llvm::Type *T = nullptr) {
136 static ABIArgInfo getExtend(llvm::Type *T = nullptr) {
137 auto AI = ABIArgInfo(Extend);
143 static ABIArgInfo getExtendInReg(llvm::Type *T = nullptr) {
148 static ABIArgInfo getIgnore() { in getIgnore()
[all …]
DSwiftCallingConv.h37 class ABIArgInfo; variable
155 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
158 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);