Home
last modified time | relevance | path

Searched refs:coercionType (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/CodeGen/
DCGCall.cpp2386 auto coercionType = ArgI.getCoerceAndExpandType(); in EmitFunctionProlog() local
2387 alloca = Builder.CreateElementBitCast(alloca, coercionType); in EmitFunctionProlog()
2388 auto layout = CGM.getDataLayout().getStructLayout(coercionType); in EmitFunctionProlog()
2391 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) { in EmitFunctionProlog()
2392 llvm::Type *eltType = coercionType->getElementType(i); in EmitFunctionProlog()
2795 auto coercionType = RetAI.getCoerceAndExpandType(); in EmitFunctionEpilog() local
2796 auto layout = CGM.getDataLayout().getStructLayout(coercionType); in EmitFunctionEpilog()
2800 Address addr = Builder.CreateElementBitCast(ReturnValue, coercionType); in EmitFunctionEpilog()
2801 for (unsigned i = 0, e = coercionType->getNumElements(); i != e; ++i) { in EmitFunctionEpilog()
2802 auto coercedEltType = coercionType->getElementType(i); in EmitFunctionEpilog()
[all …]
DSwiftCallingConv.cpp550 auto coercionType = llvm::StructType::get(ctx, elts, packed); in getCoerceAndExpandTypes() local
552 llvm::Type *unpaddedType = coercionType; in getCoerceAndExpandTypes()
567 return { coercionType, unpaddedType }; in getCoerceAndExpandTypes()