Searched defs:MBB (Results 1 - 25 of 191) sorted by relevance

12345678

/external/llvm/lib/CodeGen/
H A DPHIEliminationUtils.cpp17 // findCopyInsertPoint - Find a safe place in MBB to insert a copy from SrcReg
22 llvm::findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB, argument
25 if (MBB->empty())
26 return MBB->begin();
32 return MBB->getFirstTerminator();
36 MachineRegisterInfo& MRI = MBB->getParent()->getRegInfo();
38 if (RI.getParent() == MBB)
45 InsertPoint = MBB->begin();
52 InsertPoint = MBB->end();
58 return MBB
[all...]
H A DErlangGC.cpp30 MCSymbol *InsertLabel(MachineBasicBlock &MBB,
53 MCSymbol *ErlangGC::InsertLabel(MachineBasicBlock &MBB, argument
56 const TargetInstrInfo* TII = MBB.getParent()->getTarget().getInstrInfo();
57 MCSymbol *Label = MBB.getParent()->getContext().CreateTempSymbol();
58 BuildMI(MBB, MI, DL, TII->get(TargetOpcode::GC_LABEL)).addSym(Label);
H A DExpandISelPseudos.cpp53 MachineBasicBlock *MBB = I; local
54 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end();
62 TLI->EmitInstrWithCustomInserter(MI, MBB);
64 if (NewMBB != MBB) {
65 MBB = NewMBB;
H A DDeadMachineInstructionElim.cpp101 MachineBasicBlock *MBB = &*I; local
109 for (MachineBasicBlock::succ_iterator S = MBB->succ_begin(),
110 E = MBB->succ_end(); S != E; S++)
117 for (MachineBasicBlock::reverse_iterator MII = MBB->rbegin(),
118 MIE = MBB->rend(); MII != MIE; ) {
139 MIE = MBB->rend();
H A DMachineBranchProbabilityInfo.cpp32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const { argument
36 assert(MBB->succ_size() < UINT32_MAX);
39 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
40 E = MBB->succ_end(); I != E; ++I) {
41 uint32_t Weight = getEdgeWeight(MBB, I);
54 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
55 E = MBB->succ_end(); I != E; ++I) {
56 uint32_t Weight = getEdgeWeight(MBB, I);
89 MachineBranchProbabilityInfo::getHotSucc(MachineBasicBlock *MBB) const {
92 for (MachineBasicBlock::const_succ_iterator I = MBB
[all...]
H A DExpandPostRAPseudos.cpp80 MachineBasicBlock *MBB = MI->getParent(); local
121 TII->copyPhysReg(*MBB, MI, MI->getDebugLoc(), DstSubReg, InsReg,
132 MBB->erase(MI);
H A DOptimizePHIs.cpp55 bool OptimizeBB(MachineBasicBlock &MBB);
156 bool OptimizePHIs::OptimizeBB(MachineBasicBlock &MBB) { argument
159 MII = MBB.begin(), E = MBB.end(); MII != E; ) {
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUConvertToISA.cpp54 MachineBasicBlock &MBB = *BB; local
55 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
58 TII->convertToISA(MI, MF, MBB.findDebugLoc(I));
H A DAMDGPUMCInstLower.cpp67 const MachineBasicBlock *MBB = MI->getParent(); local
70 while (I != MBB->end() && I->isInsideBundle()) {
H A DSIInstrInfo.cpp37 SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB, argument
48 BuildMI(MBB, MI, DL, get(AMDGPU::V_MOV_B32_e32), DestReg)
H A DAMDGPUAsmPrinter.cpp63 MachineBasicBlock &MBB = *BB; local
64 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
H A DR600ExpandSpecialInstrs.cpp57 MachineBasicBlock &MBB = *BB; local
58 MachineBasicBlock::iterator I = MBB.begin();
59 while (I != MBB.end()) {
151 BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(Opcode), DstReg)
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp37 MachineBasicBlock &MBB = MF.front(); local
39 MachineBasicBlock::iterator MBBI = MBB.begin();
51 BuildMI(MBB, MBBI, dl,
54 BuildMI(MBB, MI, dl,
60 BuildMI(MBB, MBBI, dl,
63 BuildMI(MBB, MI, dl,
71 MachineBasicBlock &MBB) const {}
76 MachineFunction &MF, MachineBasicBlock &MBB,
80 MBB.erase(I);
75 eliminateCallFramePseudoInstr( MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
/external/llvm/lib/Target/XCore/
H A DXCoreFrameToArgsOffsetElim.cpp50 MachineBasicBlock &MBB = *MFI; local
51 for (MachineBasicBlock::iterator MBBI = MBB.begin(), EE = MBB.end();
56 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize);
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUConvertToISA.cpp54 MachineBasicBlock &MBB = *BB; local
55 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
58 TII->convertToISA(MI, MF, MBB.findDebugLoc(I));
H A DAMDGPUMCInstLower.cpp67 const MachineBasicBlock *MBB = MI->getParent(); local
70 while (I != MBB->end() && I->isInsideBundle()) {
H A DSIInstrInfo.cpp37 SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB, argument
48 BuildMI(MBB, MI, DL, get(AMDGPU::V_MOV_B32_e32), DestReg)
/external/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.h37 MachineBasicBlock *MBB; member in class:llvm::InstrEmitter
128 MachineBasicBlock *getBlock() { return MBB; }
/external/llvm/lib/Target/AArch64/
H A DAArch64DeadRegisterDefinitionsPass.cpp33 bool processMachineBasicBlock(MachineBasicBlock &MBB);
68 MachineBasicBlock &MBB) {
70 for (MachineInstr &MI : MBB) {
126 for (auto &MBB : MF)
127 if (processMachineBasicBlock(MBB))
67 processMachineBasicBlock( MachineBasicBlock &MBB) argument
H A DAArch64A53Fix835769.cpp100 bool runOnBasicBlock(MachineBasicBlock &MBB);
117 for (auto &MBB : F) {
118 Changed |= runOnBasicBlock(MBB);
124 // Return the block that was fallen through to get to MBB, if any,
126 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB, argument
129 MachineFunction::iterator MBBI = *MBB;
132 if (MBBI == MBB->getParent()->begin())
139 for (MachineBasicBlock *S : MBB->predecessors())
151 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB, argument
153 MachineBasicBlock *FMBB = &MBB;
168 insertNopBeforeInstruction(MachineBasicBlock &MBB, MachineInstr* MI, const TargetInstrInfo *TII) argument
187 runOnBasicBlock(MachineBasicBlock &MBB) argument
[all...]
/external/llvm/lib/Target/ARM/
H A DThumb1InstrInfo.cpp40 void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB, argument
44 AddDefaultPred(BuildMI(MBB, I, DL, get(ARM::tMOVr), DestReg)
51 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, argument
63 if (I != MBB.end()) DL = I->getDebugLoc();
65 MachineFunction &MF = *MBB.getParent();
72 AddDefaultPred(BuildMI(MBB, I, DL, get(ARM::tSTRspi))
79 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, argument
91 if (I != MBB.end()) DL = I->getDebugLoc();
93 MachineFunction &MF = *MBB.getParent();
100 AddDefaultPred(BuildMI(MBB,
[all...]
H A DThumb2RegisterInfo.cpp35 Thumb2RegisterInfo::emitLoadConstPool(MachineBasicBlock &MBB, argument
42 MachineFunction &MF = *MBB.getParent();
46 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
49 BuildMI(MBB, MBBI, dl, TII.get(ARM::t2LDRpci))
/external/llvm/lib/Target/R600/
H A DSIFixSGPRLiveRanges.cpp83 MachineBasicBlock &MBB = *BI; local
84 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
H A DSILowerI1Copies.cpp81 MachineBasicBlock &MBB = *BI; local
83 for (I = MBB.begin(); I != MBB.end(); I = Next) {
119 BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(AMDGPU::V_CNDMASK_B32_e64))
131 BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(AMDGPU::V_CMP_NE_I32_e64))
/external/llvm/include/llvm/CodeGen/
H A DLivePhysRegs.h114 /// \brief Adds all live-in registers of basic block @p MBB.
115 void addLiveIns(const MachineBasicBlock *MBB) { argument
116 for (MachineBasicBlock::livein_iterator LI = MBB->livein_begin(),
117 LE = MBB->livein_end(); LI != LE; ++LI)
121 /// \brief Adds all live-out registers of basic block @p MBB.
122 void addLiveOuts(const MachineBasicBlock *MBB) { argument
123 for (MachineBasicBlock::const_succ_iterator SI = MBB->succ_begin(),
124 SE = MBB->succ_end(); SI != SE; ++SI)

Completed in 373 milliseconds

12345678