/external/llvm/lib/Target/NVPTX/ |
NVPTXFrameLowering.cpp | 35 MachineBasicBlock::iterator MBBI = MBB.begin(); 47 MBB, MBBI, dl, tm.getInstrInfo()->get(NVPTX::cvta_local_yes_64), 54 MBB, MBBI, dl, tm.getInstrInfo()->get(NVPTX::cvta_local_yes),
|
/external/llvm/lib/CodeGen/ |
SlotIndexes.cpp | 177 MachineBasicBlock::iterator MBBI = End; 179 while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) { 185 MachineInstr *MI = (MBBI != MBB->end() && !pastStart) ? MBBI : 0; 186 bool MBBIAtBegin = MBBI == Begin && (!includeStart || pastStart); 190 if (MBBI != Begin) 191 --MBBI; 195 if (MBBI != Begin) 196 --MBBI;
|
MachineFunction.cpp | 134 MachineFunction::iterator MBBI, E = end(); 136 MBBI = begin(); 138 MBBI = MBB; 142 if (MBBI != begin()) 143 BlockNo = prior(MBBI)->getNumber()+1; 145 for (; MBBI != E; ++MBBI, ++BlockNo) { 146 if (MBBI->getNumber() != (int)BlockNo) { 148 if (MBBI->getNumber() != -1) { 149 assert(MBBNumbering[MBBI->getNumber()] == &*MBBI & [all...] |
SplitKit.cpp | 646 MachineBasicBlock::iterator MBBI(MI); 648 do AtBegin = MBBI == MBB->begin(); 649 while (!AtBegin && (--MBBI)->isDebugValue()); 666 if (AtBegin || !MBBI->readsVirtualRegister(Edit->getReg())) { 670 SlotIndex Kill = LIS.getInstructionIndex(MBBI).getRegSlot(); 671 DEBUG(dbgs() << " move kill to " << Kill << '\t' << *MBBI); [all...] |
BranchFolding.cpp | 417 MachineFunction::iterator MBBI = &CurMBB; 419 CurMBB.getParent()->insert(++MBBI, NewMBB); [all...] |
MachineVerifier.cpp | 315 for (MachineBasicBlock::const_instr_iterator MBBI = MFI->instr_begin(), 316 MBBE = MFI->instr_end(); MBBI != MBBE; ++MBBI) { 317 if (MBBI->getParent() != MFI) { 319 *OS << "Instruction: " << *MBBI; 324 if (InBundle && !MBBI->isBundledWithPred()) 326 "BundledSucc was set on predecessor", MBBI); 327 if (!InBundle && MBBI->isBundledWithPred()) 329 "but BundledSucc not set on predecessor", MBBI); 332 if (!MBBI->isInsideBundle()) [all...] |
/external/llvm/lib/Target/ARM/ |
ARMInstrInfo.cpp | 120 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 121 DebugLoc DL = FirstMBB.findDebugLoc(MBBI); 126 MachineInstrBuilder MIB = BuildMI(FirstMBB, MBBI, DL,
|
Thumb2InstrInfo.cpp | 63 MachineBasicBlock::iterator MBBI = Tail; 66 --MBBI; 75 while (Count && MBBI != E) { 76 if (MBBI->isDebugValue()) { 77 --MBBI; 80 if (MBBI->getOpcode() == ARM::t2IT) { 81 unsigned Mask = MBBI->getOperand(1).getImm(); 83 MBBI->eraseFromParent(); 87 MBBI->getOperand(1).setImm((Mask & MaskOff) | MaskOn); 91 --MBBI; [all...] |
Thumb1FrameLowering.cpp | 38 MachineBasicBlock::iterator &MBBI, 42 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 83 MachineBasicBlock::iterator MBBI = MBB.begin(); 95 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 109 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, 114 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, 153 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) { 154 ++MBBI; [all...] |
Thumb2ITBlockPass.cpp | 165 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); 166 while (MBBI != E) { 167 MachineInstr *MI = &*MBBI; 172 ++MBBI; 181 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT)) 190 ++MBBI; 197 for (; MBBI != E && Pos && 198 (!MI->isBranch() && !MI->isReturn()) ; ++MBBI) { 199 if (MBBI->isDebugValue()) 202 MachineInstr *NMI = &*MBBI; [all...] |
ARMExpandPseudoInsts.cpp | 57 MachineBasicBlock::iterator MBBI); 59 void ExpandVLD(MachineBasicBlock::iterator &MBBI); 60 void ExpandVST(MachineBasicBlock::iterator &MBBI); 61 void ExpandLaneOp(MachineBasicBlock::iterator &MBBI); 62 void ExpandVTBL(MachineBasicBlock::iterator &MBBI, 65 MachineBasicBlock::iterator &MBBI); 374 void ARMExpandPseudo::ExpandVLD(MachineBasicBlock::iterator &MBBI) { 375 MachineInstr &MI = *MBBI; 383 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 439 void ARMExpandPseudo::ExpandVST(MachineBasicBlock::iterator &MBBI) { [all...] |
ARMFrameLowering.cpp | 120 MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, 125 emitARMRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, 128 emitT2RegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, 134 MachineBasicBlock::iterator MBBI = MBB.begin(); 148 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 164 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -ArgRegsSaveSize, 169 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes, 214 if (GPRCS1Size > 0) MBBI++; 225 BuildMI(MBB, MBBI, dl, TII.get(ADDriOpc), FramePtr [all...] |
/external/llvm/lib/Target/Mips/ |
Mips16FrameLowering.cpp | 35 MachineBasicBlock::iterator MBBI = MBB.begin(); 36 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 47 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); 51 BuildMI(MBB, MBBI, dl, 57 BuildMI(MBB, MBBI, dl, 72 BuildMI(MBB, MBBI, dl, TII.get(Mips::MoveR3216), Mips::S0) 79 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 83 DebugLoc dl = MBBI->getDebugLoc(); 90 BuildMI(MBB, MBBI, dl, TII.get(Mips::Move32R16), Mips::SP [all...] |
MipsSEFrameLowering.cpp | 274 MachineBasicBlock::iterator MBBI = MBB.begin(); 275 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 292 TII.adjustStackPtr(SP, -StackSize, MBB, MBBI); 296 BuildMI(MBB, MBBI, dl, 307 ++MBBI; 312 BuildMI(MBB, MBBI, dl, 351 TII.storeRegToStackSlot(MBB, MBBI, ehDataReg(I), false, 357 BuildMI(MBB, MBBI, dl, 369 BuildMI(MBB, MBBI, dl, TII.get(ADDu), FP).addReg(SP).addReg(ZERO) [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 43 MachineBasicBlock::iterator MBBI = MBB.begin(); 44 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 60 BuildMI(MBB, MBBI, dl, TII.get(SAVEri), SP::O6) 66 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1).addImm(OffHi); 68 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) 70 BuildMI(MBB, MBBI, dl, TII.get(SAVErr), SP::O6) 97 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 100 DebugLoc dl = MBBI->getDebugLoc(); 101 assert(MBBI->getOpcode() == SP::RETL & [all...] |
SparcInstrInfo.cpp | 381 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 389 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg);
|
/external/llvm/include/llvm/CodeGen/ |
RegisterScavenging.h | 36 MachineBasicBlock::iterator MBBI; 66 /// before MBBI. One bit per physical register. If bit is set that means it's 93 while (MBBI != I) forward(); 102 while (MBBI != I) unprocess(); 109 MBBI = I; 113 return MBBI; 157 return scavengeRegister(RegClass, MBBI, SPAdj);
|
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 48 MachineBasicBlock::iterator MBBI = MBB.begin(); 49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) 70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FPW) 82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) 83 ++MBBI; 85 if (MBBI != MBB.end()) 86 DL = MBBI->getDebugLoc() [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64BranchFixupPass.cpp | 164 for (MachineFunction::iterator MBBI = MF->begin(), E = MF->end(); 165 MBBI != E; ++MBBI) { 166 MachineBasicBlock *MBB = MBBI; 239 MachineFunction::iterator MBBI = MBB; 241 if (llvm::next(MBBI) == MBB->getParent()->end()) 244 MachineBasicBlock *NextBB = llvm::next(MBBI); 274 for (MachineFunction::iterator MBBI = MF->begin(), E = MF->end(); 275 MBBI != E; ++MBBI) { [all...] |
AArch64FrameLowering.cpp | 51 MachineBasicBlock::iterator MBBI = MBB.begin(); 54 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 89 emitSPUpdate(MBB, MBBI, DL, TII, AArch64::X16, -NumInitialBytes, 96 BuildMI(MBB, MBBI, DL, TII.get(TargetOpcode::PROLOG_LABEL)) 109 for (; MBBI != MBB.end(); ++MBBI) { 114 if (FPNeedsSetting && MBBI->getOpcode() == AArch64::LSPair64_STR 115 && MBBI->getOperand(0).getReg() == AArch64::X29) { 116 int64_t X29FrameIdx = MBBI->getOperand(2).getIndex() [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonFrameLowering.cpp | 79 MachineBasicBlock::iterator MBBI = MBB.begin(); 82 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 139 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 140 unsigned RetOpcode = MBBI->getOpcode(); 147 MachineBasicBlock::iterator MBBI = prior(MBB.end()); 148 DebugLoc dl = MBBI->getDebugLoc(); 154 MachineBasicBlock::iterator MBBI = prior(MBB.end()); 159 if (MBBI->getOpcode() == Hexagon::EH_RETURN_JMPR) { 160 assert(MBBI->getOperand(0).isReg() && "Offset should be in register!") [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZElimCompare.cpp | 193 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; 194 for (++MBBI; MBBI != MBBE; ++MBBI) 195 if (getRegReferences(MBBI, SrcReg)) 296 MachineBasicBlock::iterator MBBI = MI, MBBE = Compare; 297 for (++MBBI; MBBI != MBBE; ++MBBI) 298 MBBI->clearRegisterKills(SystemZ::CC, TRI) [all...] |
SystemZFrameLowering.cpp | 125 MachineBasicBlock::iterator MBBI, 135 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 176 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::STMG)); 204 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), 214 MachineBasicBlock::iterator MBBI, 224 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 230 TII->loadRegFromStackSlot(MBB, MBBI, Reg, CSI[I].getFrameIdx(), 246 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, DL, TII->get(SystemZ::LMG)) [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreFrameLowering.cpp | 92 MachineBasicBlock::iterator MBBI = MBB.begin(); 98 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 104 loadFromStack(MBB, MBBI, XCore::R11, 0, dl, TII); 130 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(FrameSize); 136 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(FrameLabel); 141 storeToStack(MBB, MBBI, XCore::LR, LRSpillOffset + FrameSize*4, dl, TII); 146 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(SaveLRLabel); 153 storeToStack(MBB, MBBI, XCore::R10, FPSpillOffset + FrameSize*4, dl, TII); 158 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(SaveR10Label) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | [all...] |