Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGVTables.cpp268 if (CurFnInfo->usesInAlloca()) { in EmitCallAndReturnForThunk()
298 assert(CallFnInfo.getRegParm() == CurFnInfo->getRegParm() && in EmitCallAndReturnForThunk()
299 CallFnInfo.isNoReturn() == CurFnInfo->isNoReturn() && in EmitCallAndReturnForThunk()
300 CallFnInfo.getCallingConvention() == CurFnInfo->getCallingConvention()); in EmitCallAndReturnForThunk()
303 CurFnInfo->getReturnInfo(), CurFnInfo->getReturnType())); in EmitCallAndReturnForThunk()
304 assert(CallFnInfo.arg_size() == CurFnInfo->arg_size()); in EmitCallAndReturnForThunk()
305 for (unsigned i = 0, e = CurFnInfo->arg_size(); i != e; ++i) in EmitCallAndReturnForThunk()
308 CurFnInfo->arg_begin()[i].info, in EmitCallAndReturnForThunk()
309 CurFnInfo->arg_begin()[i].type)); in EmitCallAndReturnForThunk()
320 CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect && in EmitCallAndReturnForThunk()
[all …]
DCodeGenFunction.cpp330 EmitFunctionEpilog(*CurFnInfo, EmitRetDbgLoc, EndLoc); in FinishFunction()
661 CurFnInfo = &FnInfo; in StartFunction()
768 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::Indirect && in StartFunction()
769 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
773 if (CurFnInfo->getReturnInfo().isSRetAfterThis()) in StartFunction()
775 ReturnValue = Address(&*AI, CurFnInfo->getReturnInfo().getIndirectAlign()); in StartFunction()
776 } else if (CurFnInfo->getReturnInfo().getKind() == ABIArgInfo::InAlloca && in StartFunction()
777 !hasScalarEvaluationKind(CurFnInfo->getReturnType())) { in StartFunction()
779 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); in StartFunction()
792 !CurFnInfo->isReturnsRetained() && in StartFunction()
[all …]
DCGStmt.cpp1881 const ABIArgInfo &RetAI = CurFnInfo->getReturnInfo(); in EmitAsmStmt()
DCodeGenFunction.h151 const CGFunctionInfo *CurFnInfo; variable