/external/llvm/lib/Target/CellSPU/ |
SPUInstrBuilder.h | 33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0, 36 return MIB.addImm(Offset).addFrameIndex(FI); 38 return MIB.addFrameIndex(FI).addImm(Offset);
|
SPUInstrInfo.cpp | 358 MachineInstrBuilder MIB; 366 MIB = BuildMI(&MBB, DL, get(SPU::HBR_LABEL)).addSym(branchLabel); 372 MIB = BuildMI(&MBB, DL, get(SPU::BR)); 373 MIB.addMBB(TBB); 376 DEBUG((*MIB).dump()); 380 MIB = BuildMI( MBB, findHBRPosition(MBB), DL, get(SPU::HBRA)); 381 MIB.addSym(branchLabel); 382 MIB.addMBB(TBB); 386 MIB = BuildMI(&MBB, DL, get(Cond[0].getImm())); 387 MIB.addReg(Cond[1].getReg()).addMBB(TBB) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCInstrBuilder.h | 33 addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0, 36 return MIB.addImm(Offset).addFrameIndex(FI); 38 return MIB.addFrameIndex(FI).addImm(Offset);
|
/external/llvm/lib/Target/SystemZ/ |
SystemZInstrBuilder.h | 59 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { 62 return MIB.addReg(Reg).addImm(0).addReg(0); 66 addOffset(const MachineInstrBuilder &MIB, int Offset) { 67 return MIB.addImm(Offset).addReg(0); 75 addRegOffset(const MachineInstrBuilder &MIB, 77 return addOffset(MIB.addReg(Reg, getKillRegState(isKill)), Offset); 83 addRegReg(const MachineInstrBuilder &MIB, 85 return MIB.addReg(Reg1, getKillRegState(isKill1)).addImm(0) 90 addFullAddress(const MachineInstrBuilder &MIB, const SystemZAddressMode &AM) { 92 MIB.addReg(AM.Base.Reg) [all...] |
SystemZFrameLowering.cpp | 264 MachineInstrBuilder MIB = 269 MIB.addReg(SystemZ::R15D).addImm(StartOffset); 271 MIB.addReg(0); 272 MIB.addReg(LowReg, RegState::Kill); 274 MIB.addReg(HighReg, RegState::Kill); 282 MIB.addReg(Reg, RegState::ImplicitKill); 329 MachineInstrBuilder MIB = 333 MIB.addReg(LowReg, RegState::Define); 335 MIB.addReg(HighReg, RegState::Define); 337 MIB.addReg(hasFP(MF) ? SystemZ::R11D : SystemZ::R15D) [all...] |
/external/llvm/lib/Target/X86/ |
X86InstrBuilder.h | 91 addDirectMem(const MachineInstrBuilder &MIB, unsigned Reg) { 94 return MIB.addReg(Reg).addImm(1).addReg(0).addImm(0).addReg(0); 99 addOffset(const MachineInstrBuilder &MIB, int Offset) { 100 return MIB.addImm(1).addReg(0).addImm(Offset).addReg(0); 108 addRegOffset(const MachineInstrBuilder &MIB, 110 return addOffset(MIB.addReg(Reg, getKillRegState(isKill)), Offset); 115 static inline const MachineInstrBuilder &addRegReg(const MachineInstrBuilder &MIB, 118 return MIB.addReg(Reg1, getKillRegState(isKill1)).addImm(1) 123 addFullAddress(const MachineInstrBuilder &MIB, 128 MIB.addReg(AM.Base.Reg) [all...] |
X86InstrInfo.cpp | [all...] |
X86ISelLowering.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMExpandPseudoInsts.cpp | 412 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 420 MIB.addReg(D0, RegState::Define | getDeadRegState(DstIsDead)) 423 MIB.addReg(D2, RegState::Define | getDeadRegState(DstIsDead)); 425 MIB.addReg(D3, RegState::Define | getDeadRegState(DstIsDead)); 428 MIB.addOperand(MI.getOperand(OpIdx++)); 431 MIB.addOperand(MI.getOperand(OpIdx++)); 432 MIB.addOperand(MI.getOperand(OpIdx++)); 435 MIB.addOperand(MI.getOperand(OpIdx++)); 445 MIB.addOperand(MI.getOperand(OpIdx++)); 446 MIB.addOperand(MI.getOperand(OpIdx++)) [all...] |
Thumb1RegisterInfo.cpp | 129 MachineInstrBuilder MIB = 132 MIB = AddDefaultT1CC(MIB); 134 MIB.addReg(BaseReg).addReg(LdReg, RegState::Kill); 136 MIB.addReg(LdReg).addReg(BaseReg, RegState::Kill); 137 AddDefaultPred(MIB); 242 const MachineInstrBuilder MIB = 244 AddDefaultPred(MIB.addReg(BaseReg, RegState::Kill).addImm(ThisVal)); 260 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(Opc), DestReg); 262 MIB = AddDefaultT1CC(MIB) [all...] |
Thumb2SizeReduction.cpp | 445 MachineInstrBuilder MIB = BuildMI(MBB, *MI, dl, TII->get(Opc)); 447 MIB.addOperand(MI->getOperand(0)); 448 MIB.addOperand(MI->getOperand(1)); 451 MIB.addImm(OffsetImm / Scale); 456 MIB.addReg(OffsetReg, getKillRegState(OffsetKill)); 461 MIB.addOperand(MI->getOperand(OpNum)); 464 MIB->setMemRefs(MI->memoperands_begin(), MI->memoperands_end()); 467 MIB.setMIFlags(MI->getFlags()); 469 DEBUG(errs() << "Converted 32-bit: " << *MI << " to 16-bit: " << *MIB); 505 MachineInstrBuilder MIB = BuildMI(MBB, *MI, MI->getDebugLoc() [all...] |
ARMBaseInstrInfo.cpp | 648 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc), DestReg); 649 MIB.addReg(SrcReg, getKillRegState(KillSrc)); 651 MIB.addReg(SrcReg, getKillRegState(KillSrc)); 653 AddDefaultPred(MIB); 657 MachineInstrBuilder &AddDReg(MachineInstrBuilder &MIB, 661 return MIB.addReg(Reg, State); 664 return MIB.addReg(TRI->getSubReg(Reg, SubIdx), State); 665 return MIB.addReg(Reg, State, SubIdx); 735 MachineInstrBuilder MIB = 739 MIB = AddDReg(MIB, SrcReg, ARM::dsub_0, getKillRegState(isKill), TRI) [all...] |
Thumb1FrameLowering.cpp | 297 MachineInstrBuilder MIB = BuildMI(MBB, MI, DL, TII.get(ARM::tPUSH)); 298 AddDefaultPred(MIB); 316 MIB.addReg(Reg, getKillRegState(isKill)); 318 MIB.setMIFlags(MachineInstr::FrameSetup); 336 MachineInstrBuilder MIB = BuildMI(MF, DL, TII.get(ARM::tPOP)); 337 AddDefaultPred(MIB); 347 (*MIB).setDesc(TII.get(ARM::tPOP_RET)); 350 MIB.addReg(Reg, getDefRegState(true)); 356 MBB.insert(MI, &*MIB); 358 MF.DeleteMachineInstr(MIB); [all...] |
MLxExpansionPass.cpp | 225 MachineInstrBuilder MIB = BuildMI(MBB, *MI, MI->getDebugLoc(), MCID1, TmpReg) 229 MIB.addImm(LaneImm); 230 MIB.addImm(Pred).addReg(PredReg); 232 MIB = BuildMI(MBB, *MI, MI->getDebugLoc(), MCID2) 237 MIB.addReg(TmpReg, getKillRegState(true)) 240 MIB.addReg(AccReg).addReg(TmpReg, getKillRegState(true)); 242 MIB.addImm(Pred).addReg(PredReg);
|
ARMBaseInstrInfo.h | 419 const MachineInstrBuilder &AddDefaultPred(const MachineInstrBuilder &MIB) { 420 return MIB.addImm((int64_t)ARMCC::AL).addReg(0); 424 const MachineInstrBuilder &AddDefaultCC(const MachineInstrBuilder &MIB) { 425 return MIB.addReg(0); 429 const MachineInstrBuilder &AddDefaultT1CC(const MachineInstrBuilder &MIB, 431 return MIB.addReg(ARM::CPSR, getDefRegState(true) | getDeadRegState(isDead)); 435 const MachineInstrBuilder &AddNoT1CC(const MachineInstrBuilder &MIB) { 436 return MIB.addReg(0);
|
ARMFastISel.cpp | 208 const MachineInstrBuilder &AddOptionalDefs(const MachineInstrBuilder &MIB); 210 const MachineInstrBuilder &MIB, 257 ARMFastISel::AddOptionalDefs(const MachineInstrBuilder &MIB) { 258 MachineInstr *MI = &*MIB; 264 AddDefaultPred(MIB); 271 AddDefaultT1CC(MIB); 273 AddDefaultCC(MIB); 275 return MIB; 598 MachineInstrBuilder MIB; 602 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), DestReg [all...] |
ARMFrameLowering.cpp | 198 MachineInstrBuilder MIB = 202 AddDefaultCC(AddDefaultPred(MIB)); 407 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(TCOpcode)); 409 MIB.addGlobalAddress(JumpTarget.getGlobal(), JumpTarget.getOffset(), 413 MIB.addExternalSymbol(JumpTarget.getSymbolName(), 581 MachineInstrBuilder MIB = 585 MIB.addReg(Regs[i].first, getKillRegState(Regs[i].second)); 587 MachineInstrBuilder MIB = BuildMI(MBB, MI, DL, TII.get(StrOpc), 594 MIB.addReg(0); 595 MIB.addImm(ARM_AM::getAM2Opc(ARM_AM::sub, 4, ARM_AM::no_shift)) [all...] |
Thumb2ITBlockPass.cpp | 163 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT)) 171 MachineBasicBlock::iterator InsertPos = MIB; 214 MIB.addImm(Mask);
|
ARMLoadStoreOptimizer.cpp | 354 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(Opcode)) 358 MIB = MIB.addReg(Regs[i].first, getDefRegState(isDef) 746 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(NewOpc)) 753 MIB.addOperand(MI->getOperand(OpNum)); 756 MIB->setMemRefs(MI->memoperands_begin(), MI->memoperands_end()); [all...] |
Thumb2InstrInfo.cpp | 275 MachineInstrBuilder MIB = 280 AddDefaultCC(MIB); 407 MachineInstrBuilder MIB(&MI); 408 AddDefaultPred(MIB);
|
/external/llvm/lib/Target/PTX/ |
PTXInstrInfo.cpp | 322 MachineInstrBuilder MIB = BuildMI(MBB, MII, DL, get(OpCode)); 323 MIB.addFrameIndex(FrameIdx); 324 MIB.addReg(SrcReg); 326 AddDefaultPredicate(MIB); 357 MachineInstrBuilder MIB = BuildMI(MBB, MII, DL, get(OpCode)); 358 MIB.addReg(DestReg); 359 MIB.addFrameIndex(FrameIdx); 361 AddDefaultPredicate(MIB);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
InstrEmitter.cpp | 601 MachineInstrBuilder MIB = BuildMI(*MF, DL, II); 612 MIB.addReg(0U); // undef 614 AddOperand(&*MIB, Op, (*MIB).getNumOperands(), &II, VRBaseMap, 620 MIB.addCImm(CI); 622 MIB.addImm(CI->getSExtValue()); 624 MIB.addFPImm(CF); 628 MIB.addReg(0U); 632 MIB.addReg(0U); 635 MIB.addImm(Offset).addMetadata(MDPtr) [all...] |
/external/llvm/lib/Target/MBlaze/ |
MBlazeFrameLowering.cpp | 61 MachineInstr::mop_iterator MIB = MBB->operands_begin(); 64 for (MachineInstr::mop_iterator MII = MIB; MII != MIE; ++MII) { 101 MachineBasicBlock::iterator MIB = MBB->begin(); 123 for (MachineBasicBlock::iterator I=MIB; I != MIE; ++I) { 173 for (MachineBasicBlock::iterator I=MIB; I != MIE; ++I) {
|
/external/llvm/lib/Target/Mips/ |
MipsInstrInfo.cpp | 230 MachineInstrBuilder MIB = BuildMI(MF, DL, get(Mips::DBG_VALUE)) 232 return &*MIB; 363 MachineInstrBuilder MIB = BuildMI(&MBB, DL, MCID); 366 MIB.addReg(Cond[i].getReg()); 368 MIB.addMBB(TBB);
|
/external/llvm/lib/CodeGen/ |
MachineSSAUpdater.cpp | 190 MachineInstrBuilder MIB(InsertedPHI); 192 MIB.addReg(PredValues[i].second).addMBB(PredValues[i].first);
|