Displaying 1 result from an estimated 1 matches for "isaggregatetypeforabi".
2012 Oct 08
1
[LLVMdev] Fwd: Multiply i8 operands promotes to i32
...}
virtual llvm::Value *EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
CodeGenFunction &CGF) const { return 0; }
};
ABIArgInfo MSP430ABIInfo::classifyReturnType(QualType RetTy) const {
if (RetTy->isVoidType())
return ABIArgInfo::getIgnore();
if (isAggregateTypeForABI(RetTy))
return ABIArgInfo::getIndirect(0);
return ABIArgInfo::getDirect();
}
ABIArgInfo MSP430ABIInfo::classifyArgumentType(QualType Ty) const {
if (isAggregateTypeForABI(Ty))
return ABIArgInfo::getIndirect(0);
return ABIArgInfo::getDirect();
}
3) Register your new MSP430ABIInfo c...