Displaying 3 results from an estimated 3 matches for "isthumb1".
Did you mean:
isthumb
2013 Nov 18
3
[LLVMdev] possible thumb bug in constant islands
...as been
/// spilled in the epilogue, then we can use BL to implement a far jump.
/// Otherwise, add an intermediate branch instruction to a branch.
bool
ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
MachineInstr *MI = Br.MI;
MachineBasicBlock *MBB = MI->getParent();
if (!isThumb1)
llvm_unreachable("fixupUnconditionalBr is Thumb1 only!");
// Use BL to implement far jump.
Br.MaxDisp = (1 << 21) * 2;
MI->setDesc(TII->get(ARM::tBfar));
BBInfo[MBB->getNumber()].Size += 2;
adjustBBOffsetsAfter(MBB);
HasFarJump = true;
++NumUBrFi...
2013 Nov 19
0
[LLVMdev] possible thumb bug in constant islands
...he epilogue, then we can use BL to implement a far jump.
> /// Otherwise, add an intermediate branch instruction to a branch.
> bool
> ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
> MachineInstr *MI = Br.MI;
> MachineBasicBlock *MBB = MI->getParent();
> if (!isThumb1)
> llvm_unreachable("fixupUnconditionalBr is Thumb1 only!");
>
> // Use BL to implement far jump.
> Br.MaxDisp = (1 << 21) * 2;
> MI->setDesc(TII->get(ARM::tBfar));
> BBInfo[MBB->getNumber()].Size += 2;
> adjustBBOffsetsAfter(MBB);
> HasFar...
2013 Nov 19
1
[LLVMdev] possible thumb bug in constant islands
...e BL to implement a far jump.
>> /// Otherwise, add an intermediate branch instruction to a branch.
>> bool
>> ARMConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
>> MachineInstr *MI = Br.MI;
>> MachineBasicBlock *MBB = MI->getParent();
>> if (!isThumb1)
>> llvm_unreachable("fixupUnconditionalBr is Thumb1 only!");
>>
>> // Use BL to implement far jump.
>> Br.MaxDisp = (1 << 21) * 2;
>> MI->setDesc(TII->get(ARM::tBfar));
>> BBInfo[MBB->getNumber()].Size += 2;
>> adjust...