/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 34 MachineBasicBlock::iterator MBBI = MBB.begin(); 35 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 55 BuildMI(MBB, MBBI, dl, TII.get(SP::SAVEri), SP::O6) 61 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1).addImm(OffHi); 63 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) 65 BuildMI(MBB, MBBI, dl, TII.get(SP::SAVErr), SP::O6) 72 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 75 DebugLoc dl = MBBI->getDebugLoc(); 76 assert(MBBI->getOpcode() == SP::RETL & [all...] |
SparcInstrInfo.cpp | 335 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 343 BuildMI(FirstMBB, MBBI, dl, get(SP::GETPCX), GlobalBaseReg);
|
/external/llvm/lib/Target/Alpha/ |
AlphaFrameLowering.cpp | 48 MachineBasicBlock::iterator MBBI = MBB.begin(); 52 DebugLoc dl = (MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc()); 56 BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDAHg), Alpha::R29) 58 BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDAg), Alpha::R29) 61 BuildMI(MBB, MBBI, dl, TII.get(Alpha::ALTENT)) 82 BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDA), Alpha::R30).addImm(NumBytes) 85 BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDAH), Alpha::R30) 87 BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDA), Alpha::R30) 95 BuildMI(MBB, MBBI, dl, TII.get(Alpha::STQ) [all...] |
AlphaInstrInfo.cpp | 347 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 352 BuildMI(FirstMBB, MBBI, DebugLoc(), TII->get(TargetOpcode::COPY), 372 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 377 BuildMI(FirstMBB, MBBI, DebugLoc(), TII->get(TargetOpcode::COPY),
|
/external/llvm/lib/Target/Blackfin/ |
BlackfinFrameLowering.cpp | 45 MachineBasicBlock::iterator MBBI = MBB.begin(); 52 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 63 RegInfo->adjustRegister(MBB, MBBI, dl, BF::SP, BF::P1, -FrameSize); 69 BuildMI(MBB, MBBI, dl, TII.get(BF::LINK)).addImm(FrameSize); 79 BuildMI(MBB, MBBI, dl, TII.get(BF::PUSH)) 81 BuildMI(MBB, MBBI, dl, TII.get(BF::PUSH)) 83 BuildMI(MBB, MBBI, dl, TII.get(BF::MOVE), BF::FP) 85 RegInfo->loadConstant(MBB, MBBI, dl, BF::P1, -FrameSize); 86 BuildMI(MBB, MBBI, dl, TII.get(BF::ADDpp), BF::SP [all...] |
/external/llvm/include/llvm/CodeGen/ |
RegisterScavenging.h | 35 MachineBasicBlock::iterator MBBI; 67 /// before MBBI. One bit per physical register. If bit is set that means it's 91 while (MBBI != I) forward(); 96 void skipTo(MachineBasicBlock::iterator I) { MBBI = I; } 121 return scavengeRegister(RegClass, MBBI, SPAdj);
|
/external/llvm/lib/Target/ARM/ |
Thumb2InstrInfo.cpp | 57 MachineBasicBlock::iterator MBBI = Tail; 60 --MBBI; 69 while (Count && MBBI != E) { 70 if (MBBI->isDebugValue()) { 71 --MBBI; 74 if (MBBI->getOpcode() == ARM::t2IT) { 75 unsigned Mask = MBBI->getOperand(1).getImm(); 77 MBBI->eraseFromParent(); 81 MBBI->getOperand(1).setImm((Mask & MaskOff) | MaskOn); 85 --MBBI; [all...] |
Thumb1FrameLowering.cpp | 39 MachineBasicBlock::iterator &MBBI, 43 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 49 MachineBasicBlock::iterator MBBI = MBB.begin(); 60 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 74 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -VARegSaveSize, 79 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, 118 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) { 119 ++MBBI; [all...] |
Thumb2ITBlockPass.cpp | 147 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); 148 while (MBBI != E) { 149 MachineInstr *MI = &*MBBI; 154 ++MBBI; 163 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT)) 172 ++MBBI; 179 for (; MBBI != E && Pos && 180 (!MI->getDesc().isBranch() && !MI->getDesc().isReturn()) ; ++MBBI) { 181 if (MBBI->isDebugValue()) 184 MachineInstr *NMI = &*MBBI; [all...] |
ARMExpandPseudoInsts.cpp | 53 MachineBasicBlock::iterator MBBI); 55 void ExpandVLD(MachineBasicBlock::iterator &MBBI); 56 void ExpandVST(MachineBasicBlock::iterator &MBBI); 57 void ExpandLaneOp(MachineBasicBlock::iterator &MBBI); 58 void ExpandVTBL(MachineBasicBlock::iterator &MBBI, 61 MachineBasicBlock::iterator &MBBI); 403 void ARMExpandPseudo::ExpandVLD(MachineBasicBlock::iterator &MBBI) { 404 MachineInstr &MI = *MBBI; 412 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 467 void ARMExpandPseudo::ExpandVST(MachineBasicBlock::iterator &MBBI) { [all...] |
ARMFrameLowering.cpp | 107 MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, 111 emitARMRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, 114 emitT2RegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, 120 MachineBasicBlock::iterator MBBI = MBB.begin(); 133 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 143 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -VARegSaveSize, 148 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -NumBytes, 188 if (GPRCS1Size > 0) MBBI++; 199 BuildMI(MBB, MBBI, dl, TII.get(ADDriOpc), FramePtr [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUFrameLowering.cpp | 92 MachineBasicBlock::iterator MBBI = MBB.begin(); 97 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 103 // Move MBBI back to the beginning of the function. 104 MBBI = MBB.begin(); 119 BuildMI(MBB, MBBI, dl, TII.get(SPU::PROLOG_LABEL)).addSym(FrameLabel); 124 BuildMI(MBB, MBBI, dl, TII.get(SPU::STQDr32), SPU::R0).addImm(16) 128 BuildMI(MBB, MBBI, dl, TII.get(SPU::STQDr32), SPU::R1).addImm(FrameSize) 131 BuildMI(MBB, MBBI, dl, TII.get(SPU::AIr32), SPU::R1).addReg(SPU::R1) 136 BuildMI(MBB, MBBI, dl, TII.get(SPU::STQDr128), SPU::R2 [all...] |
/external/llvm/lib/Target/MBlaze/ |
MBlazeInstrInfo.cpp | 285 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 290 BuildMI(FirstMBB, MBBI, DebugLoc(), TII->get(TargetOpcode::COPY),
|
MBlazeFrameLowering.cpp | 348 MachineBasicBlock::iterator MBBI = MBB.begin(); 349 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 367 BuildMI(MBB, MBBI, DL, TII.get(MBlaze::ADDIK), MBlaze::R1) 372 BuildMI(MBB, MBBI, DL, TII.get(MBlaze::SWI)) 378 BuildMI(MBB, MBBI, DL, TII.get(MBlaze::SWI)) 382 BuildMI(MBB, MBBI, DL, TII.get(MBlaze::ADD), MBlaze::R19) 389 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 395 DebugLoc dl = MBBI->getDebugLoc(); 406 BuildMI(MBB, MBBI, dl, TII.get(MBlaze::ADD), MBlaze::R1 [all...] |
/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/Mips/ |
MipsFrameLowering.cpp | 146 MachineBasicBlock::iterator MBBI = MBB.begin(); 147 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 165 BuildMI(MBB, MBBI, dl, TII.get(Mips::NOREORDER)); 169 BuildMI(MBB, MBBI, dl, TII.get(Mips::CPLOAD)) 171 BuildMI(MBB, MBBI, dl, TII.get(Mips::NOMACRO)); 182 MBBI); 183 BuildMI(MBB, MBBI, dl, TII.get(Mips::ADDiu), Mips::SP) 188 BuildMI(MBB, MBBI, dl, TII.get(Mips::ATMACRO)); 192 BuildMI(MBB, MBBI, dl [all...] |
MipsInstrInfo.cpp | 450 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 455 BuildMI(FirstMBB, MBBI, DebugLoc(), TII->get(TargetOpcode::COPY),
|
/external/llvm/lib/Target/SystemZ/ |
SystemZFrameLowering.cpp | 67 void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, 81 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 86 BuildMI(MBB, MBBI, DL, TII.get(Opc), SystemZ::R15D) 101 MachineBasicBlock::iterator MBBI = MBB.begin(); 102 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 113 while (MBBI != MBB.end() && 114 (MBBI->getOpcode() == SystemZ::MOV64mr || 115 MBBI->getOpcode() == SystemZ::MOV64mrm) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCRegisterInfo.cpp | 344 MachineBasicBlock::iterator MBBI = I; 345 BuildMI(MBB, MBBI, dl, TII.get(LISInstr), TmpReg) 347 BuildMI(MBB, MBBI, dl, TII.get(ORIInstr), TmpReg) 350 BuildMI(MBB, MBBI, dl, TII.get(ADDInstr))
|
PPCFrameLowering.cpp | 57 MachineBasicBlock::iterator MBBI = MI; 58 ++MBBI; 59 assert(MBBI != Entry->end() && MBBI->getOpcode() == PPC::MTVRSAVE); 60 MBBI->eraseFromParent(); 69 for (MBBI = I->end(); MBBI != I->begin(); ) { 70 --MBBI; 71 if (MBBI->getOpcode() == PPC::MTVRSAVE) { 72 MBBI->eraseFromParent(); // remove it [all...] |
PPCISelDAGToDAG.cpp | 238 MachineBasicBlock::iterator MBBI = FirstMBB.begin(); 243 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MovePCtoLR)); 244 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR), GlobalBaseReg); 247 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MovePCtoLR8)); 248 BuildMI(FirstMBB, MBBI, dl, TII.get(PPC::MFLR8), GlobalBaseReg); [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreFrameLowering.cpp | 92 MachineBasicBlock::iterator MBBI = MBB.begin(); 100 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 106 loadFromStack(MBB, MBBI, XCore::R11, 0, dl, TII); 135 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(FrameSize); 142 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(FrameLabel); 156 storeToStack(MBB, MBBI, XCore::LR, LRSpillOffset + FrameSize*4, dl, TII); 161 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(SaveLRLabel); 172 storeToStack(MBB, MBBI, XCore::R10, FPSpillOffset + FrameSize*4, dl, TII); 177 BuildMI(MBB, MBBI, dl, TII.get(XCore::PROLOG_LABEL)).addSym(SaveR10Label) [all...] |
/external/llvm/lib/CodeGen/ |
MachineFunction.cpp | 116 MachineFunction::iterator MBBI, E = end(); 118 MBBI = begin(); 120 MBBI = MBB; 124 if (MBBI != begin()) 125 BlockNo = prior(MBBI)->getNumber()+1; 127 for (; MBBI != E; ++MBBI, ++BlockNo) { 128 if (MBBI->getNumber() != (int)BlockNo) { 130 if (MBBI->getNumber() != -1) { 131 assert(MBBNumbering[MBBI->getNumber()] == &*MBBI & [all...] |
MachineVerifier.cpp | 280 for (MachineBasicBlock::const_iterator MBBI = MFI->begin(), 281 MBBE = MFI->end(); MBBI != MBBE; ++MBBI) { 282 if (MBBI->getParent() != MFI) { 284 *OS << "Instruction: " << *MBBI; 287 visitMachineInstrBefore(MBBI); 288 for (unsigned I = 0, E = MBBI->getNumOperands(); I != E; ++I) 289 visitMachineOperand(&MBBI->getOperand(I), I); 290 visitMachineInstrAfter(MBBI); 417 MachineFunction::const_iterator MBBI = MBB [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | [all...] |