Home
last modified time | relevance | path

Searched refs:CurFnInfo (Results 1 – 25 of 70) sorted by relevance

123

/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
402 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp412 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
719 CurFnInfo = &FnInfo; in StartFunction()
1006 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1010 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1012 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1013 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1020 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1021 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1023 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1037 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
402 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp412 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
719 CurFnInfo = &FnInfo; in StartFunction()
1006 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1010 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1012 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1013 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1020 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1021 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1023 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1037 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/CodeGen/
H A DCGVTables.cpp295 if (CurFnInfo->usesInAlloca() || IsUnprototyped) { in EmitCallAndReturnForThunk()
331 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
332 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
336 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
337 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
338 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
341 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
342 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
354 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) in EmitCallAndReturnForThunk()
390 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp359 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
829 CurFnInfo = &FnInfo; in StartFunction()
1056 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect && in StartFunction()
1057 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1061 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1063 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1064 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1065 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1067 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1080 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp395 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
719 CurFnInfo = &FnInfo; in StartFunction()
1059 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1063 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1065 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1066 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1073 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1074 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1076 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1093 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp403 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
719 CurFnInfo = &FnInfo; in StartFunction()
1058 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1062 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1064 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1065 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1072 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1073 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1075 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1092 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp402 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
711 CurFnInfo = &FnInfo; in StartFunction()
1043 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1047 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1049 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1050 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1057 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1058 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1060 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1074 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/CodeGen/
H A DCGVTables.cpp294 if (CurFnInfo->usesInAlloca() || IsUnprototyped) { in EmitCallAndReturnForThunk()
330 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
331 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
335 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
336 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
337 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
340 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
341 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
352 CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) in EmitCallAndReturnForThunk()
388 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp360 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
661 CurFnInfo = &FnInfo; in StartFunction()
893 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
897 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
899 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
900 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
907 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
908 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
910 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
924 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/CodeGen/
H A DCGVTables.cpp295 if (CurFnInfo->usesInAlloca() || IsUnprototyped) { in EmitCallAndReturnForThunk()
331 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
332 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
336 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
337 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
338 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
341 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
342 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
353 CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) in EmitCallAndReturnForThunk()
389 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp402 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
711 CurFnInfo = &FnInfo; in StartFunction()
1040 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1044 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1046 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1047 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1054 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1055 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1057 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1071 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]
H A DCodeGenFunction.cpp382 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
691 CurFnInfo = &FnInfo; in StartFunction()
1007 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect) { in StartFunction()
1011 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
1013 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
1014 if (!CurFnInfo->getReturnInfo().getIndirectByVal()) { in StartFunction()
1021 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
1022 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
1024 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
1038 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/CodeGen/
H A DCGVTables.cpp308 if (CurFnInfo->usesInAlloca() || CurFnInfo->isVariadic() || IsUnprototyped) { in EmitCallAndReturnForThunk()
313 else if (CurFnInfo->isVariadic()) in EmitCallAndReturnForThunk()
344 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
345 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
349 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
350 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
351 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
354 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
355 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
404 const ABIArgInfo &ThisAI = CurFnInfo->arg_begin()->info; in EmitMustTailThunk()
[all …]

123