Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp54 static ABIArgInfo coerceToIntArray(QualType Ty, in coerceToIntArray()
62 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements)); in coerceToIntArray()
83 ABIArgInfo ABIInfo::getNaturalAlignIndirect(QualType Ty, bool ByVal, in getNaturalAlignIndirect()
86 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), ByVal, in getNaturalAlignIndirect()
90 ABIArgInfo
92 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg()
235 LLVM_DUMP_METHOD void ABIArgInfo::dump() const { in dump()
639 const ABIArgInfo &AI) { in EmitVAArgInstr()
694 ABIArgInfo classifyReturnType(QualType RetTy) const;
695 ABIArgInfo classifyArgumentType(QualType RetTy) const;
[all …]
DCGCall.cpp783 ABIArgInfo &retInfo = FI->getReturnInfo(); in arrangeLLVMFunctionInfo()
1365 const ABIArgInfo &info) { in emitAddressAtOffset()
1449 const ABIArgInfo &RetAI = FI.getReturnInfo(); in construct()
1451 if (RetAI.getKind() == ABIArgInfo::Indirect) { in construct()
1462 const ABIArgInfo &AI = I->info; in construct()
1470 case ABIArgInfo::Extend: in construct()
1471 case ABIArgInfo::Direct: { in construct()
1481 case ABIArgInfo::Indirect: in construct()
1482 case ABIArgInfo::IndirectAliased: in construct()
1485 case ABIArgInfo::Ignore: in construct()
[all …]
DABIInfo.h30 class ABIArgInfo; variable
113 CodeGen::ABIArgInfo
118 CodeGen::ABIArgInfo
DSwiftCallingConv.cpp802 static ABIArgInfo classifyExpandedType(SwiftAggLowering &lowering, in classifyExpandedType()
806 return ABIArgInfo::getIgnore(); in classifyExpandedType()
808 return ABIArgInfo::getIndirect(alignmentForIndirect, /*byval*/ false); in classifyExpandedType()
811 return ABIArgInfo::getCoerceAndExpand(types.first, types.second); in classifyExpandedType()
815 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
822 return ABIArgInfo::getIndirect(layout.getAlignment(), /*byval*/ false); in classifyType()
834 return (forReturn ? ABIArgInfo::getDirect() : ABIArgInfo::getExpand()); in classifyType()
853 return ABIArgInfo::getIgnore(); in classifyType()
857 return ABIArgInfo::getDirect(); in classifyType()
860 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) { in classifyReturnType()
[all …]
DCGVTables.cpp60 static bool similar(const ABIArgInfo &infoL, CanQualType typeL, in similar()
61 const ABIArgInfo &infoR, CanQualType typeR) { in similar()
366 (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect || in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
406 const ABIArgInfo &RetAI = CurFnInfo->getReturnInfo(); in EmitMustTailThunk()
DCodeGenFunction.cpp1040 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1054 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
DCGStmt.cpp2361 const ABIArgInfo &RetAI = CurFnInfo->getReturnInfo(); in EmitAsmStmt()
DCGClass.cpp2882 calleeFnInfo.getReturnInfo().getKind() == ABIArgInfo::Indirect && in EmitForwardingCallToLambda()
DItaniumCXXABI.cpp1221 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
DMicrosoftCXXABI.cpp1117 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
/external/llvm-project/clang/include/clang/CodeGen/
DCGFunctionInfo.h32 class ABIArgInfo {
128 ABIArgInfo(Kind K = Direct)
135 static ABIArgInfo getDirect(llvm::Type *T = nullptr, unsigned Offset = 0,
138 auto AI = ABIArgInfo(Direct);
145 static ABIArgInfo getDirectInReg(llvm::Type *T = nullptr) {
151 static ABIArgInfo getSignExtend(QualType Ty, llvm::Type *T = nullptr) {
153 auto AI = ABIArgInfo(Extend);
161 static ABIArgInfo getZeroExtend(QualType Ty, llvm::Type *T = nullptr) {
163 auto AI = ABIArgInfo(Extend);
173 static ABIArgInfo getExtend(QualType Ty, llvm::Type *T = nullptr) {
[all …]
DSwiftCallingConv.h35 class ABIArgInfo; variable
168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
/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 …]
DABIInfo.h29 class ABIArgInfo; variable
115 CodeGen::ABIArgInfo
120 CodeGen::ABIArgInfo
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 …]
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);