Displaying 4 results from an estimated 4 matches for "calleesavedinfo".
2015 Jan 11
3
[LLVMdev] [RFC] [PATCH] add tail call optimization to thumb1-only targets
...int to first LDR / VLDRD. Not for tail call returns!
+ if ((MBBI != MBB.begin()) && (!IsTailCallReturn)) {
do
--MBBI;
while (MBBI != MBB.begin() && isCSRestore(MBBI, CSRegs));
@@ -395,12 +402,119 @@
}
}
- bool IsV4PopReturn = false;
- for (const CalleeSavedInfo &CSI : MFI->getCalleeSavedInfo())
+ bool IsLRPartOfCalleeSavedInfo = false;
+
+ for (const CalleeSavedInfo &CSI : MFI->getCalleeSavedInfo()) {
if (CSI.getReg() == ARM::LR)
- IsV4PopReturn = true;
+ IsLRPartOfCalleeSavedInfo = true;
+ }
+
+ bool IsV4PopReturn = IsLR...
2013 Jan 27
1
[LLVMdev] Clarification about callee saved regs and MachineRegisterInfo::isPhyRegUsed
Hi,
I am confused about the call to isPhyRegUsed in
calculateCalleeSavedRegisters:
if (Fn.getRegInfo().isPhysRegUsed(Reg))
{
// If the reg is modified, save it!
CSI.push_back(CalleeSavedInfo(Reg));
}
It seems that isPhyRegUsed
returns true if the register is read or written in the function.
If
this is right, why do we save a register if it is only read in the
function ?? I would have expected that calculateCalleeSavedRegisters use
another function which would return true only when...
2017 Aug 14
2
LLVM Weekly - #189, Aug 14th 2017
...upport for the ARMv8.2a dot
product instructions. (Question to my readers: Given Arm's recent rebranding,
should that be Armv8.2a or armv8.2a instead?).
[r310480](http://reviews.llvm.org/rL310480),
[r310701](http://reviews.llvm.org/rL310701).
* A new "Restored" flag has been added to CalleeSavedInfo.
[r310619](http://reviews.llvm.org/rL310619).
* Most AVX512 broadcast intrinsics have been removed and will be auto-upgraded
when loaded old IR. [r310725](http://reviews.llvm.org/rL310725).
## Clang commits
* The clang-proto-fuzzer tool has been created. This models a subset of C++ as
a protobu...
2016 Jun 24
2
Suggestion / Help regarding new calling convention
On Tue, Jun 21, 2016 at 12:31 AM, Matthias Braun <matze at braunis.de> wrote:
> I just discussed this with vivek on IRC (and I think we agreed on this):
>
> Let me first state the motivation clearly to ease later discussions:
> As far as the motivation for this change goes: Changing the calling
> convention allows us to choose whether a register is saved by the callee or
>